diff --git a/src/api/examineApi.js b/src/api/examineApi.js index 7f91c497..c86d3c4d 100644 --- a/src/api/examineApi.js +++ b/src/api/examineApi.js @@ -112,4 +112,13 @@ export const addTutor = (data) =>{ method: "post", data: data }) -} \ No newline at end of file +} +//线上学习课列表 +export const getOnlineLearningList = (data) => http.post('/activityApi/examine/getOnlineLearningList',data) +//删除线上学习课 +export const deleteCourse = (data) => http.post('/activityApi/examine/deleteCourse',data) +//新增线上学习课 +export const addCourse = (data) => http.post('/activityApi/examine/addCourse',data) +//保存导入的教师信息 +export const saveTeacher = (data) => http.post('/activityApi/teacher/saveTeacher',data) + diff --git a/src/assets/27.png b/src/assets/27.png new file mode 100644 index 00000000..0090938a Binary files /dev/null and b/src/assets/27.png differ diff --git a/src/assets/30.png b/src/assets/30.png new file mode 100644 index 00000000..6e89c1a7 Binary files /dev/null and b/src/assets/30.png differ diff --git a/src/assets/教师认证封面图/教师认证封面图/27.png b/src/assets/教师认证封面图/教师认证封面图/27.png new file mode 100644 index 00000000..0090938a Binary files /dev/null and b/src/assets/教师认证封面图/教师认证封面图/27.png differ diff --git a/src/assets/教师认证封面图/教师认证封面图/30.png b/src/assets/教师认证封面图/教师认证封面图/30.png new file mode 100644 index 00000000..6e89c1a7 Binary files /dev/null and b/src/assets/教师认证封面图/教师认证封面图/30.png differ diff --git a/src/assets/教师认证封面图/教师认证封面图/33.png b/src/assets/教师认证封面图/教师认证封面图/33.png new file mode 100644 index 00000000..1f80977f Binary files /dev/null and b/src/assets/教师认证封面图/教师认证封面图/33.png differ diff --git a/src/assets/教师认证封面图/教师认证封面图/39.png b/src/assets/教师认证封面图/教师认证封面图/39.png new file mode 100644 index 00000000..3464fa0b Binary files /dev/null and b/src/assets/教师认证封面图/教师认证封面图/39.png differ diff --git a/src/assets/教师认证封面图/教师认证封面图/44.png b/src/assets/教师认证封面图/教师认证封面图/44.png new file mode 100644 index 00000000..08b11400 Binary files /dev/null and b/src/assets/教师认证封面图/教师认证封面图/44.png differ diff --git a/src/assets/教师认证封面图/教师认证封面图/46.png b/src/assets/教师认证封面图/教师认证封面图/46.png new file mode 100644 index 00000000..8b58d573 Binary files /dev/null and b/src/assets/教师认证封面图/教师认证封面图/46.png differ diff --git a/src/assets/教师认证封面图/教师认证封面图/47.png b/src/assets/教师认证封面图/教师认证封面图/47.png new file mode 100644 index 00000000..a2585bcd Binary files /dev/null and b/src/assets/教师认证封面图/教师认证封面图/47.png differ diff --git a/src/assets/教师认证封面图/教师认证封面图/49.png b/src/assets/教师认证封面图/教师认证封面图/49.png new file mode 100644 index 00000000..d34fcb94 Binary files /dev/null and b/src/assets/教师认证封面图/教师认证封面图/49.png differ diff --git a/src/assets/教师认证封面图/教师认证封面图/50.png b/src/assets/教师认证封面图/教师认证封面图/50.png new file mode 100644 index 00000000..1a435940 Binary files /dev/null and b/src/assets/教师认证封面图/教师认证封面图/50.png differ diff --git a/src/views/gratefulteacher/AddLevelImportTec.vue b/src/views/gratefulteacher/AddLevelImportTec.vue index dfe187df..5460c700 100644 --- a/src/views/gratefulteacher/AddLevelImportTec.vue +++ b/src/views/gratefulteacher/AddLevelImportTec.vue @@ -34,15 +34,12 @@ @@ -99,11 +96,11 @@
-
+
store.state.userInfo); const closeDrawer = () => { - clearInterval(state.timers); + saveTeacher({ + examineId:props.courseId, + teacherIds:state.successIds + }).then(res=>{ + console.log(res,'res') + }) + state.successIds = [] + // clearInterval(state.timers); state.fileList = []; state.uploadpercent = -1; state.addLoading = false; @@ -262,7 +267,7 @@ export default { } } - state.addLoading = true; + // state.addLoading = true; state.uploadErr = false; state.uploadpercent = parseInt(info.file.percent); console.log("我是文件上传的进度---------->", info.file.percent); @@ -274,42 +279,42 @@ export default { console.log("上传成功返回的UUID", info.file.response.data); console.log("上传成功返回的UUID----->", info); console.log("我是导入学员接口传递的参数", { - uploadFile: info.file.originFileObj, - targetId: props.courseId, - type: 3, + file: info.file.originFileObj, + examineId: props.courseId, }); + state.successIds = info.file.response.data.successIds state.fileName = info.file.name; let i = 0; - state.timers = setInterval(() => { - let uid = info.file.response.data; - api - .getImportStatus(uid) - .then((res) => { - console.log("查询导入状态", res); - if (res.data.code === 200) { - if (res.data.data.status !== "START") { - i++; - if (i === 1) { - message.destroy(); - message.success(`${info.file.name}上传成功`); - state.showBottomBar = true; - state.addLoading = false; - state.isAddStudent = true; - } - state.succNum = res.data.data.successNum; - state.errNum = res.data.data.failedNum; - state.downloadErrUrl = res.data.data.url; - clearInterval(state.timers); - } - } - }) - .catch((err) => { - clearInterval(state.timers); - state.showBottomBar = true; - state.addLoading = false; - console.log("查询导入状态失败", err); - }); - }, 500); + // state.timers = setInterval(() => { + // let uid = info.file.response.data; + // api + // .getImportStatus(uid) + // .then((res) => { + // console.log("查询导入状态", res); + // if (res.data.code === 200) { + // if (res.data.data.status !== "START") { + // i++; + // if (i === 1) { + // message.destroy(); + // message.success(`${info.file.name}上传成功`); + // state.showBottomBar = true; + // state.addLoading = false; + // state.isAddStudent = true; + // } + // state.succNum = res.data.data.successNum; + // state.errNum = res.data.data.failedNum; + // state.downloadErrUrl = res.data.data.url; + // clearInterval(state.timers); + // } + // } + // }) + // .catch((err) => { + // clearInterval(state.timers); + // state.showBottomBar = true; + // state.addLoading = false; + // console.log("查询导入状态失败", err); + // }); + // }, 500); } else if (status === "error") { state.addLoading = false; state.uploadErr = true; diff --git a/src/views/gratefulteacher/InstructorCertification.vue b/src/views/gratefulteacher/InstructorCertification.vue index 7fdeaf3f..8b40420e 100644 --- a/src/views/gratefulteacher/InstructorCertification.vue +++ b/src/views/gratefulteacher/InstructorCertification.vue @@ -1,12 +1,13 @@