WXL (wul)
昨天 a2c10da81668de1f5b7d38f5962d46d795e3cc7e
src/store/modules/user.js
@@ -13,6 +13,7 @@
    belongDepts: [],
    roles: [],
    permissions: [],
    satisfactionCategories:{},
    // 服务类型
    Serviceauthority: [
      {
@@ -111,6 +112,9 @@
    },
    SET_hisUserId: (state, hisUserId) => {
      state.hisUserId = hisUserId;
    },
        SET_satisfactionCategories: (state, satisfactionCategories) => {
      state.satisfactionCategories = satisfactionCategories;
    },
    SET_leaveldeptcodes: (state, belongDepts) => {
      state.belongDepts = belongDepts;
@@ -262,6 +266,7 @@
            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", []);