学生管理由学号带出其他信息

dev_2022-05-11
yujialong 3 years ago
parent a3a91e83b2
commit d45115be4d
  1. 334
      src/api/index.js
  2. 4
      src/pages/station/preview/index.vue
  3. 8
      src/pages/student/list/index.vue
  4. 20
      src/setting.js

@ -4,163 +4,163 @@ let uploadURL = Setting.upload.apiURL;
let host1 = "http://39.108.250.202:8080/"; // 川大 let host1 = "http://39.108.250.202:8080/"; // 川大
export default { export default {
queryToken: `${host}liuwanr/userInfo/queryToken`, queryToken: `liuwanr/userInfo/queryToken`,
logins: `${host}users/users/user/login`, //登录 logins: `users/users/user/login`, //登录
verification: `${host}users/users/user/captcha`,// 验证码图片 verification: `${host}users/users/user/captcha`,// 验证码图片
isClient: `${host}users/users/user/isClient`,// 是否为客户 isClient: `users/users/user/isClient`,// 是否为客户
getUserAllRoleByToken : `${host}users/role/getUserAllRoleByToken`, getUserAllRoleByToken : `users/role/getUserAllRoleByToken`,
//实验台 //实验台
curriculumDetail: `${host}nakadai/nakadai/curriculum/curriculumDetail`, // 课程详情 curriculumDetail: `nakadai/nakadai/curriculum/curriculumDetail`, // 课程详情
curriculumChapter: `${host}nakadai/curriculum/chapter/queryChaptersAndSubsections`, // 根据课程id查询章节小节,树状结构 curriculumChapter: `nakadai/curriculum/chapter/queryChaptersAndSubsections`, // 根据课程id查询章节小节,树状结构
curriculumGetSubsection: `${host}nakadai/curriculum/subsection/getSubsection`, // 根据小节id获取预览文件地址 curriculumGetSubsection: `nakadai/curriculum/subsection/getSubsection`, // 根据小节id获取预览文件地址
// 权限管理 // 权限管理
getUserRolesPermissionMenu: `${host}users/user-role/getUserRolesPermissionMenu`, getUserRolesPermissionMenu: `users/user-role/getUserRolesPermissionMenu`,
//学生管理 //学生管理
resetPassword: `${host}users/users/userAccount/resetPwd`, // 密码重置 resetPassword: `users/users/userAccount/resetPwd`, // 密码重置
updateAccountEnable: `${host}occupationlab/architecture/updateAccountEnable`, // 密码重置 updateAccountEnable: `occupationlab/architecture/updateAccountEnable`, // 密码重置
checkEmailOrPhone: `${host}occupationlab/architecture/checkEmailOrPhone`, // 新增学生前:校验手机号或者邮箱 checkEmailOrPhone: `occupationlab/architecture/checkEmailOrPhone`, // 新增学生前:校验手机号或者邮箱
checkWorkNumOrAccount: `${host}occupationlab/architecture/checkWorkNumOrAccount`, // 新增/编辑学生前:校验学号或者学生账号 checkWorkNumOrAccount: `occupationlab/architecture/checkWorkNumOrAccount`, // 新增/编辑学生前:校验学号或者学生账号
delStudent: `${host}occupationlab/architecture/delStudent`, // 单个、批量删除学生 delStudent: `occupationlab/architecture/delStudent`, // 单个、批量删除学生
addStudent: `${host}occupationlab/architecture/addStudent`, // 新增学生 addStudent: `occupationlab/architecture/addStudent`, // 新增学生
modifyStudent: `${host}occupationlab/architecture/modifyStudent`, // 编辑学生 modifyStudent: `occupationlab/architecture/modifyStudent`, // 编辑学生
getStudentInfoByAccountId: `${host}occupationlab/architecture/getStudentInfoByAccountId`, // 查看学生信息 getStudentInfoByAccountId: `occupationlab/architecture/getStudentInfoByAccountId`, // 查看学生信息
getDetailByAccount: `${host}occupationlab/architecture/getDetailByAccount`, // 新增用户前调用:按帐户获取详细信息 getDetailByAccount: `occupationlab/architecture/getDetailByAccount`, // 新增用户前调用:按帐户获取详细信息
importStudent: `${host}occupationlab/architecture/importStudent`, // 批量导入学生 importStudent: `${host}occupationlab/architecture/importStudent`, // 批量导入学生
exportFailure: `${host}occupationlab/architecture/exportFailure`, // 批量导入学生失败数据导出 exportFailure: `${host}occupationlab/architecture/exportFailure`, // 批量导入学生失败数据导出
removeStudent: `${host}occupationlab/architecture/removeStudent`, // 移除学生 removeStudent: `occupationlab/architecture/removeStudent`, // 移除学生
organizationalStudentList: `${host}occupationlab/architecture/organizationalStudentList`, // 根据组织架构筛选学生列表 organizationalStudentList: `occupationlab/architecture/organizationalStudentList`, // 根据组织架构筛选学生列表
studentList: `${host}occupationlab/architecture/studentList`, // 学生列表 studentList: `occupationlab/architecture/studentList`, // 学生列表
stuOrganizationTree: `${host}occupationlab/architecture/stuOrganizationTree`, // 学生组织架构树 stuOrganizationTree: `occupationlab/architecture/stuOrganizationTree`, // 学生组织架构树
treeList: `${host}occupationlab/architecture/treeList`, // 学生组织架构树形列表 treeList: `occupationlab/architecture/treeList`, // 学生组织架构树形列表
saveOrg: `${host}occupationlab/architecture/save`, // 新增组织架构 saveOrg: `occupationlab/architecture/save`, // 新增组织架构
updateOrg: `${host}occupationlab/architecture/update`, // 编辑组织架构 updateOrg: `occupationlab/architecture/update`, // 编辑组织架构
deleteOrg: `${host}occupationlab/architecture/delete`, // 删除组织架构 deleteOrg: `occupationlab/architecture/delete`, // 删除组织架构
studentTemplate: `http://39.108.250.202/template/学生导入模板.xlsx`, // 学生导入模板 studentTemplate: `http://39.108.250.202/template/学生导入模板.xlsx`, // 学生导入模板
// 测评管理 // 测评管理
questionsList: `${host}occupationlab/questions/list`, // 题库列表查询 questionsList: `occupationlab/questions/list`, // 题库列表查询
questionsSave: `${host}occupationlab/questions/save`, // 新增题目 questionsSave: `occupationlab/questions/save`, // 新增题目
questionsUpdate: `${host}occupationlab/questions/update`, // 根据试题id修改试题信息 questionsUpdate: `occupationlab/questions/update`, // 根据试题id修改试题信息
questionsDetail: `${host}occupationlab/questions/detail`, // 查看当前题库信息 questionsDetail: `occupationlab/questions/detail`, // 查看当前题库信息
questionsDelete: `${host}occupationlab/questions/delete`, // 根据主键删除 questionsDelete: `occupationlab/questions/delete`, // 根据主键删除
questionsIsDisable: `${host}occupationlab/questions/isDisable`, // 是否禁用试题 questionsIsDisable: `occupationlab/questions/isDisable`, // 是否禁用试题
questionsTemplate: `http://39.108.250.202/template/试题导入模板.xlsx`, //excel模板文件下载 questionsTemplate: `http://39.108.250.202/template/试题导入模板.xlsx`, //excel模板文件下载
questionsImport: `${host}occupationlab/questions/importQuestion`, // 批量导入题库 questionsImport: `${host}occupationlab/questions/importQuestion`, // 批量导入题库
questionsExportFailure: `${host}occupationlab/questions/exportFailure`, // 批量导入题库失败数据导出 questionsExportFailure: `${host}occupationlab/questions/exportFailure`, // 批量导入题库失败数据导出
questionsInfo: `${host}occupationlab/questions/info`, // 测评规则信息的展示 questionsInfo: `occupationlab/questions/info`, // 测评规则信息的展示
questionsUpdateRules: `${host}occupationlab/questions/updateEvaluationRules`, // 修改测评规则信息 questionsUpdateRules: `occupationlab/questions/updateEvaluationRules`, // 修改测评规则信息
// 考核管理 // 考核管理
pageByCondition: `${host}occupationlab/assessment/pageByCondition`, // 考核管理列表 pageByCondition: `occupationlab/assessment/pageByCondition`, // 考核管理列表
saveAssessment: `${host}occupationlab/assessment/saveAssessment`, // 创建考核 saveAssessment: `occupationlab/assessment/saveAssessment`, // 创建考核
modifyAssessment: `${host}occupationlab/assessment/modifyAssessment`, // 编辑考核 modifyAssessment: `occupationlab/assessment/modifyAssessment`, // 编辑考核
enableAssessment: `${host}occupationlab/assessment/enableAssessment`, // 修改考核状态 enableAssessment: `occupationlab/assessment/enableAssessment`, // 修改考核状态
getDetailById: `${host}occupationlab/assessment/getDetailById`, // 根据考核Id查询考核详情 getDetailById: `occupationlab/assessment/getDetailById`, // 根据考核Id查询考核详情
deleteAssessment: `${host}occupationlab/assessment/deleteAssessment`, // 单个、批量删除 deleteAssessment: `occupationlab/assessment/deleteAssessment`, // 单个、批量删除
collectPaper: `${host}occupationlab/assessment/collectPaper`, // 收卷(提前结束) collectPaper: `occupationlab/assessment/collectPaper`, // 收卷(提前结束)
schoolCourse: `${host}nakadai/nakadai/curriculum/schoolCourse`, // 获取学校购买订单后的课程 schoolCourse: `nakadai/nakadai/curriculum/schoolCourse`, // 获取学校购买订单后的课程
projectListByCourseId: `${host}occupationlab/projectManage/getSchoolProjectByAssessent`, // 根据课程id获取实训项目列表 projectListByCourseId: `occupationlab/projectManage/getSchoolProjectByAssessent`, // 根据课程id获取实训项目列表
// 成绩管理 // 成绩管理
deleteExperimentalReport: `${host}occupationlab/achievement/deleteExperimentalReport`, // 单个、批量删除实验报告 deleteExperimentalReport: `occupationlab/achievement/deleteExperimentalReport`, // 单个、批量删除实验报告
exportAssessmentInfo: `${host}occupationlab/achievement/exportAssessmentInfo`, // 批量导出考核成绩 exportAssessmentInfo: `occupationlab/achievement/exportAssessmentInfo`, // 批量导出考核成绩
exportPracticeInfo: `${host}occupationlab/achievement/exportPracticeInfo`, // 批量导出练习成绩 exportPracticeInfo: `occupationlab/achievement/exportPracticeInfo`, // 批量导出练习成绩
getAchievementInfo: `${host}occupationlab/achievement/getAchievementInfo`, // 管理端成绩管理 getAchievementInfo: `occupationlab/achievement/getAchievementInfo`, // 管理端成绩管理
getAssessmentDetail: `${host}occupationlab/achievement/getAssessmentDetail`, // 管理端考核成绩详情 getAssessmentDetail: `occupationlab/achievement/getAssessmentDetail`, // 管理端考核成绩详情
getPracticeDetail: `${host}occupationlab/achievement/getPracticeDetail`, // 管理端练习成绩详情 getPracticeDetail: `occupationlab/achievement/getPracticeDetail`, // 管理端练习成绩详情
myClass: `${host}occupationlab/achievement/myClass`, // 教师端:我的班级 myClass: `occupationlab/achievement/myClass`, // 教师端:我的班级
deleteReportById: `${host}occupationlab/achievement/deleteReportById`, // 批量删除成绩管理中的项目/批量删除成绩管理中的考核 deleteReportById: `occupationlab/achievement/deleteReportById`, // 批量删除成绩管理中的项目/批量删除成绩管理中的考核
reportDetail: `${host}occupationlab/achievement/reportDetail`, // 查看实验报告 reportDetail: `occupationlab/achievement/reportDetail`, // 查看实验报告
schoolCourseByAchievement: `${host}nakadai/nakadai/curriculum/schoolCourseByAchievement`, // 获取学校购买订单后的课程 schoolCourseByAchievement: `nakadai/nakadai/curriculum/schoolCourseByAchievement`, // 获取学校购买订单后的课程
spliceClass: `${host}occupationlab/achievement/spliceClass`, spliceClass: `occupationlab/achievement/spliceClass`,
// 项目管理 // 项目管理
getSystemIdBySchool: `${host}occupationlab/projectManage/getSystemIdBySchool`, // 获取学校下拥有的系统 getSystemIdBySchool: `occupationlab/projectManage/getSystemIdBySchool`, // 获取学校下拥有的系统
avgValues: `${host}occupationlab/projectManage/avgValues`, // 平均分分配值 avgValues: `occupationlab/projectManage/avgValues`, // 平均分分配值
deleteProjectManage: `${host}occupationlab/projectManage/deleteProjectManage`, // 新增项目管理 deleteProjectManage: `occupationlab/projectManage/deleteProjectManage`, // 新增项目管理
getProjectBySystemId: `${host}occupationlab/projectManage/getProjectBySystemId`, // 根据系统id获取全部项目(项目中没有用上这个接口) getProjectBySystemId: `occupationlab/projectManage/getProjectBySystemId`, // 根据系统id获取全部项目(项目中没有用上这个接口)
queryNameIsExist: `${host}occupationlab/projectManage/queryNameIsExist`, // 新增/编辑项目管理名称判重 queryNameIsExist: `occupationlab/projectManage/queryNameIsExist`, // 新增/编辑项目管理名称判重
queryProjectManage: `${host}occupationlab/projectManage/queryProjectManage`, // 项目管理列表(分页、筛选) queryProjectManage: `occupationlab/projectManage/queryProjectManage`, // 项目管理列表(分页、筛选)
updateIsOpen: `${host}occupationlab/projectManage/updateIsOpen`, // 更新开启状态 updateIsOpen: `occupationlab/projectManage/updateIsOpen`, // 更新开启状态
getProjectDetail: `${host}occupationlab/projectManage/getProjectDetail`, // 根据项目id查询详情 getProjectDetail: `occupationlab/projectManage/getProjectDetail`, // 根据项目id查询详情
saveProjectDraft: `${host}occupationlab/projectManage/saveProjectDraft`, // 新增项目管理 saveProjectDraft: `occupationlab/projectManage/saveProjectDraft`, // 新增项目管理
addProjectManage: `${host}occupationlab/projectManage/addProjectManage`, // 新增项目管理 addProjectManage: `occupationlab/projectManage/addProjectManage`, // 新增项目管理
updateProjectManage: `${host}occupationlab/projectManage/updateProjectManage`, // 修改项目管理 updateProjectManage: `occupationlab/projectManage/updateProjectManage`, // 修改项目管理
editProjectDraft: `${host}occupationlab/projectManage/editProjectDraft`, // 修改项目管理 editProjectDraft: `occupationlab/projectManage/editProjectDraft`, // 修改项目管理
copyProjectManage: `${host}occupationlab/projectManage/copyProjectManage`, // 复制项目管理 copyProjectManage: `occupationlab/projectManage/copyProjectManage`, // 复制项目管理
// 判分点 // 判分点
getBcJudgmentPoint: `${host}judgment/bcJudgmentPoint/getTeacherJudgmentPoint`, // 获取编程类判分点列表(分页) getBcJudgmentPoint: `judgment/bcJudgmentPoint/getTeacherJudgmentPoint`, // 获取编程类判分点列表(分页)
getLcJudgmentPoint: `${host}judgment/lcJudgmentPoint/queryAllJudgmentPoint`, // 获取流程类判分点列表(分页) getLcJudgmentPoint: `judgment/lcJudgmentPoint/queryAllJudgmentPoint`, // 获取流程类判分点列表(分页)
addProjectJudgment: `${host}occupationlab/projectJudgment/addProjectJudgment`, // 添加项目管理、判分点中间表 addProjectJudgment: `occupationlab/projectJudgment/addProjectJudgment`, // 添加项目管理、判分点中间表
updateProjectJudgment: `${host}occupationlab/projectJudgment/updateProjectJudgment`, // 判分点中间表批量更新 updateProjectJudgment: `occupationlab/projectJudgment/updateProjectJudgment`, // 判分点中间表批量更新
deleteProjectJudgment: `${host}occupationlab/projectJudgment/deleteProjectJudgment`, // 判分点中间表批量删除 deleteProjectJudgment: `occupationlab/projectJudgment/deleteProjectJudgment`, // 判分点中间表批量删除
// 赛事管理 // 赛事管理
addContest: `${host}occupationlab/enterprise/match/contest/addContest`, addContest: `occupationlab/enterprise/match/contest/addContest`,
deleteContest: `${host}occupationlab/enterprise/match/contest/deleteContest`, deleteContest: `occupationlab/enterprise/match/contest/deleteContest`,
editContest: `${host}occupationlab/enterprise/match/contest/editContest`, editContest: `occupationlab/enterprise/match/contest/editContest`,
publishContest: `${host}occupationlab/enterprise/match/contest/publishContest`, publishContest: `occupationlab/enterprise/match/contest/publishContest`,
getContest: `${host}occupationlab/enterprise/match/contest/getContest`, getContest: `occupationlab/enterprise/match/contest/getContest`,
queryContestByCondition: `${host}occupationlab/enterprise/match/contest/queryContestByCondition`, queryContestByCondition: `occupationlab/enterprise/match/contest/queryContestByCondition`,
// 竞赛进展 // 竞赛进展
addContestProgress: `${host}occupationlab/enterprise/match/contest-progress/addContestProgress`, addContestProgress: `occupationlab/enterprise/match/contest-progress/addContestProgress`,
deleteContestProgress: `${host}occupationlab/enterprise/match/contest-progress/deleteContestProgress`, deleteContestProgress: `occupationlab/enterprise/match/contest-progress/deleteContestProgress`,
getContestProgress: `${host}occupationlab/enterprise/match/contest-progress/getContestProgress`, getContestProgress: `occupationlab/enterprise/match/contest-progress/getContestProgress`,
editContestProgress: `${host}occupationlab/enterprise/match/contest-progress/editContestProgress`, editContestProgress: `occupationlab/enterprise/match/contest-progress/editContestProgress`,
// 报名人员 // 报名人员
addApplicant: `${host}occupationlab/enterprise/match/applicant/addApplicant`, addApplicant: `occupationlab/enterprise/match/applicant/addApplicant`,
disableContests: `${host}occupationlab/enterprise/match/applicant/disableContests`, disableContests: `occupationlab/enterprise/match/applicant/disableContests`,
excelExport: `${host}occupationlab/enterprise/match/applicant/excelExport`, excelExport: `occupationlab/enterprise/match/applicant/excelExport`,
queryApplicantByCondition: `${host}occupationlab/enterprise/match/applicant/queryApplicantByCondition`, queryApplicantByCondition: `occupationlab/enterprise/match/applicant/queryApplicantByCondition`,
disableApplicant: `${host}occupationlab/enterprise/match/applicant/disableApplicant`, disableApplicant: `occupationlab/enterprise/match/applicant/disableApplicant`,
batchExport: `${host}occupationlab/enterprise/match/applicant/batchExport`, batchExport: `occupationlab/enterprise/match/applicant/batchExport`,
// 栏目管理 // 栏目管理
addColumn: `${host}occupationlab/enterprise/information/column/addColumn`, addColumn: `occupationlab/enterprise/information/column/addColumn`,
deleteColumn: `${host}occupationlab/enterprise/information/column/deleteColumn`, deleteColumn: `occupationlab/enterprise/information/column/deleteColumn`,
editColumn: `${host}occupationlab/enterprise/information/column/editColumn`, editColumn: `occupationlab/enterprise/information/column/editColumn`,
queryAllColumns: `${host}occupationlab/enterprise/information/column/queryAllColumns`, queryAllColumns: `occupationlab/enterprise/information/column/queryAllColumns`,
columnReorder: `${host}occupationlab/enterprise/information/column/reorder`, columnReorder: `occupationlab/enterprise/information/column/reorder`,
// 内容管理 // 内容管理
addArticle: `${host}occupationlab/enterprise/information/article/addArticle`, addArticle: `occupationlab/enterprise/information/article/addArticle`,
deleteArticles: `${host}occupationlab/enterprise/information/article/deleteArticles`, deleteArticles: `occupationlab/enterprise/information/article/deleteArticles`,
editArticle: `${host}occupationlab/enterprise/information/article/editArticle`, editArticle: `occupationlab/enterprise/information/article/editArticle`,
enableArticle: `${host}occupationlab/enterprise/information/article/enableArticle`, enableArticle: `occupationlab/enterprise/information/article/enableArticle`,
getArticle: `${host}occupationlab/enterprise/information/article/getArticle`, getArticle: `occupationlab/enterprise/information/article/getArticle`,
getArticles: `${host}occupationlab/enterprise/information/article/getArticles`, getArticles: `occupationlab/enterprise/information/article/getArticles`,
queryArticleByCondition: `${host}occupationlab/enterprise/information/article/queryArticleByCondition`, queryArticleByCondition: `occupationlab/enterprise/information/article/queryArticleByCondition`,
articleSort: `${host}occupationlab/enterprise/information/article/articleSort`, articleSort: `occupationlab/enterprise/information/article/articleSort`,
// 课程管理 // 课程管理
queryCourseByCondition: `${host}occupationlab/management/edu/course/queryCourseByCondition`, // 课程列表分页条件查询 queryCourseByCondition: `occupationlab/management/edu/course/queryCourseByCondition`, // 课程列表分页条件查询
addCourse: `${host}occupationlab/management/edu/course/addCourse`, // 添加课程 addCourse: `occupationlab/management/edu/course/addCourse`, // 添加课程
deleteCourse: `${host}occupationlab/management/edu/course/deleteCourse`, // 根据id删除课程 deleteCourse: `occupationlab/management/edu/course/deleteCourse`, // 根据id删除课程
deleteCourses: `${host}occupationlab/management/edu/course/deleteCourses`, // 批量删除课程 deleteCourses: `occupationlab/management/edu/course/deleteCourses`, // 批量删除课程
editCourse: `${host}occupationlab/management/edu/course/editCourse`, // 修改课程 editCourse: `occupationlab/management/edu/course/editCourse`, // 修改课程
enableCourse: `${host}occupationlab/management/schoolCourse/enableGlCourse`, // 是否启用管理端课程 enableCourse: `occupationlab/management/schoolCourse/enableGlCourse`, // 是否启用管理端课程
getCourse: `${host}occupationlab/management/edu/course/getCourse`, // 根据id查询课程 getCourse: `occupationlab/management/edu/course/getCourse`, // 根据id查询课程
// 分类管理 // 分类管理
queryGlClassification: `${host}occupationlab/management/edu/courseClassification/queryGlClassification`, queryGlClassification: `occupationlab/management/edu/courseClassification/queryGlClassification`,
deleteClassification: `${host}occupationlab/management/edu/courseClassification/deleteClassification`, deleteClassification: `occupationlab/management/edu/courseClassification/deleteClassification`,
addClassification: `${host}occupationlab/management/edu/courseClassification/addClassification`, addClassification: `occupationlab/management/edu/courseClassification/addClassification`,
editClassification: `${host}occupationlab/management/edu/courseClassification/editClassification`, editClassification: `occupationlab/management/edu/courseClassification/editClassification`,
// 课程章节管理 // 课程章节管理
addChapter: `${host}occupationlab/management/edu/courseChapter/addChapter`, addChapter: `occupationlab/management/edu/courseChapter/addChapter`,
chapterReorder: `${host}occupationlab/management/edu/courseChapter/chapterReorder`, chapterReorder: `occupationlab/management/edu/courseChapter/chapterReorder`,
deleteChapter: `${host}occupationlab/management/edu/courseChapter/deleteChapter`, deleteChapter: `occupationlab/management/edu/courseChapter/deleteChapter`,
editChapter: `${host}occupationlab/management/edu/courseChapter/editChapter`, editChapter: `occupationlab/management/edu/courseChapter/editChapter`,
queryChaptersAndSubsections: `${host}occupationlab/management/edu/courseChapter/queryChaptersAndSubsections`, queryChaptersAndSubsections: `occupationlab/management/edu/courseChapter/queryChaptersAndSubsections`,
reorder: `${host}occupationlab/management/edu/courseChapter/reorder`, reorder: `occupationlab/management/edu/courseChapter/reorder`,
// 课程小节管理 // 课程小节管理
addSubsection: `${host}occupationlab/management/edu/courseSubsection/addSubsection`, // 添加小节 addSubsection: `occupationlab/management/edu/courseSubsection/addSubsection`, // 添加小节
deleteSubsection: `${host}occupationlab/management/edu/courseSubsection/deleteSubsection`, // 根据id删除小节 deleteSubsection: `occupationlab/management/edu/courseSubsection/deleteSubsection`, // 根据id删除小节
editSubsection: `${host}occupationlab/management/edu/courseSubsection/editSubsection`, // 修改小节 editSubsection: `occupationlab/management/edu/courseSubsection/editSubsection`, // 修改小节
getSubsection: `${host}occupationlab/management/edu/courseSubsection/getSubsection`, // 根据小节id获取预览文件地址 getSubsection: `occupationlab/management/edu/courseSubsection/getSubsection`, // 根据小节id获取预览文件地址
// 阿里云文件/视频管理 // 阿里云文件/视频管理
fileDeletion: `${uploadURL}oss/manage/fileDeletion`, // 删除OSS文件 fileDeletion: `${uploadURL}oss/manage/fileDeletion`, // 删除OSS文件
@ -169,73 +169,73 @@ export default {
removeMoreVideo: `${uploadURL}oss/manage/removeMoreVideo`, // 批量删除视频文件 removeMoreVideo: `${uploadURL}oss/manage/removeMoreVideo`, // 批量删除视频文件
removeVideo: `${uploadURL}oss/manage/removeVideo`, // 删除视频文件 removeVideo: `${uploadURL}oss/manage/removeVideo`, // 删除视频文件
queryProvince: `${host}nakadai/nakadai/province/queryProvince`, //查询省份 queryProvince: `nakadai/nakadai/province/queryProvince`, //查询省份
queryCity: `${host}nakadai/nakadai/city/queryCity`, //查询城市 queryCity: `nakadai/nakadai/city/queryCity`, //查询城市
querySchoolData: `${host}nakadai/nakadai/school/querySchool`, //根据学校名称查询学校信息 querySchoolData: `nakadai/nakadai/school/querySchool`, //根据学校名称查询学校信息
queryCourseDiscipline: `${host}nakadai/nakadai/subject/courseDiscipline`, //查询课程学科 queryCourseDiscipline: `nakadai/nakadai/subject/courseDiscipline`, //查询课程学科
queryCourseProfessionalClass: `${host}nakadai/nakadai/subject/courseProfessionalClass`, //查询专业类 queryCourseProfessionalClass: `nakadai/nakadai/subject/courseProfessionalClass`, //查询专业类
queryCourseProfessional: `${host}nakadai/nakadai/subject/courseProfessional`, //查询专业 queryCourseProfessional: `nakadai/nakadai/subject/courseProfessional`, //查询专业
// 个人中心 // 个人中心
uploadUserAvatars: `${host}users/users/userAccount/updateUserAvatars`, //更改头像 uploadUserAvatars: `users/users/userAccount/updateUserAvatars`, //更改头像
queryUserInfoDetails: `${host}users/users/userAccount/queryUserInfoDetails`,//个人中心信息展示 queryUserInfoDetails: `users/users/userAccount/queryUserInfoDetails`,//个人中心信息展示
updatePersonCenter: `${host}users/users/userAccount/updatePersonCenter`,//个人中心信息修改 updatePersonCenter: `users/users/userAccount/updatePersonCenter`,//个人中心信息修改
examinePassword: `${host}users/users/userAccount/examinePassword`,//更换密码 examinePassword: `users/users/userAccount/examinePassword`,//更换密码
bindPhoneOrEmail: `${host}users/users/userAccount/bindPhoneOrEmail`,// 绑定手机或邮箱 bindPhoneOrEmail: `users/users/userAccount/bindPhoneOrEmail`,// 绑定手机或邮箱
sendPhoneOrEmailCode: `${host}users/users/userAccount/sendPhoneOrEmailCode`,// 更换手机号或邮箱--发送手机验证码 sendPhoneOrEmailCode: `users/users/userAccount/sendPhoneOrEmailCode`,// 更换手机号或邮箱--发送手机验证码
// 系统设置 // 系统设置
// 员工组织架构 // 员工组织架构
professionalList: `${host}occupationlab/staff/professionalList`, //查询专业列表 professionalList: `occupationlab/staff/professionalList`, //查询专业列表
staffGradeList: `${host}occupationlab/staff/staffGradeList`, //根据专业id查询年级 staffGradeList: `occupationlab/staff/staffGradeList`, //根据专业id查询年级
saveProfessional: `${host}occupationlab/staff/saveProfessional`, //新增专业 saveProfessional: `occupationlab/staff/saveProfessional`, //新增专业
updateProfessional: `${host}occupationlab/staff/updateProfessional`, //编辑专业 updateProfessional: `occupationlab/staff/updateProfessional`, //编辑专业
deleteProfessional: `${host}occupationlab/staff/deleteProfessional`, //删除专业 deleteProfessional: `occupationlab/staff/deleteProfessional`, //删除专业
saveGrade: `${host}occupationlab/staff/saveGrade`, //新增年级 saveGrade: `occupationlab/staff/saveGrade`, //新增年级
updateGrade: `${host}occupationlab/staff/updateGrade`, //编辑年级 updateGrade: `occupationlab/staff/updateGrade`, //编辑年级
deleteGrade: `${host}occupationlab/staff/deleteGrade`, //删除年级 deleteGrade: `occupationlab/staff/deleteGrade`, //删除年级
// 员工管理 // 员工管理
saveStaff: `${host}occupationlab/staff/saveStaff`, //新增员工 saveStaff: `occupationlab/staff/saveStaff`, //新增员工
staffDetail: `${host}occupationlab/staff/staffDetail`, //员工详情 staffDetail: `occupationlab/staff/staffDetail`, //员工详情
modifyStaff: `${host}occupationlab/staff/modifyStaff`, //编辑员工 modifyStaff: `occupationlab/staff/modifyStaff`, //编辑员工
delStaff: `${host}occupationlab/staff/delStaff`, //删除员工 delStaff: `occupationlab/staff/delStaff`, //删除员工
staffList: `${host}occupationlab/staff/staffList`, //员工列表 staffList: `occupationlab/staff/staffList`, //员工列表
staffTemplate: `http://39.108.250.202/template/员工用户导入模板.xlsx`, //员工用户导入模板 staffTemplate: `http://39.108.250.202/template/员工用户导入模板.xlsx`, //员工用户导入模板
exportFailureStaff: `${host}occupationlab/staff/exportFailure`, //批量导入员工失败数据导出 exportFailureStaff: `${host}occupationlab/staff/exportFailure`, //批量导入员工失败数据导出
importStaff: `${host}occupationlab/staff/importStaff`, //批量导入员工 importStaff: `${host}occupationlab/staff/importStaff`, //批量导入员工
// 角色管理 // 角色管理
batchRemove: `${host}users/role/batchRemove`, //批量删除角色 batchRemove: `users/role/batchRemove`, //批量删除角色
checkRoleIsExist: `${host}users/role/checkRoleIsExist`, //判断该角色是否存在 checkRoleIsExist: `users/role/checkRoleIsExist`, //判断该角色是否存在
delRoleByAccountId: `${host}users/role/delRoleByAccountId`, //删除某用户下的某个角色 delRoleByAccountId: `users/role/delRoleByAccountId`, //删除某用户下的某个角色
roleList: `${host}users/role/list`, //角色分页列表查询 roleList: `users/role/list`, //角色分页列表查询
obtainDetails: `${host}users/role/obtainDetails`, //获取角色详情 obtainDetails: `users/role/obtainDetails`, //获取角色详情
saveOrUpdate: `${host}users/role/saveOrUpdate`, //新增或更新角色 saveOrUpdate: `users/role/saveOrUpdate`, //新增或更新角色
queryAllMenus: `${host}users/users/permission/queryAllMenus`, //查询所有菜单 queryAllMenus: `users/users/permission/queryAllMenus`, //查询所有菜单
// 系统logo设置 // 系统logo设置
logoDetail: `${host}occupationlab/sys/logo/detail`, //查看系统设置信息 logoDetail: `occupationlab/sys/logo/detail`, //查看系统设置信息
logoSave: `${host}occupationlab/sys/logo/save`, //新增系统设置信息 logoSave: `occupationlab/sys/logo/save`, //新增系统设置信息
logoUpdate: `${host}occupationlab/sys/logo/update`, //编辑系统设置信息 logoUpdate: `occupationlab/sys/logo/update`, //编辑系统设置信息
// 教师评语 // 教师评语
addComment: `${host}evaluation/comment/addComment`, addComment: `evaluation/comment/addComment`,
queryComment: `${host}evaluation/comment/queryComment`, queryComment: `evaluation/comment/queryComment`,
updateComment: `${host}evaluation/comment/updateComment`, updateComment: `evaluation/comment/updateComment`,
// 老师签名照 // 老师签名照
daleteSignature: `${host}evaluation/signature/daleteSignature`, daleteSignature: `evaluation/signature/daleteSignature`,
querySignature: `${host}evaluation/signature/querySignature`, querySignature: `evaluation/signature/querySignature`,
uploadSignature: `${host}evaluation/signature/uploadSignature`, uploadSignature: `evaluation/signature/uploadSignature`,
// 判分点 // 判分点
queryListTrading: `${host}judgment/tradingJudgmentPoints/query`, queryListTrading: `judgment/tradingJudgmentPoints/query`,
queryDetailsTrading: `${host}judgment/tradingJudgmentPoints/queryDetails`, queryDetailsTrading: `judgment/tradingJudgmentPoints/queryDetails`,
// 科大 // 科大
queryPoint: `${host}kdSys/queryPoint`, queryPoint: `kdSys/queryPoint`,
querySubject: `${host}kdSys/querySubject`, querySubject: `kdSys/querySubject`,
queryItem: `${host}kdSys/queryItem`, queryItem: `kdSys/queryItem`,
// 川大 // 川大
firstLevel: `${host1}sichuan/point/firstLevel`, firstLevel: `${host1}sichuan/point/firstLevel`,
secondaryLevel: `${host1}sichuan/point/secondaryLevel`, secondaryLevel: `${host1}sichuan/point/secondaryLevel`,

@ -296,7 +296,7 @@ export default {
let roleId = this.roleId == 4 ? 0 : 1; let roleId = this.roleId == 4 ? 0 : 1;
let userName = window.btoa(encodeURIComponent(this.userName)); let userName = window.btoa(encodeURIComponent(this.userName));
if (id == 11) { if (id == 11) {
href = `${Setting.bankPath}/#/index/list?token=${token}&cid=${this.courseId}&systemId=${this.assessmentList[0].systemId}&projectId=&assessmentId=&classId=&stopTime=&test=true` location.href = `${Setting.bankPath}/#/index/list?token=${token}&cid=${this.courseId}&systemId=${this.assessmentList[0].systemId}&projectId=&assessmentId=&classId=&stopTime=&test=true`
} else if (id == 21) { } else if (id == 21) {
window.open(`http://121.37.29.24:80/yyyflogin?userId=${this.userId}&userName=${userName}&userType=${roleId}&reqType=1&reqId=3989a0ad671849b99dcbdcc208782333&caseId=9681f86902314b10bc752909121f9ab9&authorization=87DIVy348Oxzj3ha&classId=1876&courserId=7ff5d4715b114b7398b6f26c20fac460`); window.open(`http://121.37.29.24:80/yyyflogin?userId=${this.userId}&userName=${userName}&userType=${roleId}&reqType=1&reqId=3989a0ad671849b99dcbdcc208782333&caseId=9681f86902314b10bc752909121f9ab9&authorization=87DIVy348Oxzj3ha&classId=1876&courserId=7ff5d4715b114b7398b6f26c20fac460`);
} else if (id == 22) { } else if (id == 22) {
@ -308,7 +308,7 @@ export default {
href = `${location.origin}/pyTrials` // 8pythoncookiesystemId href = `${location.origin}/pyTrials` // 8pythoncookiesystemId
} }
} }
if (id != 21 && id != 22) { if (id != 21 && id != 22 && id != 11) {
util.cookies.set("assessmentId", "", -1); util.cookies.set("assessmentId", "", -1);
util.cookies.set("projectId", "", -1); util.cookies.set("projectId", "", -1);
util.cookies.set("startTime", "", -1); util.cookies.set("startTime", "", -1);

@ -800,11 +800,13 @@ export default {
} }
}).catch(err => { }).catch(err => {
this.$post(`${this.api.getDetailByAccount}?workNumber=${this.form.workNumber}&platformId=${Setting.platformId}&type=1`).then(res => { this.$post(`${this.api.getDetailByAccount}?workNumber=${this.form.workNumber}&platformId=${Setting.platformId}&type=1`).then(res => {
const { data } = res
this.showTree = true; this.showTree = true;
let classId = res.data.classList.map(e => e.id); let classId = data.classList.map(e => e.id).toString();
this.form.classId = classId.toString(); this.form = data
this.form.classId = classId
this.defaultCheckedKeys = classId.split(",").map(i => Number(i));
delete this.form.classList; delete this.form.classList;
// this.showTree = true;
this.accountReapeat = false; this.accountReapeat = false;
this.$refs.form.clearValidate(); this.$refs.form.clearValidate();
}).catch(res => {}); }).catch(res => {});

@ -9,10 +9,10 @@ const isBeta = url.includes("120.78.198.231"); //是否职站测试
const isPro = url.includes("occupationlab.com"); //是否职站生产 const isPro = url.includes("occupationlab.com"); //是否职站生产
const isTest = url.includes('39.108.250.202'); //是否中台测试服 const isTest = url.includes('39.108.250.202'); //是否中台测试服
let bankPath = '' // 银行系统地址 let bankPath = `${location.origin}/banksystem` // 银行系统地址
let jumpPath = ""; let jumpPath = `${location.origin}/judgmentPoint`
let host = ""; let host = `${location.origin}:9000/`
let title = ""; let title = '职站服务端管理系统'
if (isHh) { if (isHh) {
// 河海 // 河海
@ -25,28 +25,16 @@ if (isHh) {
} else if (isBeta) { } else if (isBeta) {
// 职站测试 // 职站测试
host = "http://120.78.198.231/"; host = "http://120.78.198.231/";
title = "职站服务端管理系统";
} else if (isPro) { } else if (isPro) {
// 职站生产 // 职站生产
host = "http://www.occupationlab.com:9000/";
bankPath = `http://www.huorantech.cn/banksystem` bankPath = `http://www.huorantech.cn/banksystem`
jumpPath = `http://www.huorantech.cn/judgmentPoint/` jumpPath = `http://www.huorantech.cn/judgmentPoint/`
title = "职站服务端管理系统";
} else if (isTest){
jumpPath = "http://39.108.250.202/judgmentPoint/";
host = "http://39.108.250.202:9000/";
bankPath = `${bankPath}/banksystem`
title = "职站服务端管理系统";
} else if (isDev) { } else if (isDev) {
jumpPath = "http://192.168.31.125:8087/"; jumpPath = "http://192.168.31.125:8087/";
bankPath = `http://192.168.31.125:8093` bankPath = `http://192.168.31.125:8093`
// host = "http://www.occupationlab.com:9000/";//线上
// host = "http://39.108.250.202:9000/"; // 中台测试服 // host = "http://39.108.250.202:9000/"; // 中台测试服
host = "http://192.168.31.151:9000/"; // 榕 host = "http://192.168.31.151:9000/"; // 榕
// host = 'http://192.168.31.137:9000/'; // 赓 // host = 'http://192.168.31.137:9000/'; // 赓
title = "职站服务端管理系统";
} else {
console.log("其它版本");
} }
const Setting = { const Setting = {

Loading…
Cancel
Save