2024-03-25 15:03:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
import 'package:get/get.dart';
|
|
|
|
|
|
|
|
|
|
class SeletKeyCyclicDateState{
|
2024-03-28 13:46:35 +08:00
|
|
|
SeletKeyCyclicDateState() {
|
2024-08-19 15:24:14 +08:00
|
|
|
final map = Get.arguments;
|
|
|
|
|
if (map['starDate'] != null) {
|
|
|
|
|
starDate.value = map['starDate'];
|
2024-03-28 13:46:35 +08:00
|
|
|
}
|
2024-08-19 15:24:14 +08:00
|
|
|
if (map['endDate'] != null) {
|
|
|
|
|
endDate.value = map['endDate'];
|
2024-03-28 13:46:35 +08:00
|
|
|
}
|
2024-08-19 15:24:14 +08:00
|
|
|
if (map['starTime'] != null) {
|
|
|
|
|
starTime.value = map['starTime'];
|
2024-03-28 13:46:35 +08:00
|
|
|
}
|
2024-08-19 15:24:14 +08:00
|
|
|
if (map['endTime'] != null) {
|
|
|
|
|
endTime.value = map['endTime'];
|
2024-03-28 13:46:35 +08:00
|
|
|
}
|
2024-08-19 15:24:14 +08:00
|
|
|
if (map['validityValue'] != null) {
|
|
|
|
|
weekDay.value = map['validityValue'];
|
2024-03-28 13:46:35 +08:00
|
|
|
}
|
|
|
|
|
}
|
2024-08-19 15:24:14 +08:00
|
|
|
RxString starDate = ''.obs;// 开始时间
|
|
|
|
|
RxString endDate = ''.obs;// 结束时间
|
|
|
|
|
RxString starTime = ''.obs;// 生效时间
|
|
|
|
|
RxString endTime = ''.obs;// 失效时间
|
|
|
|
|
|
|
|
|
|
RxList weekDay = [].obs;
|
2024-03-25 15:03:02 +08:00
|
|
|
}
|