请销假修改,可显示全部劳资员

This commit is contained in:
yangzhq68909 2025-07-24 11:01:55 +08:00
parent 72420dea52
commit 65ac3e6830

View File

@ -338,13 +338,9 @@
roleId: '1554379432313397250',
orgCode: code
}).then(res => {
if (res.result.length == 0) {
toast.warning('请切换工作单位!')
setTimeout(() => {
uni.navigateBack()
}, 2000)
} else {
if (res.result.length > 0) {
model.hr = res.result[0].username
}
if (!code) {
hrData.value = res.result.map(item => {
return {
@ -353,7 +349,6 @@
}
})
}
}
})
}