From 28fcbc85bcb8be593f57cbf232968c30d31e8e86 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期二, 18 三月 2025 10:36:48 +0800 Subject: [PATCH] 1、DNC结构树页面解决因keep-alive标签缓存组件后切换路由无法正常销毁组件从而使组件内事件通过$bus重复调用的问题 2、DNC产品结构树页面工艺规程版本层级下可以导入和挂载其它文档并且展示相关属性信息 3、DNC设备结构树设备的层级由2调整到7并且调整层级影响的相关功能 --- src/views/dnc/base/modules/DeviceStructure/Document/HasSentDocumentTableList.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/dnc/base/modules/DeviceStructure/Document/HasSentDocumentTableList.vue b/src/views/dnc/base/modules/DeviceStructure/Document/HasSentDocumentTableList.vue index 46ab561..ff4f57e 100644 --- a/src/views/dnc/base/modules/DeviceStructure/Document/HasSentDocumentTableList.vue +++ b/src/views/dnc/base/modules/DeviceStructure/Document/HasSentDocumentTableList.vue @@ -1,7 +1,7 @@ <template> <div> <a-table :columns="columns" :data-source="dataSource" bordered :pagination="ipagination" - :scroll="{y:189}" :customRow="customRow" :size="size" rowKey="docId" @change="handleTableChange"> + :scroll="{y:265}" :customRow="customRow" :size="size" rowKey="docId" @change="handleTableChange"> </a-table> @@ -21,6 +21,9 @@ props: { currentTreeNodeInfo: { type: Object + }, + currentTypeOfDevice:{ + type:Number }, size: { type: String @@ -119,7 +122,7 @@ var params = this.getQueryParams()//鏌ヨ鏉′欢 console.log('currentTreeNodeInfo', this.currentTreeNodeInfo) params.attributionId = this.currentTreeNodeInfo.key - params.attributionType = 4 + params.attributionType = this.currentTypeOfDevice params.docClassCode = 'SEND' if (!params) return false this.dataSource = [] -- Gitblit v1.9.3