|
|
|
|
@ -64,6 +64,7 @@ class _InPatientListPageState extends State<InPatientListPage> {
|
|
|
|
|
setState(() {
|
|
|
|
|
isAllClinic = true;
|
|
|
|
|
showBottomSheet = false;
|
|
|
|
|
selectedClinicName = null;
|
|
|
|
|
});
|
|
|
|
|
widget.patientSearchViewModel
|
|
|
|
|
.setDefaultInPatientList();
|
|
|
|
|
@ -80,6 +81,7 @@ class _InPatientListPageState extends State<InPatientListPage> {
|
|
|
|
|
onTap: () {
|
|
|
|
|
setState(() {
|
|
|
|
|
isAllClinic = true;
|
|
|
|
|
selectedClinicName = null;
|
|
|
|
|
showBottomSheet = false;
|
|
|
|
|
});
|
|
|
|
|
widget.patientSearchViewModel.setDefaultInPatientList();
|
|
|
|
|
@ -88,7 +90,7 @@ class _InPatientListPageState extends State<InPatientListPage> {
|
|
|
|
|
InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
setState(() {
|
|
|
|
|
isAllClinic = false;
|
|
|
|
|
|
|
|
|
|
if (widget.patientSearchViewModel.InpatientClinicList
|
|
|
|
|
.length >
|
|
|
|
|
0) showBottomSheet = true;
|
|
|
|
|
@ -102,7 +104,6 @@ class _InPatientListPageState extends State<InPatientListPage> {
|
|
|
|
|
onChanged: (value) {
|
|
|
|
|
setState(() {
|
|
|
|
|
setState(() {
|
|
|
|
|
isAllClinic = false;
|
|
|
|
|
if (widget.patientSearchViewModel
|
|
|
|
|
.InpatientClinicList.length >
|
|
|
|
|
0) showBottomSheet = true;
|
|
|
|
|
|