dialysisMonitoring.vue 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <template>
  2. <div class="plate-box">
  3. <h2 class="DetailsTit">
  4. <span>{{ title }}</span>
  5. </h2>
  6. <div style="width:100%;overflow:hildden;overflow-x:auto;">
  7. <table class="table" style="">
  8. <tr>
  9. <th v-if="isShow('监测时间')" width="124px">时间</th>
  10. <th v-if="isShow('体温')" width="72px">体温(℃)</th>
  11. <th v-if="isShow('血压')" width="72px">血压(mmHg)</th>
  12. <th v-if="isShow('脉搏')" width="80px">脉搏(次/分)</th>
  13. <th v-if="isShow('呼吸频率')" width="110px">呼吸频率(次/分)</th>
  14. <th width="76px">静脉压/动脉压(mmHg)</th>
  15. <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
  16. <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmhg)</th>
  17. <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13)" width="76px" > 超滤量(ml)</th>
  18. <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 13 " width="76px"> 超滤量(L) </th>
  19. <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
  20. <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
  21. <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11) " width="92px" > 置换率(ml/min) </th>
  22. <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 " width="92px" > 置换率(L/h) </th>
  23. <th v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11) " width="92px" > 置换量(ml) </th>
  24. <th v-if=" isShow('置换量') && template_id != 6 && template_id != 10 && template_id != 10 " width="92px" > 置换量(L) </th>
  25. <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11 " width="92px" > SpO₂(%) </th>
  26. <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
  27. <th v-if="isShow('置换液流量')" width="92px">置换液流量(ml/h)</th>
  28. <th v-if="isShow('透析液流量')" width="92px">透析液流量(ml/h)</th>
  29. <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
  30. <th v-if="isShow('病情变化')" width="92px">病情变化</th>
  31. <th v-if="isShow('处理')" width="92px">处理</th>
  32. <th v-if="isShow('结果')" width="92px">结果</th>
  33. </tr>
  34. <tr v-for="(monitor, index) in monitores" :key="index">
  35. <td v-if="isShow('监测时间')"> {{ parseTime(monitor.operate_time, "{y}-{m}-{d} {h}:{i}") }} </td>
  36. <td v-if="isShow('体温')"> {{ monitor.temperature ? monitor.temperature : "" }} </td>
  37. <td v-if="isShow('血压')"> {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/{{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }} </td>
  38. <td v-if="isShow('脉搏')"> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }} </td>
  39. <td v-if="isShow('呼吸频率')"> {{ monitor.breathing_rate ? monitor.breathing_rate : "" }} </td>
  40. <td> {{ monitor.venous_pressure ? monitor.venous_pressure : "" }} /{{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }} </td>
  41. <td v-if="isShow('血流量')"> {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }} </td>
  42. <td v-if="isShow('跨膜压')"> {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }} </td>
  43. <td v-if="isShow('超滤量')"> {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }} </td>
  44. <td v-if="isShow('钠浓度')"> {{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }} </td>
  45. <td v-if="isShow('透析液温度')"> {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }} </td>
  46. <td v-if="isShow('置换率')"> {{ monitor.replacement_rate ? monitor.replacement_rate : "" }} </td>
  47. <td v-if="isShow('置换量')"> {{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }} </td>
  48. <td v-if="isShow('SpO₂')"> {{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "" }} </td>
  49. <td v-if="isShow('电导度')"> {{ monitor.conductivity ? monitor.conductivity : "" }} </td>
  50. <th v-if="isShow('置换液流量')"> {{ monitor.displacement_flow_quantity ? monitor.displacement_flow_quantity : "" }} </th>
  51. <th v-if="isShow('透析液流量')"> {{ monitor.dialysate_flow ? monitor.dialysate_flow : "" }} </th>
  52. <th v-if="isShow('肝素用量余量')"> {{ monitor.heparin ? monitor.heparin : "" }} </th>
  53. <td v-if="isShow('病情变化')">{{ monitor.symptom }}</td>
  54. <td v-if="isShow('处理')">{{ monitor.dispose }}</td>
  55. <td v-if="isShow('结果')">{{ monitor.result }}</td>
  56. </tr>
  57. </table>
  58. </div>
  59. <div class="middleLine"></div>
  60. </div>
  61. </template>
  62. <script>
  63. import store from '@/store'
  64. import { parseTime } from '@/utils'
  65. export default {
  66. name: 'statOrder',
  67. data() {
  68. return {
  69. title: '透析监测 ',
  70. template_id: 0
  71. }
  72. },
  73. props: {
  74. monitores: {
  75. type: Array
  76. }
  77. },
  78. created() {
  79. this.template_id = this.$store.getters.xt_user.template_info.template_id
  80. },
  81. methods: {
  82. parseTime(time, layout) {
  83. return parseTime(time, layout)
  84. },
  85. isShow(name) {
  86. var filedList = store.getters.xt_user.fileds
  87. for (let i = 0; i < filedList.length; i++) {
  88. if (filedList[i].module == 4 && filedList[i].filed_name_cn == name && filedList[i].is_show === 1) {
  89. return true
  90. }
  91. }
  92. return false
  93. }
  94. }
  95. }
  96. </script>
  97. <style rel="stylesheet/scss" lang="scss" scoped>
  98. .table {
  99. width: 1500px;
  100. overflow: auto;
  101. font-size: 14px;
  102. text-align: center;
  103. border: $border-color;
  104. padding-bottom: 2px;
  105. tr {
  106. padding: 0;
  107. margin: 0;
  108. padding: 10px 0;
  109. th {
  110. background: $main-color;
  111. border: none;
  112. color: #fff;
  113. padding: 0;
  114. margin: 0;
  115. height: 44px;
  116. font-weight: normal;
  117. padding: 18px 0;
  118. }
  119. td {
  120. background: #f0f5fa;
  121. border: none;
  122. padding: 18px 0;
  123. }
  124. }
  125. }
  126. </style>