mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-06 17:36:45 +08:00
page add
This commit is contained in:
37
api/lecturer/certification.js.js
Normal file
37
api/lecturer/certification.js.js
Normal file
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
讲师认证
|
||||
*/
|
||||
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/list',data);
|
||||
}
|
||||
/*
|
||||
讲师详情
|
||||
@param teacherId 讲师ID
|
||||
*/
|
||||
const lecturerCertificationInfo=function(data){
|
||||
return ajax.postJson(baseURL,'/teacher/getTeacherInfo',data);
|
||||
}
|
||||
|
||||
export default{
|
||||
lecturerCertificationList,
|
||||
lecturerCertificationInfo,
|
||||
lecturerCertificationSave
|
||||
}
|
||||
Reference in New Issue
Block a user