const getters = {
	device: state => state.app.device,
	theme: state => state.app.theme,
	color: state => state.app.color,
	token: state => state.user.token,
	avatar: state => state.user.avatar,
	nickname: state => state.user.name,
	welcome: state => state.user.welcome,
	roles: state => state.user.roles,
	userInfo: state => state.user.info,
	addRouters: state => state.permission.addRouters,
	multiTab: state => state.app.multiTab,
	lang: state => state.app.lang,
	roleDict: state => state.role.roleDict,
	/**DVP */
	dvpId: state => state.dvp.dvpId,
	mainDvpId: state => state.dvp.mainDvpId,
  performanceModuleCode: state => state.dvp.performanceModuleCode,
	dvpOwnerId: state => state.dvp.dvpOwnerId,
	dvpOwnerName: state => state.dvp.dvpOwnerName,
	ownerDepartmentId: state => state.dvp.ownerDepartmentId,
	dvpType: state => state.dvp.dvpType,
	cpacId: state => state.dvp.cpacId,
	footerButtonFlag: state => state.dvp.footerButtonFlag
};

export default getters;
