|
|
|
import Setting from "@/setting";
|
|
|
|
// let host = Setting.apiBaseURL
|
|
|
|
// let host = "http://192.168.31.151:9000/"; // 榕
|
|
|
|
// let host = 'http://192.168.31.125:9000/'; // 坤
|
|
|
|
|
|
|
|
let host = "http://39.108.250.202:9000/"; // 测试服
|
|
|
|
|
|
|
|
|
|
|
|
let uploadURL = Setting.upload.apiURL;
|
|
|
|
let host1 = "http://39.108.250.202:8080/"; // 川大
|
|
|
|
|
|
|
|
export default {
|
|
|
|
// fileupload: `${uploadURL}oss/manage/fileupload`,
|
|
|
|
queryToken: `${host}liuwanr/userInfo/queryToken`,
|
|
|
|
|
|
|
|
logins: `${host}users/users/user/login`, //登录
|
|
|
|
verification: `${host}users/users/user/captcha`,// 验证码图片
|
|
|
|
// bindPhoneOrEmail:`${host}users/users/userAccount/bindPhoneOrEmail`,// 绑定手机
|
|
|
|
// sendPhoneOrEmailCode:`${host}users/users/userAccount/sendPhoneOrEmailCode`,// 手机验证码
|
|
|
|
|
|
|
|
|
|
|
|
//学生管理
|
|
|
|
resetPassword: `${host}users/users/userAccount/resetPwd`, // 密码重置
|
|
|
|
updateAccountEnable: `${host}occupationlab/architecture/updateAccountEnable`, // 密码重置
|
|
|
|
checkEmailOrPhone: `${host}occupationlab/architecture/checkEmailOrPhone`, // 新增学生前:校验手机号或者邮箱
|
|
|
|
checkWorkNumOrAccount: `${host}occupationlab/architecture/checkWorkNumOrAccount`, // 新增/编辑学生前:校验学号或者学生账号
|
|
|
|
delStudent: `${host}occupationlab/architecture/delStudent`, // 单个、批量删除学生
|
|
|
|
addStudent: `${host}occupationlab/architecture/addStudent`, // 新增学生
|
|
|
|
modifyStudent: `${host}occupationlab/architecture/modifyStudent`, // 编辑学生
|
|
|
|
getStudentInfoByAccountId: `${host}occupationlab/architecture/getStudentInfoByAccountId`, // 查看学生信息
|
|
|
|
getDetailByAccount: `${host}occupationlab/architecture/getDetailByAccount`, // 新增用户前调用:按帐户获取详细信息
|
|
|
|
importStudent: `${host}occupationlab/architecture/importStudent`, // 批量导入学生
|
|
|
|
exportFailure: `${host}occupationlab/architecture/exportFailure`, // 批量导入学生失败数据导出
|
|
|
|
removeStudent: `${host}occupationlab/architecture/removeStudent`, // 移除学生
|
|
|
|
organizationalStudentList: `${host}occupationlab/architecture/organizationalStudentList`, // 根据组织架构筛选学生列表
|
|
|
|
studentList: `${host}occupationlab/architecture/studentList`, // 学生列表
|
|
|
|
stuOrganizationTree: `${host}occupationlab/architecture/stuOrganizationTree`, // 学生组织架构树
|
|
|
|
treeList: `${host}occupationlab/architecture/treeList`, // 学生组织架构树形列表
|
|
|
|
saveOrg: `${host}occupationlab/architecture/save`, // 新增组织架构
|
|
|
|
updateOrg: `${host}occupationlab/architecture/update`, // 编辑组织架构
|
|
|
|
deleteOrg: `${host}occupationlab/architecture/delete`, // 删除组织架构
|
|
|
|
|
|
|
|
// 测评管理
|
|
|
|
questionsList: `${host}occupationlab/questions/list`, // 题库列表查询
|
|
|
|
questionsSave: `${host}occupationlab/questions/save`, // 新增题目
|
|
|
|
questionsUpdate: `${host}occupationlab/questions/update`, // 根据试题id修改试题信息
|
|
|
|
questionsDetail: `${host}occupationlab/questions/detail`, // 查看当前题库信息
|
|
|
|
questionsDelete: `${host}occupationlab/questions/delete`, // 根据主键删除
|
|
|
|
questionsIsDisable: `${host}occupationlab/questions/isDisable`, // 是否禁用试题
|
|
|
|
questionsTemplate: `${Setting.apiBaseURL}template/试题导入模板.xlsx`, //excel模板文件下载
|
|
|
|
questionsImport: `${host}occupationlab/questions/importQuestion`, // 批量导入题库
|
|
|
|
questionsExportFailure: `${host}occupationlab/questions/exportFailure`, // 批量导入题库失败数据导出
|
|
|
|
questionsInfo: `${host}occupationlab/questions/info`, // 测评规则信息的展示
|
|
|
|
questionsUpdateRules: `${host}occupationlab/questions/updateEvaluationRules`, // 修改测评规则信息
|
|
|
|
|
|
|
|
// 考核管理
|
|
|
|
pageByCondition: `${host}occupationlab/assessment/pageByCondition`, // 考核管理列表
|
|
|
|
saveAssessment: `${host}occupationlab/assessment/saveAssessment`, // 创建考核
|
|
|
|
modifyAssessment: `${host}occupationlab/assessment/modifyAssessment`, // 编辑考核
|
|
|
|
getDetailById: `${host}occupationlab/assessment/getDetailById`, // 根据考核Id查询考核详情
|
|
|
|
deleteAssessment: `${host}occupationlab/assessment/deleteAssessment`, // 单个、批量删除
|
|
|
|
collectPaper: `${host}occupationlab/assessment/collectPaper`, // 收卷(提前结束)
|
|
|
|
|
|
|
|
schoolCourse: `${host}nakadai/nakadai/curriculum/schoolCourse`, // 获取学校购买订单后的课程
|
|
|
|
projectListByCourseId: `${host}nakadai/nakadai/curriculum/projectListByCourseId`, // 根据课程id获取实训项目列表
|
|
|
|
|
|
|
|
// 成绩管理
|
|
|
|
deleteExperimentalReport: `${host}occupationlab/achievement/deleteExperimentalReport`, // 单个、批量删除实验报告
|
|
|
|
exportAssessmentInfo: `${host}occupationlab/achievement/exportAssessmentInfo`, // 批量导出考核成绩
|
|
|
|
exportPracticeInfo: `${host}occupationlab/achievement/exportPracticeInfo`, // 批量导出练习成绩
|
|
|
|
getAchievementInfo: `${host}occupationlab/achievement/getAchievementInfo`, // 管理端成绩管理
|
|
|
|
getAssessmentDetail: `${host}occupationlab/achievement/getAssessmentDetail`, // 管理端考核成绩详情
|
|
|
|
getPracticeDetail: `${host}occupationlab/achievement/getPracticeDetail`, // 管理端练习成绩详情
|
|
|
|
myClass: `${host}occupationlab/achievement/myClass`, // 教师端:我的班级
|
|
|
|
deleteReportById: `${host}occupationlab/achievement/deleteReportById`, // 批量删除成绩管理中的项目/批量删除成绩管理中的考核
|
|
|
|
|
|
|
|
// 项目管理
|
|
|
|
avgValues: `${host}occupationlab/projectManage/avgValues`, // 平均分分配值
|
|
|
|
deleteProjectManage: `${host}occupationlab/projectManage/deleteProjectManage`, // 新增项目管理
|
|
|
|
getProjectBySystemId: `${host}occupationlab/projectManage/getProjectBySystemId`, // 根据系统id获取全部项目(项目中没有用上这个接口)
|
|
|
|
queryNameIsExist: `${host}occupationlab/projectManage/queryNameIsExist`, // 新增/编辑项目管理名称判重
|
|
|
|
queryProjectManage: `${host}occupationlab/projectManage/queryProjectManage`, // 项目管理列表(分页、筛选)
|
|
|
|
updateIsOpen: `${host}occupationlab/projectManage/updateIsOpen`, // 更新开启状态
|
|
|
|
getProjectDetail: `${host}occupationlab/projectManage/getProjectDetail`, // 根据项目id查询详情
|
|
|
|
addProjectManage: `${host}occupationlab/projectManage/addProjectManage`, // 新增项目管理
|
|
|
|
updateProjectManage: `${host}occupationlab/projectManage/updateProjectManage`, // 修改项目管理
|
|
|
|
copyProjectManage: `${host}occupationlab/projectManage/copyProjectManage`, // 复制项目管理
|
|
|
|
|
|
|
|
// 判分点
|
|
|
|
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`,
|
|
|
|
editContest: `${host}occupationlab/enterprise/match/contest/editContest`,
|
|
|
|
publishContest: `${host}occupationlab/enterprise/match/contest/publishContest`,
|
|
|
|
getContest: `${host}occupationlab/enterprise/match/contest/getContest`,
|
|
|
|
queryContestByCondition: `${host}occupationlab/enterprise/match/contest/queryContestByCondition`,
|
|
|
|
// 竞赛进展
|
|
|
|
addContestProgress: `${host}occupationlab/enterprise/match/contest-progress/addContestProgress`,
|
|
|
|
deleteContestProgress: `${host}occupationlab/enterprise/match/contest-progress/deleteContestProgress`,
|
|
|
|
getContestProgress: `${host}occupationlab/enterprise/match/contest-progress/getContestProgress`,
|
|
|
|
editContestProgress: `${host}occupationlab/enterprise/match/contest-progress/editContestProgress`,
|
|
|
|
// 报名人员
|
|
|
|
addApplicant: `${host}occupationlab/enterprise/match/applicant/addApplicant`,
|
|
|
|
disableContests: `${host}occupationlab/enterprise/match/applicant/disableContests`,
|
|
|
|
excelExport: `${host}occupationlab/enterprise/match/applicant/excelExport`,
|
|
|
|
queryApplicantByCondition: `${host}occupationlab/enterprise/match/applicant/queryApplicantByCondition`,
|
|
|
|
disableApplicant: `${host}occupationlab/enterprise/match/applicant/disableApplicant`,
|
|
|
|
batchExport: `${host}occupationlab/enterprise/match/applicant/batchExport`,
|
|
|
|
|
|
|
|
// 栏目管理
|
|
|
|
addColumn: `${host}occupationlab/enterprise/information/column/addColumn`,
|
|
|
|
deleteColumn: `${host}occupationlab/enterprise/information/column/deleteColumn`,
|
|
|
|
editColumn: `${host}occupationlab/enterprise/information/column/editColumn`,
|
|
|
|
queryAllColumns: `${host}occupationlab/enterprise/information/column/queryAllColumns`,
|
|
|
|
columnReorder: `${host}occupationlab/enterprise/information/column/reorder`,
|
|
|
|
// 内容管理
|
|
|
|
addArticle: `${host}occupationlab/enterprise/information/article/addArticle`,
|
|
|
|
deleteArticles: `${host}occupationlab/enterprise/information/article/deleteArticles`,
|
|
|
|
editArticle: `${host}occupationlab/enterprise/information/article/editArticle`,
|
|
|
|
enableArticle: `${host}occupationlab/enterprise/information/article/enableArticle`,
|
|
|
|
getArticle: `${host}occupationlab/enterprise/information/article/getArticle`,
|
|
|
|
getArticles: `${host}occupationlab/enterprise/information/article/getArticles`,
|
|
|
|
queryArticleByCondition: `${host}occupationlab/enterprise/information/article/queryArticleByCondition`,
|
|
|
|
articleSort: `${host}occupationlab/enterprise/information/article/articleSort`,
|
|
|
|
|
|
|
|
// 课程管理
|
|
|
|
queryCourseByCondition: `${host}occupationlab/management/edu/course/queryCourseByCondition`, // 课程列表分页条件查询
|
|
|
|
addCourse: `${host}occupationlab/management/edu/course/addCourse`, // 添加课程
|
|
|
|
deleteCourse: `${host}occupationlab/management/edu/course/deleteCourse`, // 根据id删除课程
|
|
|
|
deleteCourses: `${host}occupationlab/management/edu/course/deleteCourses`, // 批量删除课程
|
|
|
|
editCourse: `${host}occupationlab/management/edu/course/editCourse`, // 修改课程
|
|
|
|
enableCourse: `${host}occupationlab/management/schoolCourse/enableGlCourse`, // 是否启用管理端课程
|
|
|
|
getCourse: `${host}occupationlab/management/edu/course/getCourse`, // 根据id查询课程
|
|
|
|
// 分类管理
|
|
|
|
queryGlClassification: `${host}occupationlab/management/edu/courseClassification/queryGlClassification`,
|
|
|
|
deleteClassification: `${host}occupationlab/management/edu/courseClassification/deleteClassification`,
|
|
|
|
addClassification: `${host}occupationlab/management/edu/courseClassification/addClassification`,
|
|
|
|
editClassification: `${host}occupationlab/management/edu/courseClassification/editClassification`,
|
|
|
|
// 课程章节管理
|
|
|
|
addChapter: `${host}occupationlab/management/edu/courseChapter/addChapter`,
|
|
|
|
chapterReorder: `${host}occupationlab/management/edu/courseChapter/chapterReorder`,
|
|
|
|
deleteChapter: `${host}occupationlab/management/edu/courseChapter/deleteChapter`,
|
|
|
|
editChapter: `${host}occupationlab/management/edu/courseChapter/editChapter`,
|
|
|
|
queryChaptersAndSubsections: `${host}occupationlab/management/edu/courseChapter/queryChaptersAndSubsections`,
|
|
|
|
reorder: `${host}occupationlab/management/edu/courseChapter/reorder`,
|
|
|
|
// 课程小节管理
|
|
|
|
addSubsection: `${host}occupationlab/management/edu/courseSubsection/addSubsection`, // 添加小节
|
|
|
|
deleteSubsection: `${host}occupationlab/management/edu/courseSubsection/deleteSubsection`, // 根据id删除小节
|
|
|
|
editSubsection: `${host}occupationlab/management/edu/courseSubsection/editSubsection`, // 修改小节
|
|
|
|
getSubsection: `${host}occupationlab/management/edu/courseSubsection/getSubsection`, // 根据小节id获取预览文件地址
|
|
|
|
|
|
|
|
// 阿里云文件/视频管理
|
|
|
|
fileDeletion: `${host}nakadai/nakadai/oss/fileDeletion`, // 删除OSS文件
|
|
|
|
fileupload: `${host}nakadai/nakadai/oss/fileUpload`, // 文件上传
|
|
|
|
getPlayAuth: `${host}nakadai/nakadai/oss/getPlayAuth`, // 获取播放凭证
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// getPlayAuth: `${host}occupationlab/oss/manage/getPlayAuth`,
|
|
|
|
removeMoreVideo: `${host}occupationlab/oss/manage/removeMoreVideo`,
|
|
|
|
removeVideo: `${host}occupationlab/oss/manage/removeVideo`,
|
|
|
|
|
|
|
|
|
|
|
|
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`,//查询学号、工号是否存在
|
|
|
|
querySchool: `${host}liuwanr/customer/querySchool`, //根据学校名称查询学校信息
|
|
|
|
|
|
|
|
queryPersonalCenter: `${host}liuwanr/personalCenter/queryPersonalCenter`,
|
|
|
|
addStaffPro: `${host}liuwanr/staffProfessionalArchitecture/addStaffProfessionalArchitecture`, //添加员工专业
|
|
|
|
queryStaffPro: `${host}liuwanr/staffProfessionalArchitecture/queryAllStaffProfessionalArchitecture`, //查询员工专业
|
|
|
|
deleteStaffPro: `${host}liuwanr/staffProfessionalArchitecture/deleteStaffProfessionalArchitecture`, //删除员工专业
|
|
|
|
deleteStaffGrade: `${host}liuwanr/staffGrade/deleteStaffGrade`, //删除员工部门
|
|
|
|
updateStaffPro: `${host}liuwanr/staffProfessionalArchitecture/updateStaffProfessionalArchitecture`, //编辑员工专业
|
|
|
|
queryStaffGrade: `${host}liuwanr/staffGrade/queryStaffGrade`, //查询员工部门
|
|
|
|
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`,
|
|
|
|
daleteBatchStaff: `${host}evaluation/tms/system/daleteBatchStaff`,
|
|
|
|
queryStaff: `${host}evaluation/tms/system/queryStaff`,
|
|
|
|
querystaffDetail: `${host}evaluation/tms/system/querystaffDetail`,
|
|
|
|
updateStaff: `${host}evaluation/tms/system/updateStaff`,
|
|
|
|
downloadStaff: `${host}evaluation/tms/system/download`,
|
|
|
|
export_failureStaff: `${host}evaluation/tms/system/export_failure`,
|
|
|
|
uploadFileStaff: `${host}evaluation/tms/system/uploadFile`,
|
|
|
|
queryAccountStaff: `${host}evaluation/tms/system/queryAccount`,
|
|
|
|
// resetPwd: `${host}evaluation/tms/system/resetPwd`,
|
|
|
|
dalStaffByStaffGradeId: `${host}evaluation/tms/system/dalStaffByStaffGradeId`,
|
|
|
|
dalStaffByProfessionalId: `${host}evaluation/tms/system/dalStaffByProfessionalId`,
|
|
|
|
staffTemplate: `${host}template/staff.xlsx`,
|
|
|
|
|
|
|
|
// 角色权限
|
|
|
|
rolePermissionList: `${host}evaluation/sys-permission/rolePermissionList`,
|
|
|
|
saveRolePermission: `${host}evaluation/sys-permission/saveRolePermission`,
|
|
|
|
updateRolePermission: `${host}evaluation/sys-permission/updateRolePermission`,
|
|
|
|
delRolePermission: `${host}evaluation/sys-permission/delRolePermission`,
|
|
|
|
queryPermissionArrById: `${host}evaluation/sys-permission/queryPermissionArrById`,
|
|
|
|
roleTree: `${host}evaluation/sys-permission/tree`,
|
|
|
|
|
|
|
|
// 教师评语
|
|
|
|
addComment: `${host}evaluation/comment/addComment`,
|
|
|
|
queryComment: `${host}evaluation/comment/queryComment`,
|
|
|
|
updateComment: `${host}evaluation/comment/updateComment`,
|
|
|
|
|
|
|
|
// 老师签名照
|
|
|
|
daleteSignature: `${host}evaluation/signature/daleteSignature`,
|
|
|
|
querySignature: `${host}evaluation/signature/querySignature`,
|
|
|
|
uploadSignature: `${host}evaluation/signature/uploadSignature`,
|
|
|
|
|
|
|
|
// 判分点
|
|
|
|
queryListTrading: `${host}judgment/tradingJudgmentPoints/query`,
|
|
|
|
queryDetailsTrading: `${host}judgment/tradingJudgmentPoints/queryDetails`,
|
|
|
|
// 科大
|
|
|
|
queryPoint: `${host}kdSys/queryPoint`,
|
|
|
|
querySubject: `${host}kdSys/querySubject`,
|
|
|
|
queryItem: `${host}kdSys/queryItem`,
|
|
|
|
// 川大
|
|
|
|
firstLevel: `${host1}sichuan/point/firstLevel`,
|
|
|
|
secondaryLevel: `${host1}sichuan/point/secondaryLevel`,
|
|
|
|
thirdLevel: `${host1}sichuan/point/thirdLevel`
|
|
|
|
|
|
|
|
};
|