<view class="patient-tabs-pro">
  <adc-tab
    tabs="{{ patients }}"
    tabsName="activeTab"
    showPlus="{{ patients.length > 0 ? true : false }}"
    swipeable="{{ false }}"
    activeTab="{{ activeTab }}"
    onTabClick="handleTabClick"
    onPlusClick="handlePlusClick"
  >
    <!--这里是筛选项-->
    <view slot="header" a:if="{{ hasFilter }}">
      <filters
        filters="{{ filters }}"
        type="{{ filters.type }}"
        status="{{ filters.status }}"
        onChange="onFilterChange"
        medicCards="{{ medicCards }}"
        options="{{ typeOptions }}"
        statusList="{{ statusItems }}"
        defaultName="{{ defaultName }}"
        defaultLabel="{{ defaultLabel }}"
        defaultStatus="{{ defaultStatus }}"
        showTimeSelector="{{ showTimeSelector }}"
      />
    </view>
  </adc-tab>
  <view class="patient-tabs-content">
    <slot />
  </view>
</view>
