const getters = {
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  sidebar: state => state.app.sidebar, // 侧边栏
  device: state => state.app.device, // 设备
  kaptcha: state => state.app.kaptcha, // 验证码
  publicKey: state => state.app.publicKey, // 公钥
  sid: state => state.app.sid, // 用户标识
  currentSystem: state => state.app.currentSystem, // 用户标识
  changeFlag: state => state.app.changeFlag, // 切换子系统标志
  token: state => state.user.token, // token
  name: state => state.user.name, // 姓名
  userId: state => state.user.id, // id
  roleList: state => state.user.roleList, // 角色列表
  roleNames: state => state.user.roleNames, // 角色名称列表
  roleTips: state => state.user.roleTips, // 角色名称列表
  deptId: state => state.user.deptId, // 权属单位
  deptName: state => state.user.deptName, // 权属单位名称
  menus: state => state.permission.menus, // 菜单
  systems: state => state.permission.systems, // 子系统
  permission_routers: state => state.permission.routers, // 用户有权限的路由
  addRouters: state => state.permission.addRouters, // 添加的路由
  btns: state => state.permission.btns, // 用户所有的按钮权限
  wellTypes: state => state.user.wellTypes, // 用户支持的闸井类型
  deviceTypes: state => state.user.deviceTypes, // 用户支持的设备类型
  communications: state => state.user.communications, // 用户支持的通讯方式
  area: state => state.user.area, // 用户所在区域
  urls: state => state.map.urls, // 地图服务地址列表
  baseUrl: state => state.map.baseUrl, // 地图服务地址
  partsUrl: state => state.map.partsUrl, // 部件分层地址
  partsEditUrl: state => state.map.partsEditUrl, // 部件分层地址
  partsAllUrl: state => state.map.partsAllUrl, // 部件不分层地址
  shopUrl: state => state.map.shopUrl, // 部件不分层地址
  mapUrl: state => state.map.mapUrl, // 底图地址
  mapDtUrl: state => state.map.mapDtUrl, // 无网格底图地址
  gridUrl: state => state.map.gridUrl, // 网格图层
  editUrl: state => state.map.editUrl // 编辑地图地址
}
export default getters
