This commit is contained in:
花有清香月有阴
2021-12-24 15:40:58 +08:00
66 changed files with 183 additions and 84 deletions

View File

@@ -97,7 +97,6 @@ export default {
},
computed: { ...mapState(['user']) },
onLoad(o) {
document.title = '发布活动'
this.id = o.id ? o.id : ''
this.$dict.load('realityStatus').then(() => {
this.areaId = this.user.areaId
@@ -108,6 +107,9 @@ export default {
this.getDetail()
})
},
onShow() {
document.title = '发布活动'
},
mounted() {},
methods: {

View File

@@ -39,9 +39,11 @@ export default {
}
},
onLoad(o) {
document.title = '发布动态'
this.id = o.id || ''
},
onShow() {
document.title = '发布动态'
},
methods: {
addPost() {
if (this.flag) return

View File

@@ -139,7 +139,6 @@ export default {
}
},
onLoad(option) {
document.title = '活动报名'
this.id = option.id
this.createUserId = option.createUserId
this.$dict.load(['villageActivityStatus']).then(() => {
@@ -150,6 +149,9 @@ export default {
this.getListInit()
})
},
onShow() {
document.title = '活动报名'
},
methods: {
getDetail() {
this.$http.post(`/app/appvillageactivityinfo/queryDetailById?id=${this.id}`).then((res) => {