<template>
  <div>
    <n-card>
      <headSearch :info="search" @search="handleSearch" @reset="handleSearch" />
      <data-table
        ref="tableRef"
        :columns="columns"
        :request="loadDataTable"
        :row-key="(row) => row.id"
        :scroll-x="2200"
        size="large"
      >
        <template #tableTitle>
          <n-button type="primary" @click="handleModal"> 新建 </n-button>
        </template>
      </data-table>
    </n-card>
  </div>
</template>

<script>
import headSearch from '@/components/Search/index.vue'
import dataTable from '@/components/DataTable/index.vue'
import { reactive } from '@vue/reactivity'
export default {
  name: 'AllTask',
  components: { headSearch, dataTable },
  setup() {
    const data = reactive({

    })
  }
}

</script>
<style scoped lang='scss'>
</style>
