From 0715db4c4c87cb5449718c3116c6ad796e05b39d Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 14 Oct 2021 17:32:42 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 38 ++++++++++++------------------ src/pages/setting/person/index.vue | 1 - src/setting.js | 6 ++--- 3 files changed, 18 insertions(+), 27 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index f2fe046..0e3d26b 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -14,8 +14,6 @@ export default { logins: `${host}users/users/user/login`, //登录 verification: `${host}users/users/user/captcha`,// 验证码图片 - // bindPhoneOrEmail:`${host}users/users/userAccount/bindPhoneOrEmail`,// 绑定手机 - // sendPhoneOrEmailCode:`${host}users/users/userAccount/sendPhoneOrEmailCode`,// 手机验证码 // 权限管理 getUserRolesPermissionMenu: `${host}users/user-role/getUserRolesPermissionMenu`, @@ -91,14 +89,10 @@ export default { // 判分点 getBcJudgmentPoint: `${host}judgment/bcJudgmentPoint/getBcJudgmentPoint`, // 获取编程类判分点列表(分页) getLcJudgmentPoint: `${host}judgment/lcJudgmentPoint/queryAllJudgmentPoint`, // 获取流程类判分点列表(分页) - addProjectJudgment: `${host}occupationlab/projectJudgment/addProjectJudgment`, // 添加项目管理、判分点中间表 updateProjectJudgment: `${host}occupationlab/projectJudgment/updateProjectJudgment`, // 判分点中间表批量更新 deleteProjectJudgment: `${host}occupationlab/projectJudgment/deleteProjectJudgment`, // 判分点中间表批量删除 - - - // 赛事管理 addContest: `${host}occupationlab/enterprise/match/contest/addContest`, deleteContest: `${host}occupationlab/enterprise/match/contest/deleteContest`, @@ -163,11 +157,23 @@ export default { // 阿里云文件/视频管理 fileDeletion: `${uploadURL}oss/manage/fileDeletion`, // 删除OSS文件 - fileupload: `${uploadURL}oss/manage/fileUpload`, // 文件上传 + fileupload: `${uploadURL}oss/manage/fileupload`, // 文件上传 getPlayAuth: `${uploadURL}oss/manage/getPlayAuth`, // 获取播放凭证 + queryProvince: `${host}nakadai/nakadai/province/queryProvince`, //查询省份 + queryCity: `${host}nakadai/nakadai/city/queryCity`, //查询城市 + querySchoolData: `${host}nakadai/nakadai/school/querySchool`, //根据学校名称查询学校信息 + queryCourseDiscipline: `${host}nakadai/nakadai/subject/courseDiscipline`, //查询课程学科 + queryCourseProfessionalClass: `${host}nakadai/nakadai/subject/courseProfessionalClass`, //查询专业类 + queryCourseProfessional: `${host}nakadai/nakadai/subject/courseProfessional`, //查询专业 - + // 个人中心 + uploadUserAvatars: `${host}users/users/userAccount/updateUserAvatars`, //更改头像 + queryUserInfoDetails: `${host}users/users/userAccount/queryUserInfoDetails`,//个人中心信息展示 + updatePersonCenter: `${host}users/users/userAccount/updatePersonCenter`,//个人中心信息修改 + examinePassword: `${host}users/users/userAccount/examinePassword`,//更换密码 + bindPhoneOrEmail: `${host}/users/users/userAccount/bindPhoneOrEmail`,// 绑定手机或邮箱 + sendPhoneOrEmailCode: `${host}/users/users/userAccount/sendPhoneOrEmailCode`,// 更换手机号或邮箱--发送手机验证码 @@ -182,10 +188,6 @@ export default { updateLogInNumber: `${host}liuwanr/userInfo/updateLogInNumber`, //用户登录修改登录次数和登陆时间 - uploadUserAvatars: `${host}liuwanr/userInfo/uploadUserAvatars`, //上传头像 - queryProvince: `${host}liuwanr/province/queryProvince`, //查询省份 - queryCity: `${host}liuwanr/city/queryCity`, //查询城市 - querySchoolData: `${host}liuwanr/customer/querySchool`, //根据学校名称查询学校信息 queryAccountIsExist: `${host}liuwanr/userInfo/queryAccountIsExist`,//查询员工,学生账号是否存在接口 queryWorkNumberIsExist: `${host}liuwanr/userInfo/queryWorkNumberIsExist`,//查询学号、工号是否存在 @@ -201,21 +203,11 @@ export default { queryStaffGradeDetails: `${host}liuwanr/staffGrade/queryStaffGradeDetails`, //查询员工部门详情 addStaffGrade: `${host}liuwanr/staffGrade/addStaffGrade`, //新增员工部门 updateStaffGrade: `${host}liuwanr/staffGrade/updateStaffGrade`, //编辑员工部门 - queryCourseDiscipline: `${host}liuwanr/course/queryCourseDiscipline`, //查询课程学科 - queryCourseProfessionalClass: `${host}liuwanr/course/queryCourseProfessionalClass`, //查询专业类 - queryCourseProfessional: `${host}liuwanr/course/queryCourseProfessional`, //查询专业 queryPhone: `${host}liuwanr/user/queryPhone`, //查询电话是否存在 queryEmail: `${host}liuwanr/user/queryEmail`, //查询邮箱是否存在 queryStaffPAN: `${host}liuwanr/staffProfessionalArchitecture/queryStaffPAN`,//查询员工专业是否存在 - // 个人中心 - userinfo: `${host}evaluation/tms/userInfo/userinfo`, - userinfoUpdate: `${host}evaluation/tms/userInfo/updateUser`, - sendEmailCode: `${host}evaluation/tms/user/sendEmailCode`,//发送邮箱验证码 - bingEmail: `${host}evaluation/tms/user/bingEmail`,//邮箱验证并更新 - sendPhoneCode: `${host}evaluation/tms/user/sendPhoneCode`,//发送手机验证码 - bindPhone: `${host}evaluation/tms/user/bindPhone`,//校验手机验证码 - examinePassword: `${host}evaluation/tms/user/examinePassword`,//更换密码 + // 员工管理 addStaff: `${host}evaluation/tms/system/addStaff`, diff --git a/src/pages/setting/person/index.vue b/src/pages/setting/person/index.vue index eb1a43e..f7a587b 100644 --- a/src/pages/setting/person/index.vue +++ b/src/pages/setting/person/index.vue @@ -383,7 +383,6 @@