<template>
  <div class="main-contain">
    <div class="position">
      <bread-crumb :crumbs="crumbs"></bread-crumb>
    </div>
    <div class="app-container">
      <div class="page_workAnalysis">
        <el-tabs v-model="activeName">
          <el-tab-pane label="医生" name="first">
              <doctor v-if="activeName == 'first'"></doctor>
          </el-tab-pane>
          <el-tab-pane label="护士" name="second">
              <nurse v-if="activeName == 'second'"></nurse>
          </el-tab-pane>
        </el-tabs>
      </div>
    </div>
  </div>
</template>


<script>
import doctor from './doctor'
import nurse from './nurse'
import BreadCrumb from "@/xt_pages/components/bread-crumb";
export default {
    components:{
        doctor,
        nurse,
        BreadCrumb
    },
    data(){
        return{
            crumbs: [
                { path: false, name: "质控管理" },
                { path: false, name: "工作量分析统计" }
            ],
            activeName:'first'
        }
    }
}
</script>
