From 9737ae6cbdf64098554dc99e743a52669adb8138 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期五, 14 三月 2025 10:27:15 +0800 Subject: [PATCH] Revert "1、设备类管理页面完成增删改查功能" --- src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue b/src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue index 81ecbcd..69be12a 100644 --- a/src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue +++ b/src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue @@ -37,7 +37,7 @@ DeviceStructureMainBottom }, created() { - this.$bus.$on('sendCurrentTreeNodeInfo', this.receiveCurrentTreeNodeInfo) + this.$bus.$on('sendDeviceTreeNodeInfo', this.receiveCurrentTreeNodeInfo) }, data() { return { @@ -53,12 +53,11 @@ 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