From abd8350b60c635c588dda070d24ea63aac18cb10 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 20 Oct 2021 20:00:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86=E5=BC=80?= =?UTF-8?q?=E5=8F=91=EF=BC=8Cbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 31 + src/layouts/header/index.vue | 34 +- src/main.js | 1 - src/pages/course/add/index.vue | 5 +- src/pages/course/contentSettings/index.vue | 2 +- src/pages/course/preview/index.vue | 2 +- src/pages/evaluation/list/index.vue | 3 +- src/pages/match/manage/matchProgress.vue | 3 - src/pages/setting/list/index.vue | 667 +++++++++-------- src/pages/student/list/index.vue | 44 +- src/pages/system/list/index.vue | 26 +- src/pages/system/list/role.vue | 174 +++-- src/pages/system/list/staff.vue | 804 +++++++-------------- src/pages/system/list/staffSide.vue | 276 +++---- src/pages/system/list/stafftree.vue | 3 - src/router/index.js | 4 +- src/router/permission.js | 27 - src/router/routes.js | 9 + src/setting.js | 4 +- 19 files changed, 937 insertions(+), 1182 deletions(-) delete mode 100644 src/router/permission.js 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 @@