This commit is contained in:
2024-12-10 08:55:39 +08:00
parent 8da42abcf1
commit e345b088ae
6 changed files with 10 additions and 9 deletions
@@ -101,8 +101,8 @@ layout("/mobile/platform.html"){
this.addressInfo.name = "${@shiro.getPrincipalProperty('username')}";
this.closeLoading()
}
this.areaList.province_list = {320000: "江苏省"}
this.areaList.city_list = {320200: "无锡市"}
/*this.areaList.province_list = {320000: "江苏省"}
this.areaList.city_list = {320200: "无锡市"}*/
}
})
@@ -251,10 +251,10 @@ layout("/layouts/platform.html"){
},
async created() {
this.pageData()
if ("${@shiro.hasRole('sysadmin')}" === 'false') {
/* if ("${@shiro.hasRole('sysadmin')}" === 'false') {
this.dzOptions = this.dzOptions.filter(d => d.label === "江苏省")
this.dzOptions[0].children = this.dzOptions[0].children.filter(d => d.label === "无锡市")
}
}*/
}
})
</script>
@@ -1154,11 +1154,11 @@ layout("/layouts/platform.html"){
}
if ("${@shiro.hasRole('sysadmin')||@shiro.hasRole('SchoolUnionAdmin')||@shiro.hasRole('SchoolUnionWelfareAdmin')}" === 'false') {
/*if ("${@shiro.hasRole('sysadmin')||@shiro.hasRole('SchoolUnionAdmin')||@shiro.hasRole('SchoolUnionWelfareAdmin')}" === 'false') {
this.dzOptions = this.dzOptions.filter(d => d.label === "江苏省")
this.dzOptions[0].children = this.dzOptions[0].children.filter(d => d.label === "无锡市")
}
*/
await this.getWelfareOptions()
}
@@ -745,10 +745,10 @@ layout("/layouts/platform.html"){
this.welfareSignMode = res
})
if ("${@shiro.hasRole('sysadmin')}" === 'false') {
/* if ("${@shiro.hasRole('sysadmin')}" === 'false') {
this.dzOptions = this.dzOptions.filter(d => d.label === "江苏省")
this.dzOptions[0].children = this.dzOptions[0].children.filter(d => d.label === "无锡市")
}
}*/
}