fix(测试跟踪): 测试计划关联性能测试时显示ID列

--bug=1008108 --user=刘瑞斌 【测试计划】-关联性能测试用例页面没有ID列,不能按ID搜索 https://www.tapd.cn/55049933/s/1070572
This commit is contained in:
CaptainB 2021-11-19 15:50:03 +08:00 committed by 刘瑞斌
parent 2f5f7c0f12
commit d88fd1c25a
2 changed files with 7 additions and 1 deletions

View File

@ -23,7 +23,7 @@
)
</if>
<if test="request.name != null and request.name != ''">
and load_test.name like CONCAT('%', #{request.name},'%')
and (load_test.name like CONCAT('%', #{request.name},'%') OR load_test.num like CONCAT('%', #{request.name},'%'))
</if>
<if test="request.filters != null and request.filters.size() > 0">
<foreach collection="request.filters.entrySet()" index="key" item="values">

View File

@ -31,6 +31,12 @@
ref="table">
<el-table-column
type="selection"/>
<el-table-column
prop="num"
label="ID"
width="100px"
sortable>
</el-table-column>
<el-table-column
prop="name"
:label="$t('commons.name')"