fix: bug#11260
This commit is contained in:
parent
e48a9ba24f
commit
f4770bc03f
|
@ -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',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue