通用版随手拍改名事件上报
This commit is contained in:
@@ -43,7 +43,7 @@ import {mapState} from 'vuex'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "AppPhotoReport",
|
name: "AppPhotoReport",
|
||||||
appName: "随手拍",
|
appName: "事件上报",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
list: [],
|
list: [],
|
||||||
|
|||||||
@@ -54,7 +54,8 @@ export default {
|
|||||||
info: {},
|
info: {},
|
||||||
result: {},
|
result: {},
|
||||||
currentTab: 0,
|
currentTab: 0,
|
||||||
evaluation: {}
|
evaluation: {},
|
||||||
|
id: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -81,13 +82,14 @@ export default {
|
|||||||
this.getInfo()
|
this.getInfo()
|
||||||
},
|
},
|
||||||
onLoad(query) {
|
onLoad(query) {
|
||||||
this.getInfo(query.id)
|
this.id = query.id
|
||||||
|
this.getInfo()
|
||||||
this.$dict.load(['clapEventStatus', 'residentEventSource'])
|
this.$dict.load(['clapEventStatus', 'residentEventSource'])
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getInfo(id = this.info.id) {
|
getInfo() {
|
||||||
this.$loading()
|
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) {
|
if (res?.data) {
|
||||||
this.info = res.data
|
this.info = res.data
|
||||||
if (res.data.eventStatus > 1) {
|
if (res.data.eventStatus > 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user