dialysisMonitoring.vue 6.7KB

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