|
@@ -85,11 +85,14 @@ class RegistrationList extends GetView<RegistrationController> {
|
|
|
return Container(
|
|
|
child: Column(
|
|
|
children: [
|
|
|
- if (controller.listController.examList().length != 0)
|
|
|
+ if (controller.listController
|
|
|
+ .noMedicalCheckUpList()
|
|
|
+ .length !=
|
|
|
+ 0)
|
|
|
_buildTitle("未做体检项"),
|
|
|
Column(
|
|
|
children: controller.listController
|
|
|
- .examList()
|
|
|
+ .noMedicalCheckUpList()
|
|
|
.map((e) => ListTile(
|
|
|
title: Text(_currentExam[e] ?? ''),
|
|
|
onTap: () {},
|
|
@@ -103,9 +106,8 @@ class RegistrationList extends GetView<RegistrationController> {
|
|
|
0)
|
|
|
_buildTitle("已做体检项"),
|
|
|
Column(
|
|
|
- children: (controller.listController.currentResident
|
|
|
- .finishedExamKeys ??
|
|
|
- [])
|
|
|
+ children: controller.listController
|
|
|
+ .medicalCheckUpList()
|
|
|
.map((e) => ListTile(
|
|
|
title: Text(_currentExam[e] ?? ''),
|
|
|
onTap: () {},
|