<template>
  <div class="stat-container">
    <!-- 统计 -->
    <RejectStatistics class="monitor-section" />
    <!-- 记录 -->
    <RejectRecord class="monitor-section" />
  </div>
</template>

<script setup lang="ts">
  import RejectRecord from './RejectRecord.vue';
  import RejectStatistics from './RejectStatistics.vue';

  defineOptions({
    name: 'RejectStat',
  });
</script>

<style scoped>
  .stat-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 90px);
    gap: 16px;
    overflow: hidden;
    min-width: 800px;
  }

  .monitor-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0;
  }

  .monitor-section :deep(.page-table) {
    flex: 1;
    overflow: auto;
  }

  .monitor-section :deep(.el-pagination) {
    margin-top: 16px;
    justify-content: center;
  }
</style>
