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

This commit is contained in:
chenjianxing 2021-07-09 15:10:34 +08:00 committed by jianxing
parent 4e8bff7cc4
commit 45248bf1c0
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>

View File

@ -968,15 +968,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>