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.
98 lines
2.3 KiB
98 lines
2.3 KiB
import { FormSchema } from '@/components/Form';
|
|
import { BasicColumn } from '@/components/Table';
|
|
import { useDictStore } from '@/store/modules/dict';
|
|
const dictStore = useDictStore();
|
|
const reformTasksDicts: Array<Object> = dictStore.selectDictArray("reformTasks")
|
|
|
|
const roomDicts: Array<Object> = dictStore.selectDictArray("superLeader")
|
|
import { getWorkPlaceTypeDict, getContactorDict, getUserInfoByid } from '../initiatesProjects/initiatesProjects.api'
|
|
|
|
// let manageOrgDict = await getWorkPlaceTypeDict({ workPlaceType: "1" })
|
|
// let supervisorDict = await getWorkPlaceTypeDict({ workPlaceType: "2" })
|
|
// let contructorDict = await getWorkPlaceTypeDict({ workPlaceType: "4" })
|
|
// let ownerDict = await getWorkPlaceTypeDict({ workPlaceType: "3" })
|
|
// let controlerDict = await getWorkPlaceTypeDict({ workPlaceType: "6" })
|
|
// let consultDict = await getWorkPlaceTypeDict({ workPlaceType: "5" })
|
|
// let manageOrgDict = []
|
|
// let supervisorDict = []
|
|
// let contructorDict = []
|
|
// let ownerDict = []
|
|
// let controlerDict = []
|
|
// let consultDict = []
|
|
|
|
|
|
export const projectInfoHistoryColumns: BasicColumn[] = [
|
|
{
|
|
title: '项目编号',
|
|
width: 150,
|
|
dataIndex: 'projectid',
|
|
ifShow:false,
|
|
|
|
},
|
|
{
|
|
title: '项目名称',
|
|
dataIndex: 'projectName',
|
|
width: 150,
|
|
align:'left',
|
|
},
|
|
{
|
|
title: '总修改次数',
|
|
dataIndex: 'total',
|
|
},
|
|
|
|
{
|
|
title: '行政区划',
|
|
dataIndex: 'adminDivision',
|
|
},
|
|
{
|
|
title: '改革所属项目',
|
|
dataIndex: 'reformName',
|
|
format: 'dict|reformTasks',
|
|
},
|
|
{
|
|
title: '上级指导处室',
|
|
dataIndex: 'superLeader',
|
|
format: 'dict|superLeader',
|
|
},
|
|
|
|
];
|
|
export const projectInfoHistoryDetailColumns:BasicColumn[] = [
|
|
{
|
|
title: '字段名称',
|
|
width: 150,
|
|
dataIndex: 'fieldName',
|
|
},
|
|
{
|
|
title: '字段修改次数',
|
|
dataIndex: 'fieldTotal',
|
|
},
|
|
{
|
|
title: '新值',
|
|
dataIndex: 'newvalue',
|
|
},
|
|
{
|
|
title: '旧值',
|
|
dataIndex: 'oldvalue',
|
|
},
|
|
{
|
|
title: '修改时间',
|
|
dataIndex: 'createDate',
|
|
},
|
|
]
|
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
{
|
|
label: '项目名称',
|
|
field: 'projectName',
|
|
component: 'Input',
|
|
//colProps: { span: 6 },
|
|
},
|
|
{
|
|
label: '项目编号',
|
|
field: 'projectId',
|
|
component: 'Input',
|
|
//colProps: { span: 6 },
|
|
}
|
|
|
|
];
|
|
|
|
|