<template>
  <div>
    <BasicTable @register="registerTable">
      <template #bodyCell="{ column, record }"> </template>
    </BasicTable>
  </div>
</template>
<script setup lang="ts">
import { blackBoxInfoList } from "@/api/blackBoxManage/blackBoxTim";
import { BasicTable, useTable, TableAction } from "@/components/Table";
import { columns } from "./blackBoxInfo.data";
import { formTableSchemas, tableColumns } from "./table.data";

const [registerTable, { reload, multipleRemove, selected, getForm }] = useTable({
  title: "",
  api: blackBoxInfoList,
  showIndexColumn: false,
  rowKey: "id",
  useSearchForm: true,
  showSummary: false,
  showTableSetting: false,
  formConfig: {
    schemas: formTableSchemas,
    labelWidth: 100,
    labelAlign: "right",

    baseColProps: {
      xs: 24,
      sm: 24,
      md: 24,
      lg: 9,
    },
  },
  columns: tableColumns,
});
</script>
<style lang="less" scoped>
/deep/ .vben-basic-table-form-container {
  padding: 0 !important;
}
</style>
