Browse Source

去掉表格中的筛选框

master
zhouhaibin 6 months ago
parent
commit
b28d179aca
  1. 3
      src/views/projectLib/changeFieldManage/changeFieldManage.data.ts
  2. 1
      src/views/projectLib/projectContract/projectContract.data.ts
  3. 12
      src/views/projectLib/projectInfo/projectInfo.data.ts
  4. 69
      src/views/projectLib/projectPlan/projectPlan.data.ts

3
src/views/projectLib/changeFieldManage/changeFieldManage.data.ts

@ -33,7 +33,6 @@ export const changeFieldManageColumns: BasicColumn[] = [
dataIndex: 'ischange', dataIndex: 'ischange',
width: 150, width: 150,
format: 'dict|whether', format: 'dict|whether',
filters: 'dict|whether',
}, },
{ {
@ -41,14 +40,12 @@ export const changeFieldManageColumns: BasicColumn[] = [
dataIndex: 'isuploadfile', dataIndex: 'isuploadfile',
width: 150, width: 150,
format: 'dict|whether', format: 'dict|whether',
filters: 'dict|whether',
}, },
{ {
title: '是否需要审批', title: '是否需要审批',
dataIndex: 'isapproval', dataIndex: 'isapproval',
width: 100, width: 100,
format: 'dict|whether', format: 'dict|whether',
filters: 'dict|whether',
}, },
]; ];

1
src/views/projectLib/projectContract/projectContract.data.ts

@ -51,7 +51,6 @@ export const contractTablecolumns: BasicColumn[] = [
title: '合同状态', title: '合同状态',
dataIndex: 'contractStatus', dataIndex: 'contractStatus',
format: 'dict|taskStatus', format: 'dict|taskStatus',
filters: 'dict|taskStatus',
resizable: true resizable: true
}, },
]; ];

12
src/views/projectLib/projectInfo/projectInfo.data.ts

@ -59,8 +59,7 @@ export const columns: BasicColumn[] = [
title: '项目状态', title: '项目状态',
dataIndex: 'stage', dataIndex: 'stage',
format: 'dict|projectStage', format: 'dict|projectStage',
filters: 'dict|projectStage', resizable: true,
resizable: true
}, },
]; ];
@ -118,7 +117,16 @@ export const searchFormSchema: FormSchema[] = [
labelWidth: 'auto' labelWidth: 'auto'
}, },
// {
// field: 'stage',
// label: '项目状态',
// component: 'DictSelect',
// componentProps: {
// dictType: 'projectStage',
// },
// labelWidth: 'auto'
// },
]; ];

69
src/views/projectLib/projectPlan/projectPlan.data.ts

@ -76,3 +76,72 @@ export const PlaninfoFiletableColumns: BasicColumn[] = [
}, },
} }
] ]
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'
// },
];
Loading…
Cancel
Save