血透系统PC前端

dialysisPrintOrderTwo.vue 91KB

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