bug优化、提案催办
This commit is contained in:
@@ -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 === '职工权益')
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user