This commit is contained in:
=
2025-12-17 19:51:52 +08:00
parent 119a3235a2
commit 7ecf065ffc
3 changed files with 17 additions and 2 deletions
@@ -91,6 +91,7 @@ layout("/layouts/platform.html"){
"selected-user": selectedUser,
"unselected-user": unSelectedUser
},
store,
data() {
return {
pageForm: {
@@ -155,6 +156,7 @@ layout("/layouts/platform.html"){
this.welfareOptions = data.options
},
async init() {
await this.getWelfareProjectList()
if (
!this.$auth.hasRoleOr(["SYSADMIN", "SCHOOL_UNION_ADMIN", "SCHOOL_UNION_WELFARE_ADMIN"]) &&
this.$auth.hasRoleOr(["BRANCH_UNION_CHAIRMAN"])
@@ -166,7 +168,6 @@ layout("/layouts/platform.html"){
this.unionOptions = await this.$businessTool.listUnion()
this.clearable = true
}
await this.getWelfareProjectList()
await this.pageData()
}
},