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

DialysisPrintOrderTen.vue 84KB

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