revert(通用功能): 回退表格排序属性设置

This commit is contained in:
chenjianxing 2023-04-04 18:36:11 +08:00 committed by fit2-zhao
parent 7212bf4b8c
commit 26ae5c208a
2 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@
:prop="prop"
:column-key="columnKey ? columnKey : prop"
:label="label"
:sortable="sortable ? 'custom' : false"
:sortable="sortable"
:filter-method="filterMethod"
:filtered-value="filteredValue "
:render-header="renderHeader"

View File

@ -29,10 +29,10 @@
<span v-for="item in fields" :key="item.key">
<ms-table-column
prop="name"
sortable="custom"
permission="PROJECT_TRACK_REPORT:READ+DELETE"
:field="item"
:fields-width="fieldsWidth"
sortable
:label="$t('test_track.report.list.name')"
:show-overflow-tooltip="false"
:editable="true"
@ -61,7 +61,7 @@
prop="createTime"
:field="item"
:fields-width="fieldsWidth"
sortable
sortable="custom"
:label="$t('test_track.report.list.create_time')"
:show-overflow-tooltip="true"
>
@ -74,7 +74,7 @@
prop="triggerMode"
:field="item"
:fields-width="fieldsWidth"
sortable
sortable="custom"
:label="$t('test_track.report.list.trigger_mode')"
>
<template v-slot:default="scope">
@ -86,7 +86,7 @@
prop="status"
:field="item"
:fields-width="fieldsWidth"
sortable
sortable="custom"
:label="$t('commons.status')"
>
<template v-slot:default="scope">