67 lines
1.6 KiB
TypeScript
67 lines
1.6 KiB
TypeScript
import { BasicColumn } from '/@/components/Table';
|
|
import { FormSchema } from '/@/components/Table';
|
|
import { rules } from '/@/utils/helper/validator';
|
|
import { render } from '/@/utils/common/renderUtils';
|
|
import { getWeekMonthQuarterYear } from '/@/utils';
|
|
//主列表数据
|
|
export const asyncMaincolumns: BasicColumn[] = [
|
|
// {
|
|
// title: '类型',
|
|
// align: "center",
|
|
// dataIndex: 'type'
|
|
// },
|
|
{
|
|
title: '同步备注信息',
|
|
align: 'center',
|
|
dataIndex: 'descr',
|
|
},
|
|
{
|
|
title: '同步人',
|
|
align: 'center',
|
|
dataIndex: 'createBy_dictText',
|
|
},
|
|
{
|
|
title: '开始同步时间',
|
|
align: 'center',
|
|
dataIndex: 'createTime',
|
|
},
|
|
{
|
|
title: '同步状态',
|
|
align: 'center',
|
|
dataIndex: 'asyncStatusList',
|
|
},
|
|
];
|
|
//子列表数据
|
|
export const asyncStatusColumns: BasicColumn[] = [
|
|
{
|
|
title: '同步内容',
|
|
align: 'center',
|
|
dataIndex: 'name',
|
|
width:'200px'
|
|
},
|
|
{
|
|
title: '同步状态',
|
|
align: 'center',
|
|
dataIndex: 'status',
|
|
width:'100px'
|
|
},
|
|
{
|
|
title: '同步结果',
|
|
align: 'center',
|
|
dataIndex: 'msg',
|
|
},
|
|
{
|
|
title: '更新时间',
|
|
align: 'center',
|
|
dataIndex: 'updateTime',
|
|
width:'200px'
|
|
},
|
|
];
|
|
// 高级查询数据
|
|
export const superQuerySchema = {
|
|
type: { title: '类型(同步的是什么类型的数据)', order: 0, view: 'text', type: 'string' },
|
|
descr: { title: '备注/描述', order: 1, view: 'text', type: 'string' },
|
|
createBy: { title: '创建人', order: 2, view: 'text', type: 'string' },
|
|
createTime: { title: '创建日期', order: 3, view: 'datetime', type: 'string' },
|
|
};
|