From 26198d5f746bfff5bbc274a7874578714b58bb75 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Thu, 27 Apr 2023 11:33:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B7=A5=E4=BD=9C=E5=8F=B0):=20=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E5=8F=B0=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=B1=95=E7=A4=BA=E6=9C=89=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1025573 --user=宋昌昌 【我的工作台】我的待办-功能用例数统计错误-用例状态是已完成,仍统计在我的待办中。 https://www.tapd.cn/55049933/s/1367288 --- .../io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml | 1 - .../frontend/src/business/component/CaseTableList.vue | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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; },