请销假修改,可显示全部劳资员
This commit is contained in:
parent
72420dea52
commit
65ac3e6830
@ -338,21 +338,16 @@
|
|||||||
roleId: '1554379432313397250',
|
roleId: '1554379432313397250',
|
||||||
orgCode: code
|
orgCode: code
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.result.length == 0) {
|
if (res.result.length > 0) {
|
||||||
toast.warning('请切换工作单位!')
|
|
||||||
setTimeout(() => {
|
|
||||||
uni.navigateBack()
|
|
||||||
}, 2000)
|
|
||||||
} else {
|
|
||||||
model.hr = res.result[0].username
|
model.hr = res.result[0].username
|
||||||
if (!code) {
|
}
|
||||||
hrData.value = res.result.map(item => {
|
if (!code) {
|
||||||
return {
|
hrData.value = res.result.map(item => {
|
||||||
label: item.realname,
|
return {
|
||||||
value: item.username
|
label: item.realname,
|
||||||
}
|
value: item.username
|
||||||
})
|
}
|
||||||
}
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user