dialysisMonitoring.vue 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
  15. <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
  16. <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
  17. <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56)" width="76px" > 超滤量(ml)</th>
  18. <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40 && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46 && template_id != 47 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555" width="76px"> 超滤量(L) </th>
  19. <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56)" width="50px"> 超滤率 <br />(ml/h) </th>
  20. <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38 && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 && template_id !=48 && template_id !=53 && template_id !=54 && template_id !=56" width="50px"> 超滤率 <br />(L/h) </th>
  21. <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
  22. <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
  23. <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 47 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56) " width="92px" > 置换率(ml/min) </th>
  24. <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 47 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56" width="92px" > 置换率(L/h) </th>
  25. <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h) </th>
  26. <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56)" width="92px" > 置换量(ml) </th>
  27. <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56)" width="92px" > 置换量(L) </th>
  28. <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11 " width="92px" > SpO₂(%) </th>
  29. <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
  30. <th v-if="isShow('置换液流量') && template_id != 27" width="92px">置换液流量(ml/h)</th>
  31. <th v-if="isShow('置换液流量') && template_id == 27" width="92px">置换液流量(ml/min)</th>
  32. <th v-if="isShow('透析液流量')" width="92px">透析液流量(ml/h)</th>
  33. <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
  34. <th v-if="isShow('抗凝剂')" width="92px">抗凝剂</th>
  35. <th v-if="isShow('累计血容量')" width="92px">累计血容量
  36. <span v-if="template_id !=41">(ml)</span>
  37. <span v-if="template_id == 41">(L)</span>
  38. </th>
  39. <th v-if="isShow('血容量')" width="92px">血容量(L)</th>
  40. <th v-if="isShow('血温监测')" width="92px">血温监测</th>
  41. <th v-if="isShow('尿素监测')" width="92px">尿素监测</th>
  42. <th v-if="isShow('血浓量')" width="92px">血浓量</th>
  43. <th v-if="isShow('血压监测')" width="92px">血压监测</th>
  44. <th v-if="isShow('肝素量')" width="92px">肝素量(mg)</th>
  45. <th v-if="isShow('脱水')" width="92px">脱水(L)</th>
  46. <th v-if="isShow('KT/V') && (org_id == 9987 || org_id == 10215 || org_id == 9800)" width="92px">KT/V</th>
  47. <th v-if="isShow('病情变化')" width="92px">病情变化</th>
  48. <th v-if="isShow('处理')" width="92px">处理</th>
  49. <th v-if="isShow('结果')" width="92px">结果</th>
  50. </tr>
  51. <tr v-for="(monitor, index) in monitores" :key="index">
  52. <td v-if="isShow('监测时间')"> {{ parseTime(monitor.operate_time, "{y}-{m}-{d} {h}:{i}") }} </td>
  53. <td v-if="isShow('体温')"> {{ monitor.temperature ? monitor.temperature : "" }} </td>
  54. <td v-if="isShow('血压')"> {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/{{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }} </td>
  55. <td v-if="isShow('脉搏')"> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }} </td>
  56. <td v-if="isShow('呼吸频率')"> {{ monitor.breathing_rate ? monitor.breathing_rate : "" }} </td>
  57. <td> {{ monitor.venous_pressure ? monitor.venous_pressure : "" }} /{{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }} </td>
  58. <td v-if="isShow('血流量')"> {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }} </td>
  59. <td v-if="isShow('跨膜压')"> {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }} </td>
  60. <td v-if="isShow('超滤量')"> {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }} </td>
  61. <td v-if="isShow('超滤率')" >{{monitor.ultrafiltration_rate?monitor.ultrafiltration_rate:''}}</td>
  62. <td v-if="isShow('钠浓度')"> {{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }} </td>
  63. <td v-if="isShow('透析液温度')"> {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }} </td>
  64. <td v-if="isShow('置换率')"> {{ monitor.replacement_rate ? monitor.replacement_rate : "" }} </td>
  65. <td v-if="isShow('置换量')"> {{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }} </td>
  66. <td v-if="isShow('SpO₂')"> {{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "" }} </td>
  67. <td v-if="isShow('电导度')"> {{ monitor.conductivity ? monitor.conductivity : "" }} </td>
  68. <td v-if="isShow('置换液流量')"> {{ monitor.displacement_flow_quantity ? monitor.displacement_flow_quantity : "" }} </td>
  69. <td v-if="isShow('透析液流量')"> {{ monitor.dialysate_flow ? monitor.dialysate_flow : "" }} </td>
  70. <td v-if="isShow('肝素用量余量')"> {{ monitor.heparin ? monitor.heparin : "" }} </td>
  71. <td v-if="isShow('抗凝剂')">
  72. <span v-if="monitor.monitor_anticoagulant == 1">无肝素</span>
  73. <span v-if="monitor.monitor_anticoagulant == 2">普通肝素</span>
  74. <span v-if="monitor.monitor_anticoagulant == 3">低分子肝素</span>
  75. <span v-if="monitor.monitor_anticoagulant == 4">阿加曲班</span>
  76. <span v-if="monitor.monitor_anticoagulant == 5">枸橼酸钠</span>
  77. <span v-if="monitor.monitor_anticoagulant == 6">低分子肝素钙</span>
  78. <span v-if="monitor.monitor_anticoagulant == 7">低分子肝素钠</span>
  79. <span v-if="monitor.monitor_anticoagulant == 8">依诺肝素</span>
  80. <span v-if="monitor.monitor_anticoagulant == 9">达肝素</span>
  81. <span v-if="monitor.monitor_anticoagulant == 12">无抗凝剂</span>
  82. <span v-if="monitor.monitor_anticoagulant_value!=''">({{monitor.monitor_anticoagulant_value ? monitor.monitor_anticoagulant_value : "" }})</span>
  83. </td>
  84. <th v-if="isShow('累计血容量')" width="92px">{{monitor.accumulated_blood_volume ? monitor.accumulated_blood_volume : ""}}</th>
  85. <th v-if="isShow('血容量')" width="92px">{{monitor.accumulated_blood_volume ? monitor.accumulated_blood_volume : ""}}</th>
  86. <th v-if="isShow('血温监测')" width="92px">{{monitor.blood_temperature ? monitor.blood_temperature : ""}}</th>
  87. <th v-if="isShow('尿素监测')" width="92px">{{monitor.urea_monitoring ? monitor.urea_monitoring : ""}}</th>
  88. <th v-if="isShow('血浓量')" width="92px">{{monitor.blood_thickness ? monitor.blood_thickness : ""}}</th>
  89. <th v-if="isShow('血压监测')" width="92px">{{monitor.blood_monitor ? monitor.blood_monitor : ""}}</th>
  90. <th v-if="isShow('肝素量')" width="92px">{{monitor.heparin_amount ? monitor.heparin_amount : ""}}</th>
  91. <th v-if="isShow('脱水')" width="92px">{{monitor.dehydration ? monitor.dehydration : ""}}</th>
  92. <td v-if="isShow('KT/V') && (org_id == 9987 || org_id == 10215 || org_id == 9800)">{{ monitor.ktv?monitor.ktv:""}}</td>
  93. <td v-if="isShow('病情变化')">{{ monitor.symptom }}</td>
  94. <td v-if="isShow('处理')">{{ monitor.dispose }}</td>
  95. <td v-if="isShow('结果')">{{ monitor.result }}</td>
  96. </tr>
  97. </table>
  98. </div>
  99. <div class="middleLine"></div>
  100. </div>
  101. </template>
  102. <script>
  103. import store from '@/store'
  104. import { parseTime } from '@/utils'
  105. import { getDataConfig } from '@/utils/data'
  106. export default {
  107. name: 'statOrder',
  108. data() {
  109. return {
  110. title: '透析监测 ',
  111. template_id: 0
  112. }
  113. },
  114. props: {
  115. monitores: {
  116. type: Array
  117. }
  118. },
  119. created() {
  120. this.template_id = this.$store.getters.xt_user.template_info.template_id
  121. this.org_id = this.$store.getters.xt_user.template_info.org_id
  122. },
  123. methods: {
  124. parseTime(time, layout) {
  125. return parseTime(time, layout)
  126. },
  127. isShow(name) {
  128. var filedList = store.getters.xt_user.fileds
  129. for (let i = 0; i < filedList.length; i++) {
  130. if (filedList[i].module == 4 && filedList[i].filed_name_cn == name && filedList[i].is_show === 1) {
  131. return true
  132. }
  133. }
  134. return false
  135. },
  136. getBloodPressure(id){
  137. var bloodPressureMmonitoringSite = getDataConfig('hemodialysis','blood_pressure_monitoring_site')
  138. var name = ""
  139. for(let i=0;i<bloodPressureMmonitoringSite.length;i++){
  140. if(id == bloodPressureMmonitoringSite[i].id){
  141. name = bloodPressureMmonitoringSite[i].name
  142. }
  143. }
  144. return name
  145. },
  146. getComplication(id){
  147. var complication = getDataConfig('hemodialysis','complication')
  148. var name = ""
  149. for(let i=0;i<complication.length;i++){
  150. if(id == complication[i].id){
  151. name = complication[i].name
  152. }
  153. }
  154. return name
  155. }
  156. }
  157. }
  158. </script>
  159. <style rel="stylesheet/scss" lang="scss" scoped>
  160. .table {
  161. width: 1500px;
  162. overflow: auto;
  163. font-size: 14px;
  164. text-align: center;
  165. border: $border-color;
  166. padding-bottom: 2px;
  167. tr {
  168. padding: 0;
  169. margin: 0;
  170. padding: 10px 0;
  171. th {
  172. background: $main-color;
  173. border: none;
  174. color: #fff;
  175. padding: 0;
  176. margin: 0;
  177. height: 44px;
  178. font-weight: normal;
  179. padding: 18px 0;
  180. }
  181. td {
  182. background: #f0f5fa;
  183. border: none;
  184. padding: 18px 0;
  185. }
  186. }
  187. }
  188. </style>