<template>
  <Card title="项目困人排行" :loading="loading">
    <BasicTable @register="registerTable"> </BasicTable>
  </Card>
</template>
<script lang="ts" setup>
import { Ref, ref } from "vue";
import { Card } from "ant-design-vue";
import { BasicTable, useTable, TableAction } from "@/components/Table";
import { infoList, kurenList } from "@/api/basicInfo/elevator";
import { columns3 } from "./trapped.data";
const props = defineProps({
  loading: Boolean,
});
const [registerTable, {}] = useTable({
  title: "",
  api: kurenList,
  showIndexColumn: false,
  rowKey: "id",
  useSearchForm: false,
  showTableSetting: false,
  columns: columns3,
});
</script>

<style lang="less" scoped>
/deep/.ant-card-body {
  padding: 0 !important;
}
</style>
