From 9ca64c3987113a1c84d49ab8772ed5929473bf63 Mon Sep 17 00:00:00 2001 From: wyx Date: Mon, 30 Jan 2023 18:04:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E9=A1=B9=E7=9B=AE/?= =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E8=B7=AF=E5=BE=84=E7=9B=B4=E6=92=AD=20?= =?UTF-8?q?=E8=80=83=E5=8B=A4=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/indexTaskManage.js | 6 + src/components/drawers/ActiveAttendance.vue | 685 +++++++++++++++----- src/views/learningpath/LevelAdd.vue | 12 +- src/views/projectcenter/TaskPage.vue | 26 +- 4 files changed, 544 insertions(+), 185 deletions(-) diff --git a/src/api/indexTaskManage.js b/src/api/indexTaskManage.js index d7ba25c4..e6690e52 100644 --- a/src/api/indexTaskManage.js +++ b/src/api/indexTaskManage.js @@ -37,3 +37,9 @@ export const QueryVoteManagementDetail = (obj) => http.post('/admin/vote/manage/ // 根据投票任务Id获取投票任务信息 export const QueryVoteTaskDetailById = (obj) => http.post('/voteSubmit/queryVoteTaskDetailById', obj) + +// 直播考勤请假 +export const AttendanceLeave = (obj) => http.post('/stu/task/attendance/leave', obj) + +// 直播考勤签到 +export const AttendanceSign = (obj) => http.post('/stu/task/attendance/sign', obj) diff --git a/src/components/drawers/ActiveAttendance.vue b/src/components/drawers/ActiveAttendance.vue index 4b51a340..21ce7a5a 100644 --- a/src/components/drawers/ActiveAttendance.vue +++ b/src/components/drawers/ActiveAttendance.vue @@ -8,7 +8,7 @@ >
-
【{{ title }}】考勤
+
【{{ datasource.type==6?"直播":"讨论" }}】考勤
- 起止时间:2022-07-21 14:00 ~ 2022-7-30 14:00 + 起止时间:{{ + datasource && datasource.startTime ? datasource.startTime : "-" + }} + ~ + {{ datasource && datasource.endTime ? datasource.endTime : "-" }}
-
签到时间:14:00
-
签退时间:21:00
+ +
签到时间:{{beginTime}}
+
签退时间:{{endTime}}
-
+
签到状态:
@@ -65,11 +70,11 @@
-
+
搜索
-
+
重置
@@ -82,12 +87,12 @@
批量签到
-
+
导出数据
-
+
-
-
取消
+
+
取消
-
-
确定
+
+
确定
@@ -245,15 +250,29 @@ + + + +