bug优化、提案催办

This commit is contained in:
Paidax
2025-09-25 13:52:48 +08:00
parent 0073510a2d
commit f9ec900ad4
11 changed files with 504 additions and 238 deletions
+11 -10
View File
@@ -617,7 +617,7 @@ layout("/mobile/platform.html"){
await this.getWelfareCheckSelfAgenda()
await this.getCompletes();
await this.getMsg()
this.listActivity();
await this.listActivity();
this.needCount = this.needItems.length
},
async setNeedItems() {
@@ -705,12 +705,11 @@ layout("/mobile/platform.html"){
this.perfectPersonInfo = resp.data
}
},
listActivity() {
$.get("/platform/sys/homeActivity/listHomeActivity").then((resp) => {
if (resp.code === 0) {
this.activityList = resp.data
}
})
async listActivity() {
const resp = await $.get("/platform/sys/homeActivity/listHomeActivity")
if (resp.code === 0) {
this.activityList = resp.data
}
},
},
beforeMount() {
@@ -720,12 +719,14 @@ layout("/mobile/platform.html"){
await this.getMenus();
this.getAllMonth();
this.createYearList();
this.initData();
await this.initData();
const active = sessionStorage.getItem("zhgh-mobile-home-active")
this.active = active ? parseInt(active) : 0
this.clickIndex = 2
this.clickMenu = this.moduleMenus.find(o => o.moduleName === '职工权益')
if (!this.activityList || !this.activityList.length > 0) {
this.clickIndex = 2
this.clickMenu = this.moduleMenus.find(o => o.moduleName === '职工权益')
}
}
})