diff --git a/src/api/index.js b/src/api/index.js index 245c3ed..fb67be2 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -1,167 +1,303 @@ -import Setting from '@/setting' -// let host = 'http://192.168.31.125:9090'//林 -// let host = 'http://192.168.31.152:9090'//榕 -let host = Setting.apiBaseURL -let uploadURL = Setting.upload.apiURL -let host1 = 'http://39.108.250.202:8080/' +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 xsHost = '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`, - logins: `${host}liuwanr/userInfo/adminLogins`, //登录 - queryToken: `${host}liuwanr/userInfo/queryToken`, - - 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`,//更换密码 - - // 测评管理 - list: `${host}evaluation/tms/questions/list`, //分页加条件查询试题信息 - info: `${host}evaluation/tms/evaluationrules/info`, //测评规则信息的展示 - update: `${host}evaluation/tms/evaluationrules/update`, //修改测评规则信息 - delete: `${host}evaluation/tms/questions/delete`, //批量删除试题信息 - questionsTemplate: `${host}template/试题导入模板.xlsx`, //excel模板文件下载 - import: `${host}evaluation/tms/questions/import`, //通过excel批量导入 - infoId: `${host}evaluation/tms/questions/info/`, //根据试题id查询试题详情信息 - isenable: `${host}evaluation/tms/questions/isenable`, //是否禁用试题 - save: `${host}evaluation/tms/questions/save`, //新增一道试题 - questionsUpdate: `${host}evaluation/tms/questions/update`, //根据试题id修改试题信息 - upload: `${host}evaluation/tms/questions/upload`, //excel模板文件上传 - export_failure: `${host}evaluation/tms/questions/export_failure`, //导出导入失败的数据和失败原因 - - expDelete: `${host}evaluation/tms/exp/delete`, //删除实验教学 - expList: `${host}evaluation/tms/exp/list`, //实验教学列表 - expSave: `${host}evaluation/tms/exp/save`, //添加实验教学 - expUpdate: `${host}evaluation/tms/exp/update`, //修改实验教学 - expInfo: `${host}evaluation/tms/exp/getById/`, //实验教学详情 - expCheck: `${host}evaluation/tms/exp/check`, //实验名称判重 - getInvitationCode: `${host}evaluation/tms/exp/getInvitationCode`, //查询邀请码是否存在 - expInfo1: `${host}evaluation/tms/exp/upload`, //实验教学提前结束 - - queryAllManagements: `${host}project/ProjectManagement/queryAllManagements`, //项目管理列表信息 - queryManagements: `${host}project/ProjectManagement/queryManagements`, //项目管理列表信息 - addRole: `${host}project/ProjectManagement/addRole`, //新增案例对象 - avgValues: `${host}project/ProjectManagement/avgValues`, //平均分配分值 - getByRoleId: `${host}project/ProjectManagement/getByRoleId`, //根据角色id查询信息 - getByjudgmentPointsId: `${host}project/ProjectManagement/getByjudgmentPointsId`, //实验任务表格信息的展示 - queryAllJudgmentPoints: `${host}project/ProjectManagement/queryAllJudgmentPoints`, //添加判分点面板的数据展示+条件筛选 - getProjectId: `${host}project/ProjectManagement/getProjectId`, //根据项目管理id查询对应信息 - updateProjectManagement: `${host}project/ProjectManagement/updateProjectManagement`, //编辑项目管理 - addProjectManagement: `${host}project/ProjectManagement/addProjectManagement`, //添加项目管理 - removeProjectManagement: `${host}project/ProjectManagement/removeProjectManagement`, //删除 - getJudgmentPoints: `${host}project/ProjectManagement/getJudgmentPoints`, //复制项目获取数据 - getZZJudgmentPoints: `${host}project/ProjectManagement/getZZJudgmentPoints`, //复制项目获取数据 - updateRole: `${host}project/ProjectManagement/updateRole`, //修改实验数据—角色信息 - isNameExistis: `${host}project/ProjectManagement/isNameExistis`, //项目名称是否存在 - QueryPfdInformation: `${host}judgment/pointOfJudgement/queryPfdInformation`, //判分点详细信息 - addProjectManagementTrad: `${host}project/ProjectManagement/newAddProjectManagement`, - getTrdingJudgmentPoints: `${host}project/ProjectManagement/getTrdingJudgmentPoints`, - updateProjectManagementTrad: `${host}project/ProjectManagement/newUpdateProjectManagement`, - enableProject: `${host}project/ProjectManagement/enable`, - QueryPointOfJudgement: `${host}judgment/pointOfJudgement/queryPointOfJudgement`, //判分点列表查询 - queryUserIds:`${host}liuwanr/userInfo/queryUserIds`, - - // 学生管理 - addStudent: `${host}evaluation/tms/student/zzAddStudent`, - daleteStudent: `${host}evaluation/tms/student/daleteStudent`, - disableAccount: `${host}evaluation/tms/student/disableAccount`, - queryStudent: `${host}evaluation/tms/student/queryStudent`, - reSetPassword: `${host}evaluation/tms/student/reSetPassword`, - updateStudent: `${host}evaluation/tms/student/updateStudent`, - downloadStudent: `${host}evaluation/tms/student/download`, - uploadFile: `${host}evaluation/tms/student/uploadFile`, - export_failureStudent: `${host}evaluation/tms/student/export_failure`, - queryAccountStudent:`${host}evaluation/tms/student/queryAccount`, - studentTemplate:`${host}template/student.xlsx`, - - // 员工管理 - 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`, - - // 成绩管理 - getImitationAchievement: `${host}evaluation/Achievement/getImitationAchievement`, - getTeachAchievement: `${host}evaluation/Achievement/getTeachAchievement`, - addReport: `${host}evaluation/Achievement/addReport`, - deleteReport: `${host}evaluation/Achievement/deleteReport`, - deleteReportById: `${host}evaluation/Achievement/deleteReportById`, - exportAchievement:`${host}evaluation/Achievement/exportAchievement`, - // queryAchievement:`${host}evaluation/Achievement/queryAchievement`, - queryAchievement:`${host}evaluation/Achievement/list`, - queryAchievementNew:`${host}evaluation/Achievement/newList`, - queryEvaluationReport:`${host}evaluation/Achievement/queryEvaluationReport`, - queryReport:`${host}evaluation/Achievement/queryReport`, - queryArchievement: `${host}evaluation/tms/classTech/queryExperimentalReport`, //查看教学实验报告 - queryVirtualReport: `${host}evaluation/tms/classTech/queryVirtualReport`, //查看虚仿实验报告 - - // 教师评语 - 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`, -} \ No newline at end of file + // 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`,// 手机验证码 + + // 考核管理 + 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`, // 收卷(提前结束) + // 学生组织架构 + treeList: `${host}occupationlab/architecture/treeList`, // 学生组织架构树形列表 + + + // 测评管理 + 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`, // 修改测评规则信息 + + + // 项目管理 + 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`, // 获取流程类判分点列表(分页) + + + // 赛事管理 + 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}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`,//更换密码 + + // 测评管理 + list: `${host}evaluation/tms/questions/list`, //分页加条件查询试题信息 + info: `${host}evaluation/tms/evaluationrules/info`, //测评规则信息的展示 + update: `${host}evaluation/tms/evaluationrules/update`, //修改测评规则信息 + delete: `${host}evaluation/tms/questions/delete`, //批量删除试题信息 + // questionsTemplate: `${host}template/试题导入模板.xlsx`, //excel模板文件下载 + import: `${host}evaluation/tms/questions/import`, //通过excel批量导入 + infoId: `${host}evaluation/tms/questions/info/`, //根据试题id查询试题详情信息 + isenable: `${host}evaluation/tms/questions/isenable`, //是否禁用试题 + save: `${host}evaluation/tms/questions/save`, //新增一道试题 + // questionsUpdate: `${host}evaluation/tms/questions/update`, //根据试题id修改试题信息 + upload: `${host}evaluation/tms/questions/upload`, //excel模板文件上传 + export_failure: `${host}evaluation/tms/questions/export_failure`, //导出导入失败的数据和失败原因 + + expDelete: `${host}evaluation/tms/exp/delete`, //删除实验教学 + expList: `${host}evaluation/tms/exp/list`, //实验教学列表 + expSave: `${host}evaluation/tms/exp/save`, //添加实验教学 + expUpdate: `${host}evaluation/tms/exp/update`, //修改实验教学 + expInfo: `${host}evaluation/tms/exp/getById/`, //实验教学详情 + expCheck: `${host}evaluation/tms/exp/check`, //实验名称判重 + getInvitationCode: `${host}evaluation/tms/exp/getInvitationCode`, //查询邀请码是否存在 + expInfo1: `${host}evaluation/tms/exp/upload`, //实验教学提前结束 + + // queryAllManagements: `${host}project/ProjectManagement/queryAllManagements`, //项目管理列表信息 + queryManagements: `${host}project/ProjectManagement/queryManagements`, //项目管理列表信息 + addRole: `${host}project/ProjectManagement/addRole`, //新增案例对象 + // avgValues: `${host}project/ProjectManagement/avgValues`, //平均分配分值 + getByRoleId: `${host}project/ProjectManagement/getByRoleId`, //根据角色id查询信息 + getByjudgmentPointsId: `${host}project/ProjectManagement/getByjudgmentPointsId`, //实验任务表格信息的展示 + queryAllJudgmentPoints: `${host}project/ProjectManagement/queryAllJudgmentPoints`, //添加判分点面板的数据展示+条件筛选 + getProjectId: `${host}project/ProjectManagement/getProjectId`, //根据项目管理id查询对应信息 + updateProjectManagement: `${host}project/ProjectManagement/updateProjectManagement`, //编辑项目管理 + addProjectManagement: `${host}project/ProjectManagement/addProjectManagement`, //添加项目管理 + removeProjectManagement: `${host}project/ProjectManagement/removeProjectManagement`, //删除 + getJudgmentPoints: `${host}project/ProjectManagement/getJudgmentPoints`, //复制项目获取数据 + getZZJudgmentPoints: `${host}project/ProjectManagement/getZZJudgmentPoints`, //复制项目获取数据 + updateRole: `${host}project/ProjectManagement/updateRole`, //修改实验数据—角色信息 + isNameExistis: `${host}project/ProjectManagement/isNameExistis`, //项目名称是否存在 + QueryPfdInformation: `${host}judgment/pointOfJudgement/queryPfdInformation`, //判分点详细信息 + addProjectManagementTrad: `${host}project/ProjectManagement/newAddProjectManagement`, + getTrdingJudgmentPoints: `${host}project/ProjectManagement/getTrdingJudgmentPoints`, + updateProjectManagementTrad: `${host}project/ProjectManagement/newUpdateProjectManagement`, + enableProject: `${host}project/ProjectManagement/enable`, + QueryPointOfJudgement: `${host}judgment/pointOfJudgement/queryPointOfJudgement`, //判分点列表查询 + queryUserIds: `${host}liuwanr/userInfo/queryUserIds`, + + // 学生管理 + addStudent: `${host}evaluation/tms/student/zzAddStudent`, + daleteStudent: `${host}evaluation/tms/student/daleteStudent`, + disableAccount: `${host}evaluation/tms/student/disableAccount`, + queryStudent: `${host}evaluation/tms/student/queryStudent`, + reSetPassword: `${host}evaluation/tms/student/reSetPassword`, + updateStudent: `${host}evaluation/tms/student/updateStudent`, + downloadStudent: `${host}evaluation/tms/student/download`, + uploadFile: `${host}evaluation/tms/student/uploadFile`, + export_failureStudent: `${host}evaluation/tms/student/export_failure`, + queryAccountStudent: `${host}evaluation/tms/student/queryAccount`, + studentTemplate: `${host}template/student.xlsx`, + + // 员工管理 + 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`, + + // 成绩管理 + getImitationAchievement: `${host}evaluation/Achievement/getImitationAchievement`, + getTeachAchievement: `${host}evaluation/Achievement/getTeachAchievement`, + addReport: `${host}evaluation/Achievement/addReport`, + deleteReport: `${host}evaluation/Achievement/deleteReport`, + deleteReportById: `${host}evaluation/Achievement/deleteReportById`, + exportAchievement: `${host}evaluation/Achievement/exportAchievement`, + // queryAchievement:`${host}evaluation/Achievement/queryAchievement`, + queryAchievement: `${host}evaluation/Achievement/list`, + queryAchievementNew: `${host}evaluation/Achievement/newList`, + queryEvaluationReport: `${host}evaluation/Achievement/queryEvaluationReport`, + queryReport: `${host}evaluation/Achievement/queryReport`, + queryArchievement: `${host}evaluation/tms/classTech/queryExperimentalReport`, //查看教学实验报告 + queryVirtualReport: `${host}evaluation/tms/classTech/queryVirtualReport`, //查看虚仿实验报告 + + // 教师评语 + 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`, + +}; \ No newline at end of file diff --git a/src/assets/img/arrow-down.png b/src/assets/img/arrow-down.png new file mode 100644 index 0000000..dc9a3a9 Binary files /dev/null and b/src/assets/img/arrow-down.png differ diff --git a/src/assets/img/close.png b/src/assets/img/close.png new file mode 100644 index 0000000..24e36d4 Binary files /dev/null and b/src/assets/img/close.png differ diff --git a/src/assets/img/upload.png b/src/assets/img/upload.png new file mode 100644 index 0000000..6ff9bee Binary files /dev/null and b/src/assets/img/upload.png differ diff --git a/src/components/quill/index.vue b/src/components/quill/index.vue index 953c290..4a4122b 100644 --- a/src/components/quill/index.vue +++ b/src/components/quill/index.vue @@ -2,13 +2,21 @@
- + 点击上传
\ No newline at end of file diff --git a/src/pages/achievement/ass/index.vue b/src/pages/achievement/ass/index.vue index 614e91e..1afa499 100644 --- a/src/pages/achievement/ass/index.vue +++ b/src/pages/achievement/ass/index.vue @@ -163,7 +163,7 @@ export default { }) .then(() => { this.$post(`${this.api.deleteReport}?reportId=${row.reportId}&recordId=${row.recordId}`).then(res => { - this.$message.success('删除成功'); + util.successMsg('删除成功'); this.getData() }).catch(res => {}); }) @@ -183,7 +183,7 @@ export default { }) .then(() => { this.$post(`${this.api.deleteReport}?${delList.join('&')}&${delList1.join('&')}`).then(res => { - this.$message.success('删除成功') + util.successMsg('删除成功') this.getData() }).catch(res => {}) }) diff --git a/src/pages/achievement/edit/index.vue b/src/pages/achievement/edit/index.vue index b1a710f..c37b42b 100644 --- a/src/pages/achievement/edit/index.vue +++ b/src/pages/achievement/edit/index.vue @@ -265,13 +265,13 @@ } if(this.configId){ this.$post(this.api.updateServiceConfig,data).then((res) => { - util.successMsg('编辑成功'); + util.successMsg('编辑成功'); this.$router.back() }).catch((res) => { }) }else{ this.$post(this.api.updateServiceConfig,data).then((res) => { - util.successMsg('添加成功'); + util.successMsg('添加成功'); this.$router.back() }).catch((res) => { }) @@ -293,7 +293,7 @@ this.isEdit = true }, handleExceed(files, fileList) { - this.$message.warning( + util.warningMsg( `当前限制选择 1 个文件,如需更换,请删除上一个文件再重新选择!` ); }, @@ -302,7 +302,7 @@ util.successMsg('上传成功') this.getSgin() }else{ - util.errorMsg(res.errmessage) + $message.error(res.errmessage) } }, goback() { diff --git a/src/pages/achievement/list/index.vue b/src/pages/achievement/list/index.vue index 21f1a99..a6a71c4 100644 --- a/src/pages/achievement/list/index.vue +++ b/src/pages/achievement/list/index.vue @@ -155,6 +155,7 @@ export default { } }, mounted() { + // 如果systemId有历史记录,就取历史记录里的systemId,否则就取默认的systemId this.systemId = this.lastSystemId ? this.lastSystemId : Setting.systemId this.getData() }, diff --git a/src/pages/achievement/show/index.vue b/src/pages/achievement/show/index.vue index 1da8b2b..3c265af 100644 --- a/src/pages/achievement/show/index.vue +++ b/src/pages/achievement/show/index.vue @@ -251,9 +251,6 @@ import Setting from '@/setting' }) } }, - handleRemove(file, fileList) { - console.log(file, fileList); - }, handlePictureCardPreview(file) { this.dialogImageUrl = file.url; this.dialogVisible = true; diff --git a/src/pages/assessment/add/index.vue b/src/pages/assessment/add/index.vue index c4d0b4b..89bec08 100644 --- a/src/pages/assessment/add/index.vue +++ b/src/pages/assessment/add/index.vue @@ -19,29 +19,19 @@ clearable maxlength="15" class="inline-input" - @change="judgeExpName" > - -
-

班级名称

- -
-
+

发布方式

- 手动发布 - 定时发布 + + 手动发布 + 定时发布 +
@@ -74,7 +64,7 @@
-

系统

+

课程

- + - + - + - +