fix: 测试计划-用例状态过滤失效

This commit is contained in:
chenjianxing 2021-07-09 15:10:34 +08:00 committed by jianxing
parent b865b9d3b6
commit d42d8ec318
4 changed files with 8 additions and 17 deletions

View File

@ -88,6 +88,12 @@
#{value}
</foreach>
</when>
<when test="key == 'priority'">
and a.priority in
<foreach collection="values" item="value" separator="," open="(" close=")">
#{value}
</foreach>
</when>
</choose>
</if>
</foreach>
@ -230,4 +236,4 @@
SELECT `status` FROM test_plan_api_case WHERE test_plan_id = #{0}
</select>
</mapper>
</mapper>

View File

@ -946,15 +946,7 @@ export default {
height: 100% !important;
}
/*/deep/ .el-table__fixed {*/
/* height: 110px !important;*/
/*}*/
/deep/ .el-card__header {
padding: 10px;
}
/deep/ .el-table__fixed-body-wrapper {
top: 48px !important;
}
</style>

View File

@ -205,6 +205,7 @@
<ms-table-column v-for="field in testCaseTemplate.customFields" :key="field.id"
:filters="field.name === '用例等级' ? priorityFilters : null"
:field="item"
column-key="priority"
:fields-width="fieldsWidth"
:label="field.name"
:min-width="90"

View File

@ -537,18 +537,10 @@ export default {
</script>
<style scoped>
/*.ms-table-header {*/
/* margin: 5px;*/
/*}*/
/deep/ .table-title {
height: 0px;
font-weight: bold;
font-size: 0px;
}
/deep/ .el-table__fixed-body-wrapper {
top: 48px !important;
}
</style>