Browse Source

检测详情优化

shaun-sheep 4 years ago
parent
commit
3486fafd0b

+ 5 - 7
src/components/point/report/tabControlTest.vue

@@ -46,7 +46,7 @@
       >
         <el-table-column type="selection"/>
         <el-table-column label="序号" type="index" align='center' width="55">
-          <template scope="scope">
+          <template slot-scope="scope">
             {{ scope.$index + (currentPage - 1) * pageSize + 1 }}
           </template>
         </el-table-column>
@@ -102,11 +102,9 @@ export default {
   methods: {
     //执行
     implement() {
-      this.multipleSelection.map(i => {
-    //TODO
-      })
+      let list = this.multipleSelection.map(i => ({Data:this.instructions,...i}))
       this.visible = false
-      console.log(this.multipleSelection)
+      this.getPointTest(list)
     },
     //当前设定值
     getSettingValue() {
@@ -134,8 +132,8 @@ export default {
     },
 
     //点位测试
-    getPointTest() {
-      pointTest({}, res => {
+    getPointTest(list) {
+      pointTest(list, res => {
         this.tableDate = res.Content
 
       })

+ 1 - 1
src/components/point/report/tabFunDetail.vue

@@ -43,7 +43,7 @@
         @row-click="handleClickRow"
       >
         <el-table-column label="序号" type="index" align='center' width="55">
-          <template scope="scope">
+          <template slot-scope="scope">
             {{ scope.$index + (currentPage - 1) * pageSize + 1 }}
           </template>
         </el-table-column>