<template>
  <div class="page_patientsTreatmentInfo">
    <van-sticky>
      <div class="patientsTreatmentInfoTitle">
        <i class="iconfont icon-zuojiantou jiantou" @click="$router.go(-1)"></i>
        <span class="titleName">患者治疗信息统计</span>
      </div>
    </van-sticky>
    <div style="margin-top:1rem;">
      <van-cell title="患者透析次数统计" is-link @click="toDialysisTimes(1)" />
      <van-cell title="患者检验检查统计" is-link @click="toDialysisTimes(2)" />
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {}
  },
  methods: {
    toDialysisTimes (index) {
      if (index == 1) {
        this.$router.push('/dqc/dialysisTimes?tab_name=' + '患者透析次数统计')
      } else if (index == 2) {
        this.$router.push('/dqc/dialysisTimes?tab_name=' + '患者检验检查统计')
      }
    }
  }
}
</script>

<style lang="scss" scoped>
.page_patientsTreatmentInfo {
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
  background: #fafafa;
  .patientsTreatmentInfoTitle {
    background: #fff;
    padding: 0 1.125rem;
    height: 3.125rem;
    display: flex;
    align-items: center;
  }
  .jiantou {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 5rem;
  }
  .titleName {
    font-size: 1.125rem;
    font-weight: 600;
  }
  .van-cell {
    font-size: 1rem;
    padding: 0.825rem 1rem;
  }
}
</style>
