NEZ-1009 feat:操作日志&终端日志 补充 排序

This commit is contained in:
zhangyu
2021-09-17 11:52:41 +08:00
parent 33f3d00767
commit 12cf613172
2 changed files with 20 additions and 10 deletions

View File

@@ -25,6 +25,7 @@
:min-width="`${item.minWidth}`"
:prop="item.prop"
:resizable="true"
:sortable="item.sortable"
:sort-orders="['ascending', 'descending']"
:width="`${item.width}`"
class="data-column"
@@ -59,12 +60,14 @@ export default {
label: this.$t('config.operationlog.id'),
prop: 'id',
show: true,
width: 80
width: 80,
sortable: 'custom'
}, {
label: this.$t('config.operationlog.username'),
prop: 'username',
show: true,
minWidth: 80
minWidth: 80,
sortable: 'custom'
},
{
label: this.$t('config.operationlog.ip'),
@@ -76,13 +79,15 @@ export default {
label: this.$t('config.operationlog.operation'),
prop: 'operation',
show: true,
minWidth: 140
minWidth: 140,
sortable: 'custom'
},
{
label: this.$t('config.operationlog.type'),
prop: 'type',
show: true,
minWidth: 80
minWidth: 80,
sortable: 'custom'
},
{
label: this.$t('config.operationlog.state'),