소스 검색

筛选全选逻辑提交

finlay 10 달 전
부모
커밋
e1ea36626f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/pages/patient/list/controller.dart

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

@@ -289,7 +289,7 @@ class PatientListController extends FControllerBase
       keyword: state.searchString,
       startTime: state.startTime.value,
       endTime: state.endTime.value?.add(const Duration(days: 1)),
-      crowdLabels: crowdLabelsController.state.isAllSelect
+      crowdLabels: crowdLabelsController.state.selectedCodes.length == 0
           ? null
           : crowdLabelsController.state.selectedCodes,
       createdBySelf: state.selectBoxFilterFounder == 0,