From f2af02f75f5a86c9920e715da77386700acc13bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Thu, 28 Sep 2023 13:35:02 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=9B=BD=E5=86=85=E3=80=81=E6=B5=B7?= =?UTF-8?q?=E5=A4=96=E6=A0=87=E5=87=86=E6=88=91=E7=9A=84=E6=94=B6=E8=97=8F?= =?UTF-8?q?=E4=B8=8D=E5=8F=AF=E7=A7=BB=E5=87=BA=E6=A0=87=E5=87=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domesticStandard/DomesticStandardList.vue | 5 +++++ .../overseasStandard/OverseasStandardList.vue | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/views/standardRegulationLibrary/domesticStandard/DomesticStandardList.vue b/src/views/standardRegulationLibrary/domesticStandard/DomesticStandardList.vue index dabcc7f4..0fa130ab 100644 --- a/src/views/standardRegulationLibrary/domesticStandard/DomesticStandardList.vue +++ b/src/views/standardRegulationLibrary/domesticStandard/DomesticStandardList.vue @@ -476,6 +476,11 @@ export default { this.$message.warning(this.$t('standardRegulationLibrary.selectLeastOneTableData')) return } + // 左侧节点选的是我的收藏,不可移出标准 + if (this.selectedTreeNodeCodes[0] === 'MyCollection') { + this.$message.warn(this.$t('enterpriseStandardLibrary.standard.myCollectNotRemove')) + return + } this.loading = true const params = { nodeCode: this.selectedTreeNodeCodes[0], diff --git a/src/views/standardRegulationLibrary/overseasStandard/OverseasStandardList.vue b/src/views/standardRegulationLibrary/overseasStandard/OverseasStandardList.vue index 22ef54f7..fe827dcf 100644 --- a/src/views/standardRegulationLibrary/overseasStandard/OverseasStandardList.vue +++ b/src/views/standardRegulationLibrary/overseasStandard/OverseasStandardList.vue @@ -477,6 +477,11 @@ export default { this.$message.warning(this.$t('standardRegulationLibrary.selectLeastOneTableData')) return } + // 左侧节点选的是我的收藏,不可移出标准 + if (this.selectedTreeNodeCodes[0] === 'MyCollection') { + this.$message.warn(this.$t('enterpriseStandardLibrary.standard.myCollectNotRemove')) + return + } this.loading = true const params = { nodeCode: this.selectedTreeNodeCodes[0],