|
@@ -7,6 +7,7 @@ import 'package:vitalapp/components/search_input.dart';
|
|
|
import 'package:vitalapp/pages/medical/widgets/health_heart_check/health_check_list/controller.dart';
|
|
|
import 'package:vitalapp/pages/medical/widgets/health_heart_check/health_check_list/view.dart';
|
|
|
import 'package:vitalapp/pages/medical_checkup_station/registration/state/list.dart';
|
|
|
+import 'package:vitalapp/pages/medical_checkup_station/registration/widgets/filter/filter_time.dart';
|
|
|
|
|
|
class HeartCheckLeft extends GetView<HeartCheckListController> {
|
|
|
HeartCheckLeft({
|
|
@@ -37,27 +38,50 @@ class HeartCheckLeft extends GetView<HeartCheckListController> {
|
|
|
}
|
|
|
|
|
|
Widget _buildHeartCheckFilter() {
|
|
|
- return Container(
|
|
|
- alignment: Alignment.centerLeft,
|
|
|
- margin: const EdgeInsets.all(10.0), // 设置外边距
|
|
|
- padding: const EdgeInsets.all(5.0), // 设置内边距
|
|
|
- decoration: BoxDecoration(
|
|
|
- color: Colors.grey[200], // 设置背景颜色
|
|
|
- borderRadius: BorderRadius.circular(16.0), // 设置圆角边框
|
|
|
- ),
|
|
|
- height: 60,
|
|
|
- width: 520,
|
|
|
- child: VSearchInput(
|
|
|
- textEditingController: TextEditingController(text: ""),
|
|
|
- placeholder: "请输入身份证号码",
|
|
|
- clearable: true,
|
|
|
- onClear: () {},
|
|
|
- onSearch: (value) {
|
|
|
- controller.getRegisterInfoPage(
|
|
|
- keyword: value,
|
|
|
- );
|
|
|
- },
|
|
|
- ),
|
|
|
+ return Row(
|
|
|
+ children: [
|
|
|
+ Container(
|
|
|
+ alignment: Alignment.centerLeft,
|
|
|
+ margin: const EdgeInsets.all(10.0), // 设置外边距
|
|
|
+ padding: const EdgeInsets.all(5.0), // 设置内边距
|
|
|
+ decoration: BoxDecoration(
|
|
|
+ color: Colors.grey[200], // 设置背景颜色
|
|
|
+ borderRadius: BorderRadius.circular(16.0), // 设置圆角边框
|
|
|
+ ),
|
|
|
+ height: 60,
|
|
|
+ width: 520,
|
|
|
+ child: VSearchInput(
|
|
|
+ textEditingController: TextEditingController(text: ""),
|
|
|
+ placeholder: "请输入身份证号码",
|
|
|
+ clearable: true,
|
|
|
+ onClear: () {},
|
|
|
+ onSearch: (value) {
|
|
|
+ controller.getRegisterInfoPage(
|
|
|
+ keyword: value,
|
|
|
+ );
|
|
|
+ },
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ IconButton(
|
|
|
+ onPressed: () {
|
|
|
+ Get.dialog(
|
|
|
+ FilterTime(
|
|
|
+ onConfirm: (start, end) {
|
|
|
+ controller.getRegisterInfoPage(
|
|
|
+ startTime: start,
|
|
|
+ endTime: end,
|
|
|
+ );
|
|
|
+ },
|
|
|
+ ),
|
|
|
+ );
|
|
|
+ },
|
|
|
+ icon: Icon(
|
|
|
+ Icons.filter_alt,
|
|
|
+ size: 24,
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ Expanded(child: SizedBox()),
|
|
|
+ ],
|
|
|
);
|
|
|
}
|
|
|
}
|