fix(测试跟踪): 测试计划关联功能用例列表添加排序
--bug=1015208 --user=陈建星 【测试跟踪】测试计划-关联功能用例,执行结果和评审结果列没支持排序 https://www.tapd.cn/55049933/s/1208308
This commit is contained in:
parent
b84b56b6a5
commit
70e7b2ba4f
|
@ -4,6 +4,7 @@
|
||||||
:field="field"
|
:field="field"
|
||||||
:filters="reviewStatusFilters"
|
:filters="reviewStatusFilters"
|
||||||
:min-width="minWidth"
|
:min-width="minWidth"
|
||||||
|
:sortable="sortable"
|
||||||
:fields-width="fieldsWidth"
|
:fields-width="fieldsWidth"
|
||||||
:label="$t('test_track.case.status')">
|
:label="$t('test_track.case.status')">
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
|
@ -34,6 +35,12 @@ export default {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
|
sortable: {
|
||||||
|
type: [Boolean, String],
|
||||||
|
default() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
:prop="prop"
|
:prop="prop"
|
||||||
:filters="statusFilters"
|
:filters="statusFilters"
|
||||||
:field="field"
|
:field="field"
|
||||||
|
:sortable="sortable"
|
||||||
:min-width="minWidth"
|
:min-width="minWidth"
|
||||||
:fields-width="fieldsWidth"
|
:fields-width="fieldsWidth"
|
||||||
:label="$t('test_track.plan_view.execute_result')">
|
:label="$t('test_track.plan_view.execute_result')">
|
||||||
|
@ -34,6 +35,12 @@ export default {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
|
sortable: {
|
||||||
|
type: [Boolean, String],
|
||||||
|
default() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -74,9 +74,11 @@
|
||||||
</template>
|
</template>
|
||||||
</ms-table-column>
|
</ms-table-column>
|
||||||
|
|
||||||
<test-plan-case-status-table-item prop="lastExecuteResult"/>
|
<test-plan-case-status-table-item
|
||||||
|
sortable
|
||||||
|
prop="lastExecuteResult"/>
|
||||||
|
|
||||||
<test-case-review-status-table-item/>
|
<test-case-review-status-table-item sortable/>
|
||||||
|
|
||||||
<ms-table-column prop="tags" :label="$t('commons.tag')" width="90px">
|
<ms-table-column prop="tags" :label="$t('commons.tag')" width="90px">
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
|
|
Loading…
Reference in New Issue