From 5808f76456ca0d40de5074f132b73a5a488e3e13 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 09 Dec 2025 09:12:03 +0800
Subject: [PATCH] Merge branch 'refs/heads/feature/v9.0/9.0.1' into test

---
 src/views/device/addDevice.vue |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/views/device/addDevice.vue b/src/views/device/addDevice.vue
index 6391862..8eece02 100644
--- a/src/views/device/addDevice.vue
+++ b/src/views/device/addDevice.vue
@@ -11,7 +11,7 @@
                     @click.stop="copyInfo(scope.row, scope.index)" v-if="userInfo.role_name.includes('admin')">复制
                 </el-button>
             </template>
-        </avue-crud>F
+        </avue-crud>
     </basic-container>
 </template>
 
@@ -217,7 +217,7 @@
                       prop: 'area_code',
                       // type: 'cascader',
                       type: 'tree',
-                      labelWidth: 145,
+                      labelWidth: 130,
                       searchSpan: 4,
                       hide: true,
                       search: true,
@@ -288,9 +288,9 @@
                             },
                         ],
                     },
-                    
-                    
-                    
+
+
+
 
                 ],
             },
@@ -393,7 +393,7 @@
                 console.error('获取行政区划数据失败:', error);
                 return [];
             }
-        },  
+        },
         findNodeById(tree, id) {
             if (tree.id === id) {
                 return tree;
@@ -411,11 +411,11 @@
             try {
                 const response = await this.getFullAreaCode(areaCode);
                 const codes = response.split(',');
-                
+
                 // 获取区域树数据
                 const xzqhData = await this.getRegionTreeList(codes[0]);
                 if (!xzqhData) return '/';
-                
+
                 const names = [];
                 for (const code of codes) {
                     const node = this.findNodeById(xzqhData, code);
@@ -434,7 +434,7 @@
         copyInfo (row, index) {
           const ipAddress = import.meta.env.VITE_APP_DEVICE_IP
           let params = `
-            host: tcp://${ipAddress}
+            网关地址: tcp://${ipAddress}
             账号:drone
             密码:drone@123
             组织id:${row.bing_id}
@@ -610,7 +610,7 @@
             this.onLoad(this.page, this.query)
         },
         onLoad (page, params = {}) {
-            
+
             const { releaseTimeRange } = this.query
             let values = {
                 ...params,
@@ -629,7 +629,7 @@
             if (values.area_code) {
                 values['area_code'] = values.area_code.split(',').pop()
             }
-            
+
             this.loading = true
             getList(page.currentPage, page.pageSize, values).then(async res => {
                 const data = res.data.data
@@ -649,7 +649,7 @@
                 this.loading = false
                 this.selectionClear()
             })
-            
+
         },
         treeLoad (tree, treeNode, resolve) {
             var params = {

--
Gitblit v1.9.3