血透系统PC前端

dialysisPrintOrderFive.vue 93KB

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