hldy_vue/src/views/iot/SyncLog/ElectricitySyncLog.data.ts

69 lines
1.8 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 columns: BasicColumn[] = [
{
title: '同步时间',
align: "center",
dataIndex: 'createTime'
},
{
title: '同步类型',
align: "center",
dataIndex: 'syncType'
},
{
title: '原机构名称',
align: "center",
dataIndex: 'orgName'
},
{
title: '原机构编码',
align: "center",
dataIndex: 'orgCode',
defaultHidden: true
},
{
title: '新机构名称',
align: "center",
dataIndex: 'newOrgName'
},
{
title: '新机构编码',
align: "center",
dataIndex: 'newOrgCode',
defaultHidden: true
},
{
title: '状态',
align: "center",
dataIndex: 'status'
},
{
title: '备注',
align: "center",
dataIndex: 'content'
},
{
title: '服务类型',
align: "center",
dataIndex: 'serverType'
},
];
// 高级查询数据
export const superQuerySchema = {
mainName: {title: '主表名称',order: 0,view: 'text', type: 'string',},
syncType: {title: '同步类型',order: 1,view: 'text', type: 'string',},
orgName: {title: '原机构名称',order: 2,view: 'text', type: 'string',},
orgCode: {title: '原机构编码',order: 3,view: 'text', type: 'string',},
newOrgName: {title: '新机构名称',order: 4,view: 'text', type: 'string',},
newOrgCode: {title: '新机构编码',order: 5,view: 'text', type: 'string',},
status: {title: '状态',order: 6,view: 'text', type: 'string',},
content: {title: '备注',order: 7,view: 'text', type: 'string',},
serverType: {title: '服务类型',order: 8,view: 'text', type: 'string',},
};