Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

dialysisPrintOrderFive.vue 103KB

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