<template>
  <div>
    <!--引用表格-->
   <BasicTable @register="registerTable">
    </BasicTable>
  </div>
</template>

<script lang="ts" name="report-pushLog" setup>
  import {ref, computed, unref} from 'vue';
  import {BasicTable, useTable, TableAction} from '/@/components/Table';
  import {useModal} from '/@/components/Modal';
  import { useListPage } from '/@/hooks/system/useListPage'
  import {columnsgjk, searchFormSchemagjk} from './data';
  import { fileErrorllist } from './api';

  //注册model
  const [registerModal, {openModal}] = useModal();
  //注册table数据
  const { prefixCls,tableContext,onExportXls,onImportXls } = useListPage({
       tableProps:{
        title: '附件上传失败记录',
        api: fileErrorllist,
        columns: columnsgjk,
        canResize:false,
        pagination: {
          pageSize: 10000,
        },
        formConfig: {
          labelWidth: 120,
          schemas: searchFormSchemagjk,
          autoSubmitOnEnter:true,
          showAdvancedButton:true,
        },
        showActionColumn: false
      },
   })

   const [registerTable] = tableContext

</script>
<style scoped>

</style>
