<!--
 * @desc 文库管理-问卷管理
 * @author linyuanjie
 * @date 2023/10/16
-->

<template>
  <basic-container>
    <el-tabs v-model="activeName">
      <el-tab-pane label="试卷管理" name="questionnaire"> </el-tab-pane>
      <el-tab-pane label="题库管理" name="questionBank"></el-tab-pane>
    </el-tabs>
    <div class="content-box" >
      <el-scrollbar style="height:100%" class="content-scroll-bar">
        <component :is="activeName"></component>
      </el-scrollbar>
    </div>
  </basic-container>
</template>

<script>
import questionnaire from "@/views/admin/quiz/questionnaire";
import questionBank from "@/views/admin/quiz/questionBank";

export default {
  name: "index",
  components: { questionnaire, questionBank },
  data () {
    return {
      activeName: "questionnaire",
    }
  },
  methods: {

  }
}
</script>

<style scoped>

</style>
