diff --git a/src/api/index.js b/src/api/index.js index 644d405..e5d6ae0 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -173,7 +173,38 @@ export default { sendPhoneOrEmailCode: `${host}/users/users/userAccount/sendPhoneOrEmailCode`,// 更换手机号或邮箱--发送手机验证码 // 系统设置 + // 员工组织架构 + professionalList: `${host}occupationlab/staff/professionalList`, //查询专业列表 + staffGradeList: `${host}occupationlab/staff/staffGradeList`, //根据专业id查询年级 + saveProfessional: `${host}occupationlab/staff/saveProfessional`, //新增专业 + updateProfessional: `${host}occupationlab/staff/updateProfessional`, //编辑专业 + deleteProfessional: `${host}occupationlab/staff/deleteProfessional`, //删除专业 + saveGrade: `${host}occupationlab/staff/saveGrade`, //新增年级 + updateGrade: `${host}occupationlab/staff/updateGrade`, //编辑年级 + deleteGrade: `${host}occupationlab/staff/deleteGrade`, //删除年级 + // 员工管理 + saveStaff: `${host}occupationlab/staff/saveStaff`, //新增员工 + staffDetail: `${host}occupationlab/staff/staffDetail`, //员工详情 + modifyStaff: `${host}occupationlab/staff/modifyStaff`, //编辑员工 + delStaff: `${host}occupationlab/staff/delStaff`, //删除员工 + staffList: `${host}occupationlab/staff/staffList`, //员工列表 staffTemplate: `http://39.108.250.202/template/职站员工用户导入模板.xlsx`, //职站员工用户导入模板 + exportFailureStaff: `${host}occupationlab/staff/exportFailure`, //批量导入员工失败数据导出 + importStaff: `${host}occupationlab/staff/importStaff`, //批量导入员工 + // 角色管理 + batchRemove: `${host}users/role/batchRemove`, //批量删除角色 + checkRoleIsExist: `${host}users/role/checkRoleIsExist`, //判断该角色是否存在 + delRoleByAccountId: `${host}users/role/delRoleByAccountId`, //删除某用户下的某个角色 + roleList: `${host}users/role/list`, //角色分页列表查询 + obtainDetails: `${host}users/role/obtainDetails`, //获取角色详情 + saveOrUpdate: `${host}users/role/saveOrUpdate`, //新增或更新角色 + queryAllMenus: `${host}users/users/permission/queryAllMenus`, //查询所有菜单 + // 系统logo设置 + logoDetail: `${host}occupationlab/sys/logo/detail`, //查看系统设置信息 + logoSave: `${host}occupationlab/sys/logo/save`, //新增系统设置信息 + logoUpdate: `${host}occupationlab/sys/logo/update`, //编辑系统设置信息 + + diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index d6c430d..6f23bfe 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -1,7 +1,9 @@