diff --git a/project/pingchang/apps/AppHealthReport/components/Detail.vue b/project/pingchang/apps/AppHealthReport/components/Detail.vue index b943e24b..a1460a61 100644 --- a/project/pingchang/apps/AppHealthReport/components/Detail.vue +++ b/project/pingchang/apps/AppHealthReport/components/Detail.vue @@ -128,10 +128,7 @@ this.isLoading = true if (this.params && this.params.id) { this.id = this.params.id - this.$dict.load(['EP_riskLevel', 'EP_handleType', 'EP_registerPersonType', 'EP_highRiskIndustries', 'EP_travelType', 'yesOrNo', 'EP_handoverObject', - 'EP_handleType', 'EP_quarantineAddress', 'EP_homeStatus', 'EP_quarantineStrategy', 'EP_controlMethod', 'EP_handoverMethod', 'EP_abnormalType']).then(() => { - this.getInfo(this.params.id) - }) + this.getInfo(this.params.id) } }, @@ -140,11 +137,6 @@ this.instance.post(`/app/appepidemicpreventionhealthreportinfo/userDetailById?id=${id}`).then(res => { if (res.code === 0) { this.info = res.data - this.info.checkPhoto = res.data.checkPhoto ? JSON.parse(res.data.checkPhoto) : [] - - this.info.travelTypeNames = res.data.travelType.split(',').map(v => { - return this.dict.getLabel('EP_travelType', v) - }).join(',') } this.isLoading = false