25954
This commit is contained in:
@@ -97,7 +97,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: { ...mapState(['user']) },
|
computed: { ...mapState(['user']) },
|
||||||
onLoad(o) {
|
onLoad(o) {
|
||||||
document.title = '发布活动'
|
document.title = '发布活动'
|
||||||
this.id = o.id ? o.id : ''
|
this.id = o.id ? o.id : ''
|
||||||
this.$dict.load('realityStatus').then(() => {
|
this.$dict.load('realityStatus').then(() => {
|
||||||
this.areaId = this.user.areaId
|
this.areaId = this.user.areaId
|
||||||
@@ -105,6 +105,7 @@ export default {
|
|||||||
|
|
||||||
this.user.phone = this.forms.contactPhone
|
this.user.phone = this.forms.contactPhone
|
||||||
this.user.name = this.forms.contactPerson
|
this.user.name = this.forms.contactPerson
|
||||||
|
this.getDetail()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -113,12 +114,12 @@ export default {
|
|||||||
getDetail() {
|
getDetail() {
|
||||||
this.$http.post(`/app/appvillageactivityinfo/queryDetailById?id=${this.id}`).then((res) => {
|
this.$http.post(`/app/appvillageactivityinfo/queryDetailById?id=${this.id}`).then((res) => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
// this.detail = res.data
|
this.forms = res.data
|
||||||
// if (this.detail) {
|
if (res.data) {
|
||||||
// if (this.detail.url) {
|
if (res.data.url) {
|
||||||
// this.detail.url = JSON.parse(res.data.url || '[]')
|
this.forms.url = JSON.parse(res.data.url || '[]')
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user