<template>
  <div class="quality-monitor-container">
    <!-- 分组统计仲裁 -->
    <QualityMonitorGroup class="monitor-section" />

    <!-- 评卷员质量监控 -->
    <QualityMonitorMarker class="monitor-section" />
  </div>
</template>

<script setup lang="ts">
  import QualityMonitorGroup from './QualityMonitorGroup.vue';
  import QualityMonitorMarker from './QualityMonitorMarker.vue';

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

<style scoped>
  .quality-monitor-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 136px);
    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>
