|
|
@@ -34,10 +34,10 @@ let mockData = [
|
|
|
|
|
|
// 模拟考勤记录
|
|
|
let mockAttendanceRecords = [
|
|
|
- { personId: '1', name: '张三', timestamp: '2024-10-22T09:00:00Z' },
|
|
|
- { personId: '2', name: '李四', timestamp: '2024-10-22T09:15:00Z' },
|
|
|
- { personId: '1', name: '张三', timestamp: '2024-10-23T08:55:00Z' },
|
|
|
- { personId: '2', name: '李四', timestamp: '2024-10-23T09:05:00Z' },
|
|
|
+ { personId: '1', name: '张三', timestamp: '2024-10-22T09:00:00Z', facePhoto: 'https://example.com/face1.jpg' },
|
|
|
+ { personId: '2', name: '李四', timestamp: '2024-10-22T09:15:00Z', facePhoto: 'https://example.com/face2.jpg' },
|
|
|
+ { personId: '1', name: '张三', timestamp: '2024-10-23T08:55:00Z', facePhoto: 'https://example.com/face3.jpg' },
|
|
|
+ { personId: '2', name: '李四', timestamp: '2024-10-23T09:05:00Z', facePhoto: 'https://example.com/face4.jpg' },
|
|
|
];
|
|
|
|
|
|
export const deviceApi = {
|