refactor(测试跟踪): 测试用例列表支持按优先级排序
This commit is contained in:
parent
4e221441c8
commit
b6edbd9dfe
|
@ -235,6 +235,9 @@
|
|||
<when test="order.name == 'custom_num'">
|
||||
test_case.num ${order.type}, test_case.custom_num ${order.type}
|
||||
</when>
|
||||
<when test="order.name == 'priority'">
|
||||
test_case.priority ${order.type}
|
||||
</when>
|
||||
<otherwise>
|
||||
test_plan_test_case.${order.name} ${order.type}
|
||||
</otherwise>
|
||||
|
|
|
@ -185,6 +185,9 @@
|
|||
<when test="order.name == 'custom_num'">
|
||||
test_case.num ${order.type}, test_case.custom_num ${order.type}
|
||||
</when>
|
||||
<when test="order.name == 'priority'">
|
||||
test_case.priority ${order.type}
|
||||
</when>
|
||||
<otherwise>
|
||||
test_case_review_test_case.${order.name} ${order.type}
|
||||
</otherwise>
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
sortable="custom"
|
||||
:label="$t('commons.id')"
|
||||
:key="index"
|
||||
width="80"
|
||||
min-width="80"
|
||||
show-overflow-tooltip>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
|
@ -50,7 +50,7 @@
|
|||
sortable="custom"
|
||||
:label="$t('commons.id')"
|
||||
:key="index"
|
||||
width="80"
|
||||
min-width="80"
|
||||
show-overflow-tooltip>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
|
@ -59,7 +59,7 @@
|
|||
:label="$t('commons.name')"
|
||||
show-overflow-tooltip
|
||||
:key="index"
|
||||
width="120"
|
||||
min-width="120"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
|
@ -67,10 +67,10 @@
|
|||
prop="priority"
|
||||
:filters="priorityFilters"
|
||||
column-key="priority"
|
||||
min-width="100px"
|
||||
sortable="custom"
|
||||
min-width="120px"
|
||||
:label="$t('test_track.case.priority')"
|
||||
show-overflow-tooltip
|
||||
width="100"
|
||||
:key="index">
|
||||
<template v-slot:default="scope">
|
||||
<priority-table-item :value="scope.row.priority"/>
|
||||
|
@ -117,7 +117,7 @@
|
|||
</template>
|
||||
</el-table-column>
|
||||
</template>
|
||||
<el-table-column fixed="right" min-width="150">
|
||||
<el-table-column fixed="right" min-width="120">
|
||||
<template slot="header">
|
||||
<header-label-operate @exec="customHeader"/>
|
||||
</template>
|
||||
|
|
|
@ -74,7 +74,8 @@
|
|||
prop="priority"
|
||||
:filters="priorityFilters"
|
||||
column-key="priority"
|
||||
min-width="100px"
|
||||
sortable="custom"
|
||||
min-width="120px"
|
||||
:key="index"
|
||||
:label="$t('test_track.case.priority')">
|
||||
<template v-slot:default="scope">
|
||||
|
|
|
@ -68,7 +68,8 @@
|
|||
prop="priority"
|
||||
:filters="priorityFilters"
|
||||
column-key="priority"
|
||||
min-width="100"
|
||||
sortable="custom"
|
||||
min-width="120px"
|
||||
:label="$t('test_track.case.priority')"
|
||||
:key="index">
|
||||
<template v-slot:default="scope">
|
||||
|
|
Loading…
Reference in New Issue