血透系统PC前端

dialysisPrintOrderTwo.vue 88KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811
  1. <template>
  2. <div id="dialysis-print-box-1">
  3. <div id="dialysis-print-box-1-1" :class="(this.monitors.length > 8 && this.print_length == 8) || (this.monitors.length > 9 && this.print_length == 9) ? 'margin-bottom-900 dialysis-print-order print-template-two print_page_main_content':'margin-bottom-50 dialysis-print-order print-template-two print_page_main_content'" >
  4. <div class="order-yy-name">{{orgname}}</div>
  5. <div class="order-title">血液净化专科护理记录单</div>
  6. <div class="row">
  7. <div class="inline_block">
  8. 科室:
  9. <check-box text="门诊透析" :checked="patientInfo_source_1 "></check-box>
  10. &nbsp;
  11. <check-box text="住院" :checked="patientInfo_source_2"></check-box>
  12. </div>
  13. <div class="inline_block" style="margin-left: 25px;">
  14. 住院号:
  15. <div class="under_line" style="width: 100px;text-align: left" v-if="patientInfo.admission_number">
  16. {{patientInfo.admission_number}}
  17. </div>
  18. <div class="under_line" style="width: 100px;text-align: left" v-else>
  19. {{'/'}}
  20. </div>
  21. </div>
  22. <div class="inline_block" style="margin-left:25px;">
  23. 姓名:
  24. <div class="under_line" style="width: 120px;text-align: left">{{patientInfo.name}}</div>
  25. </div>
  26. <div class="inline_block" style="margin-left: 25px;">
  27. 性别:
  28. <check-box text="男" :checked="patientInfo_gender_1"></check-box>
  29. &nbsp;
  30. <check-box text="女" :checked="patientInfo_gender_2"></check-box>
  31. </div>
  32. <div class="inline_block" style="margin-left: 25px;">
  33. 年龄:
  34. <div class="under_line" style="width: 70px;text-align: left">{{getAge(patientInfo)}}</div>
  35. </div>
  36. </div>
  37. <div class="row flex">
  38. <div class="inline_block">
  39. 诊断:
  40. <div class="under_line" style="width: 500px;text-align: left">{{patientInfo.diagnose}}</div>
  41. </div>
  42. </div>
  43. <div class="row" :class="(this.monitors.length > 8 && this.print_length == 8) || (this.monitors.length > 9 && this.print_length == 9) ? 'margin-bottom-300':''">
  44. <table class="proj_table" >
  45. <tbody>
  46. <tr><td colspan="2">一、透析前护理评估:</td></tr>
  47. <tr>
  48. <td colspan="2">
  49. <div class="row" style="padding: 2px 0;line-height:19px;">
  50. <div class="inline_block">
  51. 入科方式:
  52. <check-box text="步行" :checked="receiverTreatmentAccess.way==1?true:false"></check-box>
  53. <check-box text="扶行" :checked="receiverTreatmentAccess.way==2?true:false"></check-box>
  54. <check-box text="轮椅" :checked="receiverTreatmentAccess.way==3?true:false"></check-box>
  55. <check-box text="平车" :checked="receiverTreatmentAccess.way==4?true:false"></check-box>
  56. </div>
  57. <div class="inline_block" style="margin-left: 30px;">
  58. 透析频次:
  59. <div class="under_line" style="width: 50px;text-align: left">
  60. {{predialysis.dialysis_count?predialysis.dialysis_count:''}}
  61. </div>
  62. 次/周
  63. </div>
  64. <div class="inline_block" style="margin-left: 30px;">
  65. 透析机编号:
  66. <div class="under_line" style="width: 100px;text-align: left">{{dialysisOrder&&dialysisOrder.DeviceNumber&&dialysisOrder.DeviceNumber.number.length > 0?dialysisOrder.DeviceNumber.number:patientInfo.DialysisSchedule.device_number.number}}</div>
  67. 型号
  68. <div class="under_line" style="width: 100px;text-align: left">{{predialysis&&predialysis.machine_type.length > 0 ?predialysis.machine_type:''}}</div>
  69. </div>
  70. </div>
  71. <div class="row" style="padding: 2px 0;line-height:19px;">
  72. <div class="inline_block" >
  73. 意识:
  74. <check-box text="清醒" :checked="receiverTreatmentAccess.consciousness==1?true:false"></check-box>
  75. <check-box text="嗜睡" :checked="receiverTreatmentAccess.consciousness==2?true:false"></check-box>
  76. <check-box text="昏迷" :checked="receiverTreatmentAccess.consciousness==3?true:false"></check-box>
  77. </div>
  78. <div class="inline_block" style="margin-left: 20px;">
  79. 出血:
  80. <check-box text="无" :checked="predialysis.is_hemorrhage==2?true:false"></check-box>
  81. <check-box text="异常" :checked="predialysis.is_hemorrhage==1?true:false"></check-box>
  82. (&nbsp;
  83. <check-box text="穿刺点渗血" :checked="predialysis.is_hemorrhage==1&&predialysis.hemorrhage.indexOf('穿刺点渗血')>-1?true:false"></check-box>
  84. <check-box text="牙龈出血" :checked="predialysis.is_hemorrhage==1&&predialysis.hemorrhage.indexOf('牙龈出血')>-1?true:false"></check-box>
  85. <check-box text="消化道出血" :checked="predialysis.is_hemorrhage==1&&predialysis.hemorrhage.indexOf('消化道出血')>-1?true:false"></check-box>
  86. <check-box text="女性经期" :checked="predialysis.is_hemorrhage==1&&predialysis.hemorrhage.indexOf('女性经期')>-1?true:false"></check-box>
  87. 其他:
  88. <div class="under_line" style="width: 100px;text-align: left">
  89. <span v-if="predialysis.is_hemorrhage==1">
  90. {{predialysis.hemorrhage_other}}
  91. </span>
  92. </div>
  93. &nbsp;)
  94. </div>
  95. </div>
  96. <div class="row" style="padding: 2px 0;line-height:19px;">
  97. <div class="inline_block">
  98. 血管通路(内瘘):
  99. <check-box text="正常" :checked="predialysis.blood_access_internal_fistula.indexOf('正常')>-1?true:false"></check-box>
  100. <check-box text="震颤" :checked="predialysis.blood_access_internal_fistula.indexOf('震颤')>-1?true:false"></check-box>
  101. <check-box text="堵塞" :checked="predialysis.blood_access_internal_fistula.indexOf('堵塞')>-1?true:false"></check-box>
  102. <check-box text="血肿" :checked="predialysis.blood_access_internal_fistula.indexOf('血肿')>-1?true:false"></check-box>
  103. <check-box text="淤血" :checked="predialysis.blood_access_internal_fistula.indexOf('淤血')>-1?true:false"></check-box>
  104. <check-box text="感染" :checked="predialysis.blood_access_internal_fistula.indexOf('感染')>-1?true:false"></check-box>
  105. </div>
  106. <div class="inline_block">
  107. 其它:
  108. <div class="under_line" style="width: 300px;text-align: left">{{predialysis.internal_fistula_other}}
  109. </div>
  110. </div>
  111. </div>
  112. <div class="row" style="padding: 2px 0;line-height:19px;">
  113. <div class="inline_block">
  114. 血管杂音:
  115. <!-- <check-box text="震颤" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'internal_fistula', '震颤-存在')"></check-box> -->
  116. <check-box text="存在" :checked="predialysis.blood_access_noise == 1?true:false"></check-box>
  117. <check-box text="不存在" :checked="predialysis.blood_access_noise == 2?true:false"></check-box>
  118. <check-box text="减弱" :checked="predialysis.blood_access_noise == 3?true:false"></check-box>
  119. &emsp;穿刺方式:
  120. <check-box text="绳梯" :checked="predialysis.puncture_way == 1?true:false"></check-box>
  121. <check-box text="扣眼" :checked="predialysis.puncture_way == 2?true:false"></check-box>
  122. <check-box text="区域" :checked="predialysis.puncture_way == 3?true:false"></check-box>
  123. </div>
  124. </div>
  125. <div class="row" style="padding: 2px 0;line-height:19px;">
  126. <div class="inline_block">
  127. 中心静脉置管:
  128. <check-box text="长期" :checked="predialysis.venous_catheterization == 1?true:false"></check-box>
  129. <check-box text="临时" :checked="predialysis.venous_catheterization == 2?true:false"></check-box>
  130. &emsp;位置:
  131. <check-box text="锁骨下" :checked="predialysis.venous_catheterization_part == 1?true:false"></check-box>
  132. <check-box text="颈静脉" :checked="predialysis.venous_catheterization_part == 2?true:false"></check-box>
  133. <check-box text="股静脉" :checked="predialysis.venous_catheterization_part == 3?true:false"></check-box>
  134. <div class="inline_block">
  135. 其它:
  136. <div class="under_line" style="width: 50px;text-align: left">
  137. <span>{{predialysis.venous_catheterization_part_other}}</span>
  138. </div>
  139. </div>
  140. </div>
  141. </div>
  142. <div class="row" style="padding: 2px 0;line-height:19px;">
  143. <div class="inline_block">
  144. 中心静脉导管:
  145. <check-box text="正常" :checked="predialysis.ductus_arantii.indexOf('正常')>-1?true:false"></check-box>
  146. <check-box text="不畅" :checked="predialysis.ductus_arantii.indexOf('不畅')>-1?true:false"></check-box>
  147. <check-box text="血流不足" :checked="predialysis.ductus_arantii.indexOf('血流不足')>-1?true:false"></check-box>
  148. (<check-box text="正接" :checked="predialysis.ductus_arantii.indexOf('正接')>-1?true:false"></check-box>/
  149. <check-box text="反接" :checked="predialysis.ductus_arantii.indexOf('反接')>-1?true:false"></check-box>)
  150. <check-box text="血栓" :checked="predialysis.ductus_arantii.indexOf('血栓')>-1?true:false"></check-box>
  151. <check-box text="缝线脱落" :checked="predialysis.ductus_arantii.indexOf('缝线脱落')>-1?true:false"></check-box>
  152. <check-box text="导管脱落" :checked="predialysis.ductus_arantii.indexOf('导管脱落')>-1?true:false"></check-box>
  153. <check-box text="感染" :checked="predialysis.ductus_arantii.indexOf('感染')>-1?true:false"></check-box>
  154. <check-box text="破损" :checked="predialysis.ductus_arantii.indexOf('破损')>-1?true:false"></check-box>
  155. </div>
  156. </div>
  157. <div class="row" style="padding: 2px 0;line-height:19px;">
  158. <div class="inline_block">
  159. 急诊:
  160. <check-box text="急性心衰" :checked="predialysis.emergency_treatment == 1?true:false"></check-box>
  161. <check-box text="高血钾" :checked="predialysis.emergency_treatment == 2?true:false"></check-box>
  162. <check-box text="重症酸中毒" :checked="predialysis.emergency_treatment == 3?true:false"></check-box>
  163. <div class="inline_block">
  164. 其它:
  165. <div class="under_line" style="width: 100px;text-align: left">
  166. <span v-if="predialysis.emergency_treatment == -1">{{predialysis.emergency_treatment_other}}</span>
  167. </div>
  168. </div>
  169. </div>
  170. <div class="inline_block">
  171. 病情:
  172. <check-box text="一般" :checked="receiverTreatmentAccess.sick_condition == 1?true:false"></check-box>
  173. <check-box text="重" :checked="receiverTreatmentAccess.sick_condition == 2?true:false"></check-box>
  174. <check-box text="危" :checked="receiverTreatmentAccess.sick_condition == 3?true:false"></check-box>
  175. </div>
  176. </div>
  177. </td>
  178. </tr>
  179. <tr>
  180. <td colspan="2">
  181. <div class="row" style="padding: 2px 0;line-height:19px;">
  182. <div class="inline_block">
  183. 跌倒风险评估:&nbsp;评分:
  184. <div class="under_line" style="width: 50px;text-align: left"> {{receiverTreatmentAccess.score}}</div>分
  185. &emsp;风险程度:
  186. <check-box text="无" :checked="receiverTreatmentAccess.danger_level == 1?true:false"></check-box>
  187. <check-box text="低风险" :checked="receiverTreatmentAccess.danger_level == 2?true:false"></check-box>
  188. <check-box text="中度风险" :checked="receiverTreatmentAccess.danger_level == 3?true:false"></check-box>
  189. <check-box text="高风险" :checked="receiverTreatmentAccess.danger_level == 4?true:false"></check-box>
  190. </div>
  191. </div>
  192. <div class="row" style="padding: 2px 0;line-height:19px;">
  193. <div class="inline_block">
  194. 营养状况评估:&nbsp;食欲:
  195. <check-box text="正常" :checked="receiverTreatmentAccess.appetite == 1?true:false"></check-box>
  196. <check-box text="下降" :checked="receiverTreatmentAccess.appetite == 2?true:false"></check-box>
  197. </div>
  198. <div class="inline_block">
  199. &emsp; 摄入量:
  200. <check-box text="正常" :checked="receiverTreatmentAccess.intake == 1?true:false"></check-box>
  201. <check-box text="减少" :checked="receiverTreatmentAccess.intake == 2?true:false"></check-box>
  202. </div>
  203. <div class="inline_block">
  204. &emsp;营养状况:
  205. <check-box text="正常" :checked="receiverTreatmentAccess.nutrition == 1?true:false"></check-box>
  206. <check-box text="营养不良" :checked="receiverTreatmentAccess.nutrition == 2?true:false"></check-box>
  207. </div>
  208. </div>
  209. <div class="row" style="padding: 2px 0; line-height:19px;">
  210. <div class="inline_block">
  211. 心理评估:
  212. <check-box text="正常" :checked="receiverTreatmentAccess.psychological_assessment == 1?true:false"></check-box>
  213. <check-box text="异常" :checked="receiverTreatmentAccess.psychological_assessment == 2?true:false"></check-box>
  214. </div>
  215. <div class="inline_block">
  216. <div class="under_line" style="width: 100px;">
  217. <span v-if="receiverTreatmentAccess.psychological_assessment == 2">{{receiverTreatmentAccess.psychological_assessment_other}}</span>
  218. </div>
  219. </div>
  220. </div>
  221. </td>
  222. </tr>
  223. <tr>
  224. <td style="padding: 0; position: relative;" colspan="2">
  225. <table class="inside_table">
  226. <tbody>
  227. <tr><td colspan="10" style="font-size:16px;padding: 6px 8px;line-height: 30px;text-align:left;">二、透析中护理记录:</td></tr>
  228. <tr>
  229. <td width="100">时间</td>
  230. <td width="30">T<br>C°</td>
  231. <td width="30">P<br/>次/分</td>
  232. <td width="30">R<br/>次/分</td>
  233. <td width="100">BP<br/>mmHg</td>
  234. <td width="60">静脉压/动脉压<br/>mmHg</td>
  235. <td width="80">血流量<br/>ml/min</td>
  236. <td width="90">超滤量累计L</td>
  237. <td width="80">钠浓度<br/>mmol/L</td>
  238. <td width="240">病情特殊情况处理<br/>及专科护理措施记录</td>
  239. <td width="100">护士签名</td>
  240. </tr>
  241. <tr v-if="this.predialysis.systolic_blood_pressure != 0&&this.predialysis.diastolic_blood_pressure != 0||this.predialysis.remark.length > 0 || predialysis.pulse_frequency != 0 || predialysis.breathing_rate != 0 || predialysis.temperature != 0">
  242. <td>{{'透析前'}}</td>
  243. <td>{{predialysis.temperature?predialysis.temperature:''}}</td>
  244. <td>{{predialysis.pulse_frequency?predialysis.pulse_frequency:''}}</td>
  245. <td>{{predialysis.breathing_rate?predialysis.breathing_rate:''}}</td>
  246. <td>{{predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:''}}/{{predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:''}}</td>
  247. <td>{{''}}/{{''}}</td>
  248. <td>{{''}}</td>
  249. <td>{{''}}</td>
  250. <td>{{''}}</td>
  251. <td style="line-height:16px;padding:0px;"> <div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;"> {{predialysis.remark}}</span></div></td>
  252. <td>
  253. <span v-if="setAdminUserES(predialysis.creater) == ''">{{getAdminUser(predialysis.creater)}}</span>
  254. <img class="es-img" :src="setAdminUserES(predialysis.creater)" alt="" srcset="" v-else>
  255. </td>
  256. </tr>
  257. <tr v-for="(monitor,index) in monitors" :key="index">
  258. <td>{{getTime(monitor.operate_time,'{h}:{i}')}}</td>
  259. <td>{{monitor.temperature?monitor.temperature:''}}</td>
  260. <td>{{monitor.pulse_frequency?monitor.pulse_frequency:''}}</td>
  261. <td>{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
  262. <td>{{monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''}}/{{monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:''}}</td>
  263. <td>{{monitor.venous_pressure?monitor.venous_pressure:''}}/{{monitor.arterial_pressure?monitor.arterial_pressure:''}}</td>
  264. <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
  265. <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:'/'}}</td>
  266. <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
  267. <td style="line-height:16px;padding:0px;"><div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">{{monitor.symptom}} &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}} </span> </div></td>
  268. <td>
  269. <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{getAdminUser(monitor.monitoring_nurse)}}</span>
  270. <img class="es-img" :src="setAdminUserES(monitor.monitoring_nurse)" alt="" srcset="" v-else>
  271. </td>
  272. </tr>
  273. </tbody>
  274. </table>
  275. <div v-if="(this.monitors.length > 8 && this.print_length == 8) || (this.monitors.length > 9 && this.print_length == 9)" class="print-yema">1</div>
  276. </td>
  277. </tr>
  278. </tbody>
  279. </table>
  280. </div>
  281. <template v-if="(this.monitors.length > 8 && this.print_length == 8) || (this.monitors.length > 9 && this.print_length == 9)">
  282. <div class="order-yy-name">{{orgname}}</div>
  283. <div class="order-title">血液净化专科护理记录单</div>
  284. <div class="row" style="margin-top: 15px;">
  285. <div class="inline_block">
  286. 科室:
  287. <check-box text="门诊透析" :checked="patientInfo_source_1 "></check-box>
  288. &nbsp;
  289. <check-box text="住院" :checked="patientInfo_source_2"></check-box>
  290. </div>
  291. <div class="inline_block" style="margin-left: 25px;">
  292. 住院号:
  293. <div class="under_line" style="width: 100px;text-align: left" v-if="patientInfo.admission_number">
  294. {{patientInfo.admission_number}}
  295. </div>
  296. <div class="under_line" style="width: 100px;text-align: left" v-else>
  297. {{'/'}}
  298. </div>
  299. </div>
  300. <div class="inline_block" style="margin-left:25px;">
  301. 姓名:
  302. <div class="under_line" style="width: 120px;text-align: left">{{patientInfo.name}}</div>
  303. </div>
  304. <div class="inline_block" style="margin-left: 25px;">
  305. 性别:
  306. <check-box text="男" :checked="patientInfo_gender_1"></check-box>
  307. &nbsp;
  308. <check-box text="女" :checked="patientInfo_gender_2"></check-box>
  309. </div>
  310. <div class="inline_block" style="margin-left: 25px;">
  311. 年龄:
  312. <div class="under_line" style="width: 70px;text-align: left">{{getAge(patientInfo)}}</div>
  313. </div>
  314. </div>
  315. <div class="row flex">
  316. <div class="inline_block">
  317. 诊断:
  318. <div class="under_line_two" style="width: 500px;text-align: left">{{patientInfo.diagnose}}</div>
  319. </div>
  320. </div>
  321. </template>
  322. <div class="row" :style="(this.monitors.length <= 8 && this.print_length == 8) || (this.monitors.length <= 9 && this.print_length == 9) ? 'margin-top:-11px;position: relative;':'position: relative;'">
  323. <table class="proj_table">
  324. <tbody>
  325. <tr v-if="this.monitors2.length > 0">
  326. <td style="padding: 0;" colspan="2">
  327. <table class="inside_table">
  328. <tbody>
  329. <tr><td colspan="10" style="font-size:16px;padding: 6px 8px;line-height: 30px;text-align:left;">二、透析中护理记录:</td></tr>
  330. <tr>
  331. <td width="100">时间</td>
  332. <td width="30">T<br>C°</td>
  333. <td width="30">P<br/>次/分</td>
  334. <td width="30">R<br/>次/分</td>
  335. <td width="100">BP<br/>mmHg</td>
  336. <td width="60">静脉压/动脉压<br/>mmHg</td>
  337. <td width="80">血流量<br/>ml/min</td>
  338. <td width="90">超滤量累计L</td>
  339. <td width="80">钠浓度<br/>mmol/L</td>
  340. <td width="240">病情特殊情况处理<br/>及专科护理措施记录</td>
  341. <td width="100">护士签名</td>
  342. </tr>
  343. <tr v-for="(monitor,index) in monitors2" :key="index">
  344. <td>{{getTime(monitor.operate_time,'{h}:{i}')}}</td>
  345. <td>{{monitor.temperature?monitor.temperature:''}}</td>
  346. <td>{{monitor.pulse_frequency?monitor.pulse_frequency:''}}</td>
  347. <td>{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
  348. <td>{{monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''}}/{{monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:''}}</td>
  349. <td>{{monitor.venous_pressure?monitor.venous_pressure:''}}/{{monitor.arterial_pressure?monitor.arterial_pressure:''}}</td>
  350. <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
  351. <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:'/'}}</td>
  352. <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
  353. <td style="line-height:16px;"><div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">{{monitor.symptom}} &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}}</span></div> </td>
  354. <td>
  355. <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{getAdminUser(monitor.monitoring_nurse)}}</span>
  356. <img class="es-img" :src="setAdminUserES(monitor.monitoring_nurse)" alt="" srcset="" v-else>
  357. </td>
  358. </tr>
  359. </tbody>
  360. </table>
  361. </td>
  362. </tr>
  363. <tr><td colspan="2" style="font-size:16px;padding: 6px 8px;line-height: 30px;text-align:left;">三、透析后护理记录</td></tr>
  364. <tr>
  365. <td>
  366. <div class="row" style="padding: 2px 0;line-height:19px;">
  367. <div class="inline_block">
  368. 透析过程:
  369. <check-box text="完成" :checked="afterdialysis.dialysis_process==1?true:false"></check-box>
  370. <check-box text="提前" :checked="afterdialysis.dialysis_process==2?true:false"></check-box>
  371. <div class="inline_block">
  372. <div class="under_line" style="width: 30px;text-align: left">
  373. <span v-if="afterdialysis.dialysis_process==2">{{afterdialysis.in_advance_minute}}</span>
  374. </div>
  375. min
  376. </div>
  377. </div>
  378. <div class="inline_block">
  379. &emsp;原因:
  380. <check-box text="心梗" :checked="afterdialysis.in_advance_reason.indexOf('心梗')>-1?true:false"></check-box>
  381. <check-box text="心律失常" :checked="afterdialysis.in_advance_reason.indexOf('心律失常')>-1?true:false"></check-box>
  382. <check-box text="低血压" :checked="afterdialysis.in_advance_reason.indexOf('低血压')>-1?true:false"></check-box>
  383. <check-box text="血流不止" :checked="afterdialysis.in_advance_reason.indexOf('血流不止')>-1?true:false"></check-box>
  384. </div>
  385. <div class="inline_block">
  386. &emsp; 其他原因:
  387. <div class="inline_block">
  388. <div class="under_line" style="width: 150px;text-align: left">
  389. <span v-if="afterdialysis.in_advance_reason.length > 0">{{afterdialysis.in_advance_reason_other}}</span>
  390. </div>
  391. </div>
  392. </div>
  393. </div>
  394. <div class="row" style="padding: 2px 0;line-height:19px;">
  395. <div class="inline_block">
  396. 内瘘管拔针后压迫止血时间:
  397. <div class="inline_block">
  398. <div class="under_line" style="width: 30px;text-align: left">
  399. <span v-if="afterdialysis.hemostasis_minute">{{afterdialysis.hemostasis_minute}}</span>
  400. </div>
  401. min
  402. </div>
  403. </div>
  404. <div class="inline_block">
  405. <check-box text="需要护士" :checked="afterdialysis.hemostasis_opera == 1?true:false"></check-box>
  406. <check-box text="他人协助" :checked="afterdialysis.hemostasis_opera == 2?true:false"></check-box>
  407. <check-box text="自己压迫" :checked="afterdialysis.hemostasis_opera == 3?true:false"></check-box>
  408. </div>
  409. <!--<div class="inline_block" style="margin-left: 30px;">-->
  410. <!--实际超滤量:-->
  411. <!--<div class="under_line" style="width: 50px;">-->
  412. <!--{{afterdialysis.actual_ultrafiltration?afterdialysis.actual_ultrafiltration:'/'}}-->
  413. <!--</div>-->
  414. <!--L-->
  415. <!--</div>-->
  416. </div>
  417. <div class="row" style="padding: 2px 0;line-height:19px;">
  418. <div class="inline_block">
  419. 内瘘震颤和血管杂音:
  420. <check-box text="存在" :checked="afterdialysis.tremor_noise==1?true:false"></check-box>
  421. <check-box text="减弱" :checked="afterdialysis.tremor_noise==2?true:false"></check-box>
  422. <check-box text="不存在" :checked="afterdialysis.tremor_noise==3?true:false"></check-box>
  423. </div>
  424. <div class="inline_block">
  425. &emsp;失衡综合症:
  426. <check-box text="无" :checked="afterdialysis.disequilibrium_syndrome==1?true:false"></check-box>
  427. <check-box text="有" :checked="afterdialysis.disequilibrium_syndrome==2?true:false"></check-box>
  428. </div>
  429. <div class="inline_block">
  430. <check-box text="头晕" :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('头晕')>-1?true:false"></check-box>
  431. <check-box text="头痛" :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('头痛')>-1?true:false"></check-box>
  432. <check-box text="呕吐" :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('呕吐')>-1?true:false"></check-box>
  433. <check-box text="低血压" :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('低血压')>-1?true:false"></check-box>
  434. </div>
  435. </div>
  436. <div class="row" style="padding: 2px 0;line-height:19px;">
  437. <div class="inline_block">
  438. 透析器及血路管凝血情况: &emsp;动脉管道:
  439. <check-box text="0" :checked="afterdialysis.arterial_tube == 1?true:false"></check-box>
  440. <check-box text="+" :checked="afterdialysis.arterial_tube == 2?true:false"></check-box>
  441. <check-box text="++" :checked="afterdialysis.arterial_tube == 3?true:false"></check-box>
  442. <check-box text="+++" :checked="afterdialysis.arterial_tube == 4?true:false"></check-box>
  443. </div>
  444. <div class="inline_block">
  445. &emsp; 静脉管道:
  446. <check-box text="0" :checked="afterdialysis.intravenous_tube == 1?true:false"></check-box>
  447. <check-box text="+" :checked="afterdialysis.intravenous_tube == 2?true:false"></check-box>
  448. <check-box text="++" :checked="afterdialysis.intravenous_tube == 3?true:false"></check-box>
  449. <check-box text="+++" :checked="afterdialysis.intravenous_tube == 4?true:false"></check-box>
  450. </div>
  451. <div class="inline_block">
  452. &emsp;透析器:
  453. <check-box text="0" :checked="afterdialysis.dialyzer == 1?true:false"></check-box>
  454. <check-box text="+" :checked="afterdialysis.dialyzer == 2?true:false"></check-box>
  455. <check-box text="++" :checked="afterdialysis.dialyzer == 3?true:false"></check-box>
  456. <check-box text="+++" :checked="afterdialysis.dialyzer == 4?true:false"></check-box>
  457. </div>
  458. </div>
  459. </td>
  460. </tr>
  461. <tr>
  462. <td colspan="2">
  463. <div class="row" style="padding: 2px 0;line-height:19px;">
  464. <div class="inline_block" >
  465. 责任护士:
  466. <div class="under_line" style="width: 80px;text-align: left">
  467. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
  468. <img class="es-img" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
  469. </div>
  470. </div>
  471. <div class="inline_block" >
  472. 穿刺者:
  473. <div class="under_line" style="width: 80px;text-align: left">
  474. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.puncture_nurse)}}</span>
  475. <img class="es-img" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse)" alt="" srcset="" v-else>
  476. </div>
  477. </div>
  478. <div class="inline_block" >
  479. &emsp;核对人:
  480. <div class="under_line" style="width: 80px;text-align: left" v-if="dialysisOrder == null">
  481. <span v-if="setAdminUserES(check==null?0:check.creater) == ''">{{getAdminUser(check==null?0:check.creater)}}</span>
  482. <img class="es-img" :src="setAdminUserES(check==null?0:check.creater)" alt="" srcset="" v-else>
  483. </div>
  484. <div class="under_line" style="width: 80px;text-align: left" v-if="dialysisOrder != null && dialysisOrder.start_nurse == check.modifier">
  485. <span v-if="setAdminUserES(check==null?0:check.creater) == ''">{{getAdminUser(check==null?0:check.creater)}}</span>
  486. <img class="es-img" :src="setAdminUserES(check==null?0:check.creater)" alt="" srcset="" v-else>
  487. </div>
  488. <div class="under_line" style="width: 80px;text-align: left" v-if="dialysisOrder != null && dialysisOrder.start_nurse == check.creater">
  489. <span v-if="setAdminUserES(check==null?0:check.modifier) == ''">{{getAdminUser(check==null?0:check.modifier)}}</span>
  490. <img class="es-img" :src="setAdminUserES(check==null?0:check.modifier)" alt="" srcset="" v-else>
  491. </div>
  492. <div class="under_line" style="width: 80px;text-align: left" v-if="dialysisOrder != null && dialysisOrder.start_nurse != check.creater&&dialysisOrder.start_nurse != check.modifier">
  493. <span v-if="setAdminUserES(check==null?0:check.creater) == ''">{{getAdminUser(check==null?0:check.creater)}}</span>
  494. <img class="es-img" :src="setAdminUserES(check==null?0:check.creater)" alt="" srcset="" v-else>
  495. </div>
  496. </div>
  497. <div class="inline_block">
  498. &emsp;核对时间:
  499. <div class="under_line" style="width: 200px;text-align: left" v-if="check == null">
  500. <!--{{getTime(check.check_time,'{y}年{m}月{d}日 {h}时{i}分')}}-->
  501. </div>
  502. <div class="under_line" style="width: 200px;text-align: left" v-if="check != null && check.first_check_time < check.check_time">
  503. {{getTime(check.check_time,'{y}年{m}月{d}日 {h}时{i}分')}}
  504. </div>
  505. <div class="under_line" style="width: 200px;text-align: left" v-if="check != null &&check.check_time < check.first_check_time">
  506. {{getTime(check.first_check_time,'{y}年{m}月{d}日 {h}时{i}分')}}
  507. </div>
  508. </div>
  509. <div class="inline_block" >
  510. &emsp;收针者:
  511. <div class="under_line" style="width: 80px;text-align: left">
  512. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
  513. <img class="es-img" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else>
  514. </div>
  515. </div>
  516. </div>
  517. </td>
  518. </tr>
  519. <tr>
  520. <td colspan="2">
  521. <div class="row" style="padding: 2px 0; line-height:19px;">
  522. 患者去向:
  523. <check-box text="门诊" :checked="afterdialysis.patient_gose==4?true:false"></check-box>
  524. <check-box text="离院" :checked="afterdialysis.patient_gose==1?true:false"></check-box>
  525. <check-box text="留观" :checked="afterdialysis.patient_gose==2?true:false"></check-box>
  526. <check-box text="住院" :checked="afterdialysis.patient_gose==3?true:false"></check-box>
  527. ( 科室
  528. <div class="under_line" style="width: 200px;">
  529. <span v-if="afterdialysis.patient_gose==3">{{afterdialysis.inpatient_department}}</span>
  530. </div>
  531. </div>
  532. <div class="row" style="padding: 2px 0; line-height:19px;">
  533. <div class="inline_block" >
  534. 血透室护士签名:
  535. <div class="under_line" style="width: 100px;text-align: left">
  536. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
  537. <img class="es-img" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
  538. </div>
  539. </div>
  540. <div class="inline_block" >
  541. &emsp;病区护士签名:
  542. <div class="under_line" style="width: 100px;text-align: left">
  543. </div>
  544. </div>
  545. <div class="inline_block">
  546. &emsp;时间:
  547. <div class="under_line" style="width: 200px;text-align: left" v-if="dialysisOrder != null">
  548. {{getTime(dialysisOrder.end_time,'{y}年{m}月{d}日 {h}时{i}分')}}
  549. </div>
  550. </div>
  551. </div>
  552. </td>
  553. </tr>
  554. <tr>
  555. <td colspan="2">
  556. <div class="row" style="font-size: 10px;">
  557. 注:透析器及血路管凝血:0级无凝血;
  558. “+”(指Ⅰ级:束状纤维凝血或动/静脉壶/滤网见轻微凝血);“++”(指II级:近半数纤维凝血或动/静脉壶/滤网出现凝血块);“+++”(指III级:压力异常升高,须中途更换透析器/血路管A/V)。
  559. </div>
  560. </td>
  561. </tr>
  562. </tbody>
  563. </table>
  564. <div v-if="(this.monitors.length > 8 && this.print_length == 8) || (this.monitors.length > 9 && this.print_length == 9)" class="print-yema3" >2</div>
  565. <div v-else class="print-yema2">1</div>
  566. </div>
  567. </div>
  568. <div id="dialysis-print-box-1-2" class="dialysis-print-order print-template-two print_page_main_content" style="position: relative;">
  569. <div class="order-yy-name">{{orgname}}</div>
  570. <div class="order_title"> 血液净化科医嘱及执行单 </div>
  571. <div class="row" style="margin-top: 15px;">
  572. <div class="inline_block" >
  573. 科室:
  574. <check-box text="门诊透析" :checked="patientInfo_source_1"></check-box>
  575. <check-box text="住院" :checked="patientInfo_source_2"></check-box>
  576. </div>
  577. <div class="inline_block" style="margin-left:25px;">
  578. 住院号:
  579. <div class="under_line" style="width: 100px;text-align: left" v-if="patientInfo.admission_number">
  580. {{patientInfo.admission_number}}
  581. </div>
  582. <div class="under_line" style="width: 100px;text-align: left" v-else>
  583. {{'/'}}
  584. </div>
  585. </div>
  586. <div class="inline_block" style="margin-left:25px;">
  587. 姓名:
  588. <div class="under_line" style="width: 120px;text-align: left">{{patientInfo.name}}</div>
  589. </div>
  590. <div class="inline_block" style="margin-left: 25px;">
  591. 性别:
  592. <check-box text="男" :checked="patientInfo_gender_1"></check-box>
  593. <check-box text="女" :checked="patientInfo_gender_2"></check-box>
  594. </div>
  595. <div class="inline_block" style="margin-left: 25px">
  596. 年龄:
  597. <div class="under_line" style="width: 70px;text-align: left">{{getAge(patientInfo)}}</div>
  598. </div>
  599. </div>
  600. <div class="row flex">
  601. <div class="inline_block">
  602. 诊断:
  603. <div class="under_line" style="width: 500px;text-align: left">{{patientInfo.diagnose}}</div>
  604. </div>
  605. </div>
  606. <table class="proj_table">
  607. <tbody>
  608. <tr>
  609. <td>
  610. <!--<div class="row" style="padding: 2px 0;line-height:24px;">-->
  611. <!--<div class="inline_block">-->
  612. <!--诊断:-->
  613. <!--<div class="under_line" style="width: 150px;text-align: left">{{patientInfo.diagnose}}</div>-->
  614. <!--</div>-->
  615. <!--</div>-->
  616. <div class="row" style="padding: 2px 0;line-height:24px;">
  617. <div class="inline_block">治疗方式:
  618. <check-box text="HD" :checked="prescription.mode_id==1?true:false"></check-box>
  619. <check-box text="HDF" :checked="prescription.mode_id==2?true:false"></check-box>
  620. <check-box text="HF" :checked="prescription.mode_id==5?true:false"></check-box>
  621. <check-box text="HP" :checked="prescription.mode_id==4?true:false"></check-box>
  622. <check-box text="HD+HP" :checked="prescription.mode_id==3?true:false"></check-box>
  623. </div>
  624. <!--<div class="inline_block" v-if="patientInfo.diagnose.length <= 10">-->
  625. <!--&emsp;治疗方式:-->
  626. <!--<check-box text="HD" :checked="prescription.mode_id==1?true:false"></check-box>-->
  627. <!--<check-box text="HDF" :checked="prescription.mode_id==2?true:false"></check-box>-->
  628. <!--<check-box text="HF" :checked="prescription.mode_id==5?true:false"></check-box>-->
  629. <!--<check-box text="HP" :checked="prescription.mode_id==4?true:false"></check-box>-->
  630. <!--<check-box text="HD+HP" :checked="prescription.mode_id==3?true:false"></check-box>-->
  631. <!--</div>-->
  632. <div class="inline_block" style="margin-left:20px;">
  633. 其它:
  634. <div class="under_line" style="width: 100px;text-align: left">
  635. <span v-if="prescription.mode_id>5">{{prescription.mode}}</span>
  636. </div>
  637. </div>
  638. <div class="inline_block" style="margin-left:20px;">
  639. 治疗时间:
  640. <div class="under_line" style="width: 30px;text-align: left">
  641. {{prescription.dialysis_duration_hour?prescription.dialysis_duration_hour:'0'}}
  642. </div>
  643. h
  644. <div class="under_line" style="width: 30px;text-align: left">
  645. {{prescription.dialysis_duration_minute?prescription.dialysis_duration_minute:'0'}}
  646. </div>
  647. min
  648. </div>
  649. </div>
  650. <div class="row" style="padding: 2px 0;line-height:24px;">
  651. <div class="inline_block">
  652. 病情:
  653. <check-box text="一般" :checked="receiverTreatmentAccess.sick_condition == 1?true:false"></check-box>
  654. <check-box text="重" :checked="receiverTreatmentAccess.sick_condition == 2?true:false"></check-box>
  655. <check-box text="危" :checked="receiverTreatmentAccess.sick_condition == 3?true:false"></check-box>
  656. <div class="inline_block">
  657. &emsp;透析器型号:
  658. <div class="under_line" style="width: 200px;text-align: left">
  659. {{prescription.dialyzer_perfusion_apparatus}}
  660. </div>
  661. </div>
  662. </div>
  663. </div>
  664. <div class="row" style="padding: 2px 0; line-height:24px;">
  665. <div class="inline_block">
  666. 体液过多症状:
  667. <check-box text="无" :checked="prescription.body_fluid==1?true:false"></check-box>
  668. <check-box text="下肢水肿+" :checked="prescription.body_fluid==2?true:false"></check-box>
  669. <check-box text="下肢水肿++" :checked="prescription.body_fluid==3?true:false"></check-box>
  670. <check-box text="下肢水肿+++" :checked="prescription.body_fluid==4?true:false"></check-box>
  671. </div>
  672. <!-- <div class="inline_block">
  673. 其它:
  674. <div class="under_line" style="width: 100px;">
  675. <div class="under-line" v-if="prescription&&prescription.body_fluid_other.length > 0">&nbsp;{{prescription.body_fluid_other}}</div>
  676. </div>
  677. </div> -->
  678. <div class="inline_block" style="margin-left:20px;">
  679. 透析前使用特殊药物:
  680. <check-box text="无" :checked="prescription.special_medicine==1?true:false"></check-box>
  681. <check-box text="降压药" :checked="prescription.special_medicine==2?true:false"></check-box>
  682. <check-box text="抗凝" :checked="prescription.special_medicine==3?true:false"></check-box>
  683. </div>
  684. <div class="inline_block">
  685. 其它:
  686. <div class="under_line" style="width: 100px;text-align: left">
  687. <span v-if="prescription.special_medicine == -1">{{prescription.special_medicine_other}}</span>
  688. </div>
  689. </div>
  690. </div>
  691. <div class="row" style="padding: 2px 0;line-height:24px;">
  692. <div class="inline_block">
  693. 透析液(mmol/L): &emsp;Ca<sup>2+</sup>:
  694. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.calcium">
  695. <span>{{getFloat(prescription.calcium)?getFloat(prescription.calcium):'/'}}</span>
  696. </div>
  697. <div class="under_line" style="width: 70px;" v-else>
  698. <span>{{'/'}}</span>
  699. </div>
  700. mmol/L &emsp;Na<sup>+</sup>:
  701. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.sodium">
  702. <span>{{getFloat(prescription.sodium)?getFloat(prescription.sodium):'/'}}</span>
  703. </div>
  704. <div class="under_line" style="width: 70px;" v-else>
  705. <span>{{'/'}}</span>
  706. </div>
  707. mmol/L &emsp;K<sup>+</sup>:
  708. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.kalium">
  709. <span>{{getFloat(prescription.kalium)?getFloat(prescription.kalium):'/'}}</span>
  710. </div>
  711. <div class="under_line" style="width: 70px;" v-else>
  712. <span>{{'/'}}</span>
  713. </div>
  714. mmol/L
  715. </div>
  716. <div class="inline_block" v-if="prescription.displace_liqui_part == 0">
  717. &emsp;置换液后/前稀释 总量:
  718. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.displace_liqui_value">
  719. {{prescription.displace_liqui_value}}
  720. </div>
  721. <div class="under_line" style="width: 70px;" v-else>
  722. {{'/'}}
  723. </div>
  724. L
  725. </div>
  726. <div class="inline_block" v-if="prescription.displace_liqui_part == 1">
  727. &emsp;置换液前稀释 总量:
  728. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.displace_liqui_value">
  729. {{prescription.displace_liqui_value}}
  730. </div>
  731. <div class="under_line" style="width: 70px;" v-else>
  732. {{'/'}}
  733. </div>
  734. L
  735. </div>
  736. <div class="inline_block" v-if="prescription.displace_liqui_part == 2">
  737. &emsp;置换液后稀释 总量:
  738. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.displace_liqui_value">
  739. {{prescription.displace_liqui_value}}
  740. </div>
  741. <div class="under_line" style="width: 70px;" v-else>
  742. {{'/'}}
  743. </div>
  744. L
  745. </div>
  746. </div>
  747. <div class="row" style="padding: 2px 0;line-height:24px;">
  748. <div class="inline_block">
  749. 血管通路:
  750. <check-box text="内瘘" :checked="prescription.blood_access == 1?true:false"></check-box>
  751. <check-box text="直穿" :checked="prescription.blood_access == 2?true:false"></check-box>
  752. <check-box text="导管" :checked="prescription.blood_access == 3?true:false"></check-box>
  753. </div>
  754. <div class="inline_block">
  755. &emsp;血流量:
  756. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.blood_flow_volume">
  757. {{prescription.blood_flow_volume}}
  758. </div>
  759. <div class="under_line" style="width: 70px;text-align: left" v-else>
  760. {{'/'}}
  761. </div>
  762. ml/min
  763. </div>
  764. <div class="inline_block">
  765. &emsp;透析液流量:
  766. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.dialysate_flow">
  767. {{prescription.dialysate_flow}}
  768. </div>
  769. <div class="under_line" style="width: 70px;" v-else>
  770. {{'/'}}
  771. </div>
  772. ml/min
  773. </div>
  774. </div>
  775. <div class="row" style="padding: 2px 0;line-height:24px;">
  776. <div class="inline_block">
  777. 透前体重:
  778. <div class="under_line" style="width: 70px;text-align: left" v-if="predialysis.weight_before">
  779. {{predialysis.weight_before}}
  780. </div>
  781. <div class="under_line" style="width: 70px;" v-else>
  782. {{'/'}}
  783. </div>
  784. kg
  785. </div>
  786. <div class="inline_block">
  787. &emsp;设定超滤量:
  788. <div class="under_line" style="width: 70px;text-align: left" v-if="getFloat(prescription.target_ultrafiltration)">
  789. {{getFloat(prescription.target_ultrafiltration)}}
  790. </div>
  791. <div class="under_line" style="width: 70px;" v-else>
  792. {{'/'}}
  793. </div>
  794. L
  795. </div>
  796. <div class="inline_block">
  797. &emsp;实际超滤量:
  798. <div class="under_line" style="width: 70px;text-align: left" v-if="getFloat(prescription.ultrafiltration)">
  799. {{getFloat(prescription.ultrafiltration)}}
  800. </div>
  801. <div class="under_line" style="width: 70px;" v-else>
  802. {{'/'}}
  803. </div>
  804. L
  805. </div>
  806. <div class="inline_block">
  807. 透后体重:
  808. <div class="under_line" style="width: 70px;text-align: left" v-if="afterdialysis.weight_after">
  809. {{afterdialysis.weight_after}}
  810. </div>
  811. <div class="under_line" style="width: 70px;" v-else>
  812. {{'/'}}
  813. </div>
  814. kg
  815. </div>
  816. </div>
  817. </td>
  818. </tr>
  819. </tbody>
  820. </table>
  821. <table class="print-table-no" border="1" count="0" :style="this.advice_groups_2.length > 0 ? 'margin-bottom:350px;margin-top: -1px;position: relative;':'margin-top: -1px;position: relative;'">
  822. <tbody>
  823. <tr style="line-height:35px;padding:8px 5px;">
  824. <td colspan="7" style="font-size: 18px">医嘱</td>
  825. </tr>
  826. <tr style="line-height:35px;padding:8px 5px;">
  827. <td colspan="4" style="font-size: 16px">开医嘱</td>
  828. <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
  829. </tr>
  830. <tr style="line-height:35px;padding:8px 5px;">
  831. <td style="font-size: 16px" width="10%">时间</td>
  832. <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
  833. <td style="font-size: 16px" width="10%">医生签名</td>
  834. <td style="font-size: 16px" width="10%">核对人签名</td>
  835. <td style="font-size: 16px" width="10%">执行人签名</td>
  836. <td style="font-size: 16px" width="10%">时间</td>
  837. </tr>
  838. <template v-for="(group, group_index) in advice_groups" >
  839. <tr v-for="(advice, advice_index) in group.advices" :key="advice_index" >
  840. <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
  841. <span v-if="advice.start_time">
  842. {{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}
  843. </span>
  844. <span v-else>&nbsp;<br/>&nbsp;</span>
  845. </td>
  846. <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
  847. <span >{{advice.advice_name }}</span>
  848. <span>{{advice.advice_desc}}</span>
  849. <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
  850. <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
  851. <span v-if="advice.parent_id == 0 && advice.children.length == 0">{{advice.delivery_way}}</span>
  852. <span v-if="advice.parent_id == 0 && advice.children.length == 0">{{advice.execution_frequency}}</span>
  853. <span v-if="advice.parent_id == 0 && advice.children && advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
  854. </td>
  855. <td colspan="2" height="60px" style="text-align: center" v-else >
  856. <span>{{advice.delivery_way}}</span>
  857. <span>{{advice.execution_frequency}}</span>
  858. <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
  859. </td>
  860. <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
  861. <td height="60px">
  862. <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{getAdminUser(advice.advice_doctor)}}</span>
  863. <img class="es-img" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else>
  864. </td>
  865. <td height="60px">
  866. <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
  867. <img class="es-img" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
  868. </td>
  869. <td height="60px">
  870. <span v-if="setAdminUserES(advice.execution_staff) == ''">{{getAdminUser(advice.execution_staff)}}</span>
  871. <img class="es-img" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else>
  872. </td>
  873. <td height="60px">
  874. <span v-if="advice.execution_time">{{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}}</span>
  875. </td>
  876. </tr>
  877. </template>
  878. </tbody>
  879. <div class="print-yema4">1</div>
  880. </table>
  881. <template v-if="this.advice_groups_2.length > 0">
  882. <div style="position: relative;">
  883. <div class="order-yy-name">{{orgname}}</div>
  884. <div class="order_title"> 血液净化科医嘱及执行单 </div>
  885. <div class="row" style="margin-top: 15px;">
  886. <div class="inline_block" >
  887. 科室:
  888. <check-box text="门诊透析" :checked="patientInfo_source_1"></check-box>
  889. <check-box text="住院" :checked="patientInfo_source_2"></check-box>
  890. </div>
  891. <div class="inline_block" style="margin-left:25px;">
  892. 住院号:
  893. <div class="under_line" style="width: 100px;text-align: left" v-if="patientInfo.admission_number">
  894. {{patientInfo.admission_number}}
  895. </div>
  896. <div class="under_line" style="width: 100px;text-align: left" v-else>
  897. {{'/'}}
  898. </div>
  899. </div>
  900. <div class="inline_block" style="margin-left:25px;">
  901. 姓名:
  902. <div class="under_line" style="width: 120px;text-align: left">{{patientInfo.name}}</div>
  903. </div>
  904. <div class="inline_block" style="margin-left: 25px;">
  905. 性别:
  906. <check-box text="男" :checked="patientInfo_gender_1"></check-box>
  907. <check-box text="女" :checked="patientInfo_gender_2"></check-box>
  908. </div>
  909. <div class="inline_block" style="margin-left: 25px;">
  910. 年龄:
  911. <div class="under_line" style="width: 70px;text-align: left">{{getAge(patientInfo)}}</div>
  912. </div>
  913. </div>
  914. <div class="row flex">
  915. <div class="inline_block">
  916. 诊断:
  917. <div class="under_line" style="width: 500px;text-align: left">{{patientInfo.diagnose}}</div>
  918. </div>
  919. </div>
  920. <table class="print-table-no" border="1" count="0">
  921. <tbody>
  922. <tr style="line-height:35px;padding:8px 5px;">
  923. <td colspan="7" style="font-size: 18px">医嘱</td>
  924. </tr>
  925. <tr style="line-height:35px;padding:8px 5px;">
  926. <td colspan="4" style="font-size: 16px">开医嘱</td>
  927. <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
  928. </tr>
  929. <tr style="line-height:35px;padding:8px 5px;">
  930. <td style="font-size: 16px" width="10%">时间</td>
  931. <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
  932. <td style="font-size: 16px" width="10%">医生签名</td>
  933. <td style="font-size: 16px" width="10%">核对人签名</td>
  934. <td style="font-size: 16px" width="10%">执行人签名</td>
  935. <td style="font-size: 16px" width="10%">时间</td>
  936. </tr>
  937. <template v-for="(group, group_index) in advice_groups_2" >
  938. <tr v-for="(advice, advice_index) in group.advices" :key="advice_index" >
  939. <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
  940. <span v-if="advice.start_time">
  941. {{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}
  942. </span>
  943. <span v-else>&nbsp;<br/>&nbsp;</span>
  944. </td>
  945. <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
  946. <span >{{advice.advice_name }}</span>
  947. <span>{{advice.advice_desc}}</span>
  948. <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
  949. <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
  950. <span v-if="advice.parent_id == 0 && advice.children.length == 0">{{advice.delivery_way}}</span>
  951. <span v-if="advice.parent_id == 0 && advice.children.length == 0">{{advice.execution_frequency}}</span>
  952. <span v-if="advice.parent_id == 0 && advice.children && advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
  953. </td>
  954. <td colspan="2" height="60px" style="text-align: center" v-else >
  955. <span>{{advice.delivery_way}}</span>
  956. <span>{{advice.execution_frequency}}</span>
  957. <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
  958. </td>
  959. <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
  960. <td height="60px">
  961. <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{getAdminUser(advice.advice_doctor)}}</span>
  962. <img class="es-img" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else>
  963. </td>
  964. <td height="60px">
  965. <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
  966. <img class="es-img" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
  967. </td>
  968. <td height="60px">
  969. <span v-if="setAdminUserES(advice.execution_staff) == ''">{{getAdminUser(advice.execution_staff)}}</span>
  970. <img class="es-img" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else>
  971. </td>
  972. <td height="60px">
  973. <span v-if="advice.execution_time">{{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}}</span>
  974. </td>
  975. </tr>
  976. </template>
  977. </tbody>
  978. </table>
  979. <div class="print-yema4">2</div>
  980. </div>
  981. </template>
  982. </div>
  983. </div>
  984. </template>
  985. <script>
  986. import CheckBox from '../batch_print/option_check_box'
  987. import { getDialysisRecord } from '@/api/dialysis'
  988. import { getDataConfig } from '@/utils/data'
  989. import { jsGetAge, uParseTime } from '@/utils/tools'
  990. import LabelBox from '../printItem/LabelBox'
  991. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  992. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  993. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  994. import print from 'print-js'
  995. export default {
  996. name: 'dialysisPrintOrder',
  997. props: ['childResponse'],
  998. components: {
  999. // DialysisPrintOrderOne,
  1000. // DialysisPrintOrderTwo,
  1001. CheckBox,
  1002. LabelBox,
  1003. BreadCrumb
  1004. },
  1005. data() {
  1006. return {
  1007. crumbs: [
  1008. { path: false, name: '透析管理' },
  1009. { path: false, name: '打印单' }
  1010. ],
  1011. operators: [],
  1012. adminUser: [],
  1013. check: {},
  1014. dialysisOrder: {
  1015. DeviceNumber: []
  1016. },
  1017. operatorMaps: {},
  1018. complications: ['低血压', '高血压', '心律失常', '头晕', '头痛', '呕吐', '抽搐', '出血', '心衰', '腹痛'],
  1019. jilurow: 0,
  1020. advice_jilurow: 0,
  1021. loading: false,
  1022. orgname: '',
  1023. patientInfo_gender_1: false,
  1024. patientInfo_gender_2: false,
  1025. patientInfo_source_2: false,
  1026. patientInfo_source_1: false,
  1027. modeOptions: {},
  1028. replacementWays: [],
  1029. perfusionApparatus: [],
  1030. anticoagulantsConfit: {},
  1031. bloodAccessParOpera: {},
  1032. dialysateFormulationOptions: {},
  1033. queryParams: {
  1034. xtdate: '',
  1035. xtno: ''
  1036. },
  1037. patientInfo: {
  1038. birth: '',
  1039. age: '',
  1040. DialysisSchedule: {
  1041. device_number: { number: '' },
  1042. device_zone: { name: '' }
  1043. },
  1044. gender: 0
  1045. },
  1046. predialysis: {
  1047. score: '',
  1048. internal_fistula: '',
  1049. internal_fistula_skin: '',
  1050. catheter: '',
  1051. blood_access_part_opera_name: ''
  1052. },
  1053. afterdialysis: {
  1054. complications_index: ''
  1055. },
  1056. prescription: {
  1057. dialysate_formulation_name: '',
  1058. device: {}
  1059. },
  1060. advices: [],
  1061. users: [],
  1062. monitors: [],
  1063. monitors2: [],
  1064. summary: {},
  1065. receiverTreatmentAccess: {},
  1066. org_template_info: {},
  1067. doctor_advices: [],
  1068. advice_groups: [],
  1069. advice_groups_2: [],
  1070. print_length : 0,
  1071. AlPanel: {
  1072. id: 0,
  1073. name: '',
  1074. type: 1,
  1075. shouji: 2,
  1076. weichi: 2,
  1077. zongliang: 2,
  1078. gaimingcheng: -1,
  1079. gaijiliang: -1,
  1080. shouji_unit: 'mg',
  1081. weichi_unit: 'mg/h',
  1082. zongliang_unit: 'mg',
  1083. gaimingcheng_unit: '',
  1084. gaijiliang_unit: ''
  1085. }
  1086. }
  1087. },
  1088. methods: {
  1089. getAdminUser(id) {
  1090. if (id == 0) {
  1091. return ''
  1092. }
  1093. if (id == undefined) {
  1094. return ''
  1095. }
  1096. for (let i = 0; i < this.adminUser.length; i++) {
  1097. if (this.adminUser[i].id == id) {
  1098. return this.adminUser[i].name
  1099. }
  1100. }
  1101. },
  1102. getTime(value, temp) {
  1103. if (value == 0) {
  1104. return ''
  1105. }
  1106. if (value != undefined) {
  1107. return uParseTime(value, temp)
  1108. }
  1109. return ''
  1110. },
  1111. printThisPage() {
  1112. var ptime = Math.round(new Date().getTime() / 1000)
  1113. this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
  1114. const style = '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:left;border-collapse:collapse;font-size:14px} .dialysis-print-order .under_line {display: inline-block;border-bottom: 1px solid #999;text-align:left;white-space: nowrap;width: 50%;} .dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 30px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}'
  1115. if (this.org_template_info.template_id != 2) {
  1116. printJS({
  1117. printable: 'dialysis-print-box',
  1118. type: 'html',
  1119. style: style,
  1120. scanStyles: false
  1121. })
  1122. } else if (this.org_template_info.template_id == 2) {
  1123. printJS({
  1124. printable: 'dialysis-print-box-1',
  1125. type: 'html',
  1126. style: style,
  1127. scanStyles: false
  1128. })
  1129. }
  1130. }, getNumber() {
  1131. if (this.dialysisOrder != null) {
  1132. return this.patientInfo.DialysisSchedule.device_zone.name + this.dialysisOrder.DeviceNumber.number
  1133. } else {
  1134. return this.patientInfo.DialysisSchedule.device_zone.name + this.patientInfo.DialysisSchedule.device_number.number
  1135. }
  1136. },
  1137. getXuserName(id) {
  1138. if (id <= 0) {
  1139. return ''
  1140. }
  1141. var name = ''
  1142. if (this.users == null || typeof (this.users.length) === 'undefined') {
  1143. return name
  1144. }
  1145. var leng = this.users.length
  1146. if (leng == 0) {
  1147. return name
  1148. }
  1149. for (let index = 0; index < leng; index++) {
  1150. if (this.users[index].id == id) {
  1151. name = this.users[index].name
  1152. break
  1153. }
  1154. }
  1155. return name
  1156. },
  1157. setAdminUserES(id) {
  1158. if (id == 0) {
  1159. return ''
  1160. }
  1161. if (id in this.operatorMaps) {
  1162. return this.operatorMaps[id].url
  1163. } else {
  1164. return ''
  1165. }
  1166. },
  1167. modeName(mode_id) {
  1168. return typeof (this.modeOptions[mode_id]) !== 'undefined' && typeof (this.modeOptions[mode_id].name) !== 'undefined' ? this.modeOptions[mode_id].name : ''
  1169. },
  1170. getDialysisRecord() {
  1171. this.loading = true
  1172. // getDialysisRecord(this.queryParams).then(response => {
  1173. var response = this.childResponse
  1174. if (response.data.state == 1) {
  1175. this.adminUser = response.data.data.users
  1176. this.users = response.data.data.users
  1177. this.patientInfo = response.data.data.patientInfo
  1178. this.patientInfo.birth = uParseTime(this.patientInfo.birthday, '{y}-{m}-{d}')
  1179. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1180. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1181. this.patientInfo.first_dialysis_date = uParseTime(response.data.data.patientInfo.first_dialysis_date, '{y}-{m}-{d}')
  1182. } else {
  1183. this.patientInfo.first_dialysis_date = ''
  1184. }
  1185. this.check = response.data.data.check
  1186. this.predialysis = response.data.data.PredialysisEvaluation
  1187. this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(this.predialysis.blood_access_part_opera_id)
  1188. this.afterdialysis = response.data.data.AssessmentAfterDislysis
  1189. this.operators = response.data.data.operators
  1190. this.dialysisOrder = response.data.data.dialysisOrder === null ? null : response.data.data.dialysisOrder
  1191. if (this.operators.length > 0) {
  1192. var operatorsLen = this.operators.length
  1193. for (var index = 0; index < operatorsLen; index++) {
  1194. this.$set(this.operatorMaps, this.operators[index].creator, this.operators[index])
  1195. }
  1196. }
  1197. this.afterdialysis.txqnx = -1
  1198. if (this.afterdialysis.cruor.indexOf('0度') > -1) {
  1199. this.afterdialysis.txqnx = 0
  1200. }
  1201. if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
  1202. this.afterdialysis.txqnx = 1
  1203. }
  1204. if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
  1205. this.afterdialysis.txqnx = 2
  1206. }
  1207. if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
  1208. this.afterdialysis.txqnx = 3
  1209. }
  1210. this.afterdialysis.complications = this.afterdialysis.complication.split(',')
  1211. this.afterdialysis.complications_other = []
  1212. this.afterdialysis.complications_index = []
  1213. var acllen = this.afterdialysis.complications.length
  1214. for (let index = 0; index < acllen; index++) {
  1215. if (this.complications.indexOf(this.afterdialysis.complications[index]) >= 0) {
  1216. this.afterdialysis.complications_index.push(this.afterdialysis.complications[index])
  1217. } else if (this.complications.indexOf(this.afterdialysis.complications[index]) < 0 && this.afterdialysis.complications_other.indexOf(this.afterdialysis.complications[index]) < 0) {
  1218. this.afterdialysis.complications_other.push(this.afterdialysis.complications[index])
  1219. }
  1220. }
  1221. this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(',')
  1222. this.prescription = response.data.data.dialysisPrescription
  1223. this.receiverTreatmentAccess = response.data.data.receiverTreatmentAccess
  1224. this.prescription.mode = this.modeName(this.prescription.mode_id)
  1225. var rwLen = this.replacementWays.length
  1226. this.prescription.replacement = ''
  1227. for (let index = 0; index < rwLen; index++) {
  1228. if (this.replacementWays[index].id == this.prescription.replacement_way) {
  1229. this.prescription.replacement = this.replacementWays[index].name
  1230. break
  1231. }
  1232. }
  1233. this.prescription.dialysate_formulation_name = this.dialysateFormulationName(this.prescription.dialysate_formulation)
  1234. var paLen = this.perfusionApparatus.length
  1235. this.prescription.perfusion_apparatus_name = ''
  1236. for (let index = 0; index < paLen; index++) {
  1237. if (this.perfusionApparatus[index].id == this.prescription.perfusion_apparatus) {
  1238. this.prescription.perfusion_apparatus_name = this.perfusionApparatus[index].name
  1239. break
  1240. }
  1241. }
  1242. var acLen = this.anticoagulantsConfit.length
  1243. var thisALID = this.prescription.anticoagulant
  1244. this.prescription.anticoagulant_name = ''
  1245. if (typeof (this.anticoagulantsConfit[thisALID]) !== 'undefined' && this.anticoagulantsConfit[thisALID] != null) {
  1246. this.prescription.anticoagulant_name = this.anticoagulantsConfit[thisALID].name
  1247. this.AlPanel = this.anticoagulantsConfit[thisALID]
  1248. }
  1249. this.advices = response.data.data.advices
  1250. this.monitors = response.data.data.monitors
  1251. this.summary = response.data.data.summary
  1252. this.org_template_info = response.data.data.org_template_info
  1253. if (this.monitors.length <= 9) {
  1254. if(this.predialysis.systolic_blood_pressure != 0&&this.predialysis.diastolic_blood_pressure != 0||this.predialysis.remark.length > 0 || this.predialysis.pulse_frequency != 0 || this.predialysis.breathing_rate != 0 || this.predialysis.temperature != 0){
  1255. var nl = 8
  1256. this.print_length = 8
  1257. }else{
  1258. var nl = 9
  1259. this.print_length = 9
  1260. }
  1261. for (let index = 0; index < nl; index++) {
  1262. if (this.monitors[index] == undefined || this.monitors[index].length <= 0) {
  1263. this.monitors.push([])
  1264. } else {
  1265. continue
  1266. }
  1267. }
  1268. }
  1269. if (this.monitors.length > 13) {
  1270. const tempMonitors = []
  1271. const tempMonitors2 = []
  1272. for (let index = 0; index < this.monitors.length; index++) {
  1273. if (index < 13) {
  1274. tempMonitors.push(this.monitors[index])
  1275. } else {
  1276. tempMonitors2.push(this.monitors[index])
  1277. }
  1278. }
  1279. this.monitors = tempMonitors
  1280. this.monitors2 = tempMonitors2
  1281. }
  1282. this.jilurow = this.monitors.length + 1
  1283. this.advice_jilurow = this.advices.length + 1
  1284. var childMap = {}
  1285. for (const index in this.advices) {
  1286. if (this.advices[index].parent_id == 0) {
  1287. continue
  1288. }
  1289. if (!(this.advices[index].parent_id in childMap)) {
  1290. childMap[this.advices[index].parent_id] = []
  1291. }
  1292. childMap[this.advices[index].parent_id].push(this.advices[index])
  1293. }
  1294. var advices = []
  1295. for (const index in this.advices) {
  1296. if (this.advices[index].parent_id > 0) {
  1297. continue
  1298. }
  1299. var item = this.advices[index]
  1300. if (item.id in childMap) {
  1301. item.children = childMap[item.id]
  1302. } else {
  1303. item.children = []
  1304. }
  1305. advices.push(item)
  1306. }
  1307. var leftAdvice = []
  1308. var rightAdvice = []
  1309. var adlen = advices.length
  1310. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
  1311. for (var i = 0; i < halfLen; i++) {
  1312. leftAdvice.push(advices[i])
  1313. rightAdvice.push(advices[i + halfLen])
  1314. }
  1315. if (halfLen < 5) {
  1316. var nl = 5 - leftAdvice.length
  1317. for (let index = 0; index < nl; index++) {
  1318. leftAdvice.push([])
  1319. }
  1320. var nl = 5 - rightAdvice.length
  1321. for (let index = 0; index < nl; index++) {
  1322. rightAdvice.push([])
  1323. }
  1324. }
  1325. this.advices = []
  1326. for (var i = 0; i < halfLen; i++) {
  1327. var item = []
  1328. item.push(leftAdvice[i])
  1329. item.push(rightAdvice[i])
  1330. this.advices.push(item)
  1331. }
  1332. this.loading = false
  1333. this.doctor_advices = response.data.data.advices == null ? [] : response.data.data.advices
  1334. for (let index = 0; index < this.doctor_advices.length; index++) {
  1335. this.doctor_advices[index]['isShow'] = 2
  1336. }
  1337. if (this.doctor_advices.length > 0) {
  1338. var group = this.newAdviceGroupObject()
  1339. var initGroupBlock = function(group, advice) {
  1340. group.group_no = advice.groupno
  1341. }
  1342. for (let index = this.doctor_advices.length - 1; index >= 0; index--) {
  1343. var new_advice_index = 0
  1344. if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
  1345. new_advice_index = index + this.doctor_advices[index].children.length + 1
  1346. var doctor_advice = {
  1347. delivery_way: this.doctor_advices[index].delivery_way,
  1348. execution_frequency: this.doctor_advices[index].execution_frequency,
  1349. groupno: this.doctor_advices[index].groupno,
  1350. id: this.doctor_advices[index].id,
  1351. parent_id: this.doctor_advices[index].parent_id,
  1352. children: this.doctor_advices[index].children,
  1353. remark: this.doctor_advices[index].remark,
  1354. execution_staff: this.doctor_advices[index].execution_staff,
  1355. checker: this.doctor_advices[index].checker,
  1356. execution_time: this.doctor_advices[index].execution_time,
  1357. advice_doctor: this.doctor_advices[index].advice_doctor
  1358. }
  1359. doctor_advice['isShow'] = 1
  1360. this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  1361. // this.doctor_advices.push(doctor_advice)
  1362. }
  1363. }
  1364. var templength = 0
  1365. if (this.doctor_advices.length > 12) {
  1366. templength = 12
  1367. } else {
  1368. templength = this.doctor_advices.length
  1369. }
  1370. for (let index = 0; index < templength; index++) {
  1371. const advice = this.doctor_advices[index]
  1372. if (advice.groupno == 0) {
  1373. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  1374. if (advice.parent_id > 0) {
  1375. if (this.advice_groups.length > 0) {
  1376. var parent_group = this.advice_groups[
  1377. this.advice_groups.length - 1
  1378. ]
  1379. if (parent_group.advices.length > 0) {
  1380. if (parent_group.advices[0].id == advice.parent_id) {
  1381. parent_group.advices.push(advice)
  1382. }
  1383. }
  1384. }
  1385. continue
  1386. } else {
  1387. if (group.group_no > 0) {
  1388. this.advice_groups.push(group)
  1389. group = this.newAdviceGroupObject()
  1390. }
  1391. initGroupBlock(group, advice)
  1392. group.advices.push(advice)
  1393. this.advice_groups.push(group)
  1394. group = this.newAdviceGroupObject()
  1395. continue
  1396. }
  1397. }
  1398. if (group.group_no > 0 && group.group_no != advice.groupno) {
  1399. this.advice_groups.push(group)
  1400. group = this.newAdviceGroupObject()
  1401. }
  1402. if (group.group_no == 0) {
  1403. initGroupBlock(group, advice)
  1404. }
  1405. if (group.group_no == advice.groupno) {
  1406. group.advices.push(advice)
  1407. }
  1408. if (index == 11) {
  1409. this.advice_groups.push(group)
  1410. group = this.newAdviceGroupObject()
  1411. }
  1412. }
  1413. if (this.doctor_advices.length > 12) {
  1414. for (let index = 12; index < this.doctor_advices.length; index++) {
  1415. const advice = this.doctor_advices[index]
  1416. if (advice.groupno == 0) {
  1417. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  1418. if (advice.parent_id > 0) {
  1419. if (this.advice_groups_2.length > 0) {
  1420. var parent_group = this.advice_groups_2[
  1421. this.advice_groups_2.length - 1
  1422. ]
  1423. if (parent_group.advices.length > 0) {
  1424. if (parent_group.advices[0].id == advice.parent_id) {
  1425. parent_group.advices.push(advice)
  1426. }
  1427. }
  1428. }
  1429. continue
  1430. } else {
  1431. if (group.group_no > 0) {
  1432. this.advice_groups_2.push(group)
  1433. group = this.newAdviceGroupObject()
  1434. }
  1435. initGroupBlock(group, advice)
  1436. group.advices.push(advice)
  1437. this.advice_groups_2.push(group)
  1438. group = this.newAdviceGroupObject()
  1439. continue
  1440. }
  1441. }
  1442. if (group.group_no > 0 && group.group_no != advice.groupno) {
  1443. this.advice_groups_2.push(group)
  1444. group = this.newAdviceGroupObject()
  1445. }
  1446. if (group.group_no == 0) {
  1447. initGroupBlock(group, advice)
  1448. }
  1449. if (group.group_no == advice.groupno) {
  1450. group.advices.push(advice)
  1451. }
  1452. }
  1453. }
  1454. if (group.group_no > 0) {
  1455. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  1456. if (this.doctor_advices.length > 12) {
  1457. this.advice_groups_2.push(group)
  1458. } else {
  1459. this.advice_groups.push(group)
  1460. }
  1461. }
  1462. }
  1463. } else {
  1464. this.loading = false
  1465. this.$message.error('请求数据失败')
  1466. return false
  1467. }
  1468. // })
  1469. },
  1470. bloodAccessParOperaName(id) {
  1471. if (id in this.bloodAccessParOpera) {
  1472. return this.bloodAccessParOpera[id].name
  1473. }
  1474. return ''
  1475. },
  1476. dialysateFormulationName(id) {
  1477. if (id in this.dialysateFormulationOptions) {
  1478. return this.dialysateFormulationOptions[id].name
  1479. }
  1480. return ''
  1481. }, getAge: function(val) {
  1482. if (this.org_template_info.template_id == 2) {
  1483. if (val.age == 0) {
  1484. return jsGetAge(val.birth, '-')
  1485. } else {
  1486. return val.age
  1487. }
  1488. } else {
  1489. return jsGetAge(val.birth, '-')
  1490. }
  1491. }, newAdviceGroupObject: function() {
  1492. return Object.assign(
  1493. {},
  1494. {
  1495. group_no: 0,
  1496. // advice_doctor: 0,
  1497. // start_time: 0,
  1498. advices: []
  1499. // exec_staff: 0,
  1500. // exec_time: 0,
  1501. // checker: 0,
  1502. }
  1503. )
  1504. }, getFloat: function(x) {
  1505. if(x == 0){
  1506. return "/"
  1507. }
  1508. if (x != '.') {
  1509. var f = Math.round(x * 100) / 100
  1510. var s = f.toString()
  1511. var rs = s.indexOf('.')
  1512. if (rs <= 0) {
  1513. rs = s.length
  1514. s += '.'
  1515. }
  1516. while (s.length <= rs + 1) {
  1517. s += '0'
  1518. }
  1519. return s
  1520. } else {
  1521. return '0.0'
  1522. }
  1523. }
  1524. },
  1525. watch: {
  1526. 'patientInfo.gender': function() {
  1527. if (this.patientInfo.gender == 1) {
  1528. this.patientInfo_gender_1 = true
  1529. this.patientInfo_gender_2 = false
  1530. } else if (this.patientInfo.gender == 2) {
  1531. this.patientInfo_gender_2 = true
  1532. this.patientInfo_gender_1 = false
  1533. } else {
  1534. this.patientInfo_gender_2 = false
  1535. this.patientInfo_gender_1 = false
  1536. }
  1537. },
  1538. 'patientInfo.source': function() {
  1539. if (this.patientInfo.source == 1) {
  1540. this.patientInfo_source_1 = true
  1541. this.patientInfo_source_2 = false
  1542. } else if (this.patientInfo.source == 2) {
  1543. this.patientInfo_source_2 = true
  1544. this.patientInfo_source_1 = false
  1545. } else {
  1546. this.patientInfo_source_2 = false
  1547. this.patientInfo_source_1 = false
  1548. }
  1549. }
  1550. },
  1551. created() {
  1552. var xtuser = this.$store.getters.xt_user
  1553. this.orgname = xtuser.org.org_name
  1554. // this.orgname = "遂溪方济医院";
  1555. this.modeOptions = this.$store.getters.treatment_mode
  1556. this.replacementWays = this.$store.getters.replacement_ways
  1557. this.perfusionApparatus = this.$store.getters.perfusion_apparatus
  1558. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
  1559. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  1560. var bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  1561. for (var key in bloodAccessParOpera) {
  1562. this.bloodAccessParOpera[bloodAccessParOpera[key].id] = bloodAccessParOpera[key]
  1563. }
  1564. var dialysateFormulationOptions = getDataConfig('hemodialysis', 'dialysate_formulation')
  1565. for (var key in dialysateFormulationOptions) {
  1566. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] = dialysateFormulationOptions[key]
  1567. }
  1568. const xtdate = this.$route.query && this.$route.query.xtdate
  1569. const xtno = this.$route.query && this.$route.query.xtno
  1570. if (typeof (xtdate) === 'string' && xtdate.length > 0 && typeof (xtno) === 'string' && xtno.length > 0) {
  1571. this.queryParams.xtdate = xtdate
  1572. this.queryParams.xtno = xtno
  1573. this.getDialysisRecord()
  1574. } else {
  1575. this.$message.error('参数不齐')
  1576. return false
  1577. }
  1578. }
  1579. }
  1580. </script>
  1581. <style>
  1582. .print_page_main_content {
  1583. background-color: white;
  1584. width: 960px;
  1585. margin: 0 auto 50px;
  1586. padding: 0 0 0 0;
  1587. page-break-after: always;
  1588. }
  1589. .print_page_main_content .order-yy-name {
  1590. margin: auto;
  1591. text-align: center;
  1592. font-size: 20px;
  1593. letter-spacing: 5px;
  1594. }
  1595. .dialysis-print-order .order-title {
  1596. margin: auto;
  1597. font-weight: 600;
  1598. text-align: center;
  1599. font-size: 22px;
  1600. padding: 10px;
  1601. }
  1602. .print_page_main_content .order_title {
  1603. text-align: center;
  1604. font-size: 23px;
  1605. line-height: 50px;
  1606. font-weight: 500;
  1607. }
  1608. .row {
  1609. font-size: 14px;
  1610. line-height: 20px;
  1611. padding: 5px 0;
  1612. }
  1613. .inline_block {
  1614. display: inline-block;
  1615. }
  1616. .under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}
  1617. .under_line_two::before {content: "\00A0";}
  1618. .under_line_two::after {content: "\00A0";}
  1619. .under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap;width: 50%;}
  1620. .under_line::before {
  1621. content: "\00A0";
  1622. }
  1623. .under_line::after {
  1624. content: "\00A0";
  1625. }
  1626. .flex {
  1627. display: -webkit-box;
  1628. display: -moz-box;
  1629. display: -ms-flexbox;
  1630. display: -webkit-flex;
  1631. display: flex;
  1632. align-items: center;
  1633. -webkit-align-items: center;
  1634. box-align: center;
  1635. -moz-box-align: center;
  1636. -webkit-box-align: center;
  1637. text-align: center;
  1638. -webkit-justify-content: space-between;
  1639. justify-content: space-between;
  1640. -moz-box-pack: space-between;
  1641. -webkit--moz-box-pack: space-between;
  1642. box-pack: space-between;
  1643. }
  1644. .print_page_main_content .proj_table {
  1645. width: 100%;
  1646. border: 1px solid;
  1647. border-collapse: collapse;
  1648. padding: 2px;
  1649. }
  1650. .print_page_main_content .proj_table tbody tr td {
  1651. border: 1px solid;
  1652. /* text-align: center; */
  1653. font-size: 16px;
  1654. padding: 5px 8px;
  1655. line-height: 30px;
  1656. }
  1657. .print_page_main_content .proj_table .inside_table {
  1658. width: 100%;
  1659. border: hidden; /* 解决边框冲突 */
  1660. border-collapse: collapse;
  1661. }
  1662. .print_page_main_content .proj_table .inside_table tr td {
  1663. border: 1px solid;
  1664. text-align: center;
  1665. font-size: 14px;
  1666. padding: 6px 5px;
  1667. line-height: 16px;
  1668. }
  1669. .print-table-no {
  1670. width: 100%;
  1671. text-align: center;
  1672. border-collapse: collapse;
  1673. font-size: 14px;
  1674. }
  1675. .es-img {
  1676. height: 30px;
  1677. }
  1678. .advice-name {
  1679. text-align: left !important;
  1680. line-height: 16px !important;
  1681. }
  1682. .advice-children {
  1683. display: flex;
  1684. }
  1685. .margin-bottom-50{
  1686. }
  1687. .margin-bottom-300 {
  1688. margin-bottom:450px;
  1689. }
  1690. .margin-bottom-600 {
  1691. margin-bottom:600px;
  1692. }
  1693. .margin-bottom-900 {
  1694. margin-bottom:900px;
  1695. }
  1696. .print-yema{
  1697. position: absolute;
  1698. left: 50%;
  1699. }
  1700. .print-yema2{
  1701. position: absolute;
  1702. left: 50%;
  1703. }
  1704. .print-yema3{
  1705. position: absolute;
  1706. left: 50%;
  1707. }
  1708. .print-yema4{
  1709. position: absolute;
  1710. left: 50%;
  1711. }
  1712. </style>