import store from '@/store/index' import router from '@/router/index' export const menuList = [ { text: '相关方单位信息管理', model: 'unitInformation', click: () => { store.dispatch('permission/setShowModel', 'unitInformation') router.push({ path: '/corpinfo/corpinfo/insert' }) } }, { text: '相关方人员库管理', model: 'personnelDatabase', click: () => { store.dispatch('permission/setShowModel', 'personnelDatabase') router.push({ path: '/PersonManager/user' }) } }, { text: '相关方资质管理', model: 'qualifications', click: () => { store.dispatch('permission/setShowModel', 'qualifications') } }, { text: '相关方服务关系管理', model: 'serviceRelationship', click: () => { store.dispatch('permission/setShowModel', 'serviceRelationship') } }, { text: '相关方人员培训管理', model: 'personnelTraining', click: () => { store.dispatch('permission/setShowModel', 'personnelTraining') } }, { text: '相关方隐患排查管理', model: 'hazardInvestigation', click: () => { store.dispatch('permission/setShowModel', 'hazardInvestigation') } }, { text: '相关方现场工程管理', model: 'onSiteEngineering', click: () => { store.dispatch('permission/setShowModel', 'onSiteEngineering') } }, { text: '相关方安全', model: 'security', click: () => { store.dispatch('permission/setShowModel', 'security') } }, { text: '环保检查管理', model: 'environmentalInspection', click: () => { store.dispatch('permission/setShowModel', 'environmentalInspection') } }, { text: '相关方危险作业管理', model: 'dangerousHomework', click: () => { store.dispatch('permission/setShowModel', 'dangerousHomework') } } ]