From 3e3cc5693de5bdc56fd881919ef77c8a5f8fa05a Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 11 May 2023 11:00:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=94=A8=E7=89=88=E9=9A=8F=E6=89=8B?= =?UTF-8?q?=E6=8B=8D=E6=94=B9=E5=90=8D=E4=BA=8B=E4=BB=B6=E4=B8=8A=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mods/conv/AppPhotoReport/AppPhotoReport.vue | 2 +- src/project/wuxi/AppPhotoReport/PhotoDetail.vue | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/mods/conv/AppPhotoReport/AppPhotoReport.vue b/src/mods/conv/AppPhotoReport/AppPhotoReport.vue index b8847d4..d213131 100644 --- a/src/mods/conv/AppPhotoReport/AppPhotoReport.vue +++ b/src/mods/conv/AppPhotoReport/AppPhotoReport.vue @@ -43,7 +43,7 @@ import {mapState} from 'vuex' export default { name: "AppPhotoReport", - appName: "随手拍", + appName: "事件上报", data() { return { list: [], diff --git a/src/project/wuxi/AppPhotoReport/PhotoDetail.vue b/src/project/wuxi/AppPhotoReport/PhotoDetail.vue index ead4e0f..578da47 100644 --- a/src/project/wuxi/AppPhotoReport/PhotoDetail.vue +++ b/src/project/wuxi/AppPhotoReport/PhotoDetail.vue @@ -54,7 +54,8 @@ export default { info: {}, result: {}, currentTab: 0, - evaluation: {} + evaluation: {}, + id: '' } }, computed: { @@ -81,13 +82,14 @@ export default { this.getInfo() }, onLoad(query) { - this.getInfo(query.id) + this.id = query.id + this.getInfo() this.$dict.load(['clapEventStatus', 'residentEventSource']) }, methods: { - getInfo(id = this.info.id) { + getInfo() { this.$loading() - this.$instance.post(`/app/appresidentreportinfo/queryDetailById?id=${id}`).then(res => { + this.$instance.post(`/app/appresidentreportinfo/queryDetailById?id=${this.id}`).then(res => { if (res?.data) { this.info = res.data if (res.data.eventStatus > 1) {