This commit is contained in:
yanran200730
2022-10-14 08:38:43 +08:00
parent 2f01516cff
commit 10d9d5ee65

View File

@@ -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 () {