<template>
  <task-list-panel
    scene="table"
    :show-search-type="true"
    :allow-create="true"
    switch-route="/otr/task/list"
    :search-type-options="searchTypeOptions"
  />
</template>

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

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

