From 2ceb99a629b70a3d63154656b534dcc603af78e7 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期五, 14 二月 2025 13:55:45 +0800
Subject: [PATCH] 1、调整产品和设备结构树权限配置分配用户时,admin只有在分配后或者有权限时才会被禁用

---
 src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue b/src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue
index 81ecbcd..fe7a04a 100644
--- a/src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue
+++ b/src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue
@@ -53,9 +53,9 @@
       receiveCurrentTreeNodeInfo(treeNodeInfo) {
         // 浠庢爲缁勪欢鎺ュ彈鏍戣妭鐐逛俊鎭悗浠庣埗缁勪欢娴佸叆瀛愮粍浠�
         this.currentTreeNodeInfo = treeNodeInfo
-        if (treeNodeInfo.equipmentId) {
+        if (treeNodeInfo.type === 2) {
           this.$nextTick(() => {
-            if (this.$refs.mainTopRef) this.$refs.mainTopRef.loadHasSentDocumentListData()
+            if (this.$refs.mainTopRef) this.$refs.mainTopRef.releaseLoadDocumentListApi()
           })
         }
         console.log('currentTreeNodeInfo------------------', this.currentTreeNodeInfo)

--
Gitblit v1.9.3