From 698bcf712599944dd086ede66a75e88fa46c9e14 Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期五, 26 七月 2024 17:12:04 +0800
Subject: [PATCH] 设备数采配置bug调整

---
 src/components/do/b6-device-management/b6-data-acquisition-config.vue |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/components/do/b6-device-management/b6-data-acquisition-config.vue b/src/components/do/b6-device-management/b6-data-acquisition-config.vue
index f5e9149..cf5af10 100644
--- a/src/components/do/b6-device-management/b6-data-acquisition-config.vue
+++ b/src/components/do/b6-device-management/b6-data-acquisition-config.vue
@@ -28,7 +28,7 @@
         <el-table-column prop="refery" align="center" label="鍙傜収Y" min-width="100"></el-table-column>
         <el-table-column prop="y" align="center" label="Y"></el-table-column>
         <el-table-column prop="formula" align="center" label="鍏紡"></el-table-column>
-        <el-table-column prop="section" fixed="right" label="鎿嶄綔" width="120">
+        <el-table-column prop="section" label="鎿嶄綔" width="120">
           <template slot-scope="scope">
             <el-button type="text" @click="dataConfig(scope.row)">鏁伴噰閰嶇疆</el-button>
           </template>
@@ -227,12 +227,12 @@
                 index:7
               },
               {
-                name:'inspectionItemSubclass',
-                index:12
+                name:'formula',
+                index:13
               },
               {
                 name:'inspectionItemSubclass',
-                index:13
+                index:14
               }
             ]
             }
@@ -322,6 +322,8 @@
           this.$set(this.configForm, 'collectUrl', this.tableList[0].collectUrl)
           this.$set(this.configForm, 'storageUrl', this.tableList[0].storageUrl)
           this.$set(this.configForm, 'ip', this.tableList[0].ip)
+          this.$set(this.configForm, 'mdbEntrustCode', this.tableList[0].mdbEntrustCode)
+          this.$set(this.configForm, 'mdbSampleCode', this.tableList[0].mdbSampleCode)
         }
         // 涓�鑸殑鍚堝苟琛�
         if (this.spanConfig != undefined && this.spanConfig.rows && this.spanConfig.rows.length >
@@ -357,7 +359,9 @@
         collectUrl: this.configForm.collectUrl,
         storageUrl: this.configForm.storageUrl,
         ip: this.configForm.ip,
-        isDevice: true
+        isDevice: true,
+        mdbEntrustCode: this.configForm.mdbEntrustCode,
+        mdbSampleCode: this.configForm.mdbSampleCode
       })
       this.upLoad4 = true
       this.$axios.post(this.$api.deviceScope.saveDataAcquisitionConfiguration + "?deviceId=" + this.deviceId, obj, {headers: {

--
Gitblit v1.9.3