diff --git a/src/api/index.js b/src/api/index.js index 5cfb059..1cda0e0 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -9,175 +9,175 @@ export default { logins: `users/users/user/login`, //登录 verification: `${host}users/users/user/captcha`,// 验证码图片 isClient: `users/users/user/isClient`,// 是否为客户 - getUserAllRoleByToken : `users/role/getUserAllRoleByToken`, + getUserAllRoleByToken : `users/users/role/getUserAllRoleByToken`, getSchoolIdByToken : `users/users/data/user/getSchoolIdByToken`, - 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获取预览文件地址 // 权限管理 - getUserRolesPermissionMenu: `users/user-role/getUserRolesPermissionMenu`, + getUserRolesPermissionMenu: `users/users/user-role/getUserRolesPermissionMenu`, //学生管理 resetPassword: `users/users/userAccount/resetPwd`, // 密码重置 - updateAccountEnable: `occupationlab/architecture/updateAccountEnable`, // 密码重置 - checkEmailOrPhone: `occupationlab/architecture/checkEmailOrPhone`, // 新增学生前:校验手机号或者邮箱 - checkWorkNumOrAccount: `occupationlab/architecture/checkWorkNumOrAccount`, // 新增/编辑学生前:校验学号或者学生账号 - delStudent: `occupationlab/architecture/delStudent`, // 单个、批量删除学生 - addStudent: `occupationlab/architecture/addStudent`, // 新增学生 - modifyStudent: `occupationlab/architecture/modifyStudent`, // 编辑学生 - getStudentInfoByAccountId: `occupationlab/architecture/getStudentInfoByAccountId`, // 查看学生信息 - getDetailByAccount: `occupationlab/architecture/getDetailByAccount`, // 新增用户前调用:按帐户获取详细信息 - importStudent: `${host}occupationlab/architecture/importStudent`, // 批量导入学生 - exportFailure: `${host}occupationlab/architecture/exportFailure`, // 批量导入学生失败数据导出 - removeStudent: `occupationlab/architecture/removeStudent`, // 移除学生 - organizationalStudentList: `occupationlab/architecture/organizationalStudentList`, // 根据组织架构筛选学生列表 - studentList: `occupationlab/architecture/studentList`, // 学生列表 - stuOrganizationTree: `occupationlab/architecture/stuOrganizationTree`, // 学生组织架构树 - treeList: `occupationlab/architecture/treeList`, // 学生组织架构树形列表 - saveOrg: `occupationlab/architecture/save`, // 新增组织架构 - updateOrg: `occupationlab/architecture/update`, // 编辑组织架构 - deleteOrg: `occupationlab/architecture/delete`, // 删除组织架构 + updateAccountEnable: `occupationlab/occupationlab/architecture/updateAccountEnable`, // 密码重置 + checkEmailOrPhone: `occupationlab/occupationlab/architecture/checkEmailOrPhone`, // 新增学生前:校验手机号或者邮箱 + checkWorkNumOrAccount: `occupationlab/occupationlab/architecture/checkWorkNumOrAccount`, // 新增/编辑学生前:校验学号或者学生账号 + delStudent: `occupationlab/occupationlab/architecture/delStudent`, // 单个、批量删除学生 + addStudent: `occupationlab/occupationlab/architecture/addStudent`, // 新增学生 + modifyStudent: `occupationlab/occupationlab/architecture/modifyStudent`, // 编辑学生 + getStudentInfoByAccountId: `occupationlab/occupationlab/architecture/getStudentInfoByAccountId`, // 查看学生信息 + getDetailByAccount: `occupationlab/occupationlab/architecture/getDetailByAccount`, // 新增用户前调用:按帐户获取详细信息 + importStudent: `${host}occupationlab/occupationlab/architecture/importStudent`, // 批量导入学生 + exportFailure: `${host}occupationlab/occupationlab/architecture/exportFailure`, // 批量导入学生失败数据导出 + removeStudent: `occupationlab/occupationlab/architecture/removeStudent`, // 移除学生 + organizationalStudentList: `occupationlab/occupationlab/architecture/organizationalStudentList`, // 根据组织架构筛选学生列表 + studentList: `occupationlab/occupationlab/architecture/studentList`, // 学生列表 + stuOrganizationTree: `occupationlab/occupationlab/architecture/stuOrganizationTree`, // 学生组织架构树 + treeList: `occupationlab/occupationlab/architecture/treeList`, // 学生组织架构树形列表 + saveOrg: `occupationlab/occupationlab/architecture/save`, // 新增组织架构 + updateOrg: `occupationlab/occupationlab/architecture/update`, // 编辑组织架构 + deleteOrg: `occupationlab/occupationlab/architecture/delete`, // 删除组织架构 studentTemplate: `http://121.37.12.51/template/学生导入模板.xlsx`, // 学生导入模板 // 测评管理 - questionsList: `occupationlab/questions/list`, // 题库列表查询 - questionsSave: `occupationlab/questions/save`, // 新增题目 - questionsUpdate: `occupationlab/questions/update`, // 根据试题id修改试题信息 - questionsDetail: `occupationlab/questions/detail`, // 查看当前题库信息 - questionsDelete: `occupationlab/questions/delete`, // 根据主键删除 - questionsIsDisable: `occupationlab/questions/isDisable`, // 是否禁用试题 + questionsList: `occupationlab/occupationlab/questions/list`, // 题库列表查询 + questionsSave: `occupationlab/occupationlab/questions/save`, // 新增题目 + questionsUpdate: `occupationlab/occupationlab/questions/update`, // 根据试题id修改试题信息 + questionsDetail: `occupationlab/occupationlab/questions/detail`, // 查看当前题库信息 + questionsDelete: `occupationlab/occupationlab/questions/delete`, // 根据主键删除 + questionsIsDisable: `occupationlab/occupationlab/questions/isDisable`, // 是否禁用试题 questionsTemplate: `http://121.37.12.51/template/试题导入模板.xlsx`, //excel模板文件下载 - questionsImport: `${host}occupationlab/questions/importQuestion`, // 批量导入题库 - questionsExportFailure: `${host}occupationlab/questions/exportFailure`, // 批量导入题库失败数据导出 - questionsInfo: `occupationlab/questions/info`, // 测评规则信息的展示 - questionsUpdateRules: `occupationlab/questions/updateEvaluationRules`, // 修改测评规则信息 + questionsImport: `${host}occupationlab/occupationlab/questions/importQuestion`, // 批量导入题库 + questionsExportFailure: `${host}occupationlab/occupationlab/questions/exportFailure`, // 批量导入题库失败数据导出 + questionsInfo: `occupationlab/occupationlab/questions/info`, // 测评规则信息的展示 + questionsUpdateRules: `occupationlab/occupationlab/questions/updateEvaluationRules`, // 修改测评规则信息 // 考核管理 - pageByCondition: `occupationlab/assessment/pageByCondition`, // 考核管理列表 - saveAssessment: `occupationlab/assessment/saveAssessment`, // 创建考核 - modifyAssessment: `occupationlab/assessment/modifyAssessment`, // 编辑考核 - enableAssessment: `occupationlab/assessment/enableAssessment`, // 修改考核状态 - getDetailById: `occupationlab/assessment/getDetailById`, // 根据考核Id查询考核详情 - deleteAssessment: `occupationlab/assessment/deleteAssessment`, // 单个、批量删除 - collectPaper: `occupationlab/assessment/collectPaper`, // 收卷(提前结束) + pageByCondition: `occupationlab/occupationlab/assessment/pageByCondition`, // 考核管理列表 + saveAssessment: `occupationlab/occupationlab/assessment/saveAssessment`, // 创建考核 + modifyAssessment: `occupationlab/occupationlab/assessment/modifyAssessment`, // 编辑考核 + enableAssessment: `occupationlab/occupationlab/assessment/enableAssessment`, // 修改考核状态 + getDetailById: `occupationlab/occupationlab/assessment/getDetailById`, // 根据考核Id查询考核详情 + deleteAssessment: `occupationlab/occupationlab/assessment/deleteAssessment`, // 单个、批量删除 + collectPaper: `occupationlab/occupationlab/assessment/collectPaper`, // 收卷(提前结束) schoolCourse: `nakadai/nakadai/curriculum/schoolCourse`, // 获取学校购买订单后的课程 - projectListByCourseId: `occupationlab/projectManage/getSchoolProjectByAssessent`, // 根据课程id获取实训项目列表 + projectListByCourseId: `occupationlab/occupationlab/projectManage/getSchoolProjectByAssessent`, // 根据课程id获取实训项目列表 // 成绩管理 - deleteExperimentalReport: `occupationlab/achievement/deleteExperimentalReport`, // 单个、批量删除实验报告 - exportAssessmentInfo: `${host}occupationlab/achievement/exportAssessmentInfo`, // 批量导出考核成绩 - exportPracticeInfo: `${host}occupationlab/achievement/exportPracticeInfo`, // 批量导出练习成绩 - getAchievementInfo: `occupationlab/achievement/getAchievementInfo`, // 管理端成绩管理 - getAssessmentDetail: `occupationlab/achievement/getAssessmentDetail`, // 管理端考核成绩详情 - getPracticeDetail: `occupationlab/achievement/getPracticeDetail`, // 管理端练习成绩详情 - myClass: `occupationlab/achievement/myClass`, // 教师端:我的班级 - deleteReportById: `occupationlab/achievement/deleteReportById`, // 批量删除成绩管理中的项目/批量删除成绩管理中的考核 - reportDetail: `occupationlab/achievement/reportDetail`, // 查看实验报告 + deleteExperimentalReport: `occupationlab/occupationlab/achievement/deleteExperimentalReport`, // 单个、批量删除实验报告 + exportAssessmentInfo: `${host}occupationlab/occupationlab/achievement/exportAssessmentInfo`, // 批量导出考核成绩 + exportPracticeInfo: `${host}occupationlab/occupationlab/achievement/exportPracticeInfo`, // 批量导出练习成绩 + getAchievementInfo: `occupationlab/occupationlab/achievement/getAchievementInfo`, // 管理端成绩管理 + getAssessmentDetail: `occupationlab/occupationlab/achievement/getAssessmentDetail`, // 管理端考核成绩详情 + getPracticeDetail: `occupationlab/occupationlab/achievement/getPracticeDetail`, // 管理端练习成绩详情 + myClass: `occupationlab/occupationlab/achievement/myClass`, // 教师端:我的班级 + deleteReportById: `occupationlab/occupationlab/achievement/deleteReportById`, // 批量删除成绩管理中的项目/批量删除成绩管理中的考核 + reportDetail: `occupationlab/occupationlab/achievement/reportDetail`, // 查看实验报告 schoolCourseByAchievement: `nakadai/nakadai/curriculum/schoolCourseByAchievement`, // 获取学校购买订单后的课程 - spliceClass: `occupationlab/achievement/spliceClass`, + spliceClass: `occupationlab/occupationlab/achievement/spliceClass`, // 项目管理 - getSystemIdBySchool: `occupationlab/projectManage/getSystemIdBySchool`, // 获取学校下拥有的系统 - avgValues: `occupationlab/projectManage/avgValues`, // 平均分分配值 - deleteProjectManage: `occupationlab/projectManage/deleteProjectManage`, // 新增项目管理 - getProjectBySystemId: `occupationlab/projectManage/getProjectBySystemId`, // 根据系统id获取全部项目(项目中没有用上这个接口) - queryNameIsExist: `occupationlab/projectManage/queryNameIsExist`, // 新增/编辑项目管理名称判重 - queryProjectManage: `occupationlab/projectManage/queryProjectManage`, // 项目管理列表(分页、筛选) - updateIsOpen: `occupationlab/projectManage/updateIsOpen`, // 更新开启状态 - getProjectDetail: `occupationlab/projectManage/getProjectDetail`, // 根据项目id查询详情 - saveProjectDraft: `occupationlab/projectManage/saveProjectDraft`, // 新增项目管理 - addProjectManage: `occupationlab/projectManage/addProjectManage`, // 新增项目管理 - updateProjectManage: `occupationlab/projectManage/updateProjectManage`, // 修改项目管理 - editProjectDraft: `occupationlab/projectManage/editProjectDraft`, // 修改项目管理 - copyProjectManage: `occupationlab/projectManage/copyProjectManage`, // 复制项目管理 + getSystemIdBySchool: `occupationlab/occupationlab/projectManage/getSystemIdBySchool`, // 获取学校下拥有的系统 + avgValues: `occupationlab/occupationlab/projectManage/avgValues`, // 平均分分配值 + deleteProjectManage: `occupationlab/occupationlab/projectManage/deleteProjectManage`, // 新增项目管理 + getProjectBySystemId: `occupationlab/occupationlab/projectManage/getProjectBySystemId`, // 根据系统id获取全部项目(项目中没有用上这个接口) + queryNameIsExist: `occupationlab/occupationlab/projectManage/queryNameIsExist`, // 新增/编辑项目管理名称判重 + queryProjectManage: `occupationlab/occupationlab/projectManage/queryProjectManage`, // 项目管理列表(分页、筛选) + updateIsOpen: `occupationlab/occupationlab/projectManage/updateIsOpen`, // 更新开启状态 + getProjectDetail: `occupationlab/occupationlab/projectManage/getProjectDetail`, // 根据项目id查询详情 + saveProjectDraft: `occupationlab/occupationlab/projectManage/saveProjectDraft`, // 新增项目管理 + addProjectManage: `occupationlab/occupationlab/projectManage/addProjectManage`, // 新增项目管理 + updateProjectManage: `occupationlab/occupationlab/projectManage/updateProjectManage`, // 修改项目管理 + editProjectDraft: `occupationlab/occupationlab/projectManage/editProjectDraft`, // 修改项目管理 + copyProjectManage: `occupationlab/occupationlab/projectManage/copyProjectManage`, // 复制项目管理 // 判分点 - getBcJudgmentPoint: `judgment/bcJudgmentPoint/getTeacherJudgmentPoint`, // 获取编程类判分点列表(分页) - getLcJudgmentPoint: `judgment/lcJudgmentPoint/queryAllJudgmentPoint`, // 获取流程类判分点列表(分页) - addProjectJudgment: `occupationlab/projectJudgment/addProjectJudgment`, // 添加项目管理、判分点中间表 - updateProjectJudgment: `occupationlab/projectJudgment/updateProjectJudgment`, // 判分点中间表批量更新 - deleteProjectJudgment: `occupationlab/projectJudgment/deleteProjectJudgment`, // 判分点中间表批量删除 + getBcJudgmentPoint: `judgment/judgment/bcJudgmentPoint/getTeacherJudgmentPoint`, // 获取编程类判分点列表(分页) + getLcJudgmentPoint: `judgment/judgment/lcJudgmentPoint/queryAllJudgmentPoint`, // 获取流程类判分点列表(分页) + addProjectJudgment: `occupationlab/occupationlab/projectJudgment/addProjectJudgment`, // 添加项目管理、判分点中间表 + updateProjectJudgment: `occupationlab/occupationlab/projectJudgment/updateProjectJudgment`, // 判分点中间表批量更新 + deleteProjectJudgment: `occupationlab/occupationlab/projectJudgment/deleteProjectJudgment`, // 判分点中间表批量删除 // 赛事 - contestPageConditionQueryByOccupationlab: `occupationlab/enterprise/match/contest/contestPageConditionQueryByOccupationlab`, - addContest: `occupationlab/enterprise/match/contest/addContest`, - editContest: `occupationlab/enterprise/match/contest/editContest`, - deleteContest: `occupationlab/enterprise/match/contest/deleteContest`, - getContest: `occupationlab/enterprise/match/contest/getContest`, - deleteAnnex: `occupationlab/contest/annex/delete`, - saveAnnex: `occupationlab/contest/annex/save`, + contestPageConditionQueryByOccupationlab: `occupationlab/occupationlab/enterprise/match/contest/contestPageConditionQueryByOccupationlab`, + addContest: `occupationlab/occupationlab/enterprise/match/contest/addContest`, + editContest: `occupationlab/occupationlab/enterprise/match/contest/editContest`, + deleteContest: `occupationlab/occupationlab/enterprise/match/contest/deleteContest`, + getContest: `occupationlab/occupationlab/enterprise/match/contest/getContest`, + deleteAnnex: `occupationlab/occupationlab/contest/annex/delete`, + saveAnnex: `occupationlab/occupationlab/contest/annex/save`, getSchoolsByProvince: `nakadai/nakadai/school/getSchoolsByProvince`, - disabledEvents: `occupationlab/enterprise/match/contest/disabledEvents`, + disabledEvents: `occupationlab/occupationlab/enterprise/match/contest/disabledEvents`, // 竞赛进展 - addContestProgress: `occupationlab/enterprise/match/contest-progress/addContestProgress`, - deleteContestProgress: `occupationlab/enterprise/match/contest-progress/deleteContestProgress`, - getContestProgress: `occupationlab/enterprise/match/contest-progress/getContestProgress`, - editContestProgress: `occupationlab/enterprise/match/contest-progress/editContestProgress`, + addContestProgress: `occupationlab/occupationlab/enterprise/match/contest-progress/addContestProgress`, + deleteContestProgress: `occupationlab/occupationlab/enterprise/match/contest-progress/deleteContestProgress`, + getContestProgress: `occupationlab/occupationlab/enterprise/match/contest-progress/getContestProgress`, + editContestProgress: `occupationlab/occupationlab/enterprise/match/contest-progress/editContestProgress`, // 报名人员 - addApplicant: `occupationlab/enterprise/match/applicant/addApplicant`, - disableContests: `occupationlab/enterprise/match/applicant/disableContests`, - excelExport: `${host}occupationlab/enterprise/match/applicant/excelExport`, - queryApplicantByCondition: `occupationlab/enterprise/match/applicant/queryApplicantByCondition`, - disableApplicant: `occupationlab/enterprise/match/applicant/disableApplicant`, - exportDataInBatches: `${host}occupationlab/enterprise/match/applicant/exportDataInBatches`, + addApplicant: `occupationlab/occupationlab/enterprise/match/applicant/addApplicant`, + disableContests: `occupationlab/occupationlab/enterprise/match/applicant/disableContests`, + excelExport: `${host}occupationlab/occupationlab/enterprise/match/applicant/excelExport`, + queryApplicantByCondition: `occupationlab/occupationlab/enterprise/match/applicant/queryApplicantByCondition`, + disableApplicant: `occupationlab/occupationlab/enterprise/match/applicant/disableApplicant`, + exportDataInBatches: `${host}occupationlab/occupationlab/enterprise/match/applicant/exportDataInBatches`, // 赛事公告 - addAnnouncement: `occupationlab/contest/announcement/addAnnouncement`, - amendmentAnnouncement: `occupationlab/contest/announcement/amendmentAnnouncement`, - deleteAnnouncement: `occupationlab/contest/announcement/deleteAnnouncement`, - disableAnnouncement: `occupationlab/contest/announcement/disableAnnouncement`, - queryAnnouncementByContestId: `occupationlab/contest/announcement/queryAnnouncementByContestId`, - queryAnnouncementDetails: `occupationlab/contest/announcement/queryAnnouncementDetails`, - deleteAnnouncementAnnex: `occupationlab/contestAnnouncementAnnex/delete`, - saveAnnouncementAnnex: `occupationlab/contestAnnouncementAnnex/save`, + addAnnouncement: `occupationlab/occupationlab/contest/announcement/addAnnouncement`, + amendmentAnnouncement: `occupationlab/occupationlab/contest/announcement/amendmentAnnouncement`, + deleteAnnouncement: `occupationlab/occupationlab/contest/announcement/deleteAnnouncement`, + disableAnnouncement: `occupationlab/occupationlab/contest/announcement/disableAnnouncement`, + queryAnnouncementByContestId: `occupationlab/occupationlab/contest/announcement/queryAnnouncementByContestId`, + queryAnnouncementDetails: `occupationlab/occupationlab/contest/announcement/queryAnnouncementDetails`, + deleteAnnouncementAnnex: `occupationlab/occupationlab/contestAnnouncementAnnex/delete`, + saveAnnouncementAnnex: `occupationlab/occupationlab/contestAnnouncementAnnex/save`, // 栏目管理 - addColumn: `occupationlab/enterprise/information/column/addColumn`, - deleteColumn: `occupationlab/enterprise/information/column/deleteColumn`, - editColumn: `occupationlab/enterprise/information/column/editColumn`, - queryAllColumns: `occupationlab/enterprise/information/column/queryAllColumns`, - columnReorder: `occupationlab/enterprise/information/column/reorder`, + addColumn: `occupationlab/occupationlab/enterprise/information/column/addColumn`, + deleteColumn: `occupationlab/occupationlab/enterprise/information/column/deleteColumn`, + editColumn: `occupationlab/occupationlab/enterprise/information/column/editColumn`, + queryAllColumns: `occupationlab/occupationlab/enterprise/information/column/queryAllColumns`, + columnReorder: `occupationlab/occupationlab/enterprise/information/column/reorder`, // 内容管理 - addArticle: `occupationlab/enterprise/information/article/addArticle`, - deleteArticles: `occupationlab/enterprise/information/article/deleteArticles`, - editArticle: `occupationlab/enterprise/information/article/editArticle`, - enableArticle: `occupationlab/enterprise/information/article/enableArticle`, - getArticle: `occupationlab/enterprise/information/article/getArticle`, - getArticles: `occupationlab/enterprise/information/article/getArticles`, - queryArticleByCondition: `occupationlab/enterprise/information/article/queryArticleByCondition`, - articleSort: `occupationlab/enterprise/information/article/articleSort`, + addArticle: `occupationlab/occupationlab/enterprise/information/article/addArticle`, + deleteArticles: `occupationlab/occupationlab/enterprise/information/article/deleteArticles`, + editArticle: `occupationlab/occupationlab/enterprise/information/article/editArticle`, + enableArticle: `occupationlab/occupationlab/enterprise/information/article/enableArticle`, + getArticle: `occupationlab/occupationlab/enterprise/information/article/getArticle`, + getArticles: `occupationlab/occupationlab/enterprise/information/article/getArticles`, + queryArticleByCondition: `occupationlab/occupationlab/enterprise/information/article/queryArticleByCondition`, + articleSort: `occupationlab/occupationlab/enterprise/information/article/articleSort`, // 课程管理 - queryCourseByCondition: `occupationlab/management/edu/course/queryCourseByCondition`, // 课程列表分页条件查询 - addCourse: `occupationlab/management/edu/course/addCourse`, // 添加课程 - deleteCourse: `occupationlab/management/edu/course/deleteCourse`, // 根据id删除课程 - deleteCourses: `occupationlab/management/edu/course/deleteCourses`, // 批量删除课程 - editCourse: `occupationlab/management/edu/course/editCourse`, // 修改课程 - enableCourse: `occupationlab/management/schoolCourse/enableGlCourse`, // 是否启用管理端课程 - getCourse: `occupationlab/management/edu/course/getCourse`, // 根据id查询课程 + queryCourseByCondition: `occupationlab/occupationlab/management/edu/course/queryCourseByCondition`, // 课程列表分页条件查询 + addCourse: `occupationlab/occupationlab/management/edu/course/addCourse`, // 添加课程 + deleteCourse: `occupationlab/occupationlab/management/edu/course/deleteCourse`, // 根据id删除课程 + deleteCourses: `occupationlab/occupationlab/management/edu/course/deleteCourses`, // 批量删除课程 + editCourse: `occupationlab/occupationlab/management/edu/course/editCourse`, // 修改课程 + enableCourse: `occupationlab/occupationlab/management/schoolCourse/enableGlCourse`, // 是否启用管理端课程 + getCourse: `occupationlab/occupationlab/management/edu/course/getCourse`, // 根据id查询课程 // 分类管理 - queryGlClassification: `occupationlab/management/edu/courseClassification/queryGlClassification`, - deleteClassification: `occupationlab/management/edu/courseClassification/deleteClassification`, - addClassification: `occupationlab/management/edu/courseClassification/addClassification`, - editClassification: `occupationlab/management/edu/courseClassification/editClassification`, + queryGlClassification: `occupationlab/occupationlab/management/edu/courseClassification/queryGlClassification`, + deleteClassification: `occupationlab/occupationlab/management/edu/courseClassification/deleteClassification`, + addClassification: `occupationlab/occupationlab/management/edu/courseClassification/addClassification`, + editClassification: `occupationlab/occupationlab/management/edu/courseClassification/editClassification`, // 课程章节管理 - addChapter: `occupationlab/management/edu/courseChapter/addChapter`, - chapterReorder: `occupationlab/management/edu/courseChapter/chapterReorder`, - deleteChapter: `occupationlab/management/edu/courseChapter/deleteChapter`, - editChapter: `occupationlab/management/edu/courseChapter/editChapter`, - queryChaptersAndSubsections: `occupationlab/management/edu/courseChapter/queryChaptersAndSubsections`, - reorder: `occupationlab/management/edu/courseChapter/reorder`, + addChapter: `occupationlab/occupationlab/management/edu/courseChapter/addChapter`, + chapterReorder: `occupationlab/occupationlab/management/edu/courseChapter/chapterReorder`, + deleteChapter: `occupationlab/occupationlab/management/edu/courseChapter/deleteChapter`, + editChapter: `occupationlab/occupationlab/management/edu/courseChapter/editChapter`, + queryChaptersAndSubsections: `occupationlab/occupationlab/management/edu/courseChapter/queryChaptersAndSubsections`, + reorder: `occupationlab/occupationlab/management/edu/courseChapter/reorder`, // 课程小节管理 - addSubsection: `occupationlab/management/edu/courseSubsection/addSubsection`, // 添加小节 - deleteSubsection: `occupationlab/management/edu/courseSubsection/deleteSubsection`, // 根据id删除小节 - editSubsection: `occupationlab/management/edu/courseSubsection/editSubsection`, // 修改小节 - getSubsection: `occupationlab/management/edu/courseSubsection/getSubsection`, // 根据小节id获取预览文件地址 + addSubsection: `occupationlab/occupationlab/management/edu/courseSubsection/addSubsection`, // 添加小节 + deleteSubsection: `occupationlab/occupationlab/management/edu/courseSubsection/deleteSubsection`, // 根据id删除小节 + editSubsection: `occupationlab/occupationlab/management/edu/courseSubsection/editSubsection`, // 修改小节 + getSubsection: `occupationlab/occupationlab/management/edu/courseSubsection/getSubsection`, // 根据小节id获取预览文件地址 // 阿里云文件/视频管理 fileDeletion: `${uploadURL}oss/manage/fileDeletion`, // 删除OSS文件 @@ -204,52 +204,52 @@ export default { // 系统设置 // 员工组织架构 - professionalList: `occupationlab/staff/professionalList`, //查询专业列表 - staffGradeList: `occupationlab/staff/staffGradeList`, //根据专业id查询年级 - saveProfessional: `occupationlab/staff/saveProfessional`, //新增专业 - updateProfessional: `occupationlab/staff/updateProfessional`, //编辑专业 - deleteProfessional: `occupationlab/staff/deleteProfessional`, //删除专业 - saveGrade: `occupationlab/staff/saveGrade`, //新增年级 - updateGrade: `occupationlab/staff/updateGrade`, //编辑年级 - deleteGrade: `occupationlab/staff/deleteGrade`, //删除年级 + professionalList: `occupationlab/occupationlab/staff/professionalList`, //查询专业列表 + staffGradeList: `occupationlab/occupationlab/staff/staffGradeList`, //根据专业id查询年级 + saveProfessional: `occupationlab/occupationlab/staff/saveProfessional`, //新增专业 + updateProfessional: `occupationlab/occupationlab/staff/updateProfessional`, //编辑专业 + deleteProfessional: `occupationlab/occupationlab/staff/deleteProfessional`, //删除专业 + saveGrade: `occupationlab/occupationlab/staff/saveGrade`, //新增年级 + updateGrade: `occupationlab/occupationlab/staff/updateGrade`, //编辑年级 + deleteGrade: `occupationlab/occupationlab/staff/deleteGrade`, //删除年级 // 员工管理 - saveStaff: `occupationlab/staff/saveStaff`, //新增员工 - staffDetail: `occupationlab/staff/staffDetail`, //员工详情 - modifyStaff: `occupationlab/staff/modifyStaff`, //编辑员工 - delStaff: `occupationlab/staff/delStaff`, //删除员工 - staffList: `occupationlab/staff/staffList`, //员工列表 + saveStaff: `occupationlab/occupationlab/staff/saveStaff`, //新增员工 + staffDetail: `occupationlab/occupationlab/staff/staffDetail`, //员工详情 + modifyStaff: `occupationlab/occupationlab/staff/modifyStaff`, //编辑员工 + delStaff: `occupationlab/occupationlab/staff/delStaff`, //删除员工 + staffList: `occupationlab/occupationlab/staff/staffList`, //员工列表 staffTemplate: `http://121.37.12.51/template/员工用户导入模板.xlsx`, //员工用户导入模板 - exportFailureStaff: `${host}occupationlab/staff/exportFailure`, //批量导入员工失败数据导出 - importStaff: `${host}occupationlab/staff/importStaff`, //批量导入员工 + exportFailureStaff: `${host}occupationlab/occupationlab/staff/exportFailure`, //批量导入员工失败数据导出 + importStaff: `${host}occupationlab/occupationlab/staff/importStaff`, //批量导入员工 // 角色管理 - batchRemove: `users/role/batchRemove`, //批量删除角色 - checkRoleIsExist: `users/role/checkRoleIsExist`, //判断该角色是否存在 - delRoleByAccountId: `users/role/delRoleByAccountId`, //删除某用户下的某个角色 - roleList: `users/role/list`, //角色分页列表查询 - obtainDetails: `users/role/obtainDetails`, //获取角色详情 - saveOrUpdate: `users/role/saveOrUpdate`, //新增或更新角色 + batchRemove: `users/users/role/batchRemove`, //批量删除角色 + checkRoleIsExist: `users/users/role/checkRoleIsExist`, //判断该角色是否存在 + delRoleByAccountId: `users/users/role/delRoleByAccountId`, //删除某用户下的某个角色 + roleList: `users/users/role/list`, //角色分页列表查询 + obtainDetails: `users/users/role/obtainDetails`, //获取角色详情 + saveOrUpdate: `users/users/role/saveOrUpdate`, //新增或更新角色 queryAllMenus: `users/users/permission/queryAllMenus`, //查询所有菜单 // 系统logo设置 - logoDetail: `occupationlab/sys/logo/detail`, //查看系统设置信息 - logoSave: `occupationlab/sys/logo/save`, //新增系统设置信息 - logoUpdate: `occupationlab/sys/logo/update`, //编辑系统设置信息 + logoDetail: `occupationlab/occupationlab/sys/logo/detail`, //查看系统设置信息 + logoSave: `occupationlab/occupationlab/sys/logo/save`, //新增系统设置信息 + logoUpdate: `occupationlab/occupationlab/sys/logo/update`, //编辑系统设置信息 // 教师评语 - addComment: `evaluation/comment/addComment`, - queryComment: `evaluation/comment/queryComment`, - updateComment: `evaluation/comment/updateComment`, + addComment: `evaluation/cevaluation/comment/addComment`, + queryComment: `evaluation/evaluation/ccomment/queryComment`, + updateComment: `evaluation/evaluation/ccomment/updateComment`, // 老师签名照 - daleteSignature: `evaluation/signature/daleteSignature`, - querySignature: `evaluation/signature/querySignature`, - uploadSignature: `evaluation/signature/uploadSignature`, + daleteSignature: `evaluation/evaluation/csignature/daleteSignature`, + querySignature: `evaluation/evaluation/csignature/querySignature`, + uploadSignature: `evaluation/evaluation/csignature/uploadSignature`, // 判分点 - queryListTrading: `judgment/tradingJudgmentPoints/query`, - queryDetailsTrading: `judgment/tradingJudgmentPoints/queryDetails`, + queryListTrading: `judgment/judgment/tradingJudgmentPoints/query`, + queryDetailsTrading: `judgment/judgment/tradingJudgmentPoints/queryDetails`, // 科大 queryPoint: `kdSys/queryPoint`, querySubject: `kdSys/querySubject`, diff --git a/src/pages/match/add/index.vue b/src/pages/match/add/index.vue index 9ec13a2..34c3349 100644 --- a/src/pages/match/add/index.vue +++ b/src/pages/match/add/index.vue @@ -193,7 +193,7 @@ export default { form: { id: '', platformSource: 1, // 平台来源(0:中台,1:职站) - ztOpen: 0, // 中台是否开启(0开启 1未开启 默认0) + isOpen: 0, // 职站是否开启(0开启 1未开启 默认0) name: '', sponsor: '', undertaker: '', @@ -404,10 +404,7 @@ export default { }).catch(res => {}) }, handleAnnexRemove(file, fileList) { - debugger - this.$del(`${this.api.fileDeletion}?keys=${this.coverUrl}`).then(res => { - this.carouselUrl = '' - }).catch(res => {}) + file.url && this.$del(`${this.api.fileDeletion}?keys=${file.url}`).then(res => {}).catch(res => {}) }, // 预览 preview() { @@ -446,6 +443,7 @@ export default { this.submiting = true form.publishStatus = status + form.isOpen = status ? 0 : 1 // 保存则禁用,发布则启用 if (this.form.id) { this.$put(this.api.editContest, form).then(res => { this.submiting = false; @@ -637,7 +635,7 @@ $upload-lg-height: 150px; display: flex; align-items: center; margin-bottom: 12px; - font-size: 14px; + font-size: 18px; color: #333; img{ margin-right: 5px; @@ -658,6 +656,13 @@ $upload-lg-height: 150px; } .texts { margin-bottom: 30px; + font-size: 14px; + line-height: 1.6; + text-indent: 2em; + overflow: hidden; + /deep/img{ + max-width: 100%; + } } .files { li { diff --git a/src/pages/match/list/index.vue b/src/pages/match/list/index.vue index 3d53d91..a146ae0 100644 --- a/src/pages/match/list/index.vue +++ b/src/pages/match/list/index.vue @@ -51,33 +51,29 @@ - + - + - - + + - + - - -