3767d40c by xiaomiao

字段调整

1 parent e820c8db
...@@ -101,29 +101,20 @@ export default { ...@@ -101,29 +101,20 @@ export default {
101 { 101 {
102 label: "操作", 102 label: "操作",
103 width: 170, 103 width: 170,
104 render: (h, scope) => { 104 render: (h, scope) => {
105 return ( 105 return (
106 <div> 106 <div>
107 <el-button 107 <el-button
108 type="text" 108 type="primary"
109 size="mini" 109 onClick={() => {
110 icon="el-icon-folder" 110 this.handleEdit(scope.row);
111 style="color:#67C23A" 111 }}
112 onClick={() => { this.handleXmlres(scope.$index, scope.row) }} 112 >
113 > 113 详情
114 XML报文 114 </el-button>
115 </el-button> 115 </div>
116 <el-button 116 );
117 type="text" 117 },
118 size="mini"
119 icon="el-icon-view"
120 onClick={() => { this.handlDatadetails(scope.$index, scope.row) }}
121 >
122 数据详情
123 </el-button>
124 </div>
125 );
126 },
127 }, 118 },
128 119
129 ]), 120 ]),
...@@ -171,6 +162,11 @@ export default { ...@@ -171,6 +162,11 @@ export default {
171 this.$message(message) 162 this.$message(message)
172 } 163 }
173 }, 164 },
165 // 详情
166 handleEdit (row) {
167 this.title = row.rectypeName
168 this.$refs.editLog.isShow(row);
169 }
174 } 170 }
175 } 171 }
176 </script> 172 </script>
......
...@@ -102,29 +102,20 @@ export default { ...@@ -102,29 +102,20 @@ export default {
102 { 102 {
103 label: "操作", 103 label: "操作",
104 width: 170, 104 width: 170,
105 render: (h, scope) => { 105 render: (h, scope) => {
106 return ( 106 return (
107 <div> 107 <div>
108 <el-button 108 <el-button
109 type="text" 109 type="primary"
110 size="mini" 110 onClick={() => {
111 icon="el-icon-folder" 111 this.handleEdit(scope.row);
112 style="color:#67C23A" 112 }}
113 onClick={() => { this.handleXmlres(scope.$index, scope.row) }} 113 >
114 > 114 详情
115 XML报文 115 </el-button>
116 </el-button> 116 </div>
117 <el-button 117 );
118 type="text" 118 },
119 size="mini"
120 icon="el-icon-view"
121 onClick={() => { this.handlDatadetails(scope.$index, scope.row) }}
122 >
123 数据详情
124 </el-button>
125 </div>
126 );
127 },
128 }, 119 },
129 120
130 ]), 121 ]),
...@@ -173,6 +164,11 @@ export default { ...@@ -173,6 +164,11 @@ export default {
173 this.$message(message) 164 this.$message(message)
174 } 165 }
175 }, 166 },
167 // 详情
168 handleEdit (row) {
169 this.title = row.rectypeName
170 this.$refs.editLog.isShow(row);
171 }
176 } 172 }
177 } 173 }
178 </script> 174 </script>
......
...@@ -95,29 +95,20 @@ export default { ...@@ -95,29 +95,20 @@ export default {
95 { 95 {
96 label: "操作", 96 label: "操作",
97 width: 170, 97 width: 170,
98 render: (h, scope) => { 98 render: (h, scope) => {
99 return ( 99 return (
100 <div> 100 <div>
101 <el-button 101 <el-button
102 type="text" 102 type="primary"
103 size="mini" 103 onClick={() => {
104 icon="el-icon-folder" 104 this.handleEdit(scope.row);
105 style="color:#67C23A" 105 }}
106 onClick={() => { this.handleXmlres(scope.$index, scope.row) }} 106 >
107 > 107 详情
108 XML报文 108 </el-button>
109 </el-button> 109 </div>
110 <el-button 110 );
111 type="text" 111 },
112 size="mini"
113 icon="el-icon-view"
114 onClick={() => { this.handlDatadetails(scope.$index, scope.row) }}
115 >
116 数据详情
117 </el-button>
118 </div>
119 );
120 },
121 }, 112 },
122 113
123 ]), 114 ]),
...@@ -159,6 +150,11 @@ export default { ...@@ -159,6 +150,11 @@ export default {
159 this.$message(message) 150 this.$message(message)
160 } 151 }
161 }, 152 },
153 // 详情
154 handleEdit (row) {
155 this.title = row.rectypeName
156 this.$refs.editLog.isShow(row);
157 }
162 } 158 }
163 } 159 }
164 </script> 160 </script>
......
...@@ -101,29 +101,20 @@ export default { ...@@ -101,29 +101,20 @@ export default {
101 { 101 {
102 label: "操作", 102 label: "操作",
103 width: 170, 103 width: 170,
104 render: (h, scope) => { 104 render: (h, scope) => {
105 return ( 105 return (
106 <div> 106 <div>
107 <el-button 107 <el-button
108 type="text" 108 type="primary"
109 size="mini" 109 onClick={() => {
110 icon="el-icon-folder" 110 this.handleEdit(scope.row);
111 style="color:#67C23A" 111 }}
112 onClick={() => { this.handleXmlres(scope.$index, scope.row) }} 112 >
113 > 113 详情
114 XML报文 114 </el-button>
115 </el-button> 115 </div>
116 <el-button 116 );
117 type="text" 117 },
118 size="mini"
119 icon="el-icon-view"
120 onClick={() => { this.handlDatadetails(scope.$index, scope.row) }}
121 >
122 数据详情
123 </el-button>
124 </div>
125 );
126 },
127 }, 118 },
128 119
129 ]), 120 ]),
...@@ -171,6 +162,11 @@ export default { ...@@ -171,6 +162,11 @@ export default {
171 this.$message(message) 162 this.$message(message)
172 } 163 }
173 }, 164 },
165 // 详情
166 handleEdit (row) {
167 this.title = row.rectypeName
168 this.$refs.editLog.isShow(row);
169 }
174 } 170 }
175 } 171 }
176 </script> 172 </script>
......
...@@ -98,28 +98,19 @@ export default { ...@@ -98,28 +98,19 @@ export default {
98 label: "操作", 98 label: "操作",
99 width: 170, 99 width: 170,
100 render: (h, scope) => { 100 render: (h, scope) => {
101 return ( 101 return (
102 <div> 102 <div>
103 <el-button 103 <el-button
104 type="text" 104 type="primary"
105 size="mini" 105 onClick={() => {
106 icon="el-icon-folder" 106 this.handleEdit(scope.row);
107 style="color:#67C23A" 107 }}
108 onClick={() => { this.handleXmlres(scope.$index, scope.row) }} 108 >
109 > 109 详情
110 XML报文 110 </el-button>
111 </el-button> 111 </div>
112 <el-button 112 );
113 type="text" 113 },
114 size="mini"
115 icon="el-icon-view"
116 onClick={() => { this.handlDatadetails(scope.$index, scope.row) }}
117 >
118 数据详情
119 </el-button>
120 </div>
121 );
122 },
123 }, 114 },
124 115
125 ]), 116 ]),
...@@ -140,8 +131,6 @@ export default { ...@@ -140,8 +131,6 @@ export default {
140 this.form = Object.assign(this.form, this.formData) 131 this.form = Object.assign(this.form, this.formData)
141 let { result: { list, total, pages: pageSize, pageNum: current } 132 let { result: { list, total, pages: pageSize, pageNum: current }
142 } = await business.getQlfQlZxdjList(this.form) 133 } = await business.getQlfQlZxdjList(this.form)
143 console.log("listssssssssssssssssssssssss",list);
144 console.log("listsssssssssssssssssssssssssss",list);
145 this.tableData.data = list 134 this.tableData.data = list
146 this.pageData = { 135 this.pageData = {
147 pageSize, 136 pageSize,
...@@ -163,6 +152,11 @@ export default { ...@@ -163,6 +152,11 @@ export default {
163 this.$message(message) 152 this.$message(message)
164 } 153 }
165 }, 154 },
155 // 详情
156 handleEdit (row) {
157 this.title = row.rectypeName
158 this.$refs.editLog.isShow(row);
159 }
166 } 160 }
167 } 161 }
168 </script> 162 </script>
......