<template>
  <div class="p-base full">
    <el-radio-group v-model="viewType">
      <el-radio-button label="progress">科目进度</el-radio-button>
      <el-radio-button label="check">收尾检查</el-radio-button>
    </el-radio-group>
    <div class="p-t-base">
      <component :is="viewType === 'progress' ? SubjectProgress : EndCheck"></component>
    </div>
  </div>
</template>

<script setup lang="ts" name="QualityEndingCheck">
/** 科目进度收尾 */
import { ref } from 'vue'
import { ElRadioGroup, ElRadioButton } from 'element-plus'
import SubjectProgress from './components/SubjectProgress.vue'
import EndCheck from './components/EndCheck.vue'

const viewType = ref<'progress' | 'check'>('progress')
</script>

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