fix(测试跟踪): 已归档计划脑图无弹窗
--user=郭雨琦 --bug=1013105 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001013105
This commit is contained in:
parent
fb4c1c10e4
commit
a1be30aef8
|
@ -563,8 +563,12 @@ export function handleMinderIssueDelete(commandName, isPlan) {
|
||||||
export function openMinderConfirm(vueObj, activeDom) {
|
export function openMinderConfirm(vueObj, activeDom) {
|
||||||
let isTestCaseMinderChanged = vueObj.$store.state.isTestCaseMinderChanged;
|
let isTestCaseMinderChanged = vueObj.$store.state.isTestCaseMinderChanged;
|
||||||
if (vueObj.activeDom !== 'left' && activeDom === 'left' && isTestCaseMinderChanged) {
|
if (vueObj.activeDom !== 'left' && activeDom === 'left' && isTestCaseMinderChanged) {
|
||||||
|
if (vueObj.planStatus !=='Archived') {
|
||||||
vueObj.$refs.isChangeConfirm.open();
|
vueObj.$refs.isChangeConfirm.open();
|
||||||
vueObj.tmpActiveDom = activeDom;
|
vueObj.tmpActiveDom = activeDom;
|
||||||
|
} else {
|
||||||
|
vueObj.activeDom = activeDom;
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
vueObj.activeDom = activeDom;
|
vueObj.activeDom = activeDom;
|
||||||
|
|
|
@ -177,10 +177,14 @@ export default {
|
||||||
handleSelect(key) {
|
handleSelect(key) {
|
||||||
let isTestCaseMinderChanged = this.$store.state.isTestCaseMinderChanged;
|
let isTestCaseMinderChanged = this.$store.state.isTestCaseMinderChanged;
|
||||||
if (key !== 'functional' && isTestCaseMinderChanged) {
|
if (key !== 'functional' && isTestCaseMinderChanged) {
|
||||||
|
if (this.currentPlan.status === 'Archived') {
|
||||||
|
this.activeIndex = key;
|
||||||
|
} else {
|
||||||
this.$refs.isChangeConfirm.open();
|
this.$refs.isChangeConfirm.open();
|
||||||
this.tmpActiveIndex = key;
|
this.tmpActiveIndex = key;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
this.activeIndex = key;
|
this.activeIndex = key;
|
||||||
},
|
},
|
||||||
changeConfirm(isSave) {
|
changeConfirm(isSave) {
|
||||||
|
|
Loading…
Reference in New Issue