Ver código fonte

Merge branch 'master' of http://git.ius.plus/Project-Vital/VitalApp

loki.wu 10 meses atrás
pai
commit
2787a27530

+ 2 - 1
lib/pages/medical/widgets/health_heart_check/health_check_list/controller.dart

@@ -1,5 +1,6 @@
 import 'package:fis_common/event/event_type.dart';
 import 'package:fis_jsonrpc/rpc.dart';
+import 'package:flutter/foundation.dart';
 import 'package:flutter/material.dart';
 import 'package:get/get.dart';
 import 'package:vitalapp/architecture/types/index.dart';
@@ -160,7 +161,7 @@ class HeartCheckListController extends GetxController {
               },
               child: Text(
                 style: TextStyle(fontSize: 18),
-                "检查",
+                kIsWeb ? "编辑" : "检查",
               ),
             ),
           ],

+ 1 - 0
lib/pages/patient/list/controller.dart

@@ -266,6 +266,7 @@ class PatientListController extends FControllerBase
       startTime: state.startTime.value,
       endTime: state.endTime.value?.add(const Duration(days: 1)),
       crowdLabels: crowdLabelsController.state.selectedCodes,
+      createdBySelf: state.selectBoxFilterFounder == 0,
     );
 
     final pagedList = await _patientManager.getPagedList(request);

+ 15 - 15
lib/pages/patient/list/view.dart

@@ -192,21 +192,21 @@ class PatientListPage extends GetView<PatientListController> {
                 // CrowdSelectLabelView(
                 //   controller: controller.crowdLabelsController,
                 // ),
-                // const Text(
-                //   '创建者:',
-                //   style: TextStyle(fontSize: 20),
-                // ),
-                // const SizedBox(
-                //   height: 20,
-                // ),
-                // Obx(
-                //   () => Row(
-                //     children: [
-                //       _tabRadio(title: "建档医生", value: 0),
-                //       _tabRadio(title: "团队", value: 1)
-                //     ],
-                //   ),
-                // ),
+                const Text(
+                  '创建者:',
+                  style: TextStyle(fontSize: 20),
+                ),
+                const SizedBox(
+                  height: 20,
+                ),
+                Obx(
+                  () => Row(
+                    children: [
+                      _tabRadio(title: "建档医生", value: 0),
+                      _tabRadio(title: "团队", value: 1)
+                    ],
+                  ),
+                ),
               ],
             ),
           ),