<template>
  <task-list-panel
    scene="member"
    :show-search-type="true"
    :show-company-filter="true"
    :show-dept-filter="true"
    :show-user-filter="true"
    :allow-batch-delete="true"
    switch-route="/otr/task/table"
    :search-type-options="searchTypeOptions"
  />
</template>

<script setup lang="ts">
import TaskListPanel from '@/modules/otr/task/components/TaskListPanel.vue'

const searchTypeOptions = [
  { label: '全部', value: '' },
  { label: 'Ta负责的', value: '1' },
  { label: 'Ta参与的', value: '2' },
  { label: 'Ta分配的', value: '3' },
  { label: '分配给Ta的', value: '4' },
]
</script>

