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'">
|
<when test="order.name == 'custom_num'">
|
||||||
customNum ${order.type}
|
customNum ${order.type}
|
||||||
</when>
|
</when>
|
||||||
|
<when test="order.name == 'name'">
|
||||||
|
test_case.name ${order.type}
|
||||||
|
</when>
|
||||||
<otherwise>
|
<otherwise>
|
||||||
${order.name} ${order.type}
|
${order.name} ${order.type}
|
||||||
</otherwise>
|
</otherwise>
|
||||||
|
|
|
@ -120,6 +120,9 @@
|
||||||
<when test="order.name == 'priority'">
|
<when test="order.name == 'priority'">
|
||||||
test_case.priority ${order.type}
|
test_case.priority ${order.type}
|
||||||
</when>
|
</when>
|
||||||
|
<when test="order.name == 'name'">
|
||||||
|
test_case.name ${order.type}
|
||||||
|
</when>
|
||||||
<otherwise>
|
<otherwise>
|
||||||
test_case_review_test_case.${order.name} ${order.type}
|
test_case_review_test_case.${order.name} ${order.type}
|
||||||
</otherwise>
|
</otherwise>
|
||||||
|
|
|
@ -47,6 +47,7 @@
|
||||||
|
|
||||||
<ms-table-column
|
<ms-table-column
|
||||||
prop="name"
|
prop="name"
|
||||||
|
sortable="custom"
|
||||||
:field="item"
|
:field="item"
|
||||||
:fields-width="fieldsWidth"
|
:fields-width="fieldsWidth"
|
||||||
:label="$t('commons.name')"
|
:label="$t('commons.name')"
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
<ms-table-column
|
<ms-table-column
|
||||||
prop="name"
|
prop="name"
|
||||||
:field="item"
|
:field="item"
|
||||||
|
sortable="custom"
|
||||||
:fields-width="fieldsWidth"
|
:fields-width="fieldsWidth"
|
||||||
:label="$t('commons.name')"
|
:label="$t('commons.name')"
|
||||||
min-width="120px"/>
|
min-width="120px"/>
|
||||||
|
|
Loading…
Reference in New Issue