fix(用例评审): 评审结果筛选问题

This commit is contained in:
shiziyuan9527 2021-09-01 11:32:53 +08:00 committed by 刘瑞斌
parent 907cace3e0
commit efbcde6f49
2 changed files with 7 additions and 3 deletions

View File

@ -194,6 +194,12 @@
#{value} #{value}
</foreach> </foreach>
</when> </when>
<when test="key=='review_status'">
and test_case.review_status in
<foreach collection="values" item="value" separator="," open="(" close=")">
#{value}
</foreach>
</when>
</choose> </choose>
</if> </if>
</foreach> </foreach>

View File

@ -66,7 +66,6 @@
:field="item" :field="item"
:fields-width="fieldsWidth" :fields-width="fieldsWidth"
:filters="typeFilters" :filters="typeFilters"
sortable="custom"
min-width="120px" min-width="120px"
:label="$t('test_track.case.type')"> :label="$t('test_track.case.type')">
<template v-slot:default="scope"> <template v-slot:default="scope">
@ -106,8 +105,7 @@
prop="reviewStatus" prop="reviewStatus"
:field="item" :field="item"
:fields-width="fieldsWidth" :fields-width="fieldsWidth"
:filters="typeFilters" :filters="statusFilters"
sortable="custom"
min-width="120px" min-width="120px"
:label="$t('test_track.review_view.execute_result')"> :label="$t('test_track.review_view.execute_result')">
<template v-slot:default="scope"> <template v-slot:default="scope">