diff --git a/workstation/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml b/workstation/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml index 126a0f0a39..ab83427d20 100644 --- a/workstation/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml +++ b/workstation/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml @@ -202,7 +202,6 @@ #{projectId} - and tc.review_status in ('Prepare','Pass','UnPass') and tc.create_user = #{userId,jdbcType=VARCHAR} and (tc.status is null or tc.status Not IN ('Trash','Completed')); diff --git a/workstation/frontend/src/business/component/CaseTableList.vue b/workstation/frontend/src/business/component/CaseTableList.vue index 2e0b044512..0f7d390489 100644 --- a/workstation/frontend/src/business/component/CaseTableList.vue +++ b/workstation/frontend/src/business/component/CaseTableList.vue @@ -429,7 +429,7 @@ export default { this.condition.filters.review_status = ["Prepare", "Underway", "Pass", "UnPass"]; } else { this.condition.filters = { - review_status: ["Prepare", "Pass", "UnPass"], + review_status: ["Prepare", "Underway", "Pass", "UnPass"], }; } } @@ -454,7 +454,9 @@ export default { if (ids) { this.condition.ids = ids; } - this.condition.unComing = true; + if (!this.isCreation && !this.isFocus) { + this.condition.unComing = true; + } this.initTableData(); this.condition.ids = null; },