|
|
|
@ -1,24 +1,24 @@ |
|
|
|
|
import Setting from "@/setting"; |
|
|
|
|
|
|
|
|
|
const host = Setting.apiBaseURL; |
|
|
|
|
const uploadURL = "http://121.37.12.51:9000/"; |
|
|
|
|
const uploadURL = location.origin + '/' |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
logins: `users/users/user/login`, |
|
|
|
|
verification: `${host}users/users/user/captcha`,// 验证码图片
|
|
|
|
|
logoDetail: `occupationlab/sys/logo/detail`, //查看系统设置信息
|
|
|
|
|
logoDetail: `occupationlab/occupationlab/sys/logo/detail`, //查看系统设置信息
|
|
|
|
|
isClient: `${host}users/users/user/isClient`, |
|
|
|
|
sendPhoneVerificationCode: `users/users/user/sendPhoneVerificationCode`, |
|
|
|
|
getToken: `users/users/user/getToken`, |
|
|
|
|
getOtherAccountByPhone: `users/users/user/getOtherAccountByPhone`, |
|
|
|
|
unbindAccounts: `users/users/user/unbindAccounts`, |
|
|
|
|
|
|
|
|
|
platformLogList: `nakadai/log/platformLogList`, |
|
|
|
|
logNotification: `nakadai/log/logNotification`, |
|
|
|
|
platformLogList: `nakadai/nakadai/log/platformLogList`, |
|
|
|
|
logNotification: `nakadai/nakadai/log/logNotification`, |
|
|
|
|
//实验台
|
|
|
|
|
curriculumDetail: `nakadai/nakadai/curriculum/curriculumDetail`, // 课程详情
|
|
|
|
|
curriculumChapter: `nakadai/curriculum/chapter/queryChaptersAndSubsections`, // 根据课程id查询章节小节,树状结构
|
|
|
|
|
curriculumGetSubsection: `nakadai/curriculum/subsection/getSubsection`, // 根据小节id获取预览文件地址
|
|
|
|
|
curriculumChapter: `nakadai/nakadai/curriculum/chapter/queryChaptersAndSubsections`, // 根据课程id查询章节小节,树状结构
|
|
|
|
|
curriculumGetSubsection: `nakadai/nakadai/curriculum/subsection/getSubsection`, // 根据小节id获取预览文件地址
|
|
|
|
|
|
|
|
|
|
// 能力测评
|
|
|
|
|
canExperiment: `occupationlab/occupationlab/evaluationrecord/can_experiment`, // 查询是否能够开启实验
|
|
|
|
@ -34,52 +34,52 @@ export default { |
|
|
|
|
|
|
|
|
|
// 实验记录
|
|
|
|
|
schoolCourse: `nakadai/nakadai/curriculum/schoolCourse`, // 获取学校购买订单后的课程
|
|
|
|
|
experimentOverview: `occupationlab/achievement/experimentOverview`, //实验概览
|
|
|
|
|
queryAssessmentByStudent: `occupationlab/achievement/queryAssessmentByStudent`, //学生端考核成绩
|
|
|
|
|
queryPracticeByStudent: `occupationlab/achievement/queryPracticeByStudent`, //学生端练习成绩
|
|
|
|
|
exportAssessmentByStudent: `occupationlab/achievement/exportAssessmentByStudent`, // 批量导出考核成绩
|
|
|
|
|
exportPracticeByStudent: `${host}occupationlab/achievement/exportPracticeByStudent`, // 批量导出练习成绩
|
|
|
|
|
practiceByStudentDetail: `occupationlab/achievement/practiceByStudentDetail`, // 学生端练习实验情况
|
|
|
|
|
exportPracticeByStudentDetail: `${host}occupationlab/achievement/exportPracticeByStudentDetail`, // 导出学生端练习实验情况
|
|
|
|
|
reportDetail: `occupationlab/achievement/reportDetail`, // 成绩报告详情
|
|
|
|
|
updateReport: `occupationlab/achievement/updateReport`, // 更新成绩报告
|
|
|
|
|
experimentOverview: `occupationlab/occupationlab/achievement/experimentOverview`, //实验概览
|
|
|
|
|
queryAssessmentByStudent: `occupationlab/occupationlab/achievement/queryAssessmentByStudent`, //学生端考核成绩
|
|
|
|
|
queryPracticeByStudent: `occupationlab/occupationlab/achievement/queryPracticeByStudent`, //学生端练习成绩
|
|
|
|
|
exportAssessmentByStudent: `occupationlab/occupationlab/achievement/exportAssessmentByStudent`, // 批量导出考核成绩
|
|
|
|
|
exportPracticeByStudent: `${host}occupationlab/occupationlab/achievement/exportPracticeByStudent`, // 批量导出练习成绩
|
|
|
|
|
practiceByStudentDetail: `occupationlab/occupationlab/achievement/practiceByStudentDetail`, // 学生端练习实验情况
|
|
|
|
|
exportPracticeByStudentDetail: `${host}occupationlab/occupationlab/achievement/exportPracticeByStudentDetail`, // 导出学生端练习实验情况
|
|
|
|
|
reportDetail: `occupationlab/occupationlab/achievement/reportDetail`, // 成绩报告详情
|
|
|
|
|
updateReport: `occupationlab/occupationlab/achievement/updateReport`, // 更新成绩报告
|
|
|
|
|
schoolCourseByAchievement: `nakadai/nakadai/curriculum/schoolCourseByAchievement`, // 获取学校购买订单后的课程
|
|
|
|
|
exportLabReport: `occupationlab/achievement/exportLabReport`, |
|
|
|
|
exportBankExperimentReport: `occupationlab/achievement/exportBankExperimentReport`, |
|
|
|
|
queryBcJudgmentPointByBcId: 'judgment/bcJudgmentPoint/queryBcJudgmentPointByBcId', |
|
|
|
|
editExperimentalData: 'occupationlab/experimentalReport/editExperimentalData', |
|
|
|
|
exportLabReport: `occupationlab/occupationlab/achievement/exportLabReport`, |
|
|
|
|
exportBankExperimentReport: `occupationlab/occupationlab/achievement/exportBankExperimentReport`, |
|
|
|
|
queryBcJudgmentPointByBcId: 'judgment/judgment/bcJudgmentPoint/queryBcJudgmentPointByBcId', |
|
|
|
|
editExperimentalData: 'occupationlab/occupationlab/experimentalReport/editExperimentalData', |
|
|
|
|
|
|
|
|
|
// 考核列表
|
|
|
|
|
pageStuAssessment: `occupationlab/assessment/pageStuAssessment`, // 学生端——学生考核列表
|
|
|
|
|
getPythonSysByStuAccountId: `occupationlab/assessment/getPythonSysByStuAccountId`, // 学生端——课程名称
|
|
|
|
|
myClassByStudent: `occupationlab/achievement/myClassByStudent`, // 学生端:我的班级
|
|
|
|
|
getStudentInfoByAccountId: `occupationlab/architecture/getStudentInfoByAccountId`, // 查看学生信息
|
|
|
|
|
enterExam: `occupationlab/assessment/enterExam`, // 学生端——进入考试
|
|
|
|
|
collectPaper: `occupationlab/assessment/collectPaper`, // 自动结束考试
|
|
|
|
|
pageStuAssessment: `occupationlab/occupationlab/assessment/pageStuAssessment`, // 学生端——学生考核列表
|
|
|
|
|
getPythonSysByStuAccountId: `occupationlab/occupationlab/assessment/getPythonSysByStuAccountId`, // 学生端——课程名称
|
|
|
|
|
myClassByStudent: `occupationlab/occupationlab/achievement/myClassByStudent`, // 学生端:我的班级
|
|
|
|
|
getStudentInfoByAccountId: `occupationlab/occupationlab/architecture/getStudentInfoByAccountId`, // 查看学生信息
|
|
|
|
|
enterExam: `occupationlab/occupationlab/assessment/enterExam`, // 学生端——进入考试
|
|
|
|
|
collectPaper: `occupationlab/occupationlab/assessment/collectPaper`, // 自动结束考试
|
|
|
|
|
|
|
|
|
|
// 课程学习
|
|
|
|
|
queryGlClassification: `occupationlab/management/edu/courseClassification/queryGlClassification`, // 查询课程分类
|
|
|
|
|
queryCourseByCondition: `occupationlab/management/edu/course/queryCourseByCondition`, // 课程列表分页条件查询
|
|
|
|
|
getCourseById: `occupationlab/management/edu/course/getCourse`, // 根据id查询课程
|
|
|
|
|
queryChaptersAndSubsections: `occupationlab/management/edu/courseChapter/queryChaptersAndSubsections`, // 根据课程id查询章节小节,树状结构
|
|
|
|
|
getSubsection: `occupationlab/management/edu/courseSubsection/getSubsection`, // 根据小节id获取预览文件地址
|
|
|
|
|
queryGlClassification: `occupationlab/occupationlab/management/edu/courseClassification/queryGlClassification`, // 查询课程分类
|
|
|
|
|
queryCourseByCondition: `occupationlab/occupationlab/management/edu/course/queryCourseByCondition`, // 课程列表分页条件查询
|
|
|
|
|
getCourseById: `occupationlab/occupationlab/management/edu/course/getCourse`, // 根据id查询课程
|
|
|
|
|
queryChaptersAndSubsections: `occupationlab/occupationlab/management/edu/courseChapter/queryChaptersAndSubsections`, // 根据课程id查询章节小节,树状结构
|
|
|
|
|
getSubsection: `occupationlab/occupationlab/management/edu/courseSubsection/getSubsection`, // 根据小节id获取预览文件地址
|
|
|
|
|
|
|
|
|
|
// 资讯
|
|
|
|
|
queryAllColumns: `occupationlab/enterprise/information/column/queryAllColumns`, // 栏目树
|
|
|
|
|
queryArticleByCondition: `occupationlab/enterprise/information/article/queryArticleByCondition`, // 文章列表分页条件查询
|
|
|
|
|
getArticle: `occupationlab/enterprise/information/article/getArticle`, // 根据id查询文章
|
|
|
|
|
firstLevelColumn: `occupationlab/enterprise/information/column/firstLevelColumn`, |
|
|
|
|
secondaryColumnsByFirst: `occupationlab/enterprise/information/column/secondaryColumnsByFirst`, |
|
|
|
|
queryAllColumns: `occupationlab/occupationlab/enterprise/information/column/queryAllColumns`, // 栏目树
|
|
|
|
|
queryArticleByCondition: `occupationlab/occupationlab/enterprise/information/article/queryArticleByCondition`, // 文章列表分页条件查询
|
|
|
|
|
getArticle: `occupationlab/occupationlab/enterprise/information/article/getArticle`, // 根据id查询文章
|
|
|
|
|
firstLevelColumn: `occupationlab/occupationlab/enterprise/information/column/firstLevelColumn`, |
|
|
|
|
secondaryColumnsByFirst: `occupationlab/occupationlab/enterprise/information/column/secondaryColumnsByFirst`, |
|
|
|
|
|
|
|
|
|
// 线上赛事
|
|
|
|
|
contestPageConditionQueryByOccupationlabStu: `occupationlab/enterprise/match/contest/contestPageConditionQueryByOccupationlabStu`, |
|
|
|
|
contestPageConditionQueryByOccupationlab: `occupationlab/enterprise/match/contest/onlineCompetitionByStudent`, |
|
|
|
|
listOfRegisteredEvents: `occupationlab/enterprise/match/contest/listOfRegisteredEvents`, |
|
|
|
|
addApplicant: `occupationlab/enterprise/match/applicant/addApplicant`, // 添加报名人员
|
|
|
|
|
getContestProgress: `occupationlab/enterprise/match/contest-progress/getContestProgress`, // 根据赛事id查询竞赛进展
|
|
|
|
|
getContest: `occupationlab/enterprise/match/contest/getContest`, // 根据id查询赛事
|
|
|
|
|
queryAnnouncementByContestId: `occupationlab/contest/announcement/queryAnnouncementByContestId`, |
|
|
|
|
queryAnnouncementDetails: `occupationlab/contest/announcement/queryAnnouncementDetails`, |
|
|
|
|
contestPageConditionQueryByOccupationlabStu: `occupationlab/occupationlab/enterprise/match/contest/contestPageConditionQueryByOccupationlabStu`, |
|
|
|
|
contestPageConditionQueryByOccupationlab: `occupationlab/occupationlab/enterprise/match/contest/onlineCompetitionByStudent`, |
|
|
|
|
listOfRegisteredEvents: `occupationlab/occupationlab/enterprise/match/contest/listOfRegisteredEvents`, |
|
|
|
|
addApplicant: `occupationlab/occupationlab/enterprise/match/applicant/addApplicant`, // 添加报名人员
|
|
|
|
|
getContestProgress: `occupationlab/occupationlab/enterprise/match/contest-progress/getContestProgress`, // 根据赛事id查询竞赛进展
|
|
|
|
|
getContest: `occupationlab/occupationlab/enterprise/match/contest/getContest`, // 根据id查询赛事
|
|
|
|
|
queryAnnouncementByContestId: `occupationlab/occupationlab/contest/announcement/queryAnnouncementByContestId`, |
|
|
|
|
queryAnnouncementDetails: `occupationlab/occupationlab/contest/announcement/queryAnnouncementDetails`, |
|
|
|
|
|
|
|
|
|
// 阿里云文件/视频管理
|
|
|
|
|
fileDeletion: `${uploadURL}oss/manage/fileDeletion`, // 删除OSS文件
|
|
|
|
|