BoardInfo.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <script setup lang="ts">
  2. import {SYSTEM_CONFIG} from "@/utils/public";
  3. import {InpatientBoardKey} from "@/views/single-page/InpatientBoardV2/index";
  4. import BoardCard from "@/views/single-page/InpatientBoardV2/BoardCard.vue";
  5. const {store} = inject(InpatientBoardKey)!
  6. </script>
  7. <template>
  8. <div class="layout_container info_main">
  9. <div class="layout_container" style="height: max-content;">
  10. <div class="layout_main layout_container layout-horizontal">
  11. <div class="layout_main">
  12. <b style="font-size: 2.63rem">{{ SYSTEM_CONFIG.HOSPITAL_NAME }} | {{ store.urlQuery.wardName }}</b>
  13. <div>床位 - {{ store.data.value.length }} 在用 / {{ store.bedCount.value }} 全部</div>
  14. <div style="height: 2px;background-color: #0a84fd;margin-top: 5px"></div>
  15. </div>
  16. <div class="右边宽度">
  17. <div class="蓝色底框" style="font-size: 1.56rem">
  18. {{ store.time.weekName }}
  19. <br/>
  20. {{ store.time.now }}
  21. </div>
  22. </div>
  23. </div>
  24. </div>
  25. <div class="layout_main layout_container layout-horizontal" style="padding: 0 0.63rem">
  26. <div class="layout_main" style="padding: 0">
  27. <BoardCard/>
  28. </div>
  29. <div class="右边宽度">
  30. <div class="深度边框">
  31. <b>护理信息:</b>
  32. <div class="护理信息">
  33. <dv-scroll-board v-bind="store.dvTableData.huli" class="layout_h-w_max"/>
  34. </div>
  35. </div>
  36. <div class="深度边框" style="margin-top: 0.63rem">
  37. <b>今日手术:</b>
  38. <div class="护理信息">
  39. <dv-scroll-board v-bind="store.dvTableData.operation" class="layout_h-w_max"/>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. </template>
  46. <style lang="scss">
  47. .info_main {
  48. .护理信息 {
  49. height: 12.50rem;
  50. padding-top: 0.63rem;
  51. overflow: hidden;
  52. }
  53. .右边宽度 {
  54. width: 23%;
  55. }
  56. .蓝色底框 {
  57. margin-top: 0.31rem;
  58. padding-bottom: 0.31rem;
  59. border-bottom: 0.19rem solid #0a84fd;
  60. }
  61. .深度边框 {
  62. border-radius: 0.63rem;
  63. padding: 0.31rem;
  64. background-color: #1c2641;
  65. }
  66. }
  67. </style>