湖州项目前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

186 lines
3.8 KiB

import { FormSchema } from '@/components/Form';
import { BasicColumn } from '@/components/Table';
export const danweizhuticolumns: BasicColumn[] = [
{
title: '入库责任单位',
dataIndex: 'dutyWorkplace',
resizable: true
},
{
title: '行政区划',
dataIndex: 'adminDivision',
resizable: true
},
{
title: '单位属性',
dataIndex: 'workplaceProperties',
resizable: true
},
{
title: '合同金额',
dataIndex: 'totalMoney',
resizable: true
},
{
title: '合同资金支付率',
dataIndex: 'paymentExecutionRate',
resizable: true
},
{
title: '中央资金',
dataIndex: 'centralMoney',
resizable: true,
},
{
title: '省级资金',
dataIndex: 'provincialMoney',
resizable: true
},
{
title: '上级资金支付率',
dataIndex: 'superiorFundExecutionRate',
resizable: true,
},
{
title: '项目总进度',
dataIndex: 'projectProgress',
resizable: true,
slots: { customRender: 'projectProgress' },
},
];
export const danweizhutisearchFormSchema: FormSchema[] = [
{
//标题名称
label: '责任单位',
//字段
field: 'dutyWorkplace',
//组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType
component: 'Input',
labelWidth: 'auto'
},
{
label: '行政区划',
field: 'adminDivision',
component: 'Input',
labelWidth: 'auto'
//colProps: { span: 6 },
},
{
//标题名称
label: '单位属性',
//字段
field: 'workplaceProperties',
//组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType
component: 'Input',
labelWidth: 'auto'
},
];
export const shifanxiangmucolumns: BasicColumn[] = [
{
title: '项目名称',
dataIndex: 'projectName',
resizable: true,
},
{
title: '行政区划',
dataIndex: 'adminDivision',
resizable: true
},
{
title: '责任单位',
dataIndex: 'dutyWorkplace',
resizable: true
},
{
title: '单位属性',
dataIndex: 'workplaceProperties',
resizable: true
},
{
title: '上级指导处室',
dataIndex: 'superLeader',
format: 'dict|superLeader',
resizable: true
},
{
title: '合同金额',
dataIndex: 'totalMoney',
resizable: true
},
{
title: '合同资金支付率',
dataIndex: 'paymentExecutionRate',
resizable: true
},
{
title: '中央资金',
dataIndex: 'centralMoney',
resizable: true,
},
{
title: '省级资金',
dataIndex: 'provincialMoney',
resizable: true
},
{
title: '上级资金支付率',
dataIndex: 'superiorFundExecutionRate',
resizable: true,
},
{
title: '项目总进度',
dataIndex: 'projectProgress',
resizable: true,
slots: { customRender: 'projectProgress' },
},
];
export const shifanxiangsearchFormSchema: FormSchema[] = [
{
label: '项目名称',
field: 'projectName',
component: 'Input',
labelWidth: 'auto'
//colProps: { span: 6 },
},
{
label: '行政区划',
field: 'adminDivision',
component: 'Input',
labelWidth: 'auto'
//colProps: { span: 6 },
},
{
//标题名称
label: '责任单位',
//字段
field: 'dutyWorkplace',
//组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType
component: 'Input',
labelWidth: 'auto'
},
{
//标题名称
label: '单位属性',
//字段
field: 'workplaceProperties',
//组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType
component: 'Input',
labelWidth: 'auto'
},
{
field: 'superLeader',
label: '上级指导处室',
component: 'DictSelect',
componentProps: {
dictType: 'superLeader',
},
labelWidth: 'auto'
},
];