<view class="patient-tabs-pro-filters">
  <filter-content
    type="{{ type }}"
    status="{{ status }}"
    items="{{ options }}"
    onTypeTap="onShowMask"
    onTimeTap="onShowTime"
    onCardTap="onCardTap"
    onStatusTap="onShowStatusMask"
    timeEnd="{{ filters.endTime }}"
    cardNum="{{ filters.cardNum }}"
    hisPatientId="{{ filters.hisPatientId }}"
    timeStart="{{ filters.startTime }}"
    showCard="{{ showCard }}"
    showOption="{{ showOptions }}"
    showTime="{{ showTime}}"
    statusItems="{{ statusList }}"
    showStatus="{{ showStatus }}"
    defaultName="{{ defaultName }}"
    showTimeSelector="{{ showTimeSelector }}"
    defaultStatus="{{ defaultStatus }}"
  />
  <time-option
    onCancel="onCancelTime"
    timeShow="{{showTime}}"
    onReset="onResetTime"
    onConfirm="onConfirmTime"
  />
  <mask-option
    value="{{ type }}"
    type="{{ type }}"
    status="{{ status }}"
    onClose="onCloseMask"
    options="{{ options }}"
    show="{{ showOptions }}"
    onChange="onTypeChange"
    timeStart="{{ filters.startTime }}"
    timeEnd="{{ filters.endTime }}"
    cardNum="{{ filters.cardNum }}"
    hisPatientId="{{ filters.hisPatientId }}"
    statusItems="{{ statusList }}"
    defaultLabel="{{ defaultLabel }}"
    defaultName="{{ defaultName }}"
    showTimeSelector="{{ showTimeSelector }}"
  />
  <mask-option
    value="{{ status }}"
    type="{{ type }}"
    status="{{ status }}"
    defaultLabel="{{ defaultLabel || '全部状态'}}"
    onClose="onCloseStatusMask"
    options="{{ options }}"
    showStatus="{{ showStatus }}"
    onChange="onStatusChange"
    timeStart="{{ filters.startTime }}"
    timeEnd="{{ filters.endTime }}"
    cardNum="{{ filters.cardNum }}"
    hisPatientId="{{ filters.hisPatientId }}"
    statusItems="{{ statusList }}"
    showTimeSelector="{{ showTimeSelector }}"
    defaultStatus="{{ defaultStatus }}"
  />
  <select-card
    show="{{ showCard || false }}"
    onClose="onClosePopup"
    onChange="onCardChange"
    defaultList="{{ medicCards }}"
  />
</view>
