From ba9490368b8bf27e0d4a6471420044dadf5b720e Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期二, 21 一月 2025 15:33:42 +0800 Subject: [PATCH] 产品结构树: 1、新增指定文档为当前版本功能与文档版本内容差异比对功能(新增插件vue-code-diff) 2、调整产品及部件属性tab栏标题为属性信息 3、删除产品及部件属性信息中对应层级名称 全局: 调整设置后端接口地址方式由vue.config.js改为env环境文件配置 --- src/views/dnc/base/modules/ProductStructure/ProductStructureMainTop.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/dnc/base/modules/ProductStructure/ProductStructureMainTop.vue b/src/views/dnc/base/modules/ProductStructure/ProductStructureMainTop.vue index 3619a9b..d53279f 100644 --- a/src/views/dnc/base/modules/ProductStructure/ProductStructureMainTop.vue +++ b/src/views/dnc/base/modules/ProductStructure/ProductStructureMainTop.vue @@ -34,7 +34,7 @@ }, created() { this.$bus.$on('sendCurrentTreeNodeInfo', this.receiveCurrentTreeNodeInfo) - this.$bus.$on('importFileSuccess', this.reloadDocumentListData) + this.$bus.$on('reloadDocumentListData', this.reloadDocumentListData) this.$bus.$on('tableMenuItemMethodTrigger', this.triggerCorrespondingMethod) }, methods: { @@ -92,7 +92,7 @@ handleDownload() { const that = this const { docId, docName } = this.currentRightClickedTableRowInfo - dncApi.downloadDocumentApi({ id: docId, docName }) + dncApi.downloadDocumentApi({ docId, docName }) .then(res => { if (res && !res.success) { that.$notification.error({ @@ -122,7 +122,7 @@ okText: '纭', cancelText: '鍙栨秷', onOk: () => { - dncApi.documentOutboundApi({ id: docId, docName }) + dncApi.documentOutboundApi({ docId, docName }) .then(res => { console.log('res------------------', res) if (res.success) { @@ -204,6 +204,7 @@ .then(res => { if (res.success) { this.reloadDocumentListData({ docClassCode: param, attributionId }) + this.$bus.$emit('reloadMainBottomTableData', 'documentVersion') that.$notification.success({ message: '娑堟伅', description: res.message -- Gitblit v1.9.3