请销假修改,可显示全部劳资员
This commit is contained in:
parent
72420dea52
commit
65ac3e6830
@ -338,21 +338,16 @@
|
||||
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 {
|
||||
label: item.realname,
|
||||
value: item.username
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
if (!code) {
|
||||
hrData.value = res.result.map(item => {
|
||||
return {
|
||||
label: item.realname,
|
||||
value: item.username
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user