Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

check.vue 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <template>
  2. <div class="main-contain">
  3. <div class="position">
  4. <bread-crumb :crumbs="crumbs"></bread-crumb>
  5. </div>
  6. <div class="app-container">
  7. <div class="page_treatment">
  8. <el-tabs v-model="activeName" @tab-click="handleClick">
  9. <el-tab-pane label="患者透析次数统计" name="first"></el-tab-pane>
  10. <el-tab-pane label="患者检验检查统计" name="second"></el-tab-pane>
  11. </el-tabs>
  12. <div class="cell clearfix">
  13. <div class="time">
  14. <ul class>
  15. <li
  16. :class="item.state == wayType ? 'active' : ''"
  17. @click="chooseWay(item.state)"
  18. v-for="item in way"
  19. :key="item.value"
  20. >{{ item.label }}</li>
  21. </ul>
  22. </div>
  23. </div>
  24. <div v-if="wayType == 0">
  25. <check-personal></check-personal>
  26. </div>
  27. <div v-if="wayType == 1">
  28. <check-all></check-all>
  29. </div>
  30. </div>
  31. </div>
  32. </div>
  33. </template>
  34. <script>
  35. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  36. import LineChart from "../../qcd/components/LineChart";
  37. import CheckPersonal from "../treatmentControlAnalysis/components/CheckPersonal";
  38. import CheckAll from "../treatmentControlAnalysis/components/CheckAll";
  39. export default {
  40. components: {
  41. LineChart,
  42. BreadCrumb,
  43. CheckPersonal,
  44. CheckAll
  45. },
  46. data() {
  47. return {
  48. crumbs: [
  49. { path: false, name: "质控管理" },
  50. { path: false, name: "治疗信息统计" },
  51. { path: false, name: "患者透析次数统计" }
  52. ],
  53. activeName: "second",
  54. way: [
  55. { value: 0, label: "统计个人", state: 0 },
  56. { value: 1, label: "统计全部", state: 1 }
  57. ],
  58. wayType: 0
  59. };
  60. },
  61. methods: {
  62. handleClick() {
  63. if (this.activeName == "first") {
  64. this.$router.push({ path: "/qcd/treatmentControlAnalysis/time" });
  65. }
  66. },
  67. chooseWay(way) {
  68. this.wayType = way;
  69. }
  70. }
  71. };
  72. </script>
  73. <style lang="scss">
  74. .page_treatment {
  75. .el-form-item {
  76. margin-bottom: 0;
  77. }
  78. }
  79. </style>