From d917606e37cb420a1a2fe8245b7a82cbb2795a0f Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期一, 17 三月 2025 14:05:11 +0800 Subject: [PATCH] art:系统管理-业务编码规则 新增 --- src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue b/src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue index 81ecbcd..3014644 100644 --- a/src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue +++ b/src/views/dnc/base/modules/DeviceStructure/DeviceStructureMain.vue @@ -16,7 +16,7 @@ <template v-else> <a-tabs> - <a-tab-pane :key="1" tab="杞﹂棿灞炴��"> + <a-tab-pane :key="1" tab="灞炴��"> <WorkshopInfo :currentLevelDetails="currentTreeNodeInfo" :size="containerSize"/> </a-tab-pane> </a-tabs> @@ -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