血透系统PC前端

dialysisMonitoring.vue 4.7KB

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