refactor: 列表可按照名称排序#1002980

--story=1002980 --user=lyh 8.列表名字列增加排序,最好全局搜下,目前我发现的这两个
https://www.tapd.cn/55049933/s/1043970
This commit is contained in:
shiziyuan9527 2021-09-06 15:22:11 +08:00 committed by 刘瑞斌
parent ca95b0cb99
commit 63ff712c63
4 changed files with 8 additions and 0 deletions

View File

@ -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>

View File

@ -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>

View File

@ -47,6 +47,7 @@
<ms-table-column
prop="name"
sortable="custom"
:field="item"
:fields-width="fieldsWidth"
:label="$t('commons.name')"

View File

@ -45,6 +45,7 @@
<ms-table-column
prop="name"
:field="item"
sortable="custom"
:fields-width="fieldsWidth"
:label="$t('commons.name')"
min-width="120px"/>