<template>
  <div class="view-fileUpload-c">
    <div class="view-fileUpload-btn">
      <el-radio-group v-model="summarizing">
        <el-radio-button label="文件上传"></el-radio-button>
        <el-radio-button label="上传记录"></el-radio-button>
      </el-radio-group>
    </div>

    <FileUpload v-if="summarizing == '文件上传'" />
    <UploadRecord v-if="summarizing == '上传记录'" />
  </div>
</template>

<script>
import FileUpload from './components/FileUpload.vue'
import UploadRecord from './components/UploadRecord.vue'
export default {
  name: 'fileUpload',
  components: { FileUpload, UploadRecord },
  data() {
    // 这里存放数据
    return {
      summarizing: '文件上传'
    }
  }
}
</script>

<style lang="scss">
@import './index.scss';
</style>
