da13b022 by 任超

style:上报

1 parent 1331dbb4
1 /* 1 /*
2 * @Description: 数据上报模块api文件 2 * @Description: 数据上报模块api文件
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-03-01 16:33:08 4 * @LastEditTime: 2023-03-03 14:38:57
5 */ 5 */
6 /* 引入axios请求文件 */ 6 /* 引入axios请求文件 */
7 import request from '@/utils/request' 7 import request from '@/utils/request'
...@@ -110,3 +110,16 @@ export function restartGenerateXml (bsmReport) { ...@@ -110,3 +110,16 @@ export function restartGenerateXml (bsmReport) {
110 method: 'post' 110 method: 'post'
111 }) 111 })
112 } 112 }
113
114 /**
115 * @description: 编辑报文头
116 * @param {*} data
117 * @author: renchao
118 */
119 export function edit (data) {
120 return request({
121 url: urlHeader + 'edit',
122 method: 'post',
123 data
124 })
125 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -99,17 +99,17 @@ ...@@ -99,17 +99,17 @@
99 </template> 99 </template>
100 100
101 <script> 101 <script>
102 // 接收报文查询 102 // 接收报文查询
103 // 引入表格头部数据 103 // 引入表格头部数据
104 import data from "./data"; 104 import data from "./data";
105 // 引入table混入方法 105 // 引入table混入方法
106 import tableMixin from "@/mixins/tableMixin.js"; 106 import tableMixin from "@/mixins/tableMixin.js";
107 import { getReceiveDataReportPage } from "@/api/dataReport.js"; 107 import { getReceiveDataReportPage } from "@/api/dataReport.js";
108 // 引入详情弹框 108 // 引入详情弹框
109 import dataDetails from "@/components/EditDialog"; 109 import dataDetails from "@/components/EditDialog";
110 //引入日期处理方法 110 //引入日期处理方法
111 import { timeFormat } from "@/utils/operation"; 111 import { timeFormat } from "@/utils/operation";
112 export default { 112 export default {
113 name: "jsbwcx", 113 name: "jsbwcx",
114 mixins: [tableMixin], 114 mixins: [tableMixin],
115 // 注册组件 115 // 注册组件
...@@ -225,7 +225,6 @@ ...@@ -225,7 +225,6 @@
225 getReceiveDataReportPage({ ...this.form, ...this.formData }).then( 225 getReceiveDataReportPage({ ...this.form, ...this.formData }).then(
226 (res) => { 226 (res) => {
227 if (res.code === 200) { 227 if (res.code === 200) {
228 console.log("菜单列表", res);
229 let { total, records, current } = res.result; 228 let { total, records, current } = res.result;
230 this.tableData.total = total; 229 this.tableData.total = total;
231 this.tableData.data = records ? records : []; 230 this.tableData.data = records ? records : [];
...@@ -276,12 +275,12 @@ ...@@ -276,12 +275,12 @@
276 } 275 }
277 }, 276 },
278 } 277 }
279 } 278 }
280 </script> 279 </script>
281 <style scoped lang="scss"> 280 <style scoped lang="scss">
282 // 引入表单整体样式 281 // 引入表单整体样式
283 @import "~@/styles/public.scss"; 282 @import "~@/styles/public.scss";
284 // 引入当前css 283 // 引入当前css
285 @import "./index.scss"; 284 @import "./index.scss";
286 </style> 285 </style>
287 286
......