diff --git a/frontend/src/business/components/track/common/minder/minderUtils.js b/frontend/src/business/components/track/common/minder/minderUtils.js index 0850a5f6b3..7238a60907 100644 --- a/frontend/src/business/components/track/common/minder/minderUtils.js +++ b/frontend/src/business/components/track/common/minder/minderUtils.js @@ -563,8 +563,12 @@ export function handleMinderIssueDelete(commandName, isPlan) { export function openMinderConfirm(vueObj, activeDom) { let isTestCaseMinderChanged = vueObj.$store.state.isTestCaseMinderChanged; if (vueObj.activeDom !== 'left' && activeDom === 'left' && isTestCaseMinderChanged) { - vueObj.$refs.isChangeConfirm.open(); - vueObj.tmpActiveDom = activeDom; + if (vueObj.planStatus !=='Archived') { + vueObj.$refs.isChangeConfirm.open(); + vueObj.tmpActiveDom = activeDom; + } else { + vueObj.activeDom = activeDom; + } return; } vueObj.activeDom = activeDom; diff --git a/frontend/src/business/components/track/plan/view/TestPlanView.vue b/frontend/src/business/components/track/plan/view/TestPlanView.vue index f383ebb02e..c50d0878c6 100644 --- a/frontend/src/business/components/track/plan/view/TestPlanView.vue +++ b/frontend/src/business/components/track/plan/view/TestPlanView.vue @@ -177,9 +177,13 @@ export default { handleSelect(key) { let isTestCaseMinderChanged = this.$store.state.isTestCaseMinderChanged; if (key !== 'functional' && isTestCaseMinderChanged) { - this.$refs.isChangeConfirm.open(); - this.tmpActiveIndex = key; - return; + if (this.currentPlan.status === 'Archived') { + this.activeIndex = key; + } else { + this.$refs.isChangeConfirm.open(); + this.tmpActiveIndex = key; + return; + } } this.activeIndex = key; },