parent
114525ed36
commit
f2b35bcb28
|
@ -418,11 +418,13 @@ export default {
|
||||||
this.currentPage = 1;
|
this.currentPage = 1;
|
||||||
this.condition.moduleIds = [];
|
this.condition.moduleIds = [];
|
||||||
this.condition.moduleIds.push(this.selectNodeIds);
|
this.condition.moduleIds.push(this.selectNodeIds);
|
||||||
|
this.closeCaseModel();
|
||||||
this.initTable();
|
this.initTable();
|
||||||
},
|
},
|
||||||
currentProtocol() {
|
currentProtocol() {
|
||||||
this.currentPage = 1;
|
this.currentPage = 1;
|
||||||
initCondition(this.condition, false);
|
initCondition(this.condition, false);
|
||||||
|
this.closeCaseModel();
|
||||||
this.initTable();
|
this.initTable();
|
||||||
},
|
},
|
||||||
trashEnable() {
|
trashEnable() {
|
||||||
|
@ -435,6 +437,7 @@ export default {
|
||||||
this.condition.filters = {status: ["Prepare", "Underway", "Completed"]};
|
this.condition.filters = {status: ["Prepare", "Underway", "Completed"]};
|
||||||
}
|
}
|
||||||
initCondition(this.condition, false);
|
initCondition(this.condition, false);
|
||||||
|
this.closeCaseModel();
|
||||||
this.initTable();
|
this.initTable();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -442,6 +445,12 @@ export default {
|
||||||
handleBatchMove() {
|
handleBatchMove() {
|
||||||
this.$refs.testCaseBatchMove.open(this.moduleTree, [], this.moduleOptions);
|
this.$refs.testCaseBatchMove.open(this.moduleTree, [], this.moduleOptions);
|
||||||
},
|
},
|
||||||
|
closeCaseModel(){
|
||||||
|
//关闭案例弹窗
|
||||||
|
if(this.$refs.caseList){
|
||||||
|
this.$refs.caseList.handleClose();
|
||||||
|
}
|
||||||
|
},
|
||||||
initTable() {
|
initTable() {
|
||||||
if (this.$refs.apiDefinitionTable) {
|
if (this.$refs.apiDefinitionTable) {
|
||||||
this.$refs.apiDefinitionTable.clearSelectRows();
|
this.$refs.apiDefinitionTable.clearSelectRows();
|
||||||
|
|
Loading…
Reference in New Issue