Commit d7633775 authored by liuyang's avatar liuyang

finished 讲师管理

parent bee0b256
/******************
* 讲师管理
*****************/
// 导入请求公用方法
import {
request
} from '../../utils/axiosFun';
export const fetchList = (query) => {
return request('post','/api/mgr/teacher/list',query)
}
export const addObj = (obj) => {
return request('post','/api/mgr/teacher/save',obj)
}
export const putObj = (obj) => {
return request('post','/api/mgr/teacher/update',obj)
}
export const delObj = (ids) => {
return request('post','/api/mgr/teacher/delete',ids)
}
\ No newline at end of file
......@@ -143,6 +143,8 @@ function disposereq(self, data) {
})
}, 1000)
}else{
self.$message.error('系统处理错误')
}
};
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment