selectedListWithoutUnlimit method
获取当前节点的所有选中的子节点, 不包含【不限】节点
Implementation
List<SelectionEntity> selectedListWithoutUnlimit() {
List<SelectionEntity> selected = selectedList();
return selected
.where((_) => !_.isUnLimit())
.where((_) =>
(_.filterType != SelectionFilterType.range) ||
(_.filterType == SelectionFilterType.range &&
!PhoenixTools.isEmpty(_.customMap)))
.where((_) =>
(_.filterType != SelectionFilterType.dateRange) ||
(_.filterType == SelectionFilterType.dateRange &&
!PhoenixTools.isEmpty(_.customMap)))
.where((_) =>
(_.filterType != SelectionFilterType.dateRangeCalendar) ||
(_.filterType == SelectionFilterType.dateRangeCalendar &&
!PhoenixTools.isEmpty(_.customMap)))
.toList();
}