44 lines
1.1 KiB
TypeScript
44 lines
1.1 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: 'name',
|
|
},
|
|
{
|
|
title: '键名',
|
|
align: "center",
|
|
dataIndex: 'configKey',
|
|
},
|
|
{
|
|
title: '键值',
|
|
align: "center",
|
|
dataIndex: 'configValue'
|
|
},
|
|
{
|
|
title: '备注',
|
|
align: "center",
|
|
dataIndex: 'descr'
|
|
},
|
|
{
|
|
title: '是否启用',
|
|
align: "center",
|
|
dataIndex: 'izEnabled_dictText',
|
|
width:100
|
|
},
|
|
];
|
|
|
|
// 高级查询数据
|
|
export const superQuerySchema = {
|
|
name: {title: '参数名称',order: 0,view: 'text', type: 'string',},
|
|
configKey: {title: '键名',order: 1,view: 'text', type: 'string',},
|
|
configValue: {title: '键值',order: 2,view: 'textarea', type: 'string',},
|
|
descr: {title: '备注',order: 3,view: 'textarea', type: 'string',},
|
|
izEnabled: {title: '是否启用',order: 4,view: 'text', type: 'string',},
|
|
};
|