<template>
  <div class="template-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="样本库" name="first">
        <search />
      </el-tab-pane>
      <el-tab-pane label="医生管理" name="second">
        <doctor />
      </el-tab-pane>
      <el-tab-pane label="eCRF管理" name="third">
        <eCrf></eCrf>
      </el-tab-pane>
      <el-tab-pane label="受试者管理" name="fourth">
        <patientSubject></patientSubject>
      </el-tab-pane>
      <el-tab-pane label="日志" name="five">
        <operateLog></operateLog>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import search from './patient-search/index'
import doctor from './doctor/index'
import eCrf from './ecrf/index'
import patientSubject from './patient-subject/index'
import operateLog from './log/index'

export default {
  components: { doctor, search, eCrf, patientSubject, operateLog },
  data() {
    return {
      activeName: 'first'
    }
  },
  mounted() {
  },
  methods: {
    handleClick() {

    }
  }
}
</script>

<style lang='scss' scoped>
.template-container {
}
</style>
