From e4beda2094872354bf5ab2c35a8838a6dc316c01 Mon Sep 17 00:00:00 2001
From: gaoluyang <gaoluyang@rengu.cc>
Date: 星期五, 12 七月 2024 13:14:13 +0800
Subject: [PATCH] 数采页面添加

---
 src/components/view/a6-device-management.vue |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/components/view/a6-device-management.vue b/src/components/view/a6-device-management.vue
index 4d7f99e..69c9e78 100644
--- a/src/components/view/a6-device-management.vue
+++ b/src/components/view/a6-device-management.vue
@@ -421,14 +421,17 @@
 				</el-row>
 			</span>
     </el-dialog>
+    <dataAcquisitionConfig v-if="showData"/>
 	</div>
 </template>
 
 <script>
 	import ValueTable from '../tool/value-table.vue'
+  import dataAcquisitionConfig from '../do/b6-device-management/b6-data-acquisition-config.vue'
 	export default {
 		components: {
-			ValueTable
+			ValueTable,
+      dataAcquisitionConfig
 		},
 		data() {
 			return {
@@ -447,6 +450,7 @@
 				dialogVisible: false,
 				dialogVisible2: false,
 				addPower: false,
+        showData: false, // 鏁伴噰閰嶇疆椤甸潰
 				componentData: {
 					entity: {
 						deviceStatus: null,
@@ -836,11 +840,13 @@
 				})
 			},
       handleConfig(row){
-        this.configForm = {}
-        this.dialogVisible3 = true
-        this.$axios.post(this.$api.deviceScope.getNumberCollect+'?id='+row.id).then(res => {
-          this.configForm = res.data
-        })
+        // this.configForm = {}
+        // this.dialogVisible3 = true
+        // this.$axios.post(this.$api.deviceScope.getNumberCollect+'?id='+row.id).then(res => {
+        //   this.configForm = res.data
+        // })
+        this.showData = true
+        console.log('?????', this.showData)
       },
       submitForm3(){
         if(!this.configForm.ip){

--
Gitblit v1.9.3