From 25f4f33cb0cd72448794fce90a1f87b61ced143d Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Sat, 3 Aug 2024 19:30:12 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E9=98=B6=E6=AE=B5?= =?UTF-8?q?=E5=8F=98=E6=9B=B4,=20=E9=A1=B9=E7=9B=AE=E7=AB=8B=E9=A1=B9/?= =?UTF-8?q?=E9=AA=8C=E6=94=B6=E9=83=A8=E9=97=A8=E5=88=86=E7=AE=A1=E9=A2=86?= =?UTF-8?q?=E5=AF=BC=E7=BC=96=E8=BE=91=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DetailComponent/ProjectApply.vue | 22 +++++++++++-------- .../implementation/account.vue | 12 ++++++++-- .../implementation/phase.vue | 4 ++-- 3 files changed, 25 insertions(+), 13 deletions(-) diff --git a/src/components/DetailComponent/ProjectApply.vue b/src/components/DetailComponent/ProjectApply.vue index 70a6c9f..c1fcca4 100644 --- a/src/components/DetailComponent/ProjectApply.vue +++ b/src/components/DetailComponent/ProjectApply.vue @@ -4,7 +4,7 @@ - + - {{ projectChargePersonUserList.length !== 0 ? '更改' : '请选择' }} + {{ projectChargePersonUserList?.length !== 0 ? '更改' : '请选择' }}
{{ item.name }} @@ -48,7 +48,7 @@ - {{ projectPersonUserList.length !== 0 ? '更改' : getProjectPerson(projectPersonUserList) ? '更改' : '请选择' }} + {{ projectPersonUserList?.length !== 0 ? '更改' : getProjectPerson(projectPersonUserList) ? '更改' : '请选择' }}
{{ item.name }} @@ -61,7 +61,7 @@ - {{ optionalChargeLeadershipList.length !== 0 ? '更改' : getOptionalChargeLeadershipList(optionalChargeLeadershipList) ? '更改' : '请选择' }} + {{ optionalChargeLeadershipList?.length !== 0 ? '更改' : getOptionalChargeLeadershipList(optionalChargeLeadershipList) ? '更改' : '请选择' }}
{{ item.name }} @@ -74,12 +74,12 @@ {{ - localFormData.preProcess && localFormData.preProcess.length > 0 ? '更改' : sessionParams.preProcess && sessionParams.preProcess.length > 0 ? '更改' : '请选择' + localFormData.preProcess && localFormData.preProcess?.length > 0 ? '更改' : sessionParams.preProcess && sessionParams.preProcess?.length > 0 ? '更改' : '请选择' }} @@ -94,7 +94,7 @@ :preview="mode == 'resubmit'"/>
-
+
@@ -732,11 +732,15 @@ const init = async () => { watchEffect(() => { if (props.formData.projectChargePerson == null) { - // projectChargePersonUserList.value = [] + projectChargePersonUserList.value = [] } else { projectChargePersonUserList.value = [props.formData.projectChargePerson] } - // console.log('props.formData.projectPersonList',props.formData.projectPersonList) + if (props.formData.optionalChargeLeadership == null) { + optionalChargeLeadershipList.value = [] + } else { + optionalChargeLeadershipList.value=props.formData.optionalChargeLeadership + } projectPersonUserList.value = props.formData.projectPersonList ? props.formData.projectPersonList : [] let flag = Object.keys(props.formData).length && (localFormData.value = props.formData) if (props.formData.projectChargePerson != null) { diff --git a/src/views/project-management/implementation/account.vue b/src/views/project-management/implementation/account.vue index eeaaa98..8fa1427 100644 --- a/src/views/project-management/implementation/account.vue +++ b/src/views/project-management/implementation/account.vue @@ -5,7 +5,7 @@ - {{ basicData.requirementName }} + {{ basicData.requirementName ||'--'}} @@ -328,8 +328,16 @@ onActivated(() => { }) - diff --git a/src/views/project-management/implementation/phase.vue b/src/views/project-management/implementation/phase.vue index c4d1559..a3595ac 100644 --- a/src/views/project-management/implementation/phase.vue +++ b/src/views/project-management/implementation/phase.vue @@ -2,7 +2,7 @@
- + @@ -14,7 +14,7 @@ @getOtherFile="getOtherFile" :showFileList="true" :formData="formData" tag="阶段变更" :preview="name === 'Phase/edit'"/>
-
+
流程图