fix(工作台): 工作台功能用例数据展示有误

--bug=1025573 --user=宋昌昌 【我的工作台】我的待办-功能用例数统计错误-用例状态是已完成,仍统计在我的待办中。 https://www.tapd.cn/55049933/s/1367288
This commit is contained in:
song-cc-rock 2023-04-27 11:33:05 +08:00 committed by fit2-zhao
parent d80975d853
commit 26198d5f74
2 changed files with 4 additions and 3 deletions

View File

@ -202,7 +202,6 @@
<foreach collection="projectIds" item="projectId" separator="," open="(" close=")">
#{projectId}
</foreach>
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'));
</select>

View File

@ -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;
},