mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-06 17:36:45 +08:00
37 lines
822 B
JavaScript
37 lines
822 B
JavaScript
/*
|
|
讲师认证
|
|
*/
|
|
import config from '@/config/index.js'
|
|
const baseURL = config.apiActivityUrl;
|
|
import ajax from '../ajax';
|
|
/*
|
|
选择讲师列表
|
|
@param reviewId 评估ID
|
|
@param judgesWorkNum 评委工号
|
|
*/
|
|
const lecturerCertificationSave=function(data){
|
|
return ajax.postJson(baseURL,'/score/save',data);
|
|
}
|
|
/*
|
|
提交分数
|
|
@param teacherId 讲师ID
|
|
@param judgesWorkNum 评委工号
|
|
@param score 分数
|
|
@param isSecond
|
|
*/
|
|
const lecturerCertificationList=function(data){
|
|
return ajax.postJson(baseURL,'/score/jump',data);
|
|
}
|
|
/*
|
|
讲师详情
|
|
@param teacherId 讲师ID
|
|
*/
|
|
const lecturerCertificationInfo=function(data){
|
|
return ajax.postJson(baseURL,'/score/getScores',data);
|
|
}
|
|
|
|
export default{
|
|
lecturerCertificationList,
|
|
lecturerCertificationInfo,
|
|
lecturerCertificationSave
|
|
} |