拉取人员接口:18开头的工号 且 人员类型为空 且 人员类型不为“非合同制”的人员,将这些人的人员类型改为“合同制”且设置为会员

会员档案查询:分工会主席只能查询当前分工会的人员的数据
This commit is contained in:
2026-10-21 09:28:49 +08:00
parent 243460df36
commit c8c432c7df
3 changed files with 85 additions and 14 deletions
@@ -560,7 +560,12 @@ layout("/layouts/platform.html"){
},
async created() {
this.pageData();
if ("${@shiro.hasRole('sysadmin')||@shiro.hasRole('A06')||@shiro.hasRole('H03')}" === 'true') {
// 分工会主席可能兼具 H03 角色,需优先按当前分工会加载查询选项。
if ("${@shiro.hasRole('H04')&&!(@shiro.hasRole('sysadmin')||@shiro.hasRole('A06'))}" === 'true') {
this.unions = await getUnions(null, true)
this.$set(this.pageForm, 'unionId', this.unions ? this.unions[0].id : null)
this.flushUnits()
} else if ("${@shiro.hasRole('sysadmin')||@shiro.hasRole('A06')||@shiro.hasRole('H03')}" === 'true') {
this.unions = await getUnions(null, false)
} else {
this.unions = await getUnions(null, true)
@@ -574,4 +579,4 @@ layout("/layouts/platform.html"){
</script>
<!--#
}
#-->
#-->