1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-11 22:08:05 +08:00
elsiosanchez 73b375ca74 Support Documents Pendings (#189)
* Support Documents Pendings

* Bugfix syntax

* route getters according to the role

* add send criteria from list of documents pendings

* change translations
2019-12-03 15:04:33 -04:00

21 lines
782 B
JavaScript

const getters = {
sidebar: state => state.app.sidebar,
language: state => state.app.language,
size: state => state.app.size,
toggleSideBar: state => state.app.sidebar.opened,
device: state => state.app.device,
visitedViews: state => state.tagsView.visitedViews,
cachedViews: state => state.tagsView.cachedViews,
token: state => state.user.token,
avatar: state => state.user.avatar,
name: state => state.user.name,
router: state => state.permission.addRoutes,
introduction: state => state.user.introduction,
currentRole: state => state.user.currentRole,
getRoleUuid: state => state.user.rol.uuid,
roles: state => state.user.roles,
permission_routes: state => state.permission.routes,
errorLogs: state => state.errorLog.logs
}
export default getters