Merge branch 'main' of https://dd3skj.picp.vip/JyuHsin/zhgh_jshvc
This commit is contained in:
@@ -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()
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user