From a978a08aa4297c7b6bf15bf128b8203c3e6aab02 Mon Sep 17 00:00:00 2001 From: wbc <942429426@qq.com> Date: Wed, 28 May 2025 10:48:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=90=E7=BA=A7=E6=A0=B7=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E9=85=8D=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/ApprovalPageModel.vue | 5 ++++- .../projectInfo/projectInfo.data.ts | 20 ++++++++++++------- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/src/views/ProcessApprovalSubPage/component/ApprovalPageModel.vue b/src/views/ProcessApprovalSubPage/component/ApprovalPageModel.vue index 55a0199..437056c 100644 --- a/src/views/ProcessApprovalSubPage/component/ApprovalPageModel.vue +++ b/src/views/ProcessApprovalSubPage/component/ApprovalPageModel.vue @@ -55,7 +55,10 @@ 'projectStartMeeting', 'niceProjectAcceptanceStage', 'performanceEvaluation', - 'projectDeploymentStage' + 'projectDeploymentStage', + 'betaTestingStage', + 'submitFinalApplication', + 'modularAcceptanceStage' ]; const [registerModal, { closeModal }] = useModalInner(init); defineProps(['record']); diff --git a/src/views/projectLib/projectInfo/projectInfo.data.ts b/src/views/projectLib/projectInfo/projectInfo.data.ts index 678a232..3d39049 100644 --- a/src/views/projectLib/projectInfo/projectInfo.data.ts +++ b/src/views/projectLib/projectInfo/projectInfo.data.ts @@ -38,6 +38,12 @@ export const columns: BasicColumn[] = [ resizable: true, align: 'left', slots: { customRender: 'projectName' }, + customCell: (record) => { + if (!Object.keys(record).includes('children')) { + return { style: { paddingLeft: `50px`,color:'grey' } }; + } + return {}; + } }, { title: '所处阶段', @@ -85,9 +91,9 @@ export const ShowDetailFormSchema: FormSchema[] = [ label: '日期', field: 'yearMonth', component: 'DatePicker', - componentProps:{ - valueFormat:'YYYY-MM', - format:'YYYY-MM' + componentProps: { + valueFormat: 'YYYY-MM', + format: 'YYYY-MM' }, colProps: { span: 6 }, }, @@ -135,7 +141,7 @@ export const ShowDetailFormSchema: FormSchema[] = [ component: 'ApiSelect', componentProps: () => { return { - api: () =>getDutyWorkplaceOptions() + api: () => getDutyWorkplaceOptions() } }, labelWidth: 'auto' @@ -236,7 +242,7 @@ export const searchFormSchema: FormSchema[] = [ component: 'ApiSelect', componentProps: () => { return { - api: () =>getDutyWorkplaceOptions() + api: () => getDutyWorkplaceOptions() } }, labelWidth: 'auto' @@ -419,7 +425,7 @@ export const formSchemas: FormSchema[] = [ //步数 step: 1, min: 0, - + }, //一列占比总共24,比如一行显示2列 colProps: { span: 12 }, @@ -1096,7 +1102,7 @@ export const resourcetableColumns: BasicColumn[] = [ ] -export const MoneyFormSchemas: FormSchema[]=[ +export const MoneyFormSchemas: FormSchema[] = [ { //标题名称 label: '总投资(元)',