|
@@ -391,7 +391,7 @@
|
|
apiGetUserPostList(params).then(datas => {
|
|
apiGetUserPostList(params).then(datas => {
|
|
if (datas.data && datas.data.records.length > 0) {
|
|
if (datas.data && datas.data.records.length > 0) {
|
|
datas.data.records.forEach(it => {
|
|
datas.data.records.forEach(it => {
|
|
- if (it.posName.indexOf('组织人事部') !== -1 || it.deptName.indexOf('组织人事部') !== -
|
|
|
|
|
|
+ if (it.posName.indexOf('组织人事部') !== -1 || it.udeptName.indexOf('组织人事部') !== -
|
|
1) {
|
|
1) {
|
|
window.sessionStorage.setItem('ispersonDept', true)
|
|
window.sessionStorage.setItem('ispersonDept', true)
|
|
}
|
|
}
|