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],