fix: 1、还原setting界面ctime、utime、enabled等字段;2、调整entity setting列表间距

This commit is contained in:
刘洪洪
2024-11-19 10:03:59 +08:00
parent e3e293bd16
commit d2b6eab486
4 changed files with 16 additions and 15 deletions

View File

@@ -33,7 +33,7 @@
<div class="col-resize-area"></div>
</template>
<template #default="scope" :column="item">
<template v-if="item.prop === 'create_time' || item.prop === 'update_time'">
<template v-if="item.prop === 'ctime' || item.prop === 'utime'">
<template v-if="scope.row[item.prop]">
{{ dateFormatByAppearance(scope.row[item.prop]) || '-' }}
</template>
@@ -83,13 +83,13 @@ export default {
prop: 'entitySource',
show: true,
sortable: 'custom',
minWidth: 200
minWidth: 100
},
{
label: this.$t('setting.entityTypes'),
prop: 'entities',
show: true,
minWidth: 200
minWidth: 150
},
{
label: this.$t('setting.relationTypes'),
@@ -99,14 +99,15 @@ export default {
},
{
label: this.$t('config.user.createTime'),
prop: 'create_time',
prop: 'ctime',
show: true,
minWidth: 200
minWidth: 150
},
{
label: this.$t('overall.updateTime'),
prop: 'update_time',
show: true
prop: 'utime',
show: true,
minWidth: 150
}
]
}