diff --git a/src/views/projectLib/changeFieldManage/changeFieldManage.data.ts b/src/views/projectLib/changeFieldManage/changeFieldManage.data.ts index 1647d26..8055d02 100644 --- a/src/views/projectLib/changeFieldManage/changeFieldManage.data.ts +++ b/src/views/projectLib/changeFieldManage/changeFieldManage.data.ts @@ -33,7 +33,6 @@ export const changeFieldManageColumns: BasicColumn[] = [ dataIndex: 'ischange', width: 150, format: 'dict|whether', - filters: 'dict|whether', }, { @@ -41,14 +40,12 @@ export const changeFieldManageColumns: BasicColumn[] = [ dataIndex: 'isuploadfile', width: 150, format: 'dict|whether', - filters: 'dict|whether', }, { title: '是否需要审批', dataIndex: 'isapproval', width: 100, format: 'dict|whether', - filters: 'dict|whether', }, ]; diff --git a/src/views/projectLib/projectContract/projectContract.data.ts b/src/views/projectLib/projectContract/projectContract.data.ts index 3d5053f..45e68cb 100644 --- a/src/views/projectLib/projectContract/projectContract.data.ts +++ b/src/views/projectLib/projectContract/projectContract.data.ts @@ -51,7 +51,6 @@ export const contractTablecolumns: BasicColumn[] = [ title: '合同状态', dataIndex: 'contractStatus', format: 'dict|taskStatus', - filters: 'dict|taskStatus', resizable: true }, ]; diff --git a/src/views/projectLib/projectInfo/projectInfo.data.ts b/src/views/projectLib/projectInfo/projectInfo.data.ts index 6d3e80d..e4bf9ac 100644 --- a/src/views/projectLib/projectInfo/projectInfo.data.ts +++ b/src/views/projectLib/projectInfo/projectInfo.data.ts @@ -59,8 +59,7 @@ export const columns: BasicColumn[] = [ title: '项目状态', dataIndex: 'stage', format: 'dict|projectStage', - filters: 'dict|projectStage', - resizable: true + resizable: true, }, ]; @@ -118,7 +117,16 @@ export const searchFormSchema: FormSchema[] = [ labelWidth: 'auto' }, + // { + // field: 'stage', + // label: '项目状态', + // component: 'DictSelect', + // componentProps: { + // dictType: 'projectStage', + // }, + // labelWidth: 'auto' + // }, ]; diff --git a/src/views/projectLib/projectPlan/projectPlan.data.ts b/src/views/projectLib/projectPlan/projectPlan.data.ts index bb6bc30..079ad99 100644 --- a/src/views/projectLib/projectPlan/projectPlan.data.ts +++ b/src/views/projectLib/projectPlan/projectPlan.data.ts @@ -75,4 +75,73 @@ export const PlaninfoFiletableColumns: BasicColumn[] = [ } }, } -] \ No newline at end of file +] +export const searchFormSchema: 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: 'reformName', + label: '改革所属项目', + component: 'DictSelect', + componentProps: { + dictType: 'reformTasks', + }, + itemProps: { validateTrigger: 'blur' }, + labelWidth: 'auto' + }, + { + field: 'superLeader', + label: '上级指导处室', + component: 'DictSelect', + componentProps: { + dictType: 'superLeader', + }, + labelWidth: 'auto' + + }, + // { + // field: 'stage', + // label: '项目状态', + // component: 'Select', + // componentProps: { + // options: [ + // { label: '项目入库完成', value: '2' }, + // { label: '项目计划审批中', value: '4' }, + // { label: '项目计划执行中', value: '5' }, + // { label: '项目计划完成 ', value: '6' }, + // ] + // }, + // labelWidth: 'auto' + + // }, +]; \ No newline at end of file