diff --git a/.env b/.env index fa8d8646..b2def4d2 100644 --- a/.env +++ b/.env @@ -1,13 +1,18 @@ + # 本项目基础url VUE_APP_BASE=/manage +# api项目基础url VUE_APP_BASE_API=/manageApi +# 导出url VUE_APP_PROXY_URL=http://111.231.196.214:30001/ +# 登录url VUE_APP_LOGIN_URL=https://u-pre.boe.com/web - +# boe域名 VUE_APP_BOE_API_URL=https://u-pre.boe.com - +# iframe嵌套url 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= +# 课程二维码 +VUE_APP_COURSE_STUDY=https://u-pre.boe.com/pc/course/studyindex?id= diff --git a/.env.prod b/.env.prod index 6f001817..003f27de 100644 --- a/.env.prod +++ b/.env.prod @@ -9,4 +9,4 @@ 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 -COURSE_STUDY=https://u.boe.com/pc/course/studyindex?id= \ No newline at end of file +VUE_APP_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 17e93d50..57dd0d96 100644 --- a/.env.release +++ b/.env.release @@ -9,4 +9,4 @@ 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 -COURSE_STUDY=https://u.boe.com/pc-release/course/studyindex?id= \ No newline at end of file +VUE_APP_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 31a7a1c8..271ca1b4 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 15:21:17 + * @LastEditTime: 2023-01-06 18:04:16 * @FilePath: /fe-manage/src/api/index1.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ @@ -170,7 +170,8 @@ export const attendanceLeave = (obj) => http.post('/stu/task/attendance/leave', //批量标记完成 export const batchFinishTask = (obj) => http.post('/admin/student/batchFinishTask', obj) - +//批量更新学员状态 +export const batchUpdateStatus = (obj) => http.post('/admin/student/batchUpdateStatus', 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 38962130..7940a5a9 100644 --- a/src/components/drawers/AllStuOver.vue +++ b/src/components/drawers/AllStuOver.vue @@ -58,6 +58,10 @@ export default { type: Number, default: null, }, + getStudent: { + type: Function, + default: null, + }, }, setup(props, ctx) { const state = reactive({ @@ -93,6 +97,9 @@ export default { message.destroy(); message.success("标记成功"); closeModal(); + props.getStudent && props.getStudent(); + ctx.emit("update:ids", []); + // console.log("props.getStudent", props.getStudent); } }) .catch((err) => { diff --git a/src/components/drawers/project/ProjectFaceStu.vue b/src/components/drawers/project/ProjectFaceStu.vue index e9ed1003..f3bcc15a 100644 --- a/src/components/drawers/project/ProjectFaceStu.vue +++ b/src/components/drawers/project/ProjectFaceStu.vue @@ -88,7 +88,11 @@
-
+
签到二维码
@@ -207,6 +211,15 @@
+ + + + diff --git a/src/components/student/TableStudent.vue b/src/components/student/TableStudent.vue index be474495..efbb91b4 100644 --- a/src/components/student/TableStudent.vue +++ b/src/components/student/TableStudent.vue @@ -142,13 +142,13 @@
批量录入成绩
-
+
批量结业
-
+
批量通过
-
+
批量拒绝
@@ -220,6 +220,7 @@ margin-left: 10px; cursor: pointer; " + @click="updateStatus(0, record.id)" > 通过
@@ -233,6 +234,7 @@ margin-left: 10px; cursor: pointer; " + @click="updateStatus(2, record.id)" > 拒绝
@@ -340,7 +342,7 @@