fix: 测试计划-用例状态过滤失效
This commit is contained in:
parent
4e8bff7cc4
commit
45248bf1c0
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue