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 @@ + + + +