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,
|
"selected-user": selectedUser,
|
||||||
"unselected-user": unSelectedUser
|
"unselected-user": unSelectedUser
|
||||||
},
|
},
|
||||||
|
store,
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
pageForm: {
|
pageForm: {
|
||||||
@@ -155,6 +156,7 @@ layout("/layouts/platform.html"){
|
|||||||
this.welfareOptions = data.options
|
this.welfareOptions = data.options
|
||||||
},
|
},
|
||||||
async init() {
|
async init() {
|
||||||
|
await this.getWelfareProjectList()
|
||||||
if (
|
if (
|
||||||
!this.$auth.hasRoleOr(["SYSADMIN", "SCHOOL_UNION_ADMIN", "SCHOOL_UNION_WELFARE_ADMIN"]) &&
|
!this.$auth.hasRoleOr(["SYSADMIN", "SCHOOL_UNION_ADMIN", "SCHOOL_UNION_WELFARE_ADMIN"]) &&
|
||||||
this.$auth.hasRoleOr(["BRANCH_UNION_CHAIRMAN"])
|
this.$auth.hasRoleOr(["BRANCH_UNION_CHAIRMAN"])
|
||||||
@@ -166,7 +168,6 @@ layout("/layouts/platform.html"){
|
|||||||
this.unionOptions = await this.$businessTool.listUnion()
|
this.unionOptions = await this.$businessTool.listUnion()
|
||||||
this.clearable = true
|
this.clearable = true
|
||||||
}
|
}
|
||||||
await this.getWelfareProjectList()
|
|
||||||
await this.pageData()
|
await this.pageData()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user