You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

167 lines
11 KiB

4 years ago
import Setting from '@/setting'
4 years ago
// let host = 'http://192.168.31.125:9090'//林
// let host = 'http://192.168.31.152:9090'//榕
4 years ago
let host = Setting.apiBaseURL
let uploadURL = Setting.upload.apiURL
4 years ago
let host1 = 'http://39.108.250.202:8080/'
4 years ago
export default {
4 years ago
fileupload: `${uploadURL}oss/manage/fileupload`,
logins: `${host}liuwanr/userInfo/adminLogins`, //登录
queryToken: `${host}liuwanr/userInfo/queryToken`,
4 years ago
4 years ago
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`, //根据学校名称查询学校信息
4 years ago
4 years ago
queryAccountIsExist:`${host}liuwanr/userInfo/queryAccountIsExist`,//查询员工,学生账号是否存在接口
queryWorkNumberIsExist:`${host}liuwanr/userInfo/queryWorkNumberIsExist`,//查询学号、工号是否存在
querySchool: `${host}liuwanr/customer/querySchool`, //根据学校名称查询学校信息
4 years ago
4 years ago
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`,//查询员工专业是否存在
4 years ago
// 个人中心
4 years ago
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`,//更换密码
4 years ago
// 测评管理
4 years ago
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`, //导出导入失败的数据和失败原因
4 years ago
4 years ago
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`, //实验教学提前结束
4 years ago
4 years ago
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`,
4 years ago
// 学生管理
4 years ago
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`,
4 years ago
// 员工管理
4 years ago
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`,
4 years ago
// 角色权限
4 years ago
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`,
4 years ago
// 成绩管理
4 years ago
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`, //查看虚仿实验报告
4 years ago
// 教师评语
4 years ago
addComment: `${host}evaluation/comment/addComment`,
queryComment: `${host}evaluation/comment/queryComment`,
updateComment:`${host}evaluation/comment/updateComment`,
4 years ago
// 老师签名照
4 years ago
daleteSignature: `${host}evaluation/signature/daleteSignature`,
querySignature: `${host}evaluation/signature/querySignature`,
uploadSignature:`${host}evaluation/signature/uploadSignature`,
4 years ago
// 判分点
4 years ago
queryListTrading: `${host}judgment/tradingJudgmentPoints/query`,
queryDetailsTrading: `${host}judgment/tradingJudgmentPoints/queryDetails`,
4 years ago
// 科大
4 years ago
queryPoint: `${host}kdSys/queryPoint`,
querySubject: `${host}kdSys/querySubject`,
queryItem: `${host}kdSys/queryItem`,
4 years ago
// 川大
4 years ago
firstLevel: `${host1}sichuan/point/firstLevel`,
secondaryLevel: `${host1}sichuan/point/secondaryLevel`,
thirdLevel: `${host1}sichuan/point/thirdLevel`,
4 years ago
}