commit
This commit is contained in:
@@ -291,7 +291,7 @@ layout("/mobile/platform.html"){
|
|||||||
this.show = true
|
this.show = true
|
||||||
},
|
},
|
||||||
openView(o) {
|
openView(o) {
|
||||||
if(o.reservetarget === 1 && "${@shiro.hasRole('gh01')}" === 'false' && "${@shiro.hasRole('sysadmin')}" === 'false') {
|
if(o.reservetarget === 1 && "${@shiro.hasAnyRoles('gh01', 'H04')}" === 'false' && "${@shiro.hasRole('sysadmin')}" === 'false') {
|
||||||
vant.Toast('该场地只能分工会主席预约')
|
vant.Toast('该场地只能分工会主席预约')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -506,8 +506,8 @@ layout("/layouts/platform.html"){
|
|||||||
this.formData.end_time = ''
|
this.formData.end_time = ''
|
||||||
},
|
},
|
||||||
onReserve(data) {
|
onReserve(data) {
|
||||||
if(data.reservetarget === 1 && "${@shiro.hasRole('gh01')}" === 'false' && "${@shiro.hasRole('sysadmin')}" === 'false') {
|
if(data.reservetarget === 1 && "${@shiro.hasAnyRoles('gh01', 'H04')}" === 'false' && "${@shiro.hasRole('sysadmin')}" === 'false') {
|
||||||
this.$message.warning('该场地只能分工会主席预约')
|
this.$message.warning('该场地只能分工会预约')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.reverseData = data
|
this.reverseData = data
|
||||||
|
|||||||
Reference in New Issue
Block a user