From c978996d3e0390c0050479be4684af895cfb72cd Mon Sep 17 00:00:00 2001
From: 李喆(开发组) <lzhe@yxqiche.com>
Date: 星期二, 18 三月 2025 17:17:39 +0800
Subject: [PATCH] 1

---
 src/views/dnc/setting/FTP.vue |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/views/dnc/setting/FTP.vue b/src/views/dnc/setting/FTP.vue
index c4a7cfd..c218118 100644
--- a/src/views/dnc/setting/FTP.vue
+++ b/src/views/dnc/setting/FTP.vue
@@ -1,7 +1,7 @@
 <!--
  * @Date: 2024-05-26 22:26:35
  * @LastEditors: Sneed
- * @LastEditTime: 2024-06-02 21:20:21
+ * @LastEditTime: 2024-06-16 16:19:27
  * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/dnc/setting/FTP.vue
 -->
 <template>
@@ -61,10 +61,11 @@
                             </el-icon> -->
                         </div>
                     </div>
-                    <el-tree v-if="rootNodeId && showTree" ref="group" node-key="id" :props="{
-                        label: 'name',
-                        hasChildren: 'id'
-                    }" @node-click="nodeClick" highlight-current :current-node-key="selectNode.id" :load="loadNode"
+                    <el-tree :expand-on-click-node="false" v-if="rootNodeId && showTree" ref="group" node-key="id"
+                        :props="{
+                            label: 'name',
+                            hasChildren: 'id'
+                        }" @node-click="nodeClick" highlight-current :current-node-key="selectNode.id" :load="loadNode"
                         lazy>
                         <template #default="{ node, data }">
                             <div class="custom-tree-node">
@@ -176,7 +177,7 @@
     },
     methods: {
         init() {
-            this.$HTTP.post(`/api/blade-cps/group/groupWorkstation`, { groupCategory: 1, groupType: 'group_workstation' }).then(res => {
+            this.$HTTP.post(`/api/smis/group/groupWorkstation`, { groupCategory: 1, groupType: 'group_workstation' }).then(res => {
                 this.treeData = this.formatData(res.data)
 
             })
@@ -231,7 +232,7 @@
             })
         },
         getAddList(transferDirectorId) {
-            return this.$HTTP.post(`/api/blade-cps/group/groupFtpDirectory/ftp`, { groupCategory: 1, groupType: 'group_workstation', transferDirectorId }).then(res => {
+            return this.$HTTP.post(`/api/smis/group/groupFtpDirectory/ftp`, { groupCategory: 1, groupType: 'group_workstation', transferDirectorId }).then(res => {
                 this.addTreeData = this.formatData(res.data, null, 'disabled')
                 return this.addTreeData
             })

--
Gitblit v1.9.3