|
@@ -48,7 +48,8 @@
|
|
|
removeToken
|
|
|
} from '../api/auth'
|
|
|
import {
|
|
|
- apiPostremoveByToken,apiGetUserPostList,
|
|
|
+ apiPostremoveByToken,
|
|
|
+ apiGetUserPostList,
|
|
|
apiGetMenuData
|
|
|
} from '../api/api'
|
|
|
export default {
|
|
@@ -363,9 +364,9 @@
|
|
|
current: 1,
|
|
|
size: 10
|
|
|
}
|
|
|
- apiGetUserPostList(params).then(datas =>{
|
|
|
- if (datas.data && datas.data.records.length>0) {
|
|
|
- datas.data.records.forEach(it =>{
|
|
|
+ apiGetUserPostList(params).then(datas => {
|
|
|
+ if (datas.data && datas.data.records.length > 0) {
|
|
|
+ datas.data.records.forEach(it => {
|
|
|
if (it.posName.indexOf('组织人事部') !== -1 || it.deptName.indexOf('组织人事部') !== -1) {
|
|
|
window.sessionStorage.setItem('ispersonDept', true)
|
|
|
}
|
|
@@ -547,7 +548,7 @@
|
|
|
display: flex;
|
|
|
|
|
|
.menuList {
|
|
|
- width: 13vw;
|
|
|
+ width: 14vw;
|
|
|
height: 100vh;
|
|
|
background-color: #184FB4;
|
|
|
|