diff --git a/src/api/index1.js b/src/api/index1.js index d4bec231..85d83749 100644 --- a/src/api/index1.js +++ b/src/api/index1.js @@ -181,4 +181,7 @@ export const batchImportScore = (obj) => export const getImportStatus = (uuid) => http.get('/admin/student/getImportStatus', { params: { uuid: uuid } }) //导出作业 -// export const exportHomeWork=(obj)=>http.get('admin/student/exportHomeWork',{params:obj}) \ No newline at end of file +// export const exportHomeWork=(obj)=>http.get('admin/student/exportHomeWork',{params:obj}) + +// 面授课导入学员 +export const FaceTeachImportStudent = (obj) => http.post('/admin/student/importStudent', obj, {headers: { "Content-Type": "multipart/form-data" }}) \ No newline at end of file diff --git a/src/components/drawers/AddLevelImportStu.vue b/src/components/drawers/AddLevelImportStu.vue index 833b416a..24d6ff3f 100644 --- a/src/components/drawers/AddLevelImportStu.vue +++ b/src/components/drawers/AddLevelImportStu.vue @@ -27,10 +27,15 @@