<template>
  <div>
   <BasicTable @register="registerTable">
    </BasicTable>
  </div>
</template>

<script lang="ts" name="baosong-baosongTaskAlloc" setup>
  import {BasicTable} from '/@/components/Table';
  import { useListPage } from '/@/hooks/system/useListPage'
  import {columns, searchFormSchema} from './BaosongTaskAlloc.data';
  import {list} from './BaosongTaskAlloc.api';

  //注册table数据
  const { prefixCls,tableContext } = useListPage({
      tableProps:{
           title: '任务分配',
           api: list,
           columns,
            canResize:false,
            useSearchForm: true,
            showActionColumn: false,
            showIndexColumn: true,
           formConfig: {
              //labelWidth: 120,
              schemas: searchFormSchema,
              autoSubmitOnEnter:true,
              showAdvancedButton:true,
              fieldMapToNumber: [
              ],
              fieldMapToTime: [
              ],
            },
      },
  })

  const [registerTable] = tableContext

</script>

<style scoped>

</style>