<template>
  <div class="p-base full">
    <el-radio-group v-model="viewType">
      <el-radio-button label="total">评卷进度</el-radio-button>
      <el-radio-button label="group">组员进度</el-radio-button>
    </el-radio-group>
    <div class="p-t-base">
      <component :is="viewType === 'total' ? TotalProgress : GroupProgress"></component>
    </div>
  </div>
</template>

<script setup lang="ts" name="MarkingProgress">
/** 评卷进度统计 */
import { ref } from 'vue'
import { ElRadioGroup, ElRadioButton } from 'element-plus'
import TotalProgress from './components/TotalProgress.vue'
import GroupProgress from './components/GroupProgress.vue'

const viewType = ref<'total' | 'group'>('total')
</script>

<style scoped lang="scss"></style>
