From fc9a71e6df0c88e6b5f61dac6cf751070a80f259 Mon Sep 17 00:00:00 2001 From: baoyu <102349094+Bytq@users.noreply.github.com> Date: Fri, 12 Apr 2024 13:32:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E7=82=B9=E8=AE=A4=E8=AF=81=E6=A0=87?= =?UTF-8?q?=E5=87=86/=E6=94=BF=E7=AD=96=E5=90=88=E8=A7=84=E6=80=A7?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=AE=A1=E6=9F=A5=E6=B5=81=E7=A8=8B=20?= =?UTF-8?q?=E5=AE=9E=E6=96=BD=E6=97=A5=E6=9C=9F=20=E5=AE=9E=E6=96=BD?= =?UTF-8?q?=E8=A6=81=E6=B1=82=20=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/businessDivisionList.vue | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/policyComplianceReview/components/businessDivisionList.vue b/src/pages/processCenter/pages/creatProcess/policyComplianceReview/components/businessDivisionList.vue index 4fc0e76a0..c452d1e70 100644 --- a/src/pages/processCenter/pages/creatProcess/policyComplianceReview/components/businessDivisionList.vue +++ b/src/pages/processCenter/pages/creatProcess/policyComplianceReview/components/businessDivisionList.vue @@ -138,24 +138,22 @@ export default { } }, computed: { - computed: { - trackingChecklistProductTypeMap () { - return this.dict.trackingChecklistProductType + trackingChecklistProductTypeMap () { + return this.dict.trackingChecklistProductType ? this.dict.trackingChecklistProductType.reduce((obj, item) => { obj[item.value] = item.label return obj }, {}) : [] - }, - trackingChecklistPutDemandMap () { - return this.dict.trackingChecklistPutDemand + }, + trackingChecklistPutDemandMap () { + return this.dict.trackingChecklistPutDemand ? this.dict.trackingChecklistPutDemand.reduce((obj, item) => { obj[item.value] = item.label return obj }, {}) : [] - } - }, + } showInput () { if (this.taskKey == 'PolicyComplianceProgramReviewProcessKey8' || this.taskKey == 'PolicyComplianceProgramReviewProcessKey9') {