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

DialysisPrintOrderSix.vue 85KB

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