Browse Source

项目负责人修改字段补充

ai_dev
gjh 5 days ago
parent
commit
8ed492e75d
  1. 2
      src/views/ProcessApprovalSubPage/component/ApprovalPageModel.vue
  2. 62
      src/views/projectLib/projectInfoHistory/projectInfoHistory.data.ts

2
src/views/ProcessApprovalSubPage/component/ApprovalPageModel.vue

@ -14,7 +14,7 @@
<uploadfileApproval :record="record" @close="exit" v-if="record.stage == 'supervisionFile'" /> <uploadfileApproval :record="record" @close="exit" v-if="record.stage == 'supervisionFile'" />
<projectPlanApproval :record="record" @close="exit" v-if="record.stage == 'createPlaninfo'" /> <projectPlanApproval :record="record" @close="exit" v-if="record.stage == 'createPlaninfo'" />
<planFileApproval :record="record" @close="exit" v-if="planfileNames.includes(record.stage)" /> <planFileApproval :record="record" @close="exit" v-if="planfileNames.includes(record.stage)" />
<fieldChangeApproval :record="record" @close="exit" v-if="record.stage == 'fieldChange'" /> <fieldChangeApproval :record="record" @close="exit" v-if="record.stage == 'fieldChange' || record.stage == 'manager'" />
<contractApproval :record="record" @close="exit" v-if="record.stage == 'createContract'" /> <contractApproval :record="record" @close="exit" v-if="record.stage == 'createContract'" />
<uploadURTfileApproval <uploadURTfileApproval
:record="record" :record="record"

62
src/views/projectLib/projectInfoHistory/projectInfoHistory.data.ts

@ -5,7 +5,7 @@ const dictStore = useDictStore();
const reformTasksDicts: Array<Object> = dictStore.selectDictArray("reformTasks") const reformTasksDicts: Array<Object> = dictStore.selectDictArray("reformTasks")
const roomDicts: Array<Object> = dictStore.selectDictArray("superLeader") const roomDicts: Array<Object> = dictStore.selectDictArray("superLeader")
import { getWorkPlaceTypeDict, getContactorDict, getUserInfoByid ,getUserDictByRoles} from '../initiatesProjects/initiatesProjects.api' import { getWorkPlaceTypeDict, getContactorDict, getUserInfoByid, getUserDictByRoles } from '../initiatesProjects/initiatesProjects.api'
import { useUserStore } from '@/store/modules/user'; import { useUserStore } from '@/store/modules/user';
const userStore = useUserStore(); const userStore = useUserStore();
import { getDutyWorkplaceList } from '@/views/informationSub/countStatistics/countStatistics.api'; import { getDutyWorkplaceList } from '@/views/informationSub/countStatistics/countStatistics.api';
@ -44,14 +44,14 @@ export const projectInfoHistoryColumns: BasicColumn[] = [
title: '项目编号', title: '项目编号',
width: 150, width: 150,
dataIndex: 'projectid', dataIndex: 'projectid',
ifShow:false, ifShow: false,
}, },
{ {
title: '项目名称', title: '项目名称',
dataIndex: 'projectName', dataIndex: 'projectName',
width: 150, width: 150,
align:'left', align: 'left',
}, },
{ {
title: '总修改次数', title: '总修改次数',
@ -74,7 +74,7 @@ export const projectInfoHistoryColumns: BasicColumn[] = [
}, },
]; ];
export const projectInfoHistoryDetailColumns:BasicColumn[] = [ export const projectInfoHistoryDetailColumns: BasicColumn[] = [
{ {
title: '字段名称', title: '字段名称',
width: 150, width: 150,
@ -246,7 +246,7 @@ export const historyformSchemas: FormSchema[] = [
field: 'provincialMoney', field: 'provincialMoney',
//组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType //组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType
component: 'Input', component: 'Input',
//一列占比总共24,比如一行显示2列 //一列占比总共24,比如一行显示2列
colProps: { span: 12 }, colProps: { span: 12 },
required: true, required: true,
@ -258,7 +258,7 @@ export const historyformSchemas: FormSchema[] = [
field: 'cityMoney', field: 'cityMoney',
//组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType //组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType
component: 'Input', component: 'Input',
//一列占比总共24,比如一行显示2列 //一列占比总共24,比如一行显示2列
colProps: { span: 12 }, colProps: { span: 12 },
required: true, required: true,
@ -270,7 +270,7 @@ export const historyformSchemas: FormSchema[] = [
field: 'countyMoney', field: 'countyMoney',
//组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType //组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType
component: 'Input', component: 'Input',
//一列占比总共24,比如一行显示2列 //一列占比总共24,比如一行显示2列
colProps: { span: 12 }, colProps: { span: 12 },
required: true, required: true,
@ -282,7 +282,7 @@ export const historyformSchemas: FormSchema[] = [
field: 'selfMoney', field: 'selfMoney',
//组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType //组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType
component: 'Input', component: 'Input',
//一列占比总共24,比如一行显示2列 //一列占比总共24,比如一行显示2列
colProps: { span: 12 }, colProps: { span: 12 },
required: true, required: true,
@ -382,28 +382,28 @@ export const historyformSchemas: FormSchema[] = [
colProps: { span: 12 }, colProps: { span: 12 },
dynamicDisabled: true, dynamicDisabled: true,
}, },
  { {
    //标题名称 //标题名称
    label: '项目负责人', label: '项目负责人',
    //字段 //字段
    field: 'manager', field: 'manager',
    //组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType //组件 支持P组件详见 components/Form/src/types/index.ts 中的 ComponentType
    component: 'Input', component: 'Input',
    required: true, required: true,
    //一列占比总共24,比如一行显示2列 //一列占比总共24,比如一行显示2列
    colProps: { span: 12 }, colProps: { span: 12 },
  }, },
  { {
    //标题名称 //标题名称
    label: '负责人联系电话', label: '负责人联系电话',
    //字段 //字段
    field: 'managerPhone', field: 'managerPhone',
    //组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType //组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType
    component: 'Input', component: 'Input',
    required: true, required: true,
    //一列占比总共24,比如一行显示2列 //一列占比总共24,比如一行显示2列
    colProps: { span: 12 }, colProps: { span: 12 },
  }, },
{ {
//标题名称 //标题名称
label: '信息化工作专班', label: '信息化工作专班',
@ -537,7 +537,7 @@ export const historyformSchemas: FormSchema[] = [
//一列占比总共24,比如一行显示2列 //一列占比总共24,比如一行显示2列
colProps: { span: 12 }, colProps: { span: 12 },
}, },
{ {
//标题名称 //标题名称
label: '监理单位', label: '监理单位',

Loading…
Cancel
Save