From 79dda6eb5451d16a148bd5c51f61567e8847b136 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期五, 09 五月 2025 17:42:12 +0800 Subject: [PATCH] 产品结构树引用(借用)部件前端页面 修改原有删除文档接口 --- src/views/dnc/base/modules/ProductStructure/ProductStructureMainTop.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/dnc/base/modules/ProductStructure/ProductStructureMainTop.vue b/src/views/dnc/base/modules/ProductStructure/ProductStructureMainTop.vue index bfff7df..3af9ab7 100644 --- a/src/views/dnc/base/modules/ProductStructure/ProductStructureMainTop.vue +++ b/src/views/dnc/base/modules/ProductStructure/ProductStructureMainTop.vue @@ -16,7 +16,7 @@ </div> </a-tab-pane> - <a-tab-pane :key="2" tab="鍏朵粬鏂囨。"> + <a-tab-pane :key="2" tab="鍏朵粬鏂囨。" v-if="currentTreeNodeInfo.type !==5 && currentTreeNodeInfo.type!==6"> <OtherDocumentTableList ref="otherDocumentTableListRef" :currentTreeNodeInfo="currentTreeNodeInfo" @handleTableContextMenuOpen="handleTableContextMenuOpen" :size="tableContainerSize"/> </a-tab-pane> @@ -231,7 +231,7 @@ okText: '纭', cancelText: '鍙栨秷', onOk: () => { - dncApi.deleteDocumentApi(docId) + dncApi.deleteDocumentApi({docId,attributionType,attributionId}) .then((res) => { if (res.success) { that.$notification.success({ -- Gitblit v1.9.3