mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 20:06:44 +08:00
修改
This commit is contained in:
@@ -9,6 +9,11 @@ const findByName = function(name) {
|
||||
return ajax.get('/xboe/teacher/name?name=' + name);
|
||||
}
|
||||
|
||||
|
||||
const updateTeacher=function(data){
|
||||
return ajax.postJson('/xboe/teacher/update-teacher',data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据id得到教师的显示信息,只是几个基本的显示字段
|
||||
* @param {Object} id
|
||||
@@ -21,6 +26,7 @@ const detailTeacher=function (id){
|
||||
return ajax.get('/xboe/teacher/detail-teacher?id='+id);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
* @param {
|
||||
@@ -218,5 +224,6 @@ export default {
|
||||
end,
|
||||
exports,
|
||||
syncUpdate,
|
||||
detailTeacher
|
||||
detailTeacher,
|
||||
updateTeacher
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user