From 1550ea7fb0f98762062833a37f716ba459b986df Mon Sep 17 00:00:00 2001 From: lyh <liuyuanheng@xalxzn.com> Date: 星期五, 28 二月 2025 15:53:38 +0800 Subject: [PATCH] 工作流 代办已办 --- 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