fix: bug#11260

This commit is contained in:
JiangQiming 2023-03-31 10:09:04 +08:00
parent e48a9ba24f
commit f4770bc03f
1 changed files with 9 additions and 0 deletions

View File

@ -157,6 +157,13 @@
}" }"
></BadgeStatus> ></BadgeStatus>
</template> </template>
<template #registryTime="slotProps">
<span>{{
dayjs(slotProps.registryTime).format(
'YYYY-MM-DD YY:mm:ss',
)
}}</span>
</template>
<template #action="slotProps"> <template #action="slotProps">
<j-space :size="16"> <j-space :size="16">
<PermissionButton <PermissionButton
@ -217,6 +224,7 @@ import { intersection } from 'lodash-es';
import type { dictType, optionsType } from '../typing'; import type { dictType, optionsType } from '../typing';
import { message } from 'jetlinks-ui-components'; import { message } from 'jetlinks-ui-components';
import { useDepartmentStore } from '@/store/department'; import { useDepartmentStore } from '@/store/department';
import dayjs from 'dayjs';
const departmentStore = useDepartmentStore(); const departmentStore = useDepartmentStore();
@ -290,6 +298,7 @@ const columns = [
key: 'registryTime', key: 'registryTime',
ellipsis: true, ellipsis: true,
scopedSlots: true, scopedSlots: true,
width: 200,
search: { search: {
type: 'date', type: 'date',
}, },