mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-18 15:26:45 +08:00
Merge branch 'teacher' of https://codeup.aliyun.com/6265f483e4166464dc2f9c14/boeu/portal into case
# Conflicts: # .gitignore
This commit is contained in:
@@ -23,6 +23,10 @@ const getInfoById = function(id) {
|
||||
* pageIndex 起始页
|
||||
* pageSize 每页条数
|
||||
* name 姓名
|
||||
* tlevelId级别
|
||||
* salaryId发薪地
|
||||
* tsystemId
|
||||
|
||||
* } query
|
||||
* @returns
|
||||
*/
|
||||
@@ -104,7 +108,7 @@ const save = function(data) {
|
||||
* @param {teacherId->sysId : 原系统的id,接口返回} sysId
|
||||
*/
|
||||
const updateSysId = function(id,sysId) {
|
||||
return ajax.postJson('/xboe/teacher/update-sysid',{id,sysId});
|
||||
return ajax.post('/xboe/teacher/update-sysid',{id,sysId});
|
||||
|
||||
}
|
||||
|
||||
@@ -173,6 +177,28 @@ const end=function(id){
|
||||
const exports=function(query){
|
||||
return ajax.post('/xboe/teacher/export',query);
|
||||
}
|
||||
|
||||
/**
|
||||
* courseType // 课程类型:‘1,2’:面授,训练班;‘0’:在线班
|
||||
* sysId:教师的sysId
|
||||
* tid: 教师的id
|
||||
* @param {tid,sysId,countType,pageSize:100,pageIndex} query
|
||||
*/
|
||||
const findAllCourses=function(query){
|
||||
return ajax.post('/xboe/teacher/compose/find/courses',query);
|
||||
}
|
||||
/**
|
||||
* 内部讲师-删除模块讲师接口
|
||||
* @param {
|
||||
courseId // 课程id
|
||||
modId // 模块id
|
||||
teacherId // 教师id
|
||||
remark // 备注
|
||||
*/
|
||||
const syncUpdate = function(data) {
|
||||
return ajax.postJson('/xboe/teacher/update-sync',data);
|
||||
}
|
||||
|
||||
export default {
|
||||
findByName,
|
||||
getInfoById,
|
||||
@@ -186,5 +212,6 @@ export default {
|
||||
has,
|
||||
start,
|
||||
end,
|
||||
exports
|
||||
exports,
|
||||
syncUpdate
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user