CaiYuanYiTiHua/src/views/demo/system/cloudManagement/cloudQueryManagement/util.ts

77 lines
1.2 KiB
TypeScript

export const columns = [
{
title: 'ID',
dataIndex: 'id',
ifShow: false,
},
{
title: '名称',
dataIndex: 'name',
width: 100,
},
{
title: '图层',
dataIndex: 'layer',
width: 100,
},
{
title: '数据表',
dataIndex: 'tableName',
width: 100,
},
{
title: '叠加图层',
dataIndex: 'overlayList',
width: 100,
},
{
title: '是否分类',
dataIndex: 'isClass',
width: 100,
},
{
title: '分类字段',
dataIndex: 'classField',
width: 100,
},
{
title: '分类名称',
dataIndex: 'className',
width: 100,
},
{
title: '选择面积计算字段',
dataIndex: 'areaField',
width: 100,
},
{
title: '是否合计',
dataIndex: 'isSum',
width: 100,
}
];
export const emptyLeftItem = {
itemName: '',
itemValue: '',
};
export const emptyRightItem = {
id: '',
name: '',
layer: '',
tableName: '',
overlayList: ['1'],
isClass: 0,
classField: '',
className: '',
areaField:'',
isSum: 0,
};
export const searchFormSchema = [
{
field: 'key',
label: '关键字',
component: 'Input',
colProps: { span: 8 },
},
];