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`, 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`, };