|
|
@ -65,7 +65,9 @@ function getUserInfo() { |
|
|
|
userSid: data.sid, |
|
|
|
orgSid: data.organizationSid, // 单位sid
|
|
|
|
Orgname: data.organizationName, |
|
|
|
dwjb: data.dwjb |
|
|
|
dwjb: data.dwjb, |
|
|
|
orgNamePath: data.orgNamePath, // 使用组织全路径名称
|
|
|
|
orgSidPath: data.orgSidPath // 使用组织全路径Sid
|
|
|
|
}; |
|
|
|
// 结果存入缓存
|
|
|
|
window.sessionStorage.setItem('staffSid', user.staffSid) |
|
|
@ -77,6 +79,8 @@ function getUserInfo() { |
|
|
|
window.sessionStorage.setItem('user', user) |
|
|
|
window.sessionStorage.setItem('departmentName', user.departmentName) |
|
|
|
window.sessionStorage.setItem('departmentSid', user.departmentSid) |
|
|
|
window.sessionStorage.setItem('orgNamePath', user.orgNamePath) |
|
|
|
window.sessionStorage.setItem('orgSidPath', user.orgSidPath) |
|
|
|
}) |
|
|
|
} |
|
|
|
getUserInfo() |
|
|
|