dialysisMonitoring.vue 23KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. <template>
  2. <div class="plate-box">
  3. <h2 class="title border">
  4. <span class="line"></span>
  5. <p>{{ title }}</p>
  6. <span class="line"></span>
  7. </h2>
  8. <div class="dm" style="width:100%;overflow:hildden;overflow-x:auto;">
  9. <table class="table dialsisTable" style>
  10. <tr>
  11. <th v-if="isShow('监测时间')" width="60px">时间</th>
  12. <th v-if="isShow('体温')" width="40px"> 体温 <br />(℃) </th>
  13. <th v-if="isShow('体温1')" width="40px"> 体温 <br />(℃) </th>
  14. <th v-if="isShow('血压')" width="60px"> 血压 <br />(mmHg) </th>
  15. <th v-if="isShow('血压1')" width="60px"> 血压 <br />(mmHg)</th>
  16. <th v-if="isShow('拒测血压')" width="60px">血压<br />(mmHg)</th>
  17. <th v-if="isShow('脉搏')" width="50px"> 脉搏 <br />(次/分) </th>
  18. <th v-if="isShow('脉搏1')" width="50px"> 脉搏 <br />(次/分) </th>
  19. <th v-if="isShow('呼吸频率')" width="70px"> 呼吸频率 <br />(次/分) </th>
  20. <th width="76px"> 静脉压/动脉压 <br />({{tableDate[0]&&tableDate[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}) </th>
  21. <th v-if="isShow('血流量')" width="60px"> 血流量 <br />(ml/min) </th>
  22. <th v-if="isShow('血流量1')" width="60px"> 血流量 <br />(ml/min) </th>
  23. <th v-if="isShow('跨膜压')" width="60px"> 跨膜压 <br />({{tableDate[0]&&tableDate[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}) </th>
  24. <th v-if="isShow('跨膜压1')" width="60px"> 跨膜压 <br />({{tableDate[0]&&tableDate[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}) </th>
  25. <th v-if="isShow('超滤量') && (template_id == 5 || template_id == 6 ||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 || org_id == 9555 || template_id == 27 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 9 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 40 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || org_id == 10340 || org_id == 10432 || org_id == 10410 || org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id == 10597 || org_id == 10599 || org_id ==10612 || org_id ==10580 || org_id ==10629 || org_id ==10617 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10702 || org_id == 10697 || org_id ==10635) && org_id!=10471" width="60px" > 超滤量 <br />(ml) </th>
  26. <th v-if="isShow('超滤量') && (template_id != 5 && template_id != 6 && 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 && org_id != 9555 && template_id != 27 && template_id != 29 && template_id != 30 && template_id != 31 && template_id !=9 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id!=40 && template_id!=41 && template_id!=43 && template_id!=44 && template_id!=46 && template_id!=47 && template_id!=53 && template_id!=54 && template_id!=56 && template_id!=60 && template_id!=65 && org_id != 10340 && org_id != 10432 && org_id != 10410 && org_id!=10485 && org_id!=10375 && org_id!=10480 && org_id!=10551&& org_id!=10597 && org_id!=10599&&org_id!=10612 && org_id!=10580 && org_id!=10629 && org_id!=10617 && org_id!=10677 && org_id!=10667 && org_id!=10693 && org_id!=10702 && org_id!=10697 && org_id!=10635) || org_id == 10471" width="60px" > 超滤量 <br />(L) </th>
  27. <th v-if="isShow('超滤量1')" width="60px" > 超滤量 <br />(ml) </th>
  28. <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 == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || 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 || template_id == 60 || template_id == 65 || org_id == 10432 || org_id == 10410 || org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id == 10585 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id ==10580 || org_id ==10629 || org_id ==10617 || org_id ==10677|| org_id ==10667 || org_id == 10693 || org_id == 10702 || org_id == 10697 || org_id ==10635) && org_id!=10471" width="50px"> 超滤率 <br />(ml/h) </th>
  29. <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 !=31 && template_id !=32 && template_id !=34 && template_id !=35 && template_id !=36 && 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 && template_id !=60 && template_id !=65 && org_id != 10432 && org_id != 10410 && org_id!=10485 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10580 && org_id!=10629 && org_id!=10617 && org_id!=10677&& org_id!=10667 && org_id!=10693 && org_id!=10702 && org_id!=10697 && org_id!=10635) || org_id == 10471" width="50px"> 超滤率 <br />(L/h) </th>
  30. <th v-if="isShow('超滤率2')" width="60px">超滤率 <br />(ml/h)</th>
  31. <th v-if="isShow('钠浓度')" width="60px"> 钠浓度 <br />(mmol/L) </th>
  32. <th v-if="isShow('钠浓度1')" width="60px"> 钠浓度 <br />(mmol/L) </th>
  33. <th v-if="isShow('透析液温度')" width="70px"> 透析液温度 <br />(℃) </th>
  34. <th v-if="isShow('透析液温度1')" width="70px"> 透析液温度 <br />(℃) </th>
  35. <th v-if="isShow('置换率')&& (template_id == 6 ||template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 48 || template_id == 53 || template_id == 54 | template_id == 56 || org_id == 10340 || org_id == 10410 || org_id == 10375 || org_id == 10598 || org_id ==10702) && org_id!=10558 && org_id!=10414 && org_id!=10677" width="60px" > 置换率 <br />(ml/min) </th>
  36. <th v-if="isShow('置换率')&& (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10340 && org_id!=10410 && org_id!=10375 && org_id!=10598 && org_id!=10702) || org_id ==10558 || org_id ==10414 || org_id==10677" width="60px" > 置换率 <br />(L/h) </th>
  37. <th v-if="isShow('置换率1')" width="60px" > 置换率 <br />(ml/min) </th>
  38. <th v-if="isShow('置换量')&& (template_id == 43 )" width="50px" > 置换量 <br />(ml/h) </th>
  39. <th v-if="isShow('置换量')&& ((template_id == 6 && org_id != 9919 && template_id!=43 && org_id!=10478) || (template_id == 10 && org_id!=10191) || 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 || org_id == 10340 || org_id == 10432) && org_id!=10558 && org_id!=10346&&org_id!=10517 &&org_id!=10598 &&org_id!=10617 &&org_id!=10414 && org_id!=10510" width="50px" > 置换量 <br />(ml) </th>
  40. <th v-if="isShow('置换量')&& ((template_id != 6 || org_id == 9919 || org_id ==10478) && (template_id != 10 || org_id == 10191) && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id!=43 && template_id!=46 && template_id!=47 && template_id!=48 && template_id!=53 && template_id!=54 && template_id!=56 && org_id!=10340 && org_id!=10432) || org_id == 10558 || org_id ==10346 || org_id ==10517 || org_id ==10598 || org_id ==10617 || org_id ==10414 || org_id == 10510" width="50px" > 置换量 <br />(L) </th>
  41. <th v-if="isShow('电导度')" width="60px"> 电导度 <br />(mS/cm) </th>
  42. <th v-if="isShow('电导度1')" width="60px"> 电导度 <br />(mS/cm) </th>
  43. <th v-if="isShow('置换液流量')" width="70px"> 置换液流量 <br /><span v-if="template_id !=27 && template_id!=29 && template_id!=60">(ml/h)</span><span v-if="template_id == 27 || template_id == 29 || template_id ==60">(ml/min)</span> </th>
  44. <th v-if="isShow('置换液流量1')" width="70px"> 置换液流量 <br /></th>
  45. <th v-if="isShow('透析液流量')" width="70px"> 透析液流量 <br />(ml/h) </th>
  46. <th v-if="isShow('透析液流量1')" width="70px"> 透析液流量 <br />(ml/h) </th>
  47. <th v-if="isShow('肝素用量余量')" width="70px"> 肝素用量余量 <br />(ml) </th>
  48. <th v-if="isShow('剩余肝素')" width="70px"> 剩余肝素 <br />(ml) </th>
  49. <th v-if="isShow('置换量1')" width="50px" > 置换量 <br />(L) </th>
  50. <th v-if="isShow('抗凝剂')" width="70px">抗凝剂</th>
  51. <th v-if="isShow('累计血容量')&& (template_id!=41) && org_id!=10340" width="50px" > 累计血容量 <br />(ml) </th>
  52. <th v-if="isShow('累计血容量')&& (template_id ==41) && org_id!=10340" width="50px" > 累计血容量 <br />(L) </th>
  53. <th v-if="isShow('血容量')" width="70px">血容量(L)</th>
  54. <th v-if="isShow('血容量1')" width="70px">血容量(L)</th>
  55. <th v-if="isShow('血温监测')" width="70px">血温监测</th>
  56. <th v-if="isShow('血温监测1')" width="70px">血温监测</th>
  57. <th v-if="isShow('尿素监测')" width="70px">尿素监测</th>
  58. <th v-if="isShow('尿素监测1')" width="70px">尿素监测</th>
  59. <th v-if="isShow('血浓量')" width="70px">血浓量</th>
  60. <th v-if="isShow('血浓量1')" width="70px">血浓量</th>
  61. <th v-if="isShow('血压监测')" width="70px">血压监测</th>
  62. <th v-if="isShow('肝素量')" width="70px">肝素量(mg)</th>
  63. <th v-if="isShow('脱水')" width="70px"> 脱水(L)</th>
  64. <th v-if="isShow('置换液速度')" width="70px"> 置换液速度(ml/h)</th>
  65. <th v-if="isShow('碳酸氢钠用量')" width="70px"> 碳酸氢钠用量(ml)</th>
  66. <th v-if="isShow('滤前压')" width="70px">滤前压(mmHg)</th>
  67. <th v-if="isShow('KT/V')" width="70px">Kt/V</th>
  68. <th v-if="isShow('kt/v1')" width="70px">Kt/V</th>
  69. <th v-if="isShow('urr1')" width="70px">URR</th>
  70. <th v-if="isShow('SpO₂') && (org_id == 10447 || org_id ==9829)" width="40px" > SpO₂ <br />(%) </th>
  71. <th v-if="isShow('SpO₂1')" width="40px" > SpO₂ <br />(%) </th>
  72. <th v-if="isShow('病情变化')" width="92px">病情变化</th>
  73. <th v-if="isShow('处理')" width="92px">处理</th>
  74. <th v-if="isShow('结果')" width="92px">结果</th>
  75. </tr>
  76. <tr v-for="(item, index) in tableDate" :key="index" :value="item.value">
  77. <td v-if="isShow('监测时间')">{{ parseTime(item.operate_time, "{y}-{m}-{d} {h}:{i}") }}</td>
  78. <td v-if="isShow('体温')">{{ item.temperature ? item.temperature : "" }}</td>
  79. <td v-if="isShow('体温1')">{{ item.temperature ? item.temperature : "/" }}</td>
  80. <td v-if="isShow('血压')"> {{ item.systolic_blood_pressure ? item.systolic_blood_pressure : "" }}/{{ item.diastolic_blood_pressure ? item.diastolic_blood_pressure : "" }} </td>
  81. <td v-if="isShow('血压1')">
  82. {{ item.monitor_systolic_blood_pressure_one ? item.monitor_systolic_blood_pressure_one : "未测" }}
  83. <span v-if="item.monitor_diastolic_blood_pressure_one!=''&& item.monitor_diastolic_blood_pressure_one>0">/{{ item.monitor_diastolic_blood_pressure_one ? item.monitor_diastolic_blood_pressure_one : "" }} </span> </td>
  84. <td v-if="isShow('拒测血压')"> {{ item.is_pressure ? item.is_pressure : "" }}</td>
  85. <td v-if="isShow('脉搏')">{{ item.pulse_frequency ? item.pulse_frequency : "" }}</td>
  86. <td v-if="isShow('脉搏1')">{{ item.monitor_pulse_frequency_one ? item.monitor_pulse_frequency_one : "/" }}</td>
  87. <td v-if="isShow('呼吸频率')">
  88. <span v-if="org_id !=10644"> {{ item.breathing_rate ? item.breathing_rate : "/" }}</span>
  89. <span v-if="org_id ==10644"> {{ item.breathing_rate ? item.breathing_rate : "" }}</span>
  90. </td>
  91. <td v-if="org_id!=10693"> {{ item.venous_pressure ? item.venous_pressure : "" }}
  92. <span v-if="item.arterial_pressure!='' || item.arterial_pressure>0">/</span>
  93. {{ item.arterial_pressure ? item.arterial_pressure : "" }} </td>
  94. <td v-if="org_id==10693"> {{ item.venous_pressure_one ? item.venous_pressure_one : "" }}/{{ item.arterial_pressure_one ? item.arterial_pressure_one : "" }} </td>
  95. <td v-if="isShow('血流量')">{{ item.blood_flow_volume ? item.blood_flow_volume : "" }}</td>
  96. <td v-if="isShow('血流量1')">{{ item.blood_flow_volume_one ? item.blood_flow_volume_one : "/" }}</td>
  97. <td v-if="isShow('跨膜压')" >{{ item.transmembrane_pressure ? item.transmembrane_pressure : "" }}</td>
  98. <td v-if="isShow('跨膜压1')" >{{ item.venous_pressure_one ? item.venous_pressure_one : "/" }}</td>
  99. <td v-if="isShow('超滤量')&&(org_id ==10551 || org_id ==10629 || org_id ==10679|| org_id ==10693 || org_id ==10702)" >{{ item.ultrafiltration_volume ? item.ultrafiltration_volume : "0" }}</td>
  100. <td v-if="isShow('超滤量')&&org_id !=10551 && org_id!=10629 && org_id != 10679&&org_id!=10693 &&org_id!=10702" >
  101. <span v-if="org_id == 10612">
  102. <span v-if="index == 1"> {{ item.ultrafiltration_volume ? item.ultrafiltration_volume : "0" }}</span>
  103. <span v-if="index!=1"> {{ item.ultrafiltration_volume ? item.ultrafiltration_volume : "" }}</span>
  104. </span>
  105. <span v-if="org_id != 10612">
  106. <span> {{ item.ultrafiltration_volume ? item.ultrafiltration_volume : "" }}</span>
  107. </span>
  108. </td>
  109. <td v-if="isShow('超滤量1')" >{{item.ultrafiltration_volume_one?item.ultrafiltration_volume_one:'/'}}</td>
  110. <td v-if="isShow('超滤率')" >{{item.ultrafiltration_rate?item.ultrafiltration_rate:''}}</td>
  111. <td v-if="isShow('超滤率2')" >{{item.ultrafiltration_rate_one?item.ultrafiltration_rate_one:''}}</td>
  112. <td v-if="isShow('钠浓度')">{{ item.sodium_concentration ? item.sodium_concentration : "" }}</td>
  113. <td v-if="isShow('钠浓度1')">{{ item.sodium_concentration_one ? item.sodium_concentration_one : "/" }}</td>
  114. <td v-if="isShow('透析液温度')" >{{ item.dialysate_temperature ? item.dialysate_temperature : "" }}</td>
  115. <td v-if="isShow('透析液温度1')" >{{ item.dialysate_temperature_one ? item.dialysate_temperature_one : "/" }}</td>
  116. <td v-if="isShow('置换率')">{{ item.replacement_rate ? item.replacement_rate : "" }}</td>
  117. <td v-if="isShow('置换率1')">{{ item.replacement_rate_one ? item.replacement_rate_one : "/" }}</td>
  118. <td v-if="isShow('置换量')" >{{ item.displacement_quantity ? item.displacement_quantity : "" }}</td>
  119. <th v-if="isShow('电导度')">{{ item.conductivity ? item.conductivity : "" }}</th>
  120. <th v-if="isShow('电导度1')">{{ item.conductivity_one ? item.conductivity_one : "/" }}</th>
  121. <th v-if="isShow('置换液流量')"> {{ item.displacement_flow_quantity ? item.displacement_flow_quantity : "" }} </th>
  122. <th v-if="isShow('置换液流量1')"> {{ item.displacement_flow_quantity_one ? item.displacement_flow_quantity_one : "/" }} </th>
  123. <th v-if="isShow('透析液流量')"> {{ item.dialysate_flow ? item.dialysate_flow : "" }} </th>
  124. <th v-if="isShow('透析液流量1')"> {{ item.dialysate_flow_one ? item.dialysate_flow_one : "/" }} </th>
  125. <th v-if="isShow('肝素用量余量')"> {{ item.heparin ? item.heparin : "" }} </th>
  126. <th v-if="isShow('剩余肝素')"> {{ item.heparin_one ? item.heparin_one : "/" }} </th>
  127. <td v-if="isShow('置换量1')" >{{ item.displacement_quantity_one ? item.displacement_quantity_one : "/" }}</td>
  128. <th v-if="isShow('抗凝剂')">
  129. <span v-if="item.monitor_anticoagulant == 0"></span>
  130. <span v-if="item.monitor_anticoagulant == 1">无肝素</span>
  131. <span v-if="item.monitor_anticoagulant == 2">普通肝素</span>
  132. <span v-if="item.monitor_anticoagulant == 3">低分子肝素</span>
  133. <span v-if="item.monitor_anticoagulant == 4">阿加曲班</span>
  134. <span v-if="item.monitor_anticoagulant == 5">枸橼酸钠</span>
  135. <span v-if="item.monitor_anticoagulant == 6">低分子肝素钙</span>
  136. <span v-if="item.monitor_anticoagulant == 7">低分子肝素钠</span>
  137. <span v-if="item.monitor_anticoagulant == 8">依诺肝素</span>
  138. <span v-if="item.monitor_anticoagulant == 9">达肝素</span>
  139. <span v-if="item.monitor_anticoagulant == 12">无抗凝剂</span>
  140. <span v-if="item.monitor_anticoagulant == 14">肝素钙注射液</span>
  141. <span v-if="item.monitor_anticoagulant == 15">甲磺酸萘莫司他</span>
  142. <span v-if="item.monitor_anticoagulant_value!=''">
  143. ({{item.monitor_anticoagulant_value}})
  144. </span>
  145. </th>
  146. <th v-if="isShow('累计血容量') && org_id!=10340" width="70px">{{item.accumulated_blood_volume}}</th>
  147. <th v-if="isShow('血容量')" width="70px">{{item.accumulated_blood_volume}}</th>
  148. <th v-if="isShow('血容量1')" width="70px">{{item.accumulated_blood_volume_one?item.accumulated_blood_volume_one:"/"}}</th>
  149. <th v-if="isShow('血温监测')" width="70px">{{item.blood_temperature}}</th>
  150. <th v-if="isShow('血温监测1')" width="70px">{{item.blood_temperature_one?item.blood_temperature_one:"/"}}</th>
  151. <th v-if="isShow('尿素监测')" width="70px">{{item.urea_monitoring}}</th>
  152. <th v-if="isShow('尿素监测1')" width="70px">{{item.urea_monitoring?item.urea_monitoring:"/"}}</th>
  153. <th v-if="isShow('血浓量')" width="70px">{{item.blood_thickness}}</th>
  154. <th v-if="isShow('血浓量1')" width="70px">{{item.blood_thickness_one?item.blood_thickness_one:"/"}}</th>
  155. <th v-if="isShow('血压监测')" width="70px">{{item.blood_monitor}}</th>
  156. <th v-if="isShow('肝素量')" width="70px">{{item.heparin_amount}}</th>
  157. <th v-if="isShow('脱水')" width="70px"> {{item.dehydration}}</th>
  158. <th v-if="isShow('置换液速度')" width="70px"> {{item.replacement_speed }}</th>
  159. <th v-if="isShow('碳酸氢钠用量')" width="70px">{{item.dicarbonate }}</th>
  160. <th v-if="isShow('滤前压')" width="70px">{{item.filter_pressure}}</th>
  161. <td v-if="isShow('KT/V')">{{item.ktv?item.ktv:""}}</td>
  162. <td v-if="isShow('kt/v1')">{{item.ktv_one?item.ktv_one:"/"}}</td>
  163. <td v-if="isShow('urr1')">{{item.urr_one?item.urr_one:"/"}}</td>
  164. <td v-if="isShow('SpO₂') && (org_id == 10447 || org_id ==9829)" >
  165. <span>{{item.blood_oxygen_saturation?item.blood_oxygen_saturation:'/'}}</span>
  166. </td>
  167. <td v-if="isShow('SpO₂1')" >
  168. <span>{{item.blood_oxygen_saturation_one?item.blood_oxygen_saturation_one:'/'}}</span>
  169. </td>
  170. <td v-if="isShow('病情变化')">
  171. {{ item.symptom }}
  172. <span v-if="(index == tableDate.length - 1) && org_id == 10340">累计血容量:{{tableDate[tableDate.length-1].accumulated_blood_volume }}L</span>
  173. </td>
  174. <td v-if="isShow('处理')">{{ item.dispose }}</td>
  175. <td v-if="isShow('结果')">{{ item.result }}</td>
  176. </tr>
  177. </table>
  178. <div class="NoData" v-show="tableDate.length == 0">
  179. <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
  180. </div>
  181. </div>
  182. </div>
  183. </template>
  184. <script>
  185. import { parseTime } from '@/utils'
  186. export default {
  187. name: 'statOrder',
  188. data () {
  189. return {
  190. title: '透析监测 ',
  191. template_id: 0,
  192. tableDate: []
  193. }
  194. },
  195. created () {
  196. this.template_id = this.$store.getters.user.template_info.template_id
  197. this.org_id = this.$store.getters.user.template_info.org_id
  198. },
  199. methods: {
  200. isShow (name) {
  201. var filedList = this.$store.getters.user.fileds
  202. for (let i = 0; i < filedList.length; i++) {
  203. if (
  204. filedList[i].module == 4 &&
  205. filedList[i].filed_name_cn == name &&
  206. filedList[i].is_show == 1
  207. ) {
  208. return true
  209. }
  210. }
  211. return false
  212. },
  213. setRecords (records) {
  214. if (records == null) {
  215. records = []
  216. }
  217. this.tableDate.splice(0, this.tableDate.length)
  218. this.tableDate.push(...records)
  219. },
  220. parseTime (time, layout) {
  221. return parseTime(time, layout)
  222. },
  223. addRecords (records) {
  224. this.tableDate.push(...records)
  225. }
  226. }
  227. }
  228. </script>
  229. <style rel="stylesheet/scss" lang="scss" scoped>
  230. .dialsisTable {
  231. width: 1600px;
  232. }
  233. .dm {
  234. /* 针对缺省样式 (必须的) */
  235. &::-webkit-scrollbar {
  236. width: 3px;
  237. height: 5px;
  238. }
  239. /* 滚动条的滑轨背景颜色 */
  240. &::-webkit-scrollbar-track {
  241. background-color: #fff;
  242. border-radius: 3px;
  243. -moz-border-radius: 3px;
  244. -webkit-border-radius: 3px;
  245. }
  246. /* 滑块颜色 */
  247. &::-webkit-scrollbar-thumb {
  248. background: #d7dce2;
  249. border-radius: 3px;
  250. -moz-border-radius: 3px;
  251. -webkit-border-radius: 3px;
  252. }
  253. /*内层轨道的颜色*/
  254. &::-webkit-scrollbar-track-piece {
  255. background-color: #fff;
  256. border-radius: 3px;
  257. -moz-border-radius: 3px;
  258. -webkit-border-radius: 3px;
  259. }
  260. /* 滑轨两头的监听按钮颜色 */
  261. &::-webkit-scrollbar-button {
  262. background-color: #eee;
  263. width: 0;
  264. height: 0;
  265. }
  266. /* 横向滚动条和纵向滚动条相交处尖角的颜色 */
  267. &::-webkit-scrollbar-corner {
  268. background-color: #eee;
  269. }
  270. }
  271. </style>
  272. <style lang="scss">
  273. .el-table td {
  274. padding: 0;
  275. }
  276. .el-table th {
  277. padding: 6px 0;
  278. }
  279. </style>