refactor: 列表可按照名称排序#1002980
--story=1002980 --user=lyh 8.列表名字列增加排序,最好全局搜下,目前我发现的这两个 https://www.tapd.cn/55049933/s/1043970
This commit is contained in:
parent
ca95b0cb99
commit
63ff712c63
|
@ -244,6 +244,9 @@
|
|||
<when test="order.name == 'custom_num'">
|
||||
customNum ${order.type}
|
||||
</when>
|
||||
<when test="order.name == 'name'">
|
||||
test_case.name ${order.type}
|
||||
</when>
|
||||
<otherwise>
|
||||
${order.name} ${order.type}
|
||||
</otherwise>
|
||||
|
|
|
@ -120,6 +120,9 @@
|
|||
<when test="order.name == 'priority'">
|
||||
test_case.priority ${order.type}
|
||||
</when>
|
||||
<when test="order.name == 'name'">
|
||||
test_case.name ${order.type}
|
||||
</when>
|
||||
<otherwise>
|
||||
test_case_review_test_case.${order.name} ${order.type}
|
||||
</otherwise>
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
|
||||
<ms-table-column
|
||||
prop="name"
|
||||
sortable="custom"
|
||||
:field="item"
|
||||
:fields-width="fieldsWidth"
|
||||
:label="$t('commons.name')"
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
<ms-table-column
|
||||
prop="name"
|
||||
:field="item"
|
||||
sortable="custom"
|
||||
:fields-width="fieldsWidth"
|
||||
:label="$t('commons.name')"
|
||||
min-width="120px"/>
|
||||
|
|
Loading…
Reference in New Issue