Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
da13b022
authored
2023-03-03 16:56:26 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:上报
1 parent
1331dbb4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
18 deletions
src/api/dataReport.js
src/components/EditDialog/index.vue
src/views/jsbwcx/index.vue
src/api/dataReport.js
View file @
da13b02
/*
* @Description: 数据上报模块api文件
* @Autor: renchao
* @LastEditTime: 2023-03-0
1 16:33:08
* @LastEditTime: 2023-03-0
3 14:38:57
*/
/* 引入axios请求文件 */
import
request
from
'@/utils/request'
...
...
@@ -110,3 +110,16 @@ export function restartGenerateXml (bsmReport) {
method
:
'post'
})
}
/**
* @description: 编辑报文头
* @param {*} data
* @author: renchao
*/
export
function
edit
(
data
)
{
return
request
({
url
:
urlHeader
+
'edit'
,
method
:
'post'
,
data
})
}
\ No newline at end of file
...
...
src/components/EditDialog/index.vue
View file @
da13b02
This diff is collapsed.
Click to expand it.
src/views/jsbwcx/index.vue
View file @
da13b02
...
...
@@ -99,17 +99,17 @@
</
template
>
<
script
>
// 接收报文查询
// 引入表格头部数据
import
data
from
"./data"
;
// 引入table混入方法
import
tableMixin
from
"@/mixins/tableMixin.js"
;
import
{
getReceiveDataReportPage
}
from
"@/api/dataReport.js"
;
// 引入详情弹框
import
dataDetails
from
"@/components/EditDialog"
;
//引入日期处理方法
import
{
timeFormat
}
from
"@/utils/operation"
;
export
default
{
// 接收报文查询
// 引入表格头部数据
import
data
from
"./data"
;
// 引入table混入方法
import
tableMixin
from
"@/mixins/tableMixin.js"
;
import
{
getReceiveDataReportPage
}
from
"@/api/dataReport.js"
;
// 引入详情弹框
import
dataDetails
from
"@/components/EditDialog"
;
//引入日期处理方法
import
{
timeFormat
}
from
"@/utils/operation"
;
export
default
{
name
:
"jsbwcx"
,
mixins
:
[
tableMixin
],
// 注册组件
...
...
@@ -225,7 +225,6 @@
getReceiveDataReportPage
({
...
this
.
form
,
...
this
.
formData
}).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
console
.
log
(
"菜单列表"
,
res
);
let
{
total
,
records
,
current
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
?
records
:
[];
...
...
@@ -276,12 +275,12 @@
}
},
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
//
引入表单整体样式
@import
"~@/styles/public.scss"
;
//
引入当前
css
@import
"./index.scss"
;
//
引入表单整体样式
@import
"~@/styles/public.scss"
;
//
引入当前
css
@import
"./index.scss"
;
</
style
>
...
...
Please
register
or
sign in
to post a comment