|
@@ -15,7 +15,9 @@ class HealthCheckListController extends GetxController {
|
|
|
final registrationManager = Get.find<IRegistrationManager>();
|
|
|
final state = ListState();
|
|
|
|
|
|
- HealthCheckListController() {}
|
|
|
+ String? checkKey = "HEIBasic";
|
|
|
+
|
|
|
+ HealthCheckListController({this.checkKey});
|
|
|
|
|
|
/// 登记
|
|
|
ResidentModel resident = ResidentModel(
|
|
@@ -135,11 +137,14 @@ class HealthCheckListController extends GetxController {
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
children: [
|
|
|
TextButton(
|
|
|
- onPressed: () async {
|
|
|
- await changeHeartCheck(rowData);
|
|
|
- onRowTap.call(rowData);
|
|
|
- },
|
|
|
- child: const Text("检查")),
|
|
|
+ onPressed: () async {
|
|
|
+ await changeHeartCheck(rowData);
|
|
|
+ onRowTap.call(rowData);
|
|
|
+ },
|
|
|
+ child: Text(
|
|
|
+ checkKey == "HEITCMC" ? "检测" : "检查",
|
|
|
+ ),
|
|
|
+ ),
|
|
|
],
|
|
|
),
|
|
|
),
|