fix: bug#11223

This commit is contained in:
JiangQiming 2023-03-30 19:58:28 +08:00
parent 735994f12f
commit f25468066b
2 changed files with 8 additions and 0 deletions

View File

@ -128,6 +128,11 @@
}" }"
></BadgeStatus> ></BadgeStatus>
</template> </template>
<template #registryTime="slotProps">
<span>{{
dayjs(slotProps.registryTime).format('YYYY-MM-DD YY:mm:ss')
}}</span>
</template>
</j-pro-table> </j-pro-table>
</j-modal> </j-modal>
</template> </template>
@ -145,6 +150,7 @@ import {
import { message } from 'jetlinks-ui-components'; import { message } from 'jetlinks-ui-components';
import { dictType } from '../typing'; import { dictType } from '../typing';
import { useDepartmentStore } from '@/store/department'; import { useDepartmentStore } from '@/store/department';
import dayjs from 'dayjs';
const departmentStore = useDepartmentStore(); const departmentStore = useDepartmentStore();

View File

@ -282,12 +282,14 @@ const columns = [
key: 'permission', key: 'permission',
ellipsis: true, ellipsis: true,
scopedSlots: true, scopedSlots: true,
width: 300,
}, },
{ {
title: '注册时间', title: '注册时间',
dataIndex: 'registryTime', dataIndex: 'registryTime',
key: 'registryTime', key: 'registryTime',
ellipsis: true, ellipsis: true,
scopedSlots: true,
search: { search: {
type: 'date', type: 'date',
}, },