This commit is contained in:
2025-12-17 20:13:56 +08:00
@@ -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()
}
},