From 8cb9c6649ece24e74c6a2a3d73dbc96a0e7b2dbc Mon Sep 17 00:00:00 2001 From: lixg Date: Fri, 6 Jan 2023 17:07:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E7=AD=BE=E5=88=B0?= =?UTF-8?q?=E7=AD=BE=E9=80=80=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 3 + .env.prod | 4 +- .env.release | 4 +- src/api/index1.js | 5 +- src/components/drawers/AllStuOver.vue | 126 ++++++++---- .../drawers/project/ProjectFaceTaskManage.vue | 11 +- .../drawers/project/ProjectHomeWorkManage.vue | 5 +- .../drawers/router/RouterFaceTeachManage.vue | 10 +- .../drawers/router/RouterHomeworkManage.vue | 5 +- src/components/student/TableStudent.vue | 79 +++++++- src/views/courselibrary/CoursewareManage.vue | 188 +++++++++--------- 11 files changed, 297 insertions(+), 143 deletions(-) diff --git a/.env b/.env index 8ae4eb09..fa8d8646 100644 --- a/.env +++ b/.env @@ -8,3 +8,6 @@ VUE_APP_BOE_API_URL=https://u-pre.boe.com VUE_APP_IFRAME_URL=https://u-pre.boe.com/pc/iframe VUE_APP_IFRAME_STUDENT_URL=https://u-pre.boe.com/pc/loading + + +COURSE_STUDY=https://u-pre.boe.com/pc/course/studyindex?id= diff --git a/.env.prod b/.env.prod index 66b95318..6f001817 100644 --- a/.env.prod +++ b/.env.prod @@ -7,4 +7,6 @@ VUE_APP_LOGIN_URL=https://u.boe.com/web VUE_APP_BOE_API_URL=https://u.boe.com VUE_APP_IFRAME_URL=https://u.boe.com/pc/iframe -VUE_APP_IFRAME_STUDENT_URL=https://u.boe.com/pc/loading \ No newline at end of file +VUE_APP_IFRAME_STUDENT_URL=https://u.boe.com/pc/loading + +COURSE_STUDY=https://u.boe.com/pc/course/studyindex?id= \ No newline at end of file diff --git a/.env.release b/.env.release index 6fc7f447..17e93d50 100644 --- a/.env.release +++ b/.env.release @@ -7,4 +7,6 @@ VUE_APP_BOE_API_URL=https://u.boe.com VUE_APP_IFRAME_URL=https://u.boe.com/pc-release/iframe -VUE_APP_IFRAME_STUDENT_URL=https://u.boe.com/pc-release/loading \ No newline at end of file +VUE_APP_IFRAME_STUDENT_URL=https://u.boe.com/pc-release/loading + +COURSE_STUDY=https://u.boe.com/pc-release/course/studyindex?id= \ No newline at end of file diff --git a/src/api/index1.js b/src/api/index1.js index d126ba7d..31a7a1c8 100644 --- a/src/api/index1.js +++ b/src/api/index1.js @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2022-11-04 22:45:31 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2023-01-06 10:18:41 + * @LastEditTime: 2023-01-06 15:21:17 * @FilePath: /fe-manage/src/api/index1.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ @@ -168,6 +168,9 @@ export const attendanceSign = (obj) => http.post('/stu/task/attendance/sign', ob //请假 export const attendanceLeave = (obj) => http.post('/stu/task/attendance/leave', obj) +//批量标记完成 +export const batchFinishTask = (obj) => http.post('/admin/student/batchFinishTask', obj) + // //面授课批量导入成绩 export const batchImportScore = (offcoursePlanId, obj) => http.post(`/admin/offcourse/batchImportScore?offcoursePlanId=${offcoursePlanId}`, obj); \ No newline at end of file diff --git a/src/components/drawers/AllStuOver.vue b/src/components/drawers/AllStuOver.vue index 1cd907eb..256376b5 100644 --- a/src/components/drawers/AllStuOver.vue +++ b/src/components/drawers/AllStuOver.vue @@ -1,54 +1,104 @@