fix(core): 统一创建时间字段名从 createTime 到 creationTime
This commit is contained in:
@@ -96,7 +96,7 @@ const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;
|
||||
<template #title>
|
||||
<div class="flex flex-col items-center gap-2 p-2">
|
||||
<Avatar :size="36" :src="item.info.avatar" />
|
||||
<div>绑定时间: {{ item.info.createTime }}</div>
|
||||
<div>绑定时间: {{ item.info.creationTime }}</div>
|
||||
</div>
|
||||
</template>
|
||||
<div class="cursor-pointer">
|
||||
|
||||
@@ -32,7 +32,7 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
},
|
||||
{
|
||||
component: 'RangePicker',
|
||||
fieldName: 'createTime',
|
||||
fieldName: 'creationTime',
|
||||
label: '操作时间',
|
||||
componentProps: {
|
||||
valueFormat: 'YYYY-MM-DD HH:mm:ss',
|
||||
|
||||
@@ -39,7 +39,7 @@ const formOptions: VbenFormProps = {
|
||||
// 日期选择格式化
|
||||
fieldMappingTime: [
|
||||
[
|
||||
'createTime',
|
||||
'creationTime',
|
||||
['startTime', 'endTime'],
|
||||
['YYYY-MM-DD 00:00:00', 'YYYY-MM-DD 23:59:59'],
|
||||
],
|
||||
|
||||
@@ -24,7 +24,7 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
},
|
||||
{
|
||||
component: 'RangePicker',
|
||||
fieldName: 'createTime',
|
||||
fieldName: 'creationTime',
|
||||
label: '创建时间',
|
||||
},
|
||||
];
|
||||
@@ -53,7 +53,7 @@ export const columns: VxeGridProps['columns'] = [
|
||||
},
|
||||
{
|
||||
title: '创建时间',
|
||||
field: 'createTime',
|
||||
field: 'creationTime',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
|
||||
@@ -51,7 +51,7 @@ const formOptions: VbenFormProps = {
|
||||
// 日期选择格式化
|
||||
fieldMappingTime: [
|
||||
[
|
||||
'createTime',
|
||||
'creationTime',
|
||||
['params[beginCreateTime]', 'params[endCreateTime]'],
|
||||
['YYYY-MM-DD 00:00:00', 'YYYY-MM-DD 23:59:59'],
|
||||
],
|
||||
|
||||
@@ -23,7 +23,7 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
},
|
||||
{
|
||||
component: 'RangePicker',
|
||||
fieldName: 'createTime',
|
||||
fieldName: 'creationTime',
|
||||
label: '创建时间',
|
||||
},
|
||||
];
|
||||
@@ -43,7 +43,7 @@ export const columns: VxeGridProps['columns'] = [
|
||||
title: '实体类',
|
||||
},
|
||||
{
|
||||
field: 'createTime',
|
||||
field: 'creationTime',
|
||||
title: '创建时间',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -40,7 +40,7 @@ const formOptions: VbenFormProps = {
|
||||
// 日期选择格式化
|
||||
fieldMappingTime: [
|
||||
[
|
||||
'createTime',
|
||||
'creationTime',
|
||||
['startTime', 'endTime'],
|
||||
['YYYY-MM-DD 00:00:00', 'YYYY-MM-DD 23:59:59'],
|
||||
],
|
||||
|
||||
@@ -63,7 +63,7 @@ const gridOptions: VxeGridProps = {
|
||||
},
|
||||
{
|
||||
title: '创建时间',
|
||||
field: 'createTime',
|
||||
field: 'creationTime',
|
||||
},
|
||||
{
|
||||
title: '更新时间',
|
||||
|
||||
@@ -25,7 +25,7 @@ export const columns: VxeGridProps['columns'] = [
|
||||
title: '排序',
|
||||
},
|
||||
{
|
||||
field: 'createTime',
|
||||
field: 'creationTime',
|
||||
title: '创建时间',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -53,7 +53,7 @@ const diffUpdateTimeString = computed(() => {
|
||||
<div class="font-bold">{{ info.nodeName }}</div>
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="提交时间">
|
||||
{{ info.createTime }}
|
||||
{{ info.creationTime }}
|
||||
</DescriptionsItem>
|
||||
<!-- <DescriptionsItem label="更新时间">
|
||||
{{ info.updateTime }}
|
||||
|
||||
@@ -428,7 +428,7 @@ async function handleCopy(text: string) {
|
||||
<Divider type="vertical" />
|
||||
<div class="flex items-center gap-1">
|
||||
<span class="icon-[mdi--clock-outline] size-[16px]"></span>
|
||||
提交时间: {{ task.createTime }}
|
||||
提交时间: {{ task.creationTime }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -139,7 +139,7 @@ function handleReductionSignature(userList: User[]) {
|
||||
{{ taskInfo.nodeCode }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="开始时间">
|
||||
{{ taskInfo.createTime }}
|
||||
{{ taskInfo.creationTime }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="流程实例ID">
|
||||
{{ taskInfo.instanceId }}
|
||||
|
||||
Reference in New Issue
Block a user