血透系统pad前端

DialysisPrintOrderTwo.vue 87KB

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