fix(测试跟踪): 修复首页跳转问题
This commit is contained in:
parent
6fcc8536d0
commit
f5796eb602
|
@ -274,7 +274,7 @@
|
|||
#{value}
|
||||
</foreach>
|
||||
</when>
|
||||
<when test="key=='status'">
|
||||
<when test="key=='reviewStatus'">
|
||||
and test_case.review_status in
|
||||
<foreach collection="values" item="value" separator="," open="(" close=")">
|
||||
#{value}
|
||||
|
|
|
@ -303,20 +303,12 @@ export default {
|
|||
},
|
||||
created: function () {
|
||||
this.$emit('setCondition', this.condition);
|
||||
if (this.trashEnable) {
|
||||
this.condition.filters = {status: ["Trash"]};
|
||||
} else {
|
||||
this.condition.filters = {status: ["Prepare", "Pass", "UnPass"]};
|
||||
}
|
||||
this.condition.filters = {reviewStatus: ["Prepare", "Pass", "UnPass"]};
|
||||
this.initTableData();
|
||||
getSystemLabel(this, this.type)
|
||||
},
|
||||
activated() {
|
||||
if (this.trashEnable) {
|
||||
this.condition.filters = {status: ["Trash"]};
|
||||
} else {
|
||||
this.condition.filters = {status: ["Prepare", "Pass", "UnPass"]};
|
||||
}
|
||||
this.condition.filters = {reviewStatus: ["Prepare", "Pass", "UnPass"]};
|
||||
this.initTableData();
|
||||
},
|
||||
watch: {
|
||||
|
@ -372,15 +364,15 @@ export default {
|
|||
case 'coverage':
|
||||
this.condition.caseCoverage = 'coverage';
|
||||
break;
|
||||
/* case 'Prepare':
|
||||
this.condition.filters.status = [this.selectDataRange];
|
||||
case 'Prepare':
|
||||
this.condition.filters.reviewStatus = [this.selectDataRange];
|
||||
break;
|
||||
case 'Pass':
|
||||
this.condition.filters.status = [this.selectDataRange];
|
||||
this.condition.filters.reviewStatus = [this.selectDataRange];
|
||||
break;
|
||||
case 'UnPass':
|
||||
this.condition.filters.status = [this.selectDataRange];
|
||||
break;*/
|
||||
this.condition.filters.reviewStatus = [this.selectDataRange];
|
||||
break;
|
||||
}
|
||||
if (this.projectId) {
|
||||
this.condition.projectId = this.projectId;
|
||||
|
|
Loading…
Reference in New Issue