getters.js
728 Bytes
const getters = {
sidebar: state => state.app.sidebar,
size: state => state.app.size,
flag: state => state.app.splitScreen,
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,
permission_routes: state => state.permission.routes,
addRoutes: state => state.permission.addRoutes,
addDict: state => state.dict.addDict,
dictData: state => state.dict.dictData,
djbxx: state => state.djbxx.djbxx,
// 业务办理
bsmSqyw: state => state.ywbl.bsmSqyw,
djqxObj: state => state.ywbl.djqxObj,
djywbm: state => state.ywbl.djywbm
}
export default getters