index.vue 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <!-- 白蛋白 -->
  2. <template>
  3. <div class="main-contain">
  4. <div class="position">
  5. <bread-crumb :crumbs="crumbs"></bread-crumb>
  6. </div>
  7. <div class="app-container">
  8. <div class="page_patientControlAnalysis">
  9. <el-tabs v-model="activeName" @tab-click="handleClick" >
  10. <el-tab-pane label="统计全部" name="first">
  11. <keep-alive>
  12. <albuminall v-if="activeName == 'first'"></albuminall>
  13. </keep-alive>
  14. </el-tab-pane>
  15. <el-tab-pane label="统计个人" name="second">
  16. <keep-alive>
  17. <albuminalone v-if="activeName == 'second'"></albuminalone>
  18. </keep-alive>
  19. </el-tab-pane>
  20. </el-tabs>
  21. </div>
  22. </div>
  23. </div>
  24. </template>
  25. <script>
  26. // import echarts from 'echarts'
  27. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  28. import albuminall from './albuminall.vue'
  29. import albuminalone from './albuminalone.vue'
  30. export default {
  31. name:'thyroidGland',
  32. components: {
  33. BreadCrumb,
  34. albuminall,
  35. albuminalone
  36. },
  37. data() {
  38. return {
  39. activeName: 'first'
  40. }
  41. },
  42. methods:{
  43. handleClick(tab, event) {
  44. console.log(tab, event);
  45. }
  46. }
  47. }
  48. </script>
  49. <style lang="scss" scoped>
  50. // .page_patientControlAnalysis {
  51. // .pointTitle {
  52. // font-size: 13px;
  53. // }
  54. // .chartTitle {
  55. // font-size: 16px;
  56. // font-weight: bold;
  57. // color: #000000;
  58. // }
  59. // .point {
  60. // width: 13px;
  61. // height: 13px;
  62. // background: linear-gradient(
  63. // 0deg,
  64. // rgba(169, 224, 243, 1),
  65. // rgba(159, 189, 252, 1)
  66. // );
  67. // border-radius: 7px;
  68. // margin-right: 8px;
  69. // }
  70. // .pointTitle {
  71. // font-size: 13px;
  72. // }
  73. // }
  74. </style>
  75. <style lang="scss">
  76. // .page_patientControlAnalysis {
  77. // .el-form-item {
  78. // margin-bottom: 0;
  79. // }
  80. // .cell {
  81. // text-align: center;
  82. // }
  83. // ::-webkit-scrollbar {
  84. // height: 15px !important;
  85. // }
  86. // }
  87. </style>