|
@@ -7,6 +7,7 @@ import 'package:fis_jsonrpc/rpc.dart';
|
|
|
import 'package:fis_ui/base_define/page.dart';
|
|
|
import 'package:get/get.dart';
|
|
|
import 'package:vitalapp/components/button.dart';
|
|
|
+import 'package:vitalapp/components/search_input.dart';
|
|
|
import 'package:vitalapp/pages/consultation_record_view/index.dart';
|
|
|
import 'package:vitalapp/pages/consultation_record_view/widgets/search_input.dart';
|
|
|
|
|
@@ -28,16 +29,17 @@ class ConsultationRecordFilter extends GetView<ConsultationRecordViewController>
|
|
|
Row(
|
|
|
children: [
|
|
|
Container(
|
|
|
- width: 280,
|
|
|
- child: SearchInput(
|
|
|
- businessParent: this,
|
|
|
- margin: EdgeInsets.all(0),
|
|
|
- onChanged: (value) {
|
|
|
- controller.keyWord = value;
|
|
|
- },
|
|
|
- hintText: i18nBook.remedical.searchKeyword.t,
|
|
|
- focusNode: controller.searchInputFocusNode,
|
|
|
- serchOnPressed: () {
|
|
|
+ alignment: Alignment.centerLeft,
|
|
|
+ margin: const EdgeInsets.all(10.0), // 设置外边距
|
|
|
+
|
|
|
+ height: 60,
|
|
|
+ width: 410,
|
|
|
+ child: VSearchInput(
|
|
|
+ onClear: () {},
|
|
|
+ clearable: true,
|
|
|
+ placeholder: i18nBook.remedical.searchKeyword.t,
|
|
|
+ onSearch: (v) {
|
|
|
+ controller.keyWord = v;
|
|
|
controller.searchFindRecordPages();
|
|
|
},
|
|
|
),
|
|
@@ -90,13 +92,13 @@ class ConsultationRecordFilter extends GetView<ConsultationRecordViewController>
|
|
|
readOnly: false,
|
|
|
),
|
|
|
),
|
|
|
- if (FPlatform.isWindows)
|
|
|
+ if (FPlatform.isWindows || kDebugMode)
|
|
|
Expanded(
|
|
|
child: FSizedBox(
|
|
|
width: 10,
|
|
|
),
|
|
|
),
|
|
|
- if (FPlatform.isWindows)
|
|
|
+ if (FPlatform.isWindows || kDebugMode)
|
|
|
SizedBox(
|
|
|
width: 60,
|
|
|
height: 36,
|