diff --git a/project/pingchang/apps/AppHealthReport/components/Detail.vue b/project/pingchang/apps/AppHealthReport/components/Detail.vue index 1b5d7b68..2b75078d 100644 --- a/project/pingchang/apps/AppHealthReport/components/Detail.vue +++ b/project/pingchang/apps/AppHealthReport/components/Detail.vue @@ -208,7 +208,6 @@ toDetail (row) { this.reportInfo = row - this.isShow = true let healthName = '' this.reportInfo.isHealth = false row.health.split(',').forEach(v => { @@ -218,23 +217,7 @@ healthName = healthName + this.dict.getLabel('EP_healthType', v) }) this.reportInfo.healthName = healthName - // this.instance.post(`/app/appepidemichealthreport/queryDetailById?id=${id}`).then(res => { - // if (res.code === 0) { - // this.reportInfo = res.data - // this.reportInfo.checkPhoto = JSON.parse(res.data.checkPhoto) - // let healthName = '' - // this.reportInfo.isHealth = false - // res.data.health.split(',').forEach(v => { - // if (v > 0) { - // this.reportInfo.isHealth = true - // } - // healthName = healthName + this.dict.getLabel('epidemicRecentHealth', v) - // }) - // this.reportInfo.healthName = healthName - - // this.isShow = true - // } - // }) + this.isShow = true }, cancel () {