2023-09-15 16:04:11 +08:00
|
|
|
|
|
|
|
|
import 'package:get/get.dart';
|
2023-11-01 17:28:59 +08:00
|
|
|
import '../../../lockMian/entity/lockListInfo_entity.dart';
|
2023-09-15 16:04:11 +08:00
|
|
|
import 'checkingInDetail_entity.dart';
|
|
|
|
|
|
|
|
|
|
class CheckingInDetailState{
|
|
|
|
|
CheckingInDetailState() {
|
|
|
|
|
Map map = Get.arguments;
|
2024-06-07 10:53:24 +08:00
|
|
|
if(companyId.value.isEmpty && map['companyId'] != null){
|
|
|
|
|
companyId.value = map['companyId'];
|
2024-04-07 14:03:59 +08:00
|
|
|
}
|
2024-06-07 10:53:24 +08:00
|
|
|
if(map['staffId'] != null){
|
|
|
|
|
staffId.value = map['staffId'];
|
2024-04-07 14:03:59 +08:00
|
|
|
}
|
2024-06-07 10:53:24 +08:00
|
|
|
if(staffName.value.isEmpty && map['staffName'] != null){
|
|
|
|
|
staffName.value = map['staffName'];
|
2024-04-07 14:03:59 +08:00
|
|
|
}
|
2023-09-15 16:04:11 +08:00
|
|
|
}
|
|
|
|
|
|
2024-06-07 10:53:24 +08:00
|
|
|
// final getKeyInfosData = LockListInfoItemEntity().obs;
|
|
|
|
|
final RxString companyId = ''.obs;
|
|
|
|
|
final RxInt staffId = 0.obs;
|
|
|
|
|
final RxString staffName = ''.obs;
|
|
|
|
|
|
|
|
|
|
final RxInt checkDate = DateTime.now().millisecondsSinceEpoch.obs;
|
|
|
|
|
|
|
|
|
|
RxString lateTimes = ''.obs;// 迟到
|
|
|
|
|
RxString earlyTimes = ''.obs;// 早退
|
|
|
|
|
RxString noPunchTimes = ''.obs;// 未打车
|
|
|
|
|
final RxList<MonthList> monthListData = <MonthList>[].obs;
|
|
|
|
|
|
2023-09-15 16:04:11 +08:00
|
|
|
}
|