
const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  userInfo: state => state.user.userInfo,
  settings: state => state.settings,
  token: state => state.user.token,
  userIndex: state => state.user.userIndex,
  permission_routes: state => state.permission.routes,
  menus: state => state.permission.menus,
  roles: state => state.permission.roles,
  loginName: state => state.user.loginName,

  projectUnit: state => state.sagServerity.projectUnit,
  projectTitleId: state => state.sagServerity.projectTitleId,
  search: state => state.sagServerity.search,
  deptree: state => state.sagServerity.deptree,
  treeid: state => state.sagServerity.treeid,
  timeinterval: state => state.sagServerity.timeinterval,
  CurrentlySelectedToolBar: state => state.store.CurrentlySelectedToolBar
}
export default getters
