| | |
| | | belongDepts: [], |
| | | roles: [], |
| | | permissions: [], |
| | | satisfactionCategories:{}, |
| | | // 服务类型 |
| | | Serviceauthority: [ |
| | | { |
| | |
| | | }, |
| | | SET_hisUserId: (state, hisUserId) => { |
| | | state.hisUserId = hisUserId; |
| | | }, |
| | | SET_satisfactionCategories: (state, satisfactionCategories) => { |
| | | state.satisfactionCategories = satisfactionCategories; |
| | | }, |
| | | SET_leaveldeptcodes: (state, belongDepts) => { |
| | | state.belongDepts = belongDepts; |
| | |
| | | commit("SET_nickNAME", user.nickName); |
| | | commit("SET_Id", user.userId); |
| | | commit("SET_hisUserId", user.hisUserId); |
| | | commit("SET_satisfactionCategories", user.satisfactionCategories); |
| | | |
| | | // if (user.userName == "admin") { |
| | | // commit("SET_leaveldeptcodes", []); |