<template>
  <div class="page_workload">
      <div class="workloadTitle">
        <i class="iconfont icon-zuojiantou jiantou" @click="$router.go(-1)"></i>
        <span class="titleName">工作量分析统计</span>
      </div>

    <div>
      <van-tabs v-model="active" sticky>
        <van-tab title="医生">
          <doctor></doctor>
        </van-tab>
        <van-tab title="护士">
          <nurse></nurse>
        </van-tab>
      </van-tabs>
    </div>
  </div>
</template>

<script>
import doctor from "../dqc/components/doctor";
import nurse from "../dqc/components/nurse";
export default {
  components: {
    doctor,
    nurse
  },
  data() {
    return {
      active: 0
    };
  }
};
</script>


<style lang="scss" scoped>
.page_workload {
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
  .workloadTitle {
    background: #fff;
    padding: 0 1.125rem;
    height: 3.125rem;
    display: flex;
    align-items: center;
  }
  .jiantou {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 6.5rem;
  }
  .titleName {
    font-size: 1.125rem;
    font-weight: 600;
  }
}
::-webkit-scrollbar {
  height: 0;
  width: 0;
}
</style>

<style lang="scss">
.page_workload {
  .van-tabs__line {
    width: 3.125rem !important;
    background-color: #5b98ff;
  }
  .van-tab--active {
    font-size: 1.125rem;
    font-weight: bold;
  }
}
</style>
