<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 { columnsgjkfj, searchFormSchemagjk } from './data';
  import { fileErrorllist } from './api';

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

  const [registerTable] = tableContext;
</script>
<style scoped>
  :deep(.ant-row) {
    display: none;
  }
</style>
