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