This commit is contained in:
liuye
2021-12-24 15:27:36 +08:00
parent b2af14588b
commit 931852d567
68 changed files with 186 additions and 88 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

@@ -75,7 +75,6 @@ export default {
},
watch: {},
onLoad() {
document.title = '居民活动'
this.$dict.load(['villageActivityStatus']).then(() => {
this.getList()
})
@@ -84,6 +83,9 @@ export default {
this.getList()
})
},
onShow() {
document.title = '居民活动'
},
mounted() {},
methods: {
getList() {

View File

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