From 2a7f7124c307216faaef321dff84aa5c67c7058c Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期五, 13 六月 2025 15:48:13 +0800 Subject: [PATCH] 实现产品结构树页面检索NC文件窗口中点击NC文件后界面跳转至树节点层级下NC文件界面功能 --- src/views/tms/WarehouseTree.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/tms/WarehouseTree.vue b/src/views/tms/WarehouseTree.vue index e9a92d7..490df2f 100644 --- a/src/views/tms/WarehouseTree.vue +++ b/src/views/tms/WarehouseTree.vue @@ -2,7 +2,7 @@ <a-card :loading="cardLoading" :bordered="false" - title="浠撳簱绠$悊" + :title="title" style="height: 100%;" > <a-spin :spinning="loading"> @@ -160,7 +160,13 @@ components: { Tooltip, }, - props: ['value'], + props: { + value: {}, + title: { + type: String, + default: '' + } + }, data() { return { searchInput: '', @@ -295,11 +301,9 @@ }, mounted() { this.$bus.$on('queryTreeData', this.queryTreeData); - this.$bus.$on('clearTreeSelection', this.onClearSelected) }, beforeDestroy() { this.$bus.$off('queryTreeData', this.queryTreeData); - this.$bus.$off('clearTreeSelection', this.onClearSelected) }, //鐩戝惉 watch: { -- Gitblit v1.9.3