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

DialysisPrintOrderTwentyOne.vue 89KB

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