Newer
Older
operation_web / src / store / getters.js
import state from "../util/state"

const getters = {
  allDept: state => state.common.allDept, //所有部门
  allRole: state => state.common.allRole, //所有角色
  allCity: state => state.common.allCity, //所有城市
  allPlatSite: state => state.common.allPlatSite, //所有项目站点
  allProject: state => state.common.allProject, //所有项目

  menu: state => state.user.menu, //用户权限范围菜单
}
export default getters