diff --git a/src/apps/AppMonitoringObject/Add.vue b/src/apps/AppMonitoringObject/Add.vue index 82ae2c27..945c12d1 100644 --- a/src/apps/AppMonitoringObject/Add.vue +++ b/src/apps/AppMonitoringObject/Add.vue @@ -178,7 +178,7 @@
- +
@@ -600,7 +600,7 @@ export default { this.flag = true this.id = query.id this.getInfo(this.id) - this.photo = this.form.photo + } else { this.form.currentAreaId = this.user.areaId } @@ -780,6 +780,7 @@ export default { ...this.form, ...res.data } + this.photo = [{url:this.form.photo}] if(this.form.photo) { this.form.files = [{url: this.form.photo}] diff --git a/src/apps/AppMonitoringObject/Detail.vue b/src/apps/AppMonitoringObject/Detail.vue index 38ab1830..a3329fca 100644 --- a/src/apps/AppMonitoringObject/Detail.vue +++ b/src/apps/AppMonitoringObject/Detail.vue @@ -361,7 +361,7 @@ export default { this.$http.post(`/app/apppreventionreturntopoverty/queryDetailById?id=${this.id}`).then(res => { if (res.code === 0) { this.info = res.data - + let ylbxCount = 0 let ylCount = 0 if(res.data.family && res.data.family.length) { diff --git a/src/apps/AppMonitoringObject/residentDetail.vue b/src/apps/AppMonitoringObject/residentDetail.vue index 70fc02ce..40e926c6 100644 --- a/src/apps/AppMonitoringObject/residentDetail.vue +++ b/src/apps/AppMonitoringObject/residentDetail.vue @@ -51,7 +51,11 @@
- {{ $dict.getLabel('fpHealth', info.healthyStatus) }} + + ,{{$dict.getLabel("fpHealth", item)}} + + +
@@ -163,6 +167,7 @@ export default { return { id: '', info: {}, + healthyStatusList: [] } }, onLoad(o) { @@ -176,6 +181,8 @@ export default { this.$http.post(`/app/apppreventionreturntopoverty/queryDetailById?id=${this.id}`).then(res => { if (res.code === 0) { this.info = res.data + this.healthyStatusList = res.data.healthyStatus.split(',') + } }) },