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

DialysisPrintOrderTwentyOne.vue 90KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071
  1. <template>
  2. <div id="dialysis-print-box">
  3. <div 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 : "" }}
  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 : "" }}
  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='80'>
  553. <label-box :isChecked="prescription.anticoagulant == 6 ? true : prescription.anticoagulant == 7 ? true : false" showValue="低分子"></label-box>
  554. </td>
  555. <td width="60">
  556. <div class="under-line">
  557. &nbsp;
  558. <span v-if="prescription.anticoagulant == 6 || prescription.anticoagulant == 7">{{ prescription.anticoagulant_zongliang }}</span>
  559. </div>
  560. </td>
  561. <td width="20">iu</td>
  562. <td></td>
  563. </tr>
  564. </tbody>
  565. </table>
  566. <table class="table-box">
  567. <tbody>
  568. <tr>
  569. <td width="85">透析液配方:</td>
  570. <td width="400">
  571. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('普通') > -1 ? true : false" showValue="普通"></label-box>&nbsp;
  572. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('低钙(1.25mmol/L)') > -1 ? true : false" showValue="低钙(1.25mmol/L)"></label-box>&nbsp;
  573. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('高钙(1.75mmol/L)') > -1 ? true : false" showValue="高钙(1.75mmol/L)"></label-box>&nbsp;
  574. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('高钾') > -1 ? true : false" showValue="高钾"></label-box>&nbsp;
  575. </td>
  576. <td width='10'>(</td>
  577. <td width='40'>
  578. <div class="under-line">
  579. &nbsp;<span v-if="prescription.dialysate_formulation_name.indexOf('高钾') > -1">{{ prescription.kalium ? prescription.kalium : "" }}</span>
  580. </div>
  581. </td>
  582. <td width='20'>mmol/L</td>
  583. <td width='10'>)</td>
  584. <td width='50'>透析液:</td>
  585. <td width='40'>温度</td>
  586. <td width='40'>
  587. <div class="under-line">
  588. &nbsp;{{ prescription.dialysate_temperature ? prescription.dialysate_temperature : '' }}
  589. </div>
  590. </td>
  591. <td width='20'>℃</td>
  592. <td></td>
  593. </tr>
  594. </tbody>
  595. </table>
  596. <table class="table-box">
  597. <tbody>
  598. <tr>
  599. <td width="20">钠:</td>
  600. <td width='50'>
  601. <div class="under-line">
  602. &nbsp;{{ prescription.sodium ? prescription.sodium : "" }}
  603. </div>
  604. </td>
  605. <td width='20'>mmol/L</td>
  606. <td width='30'></td>
  607. <td width="70">碳酸氢根:</td>
  608. <td width='50'>
  609. <div class="under-line">
  610. &nbsp;{{ prescription.bicarbonate ? prescription.bicarbonate : "" }}
  611. </div>
  612. </td>
  613. <td width='20'>mmol/L</td>
  614. <td width='30'></td>
  615. <td width="40">流量:</td>
  616. <td width='50'>
  617. <div class="under-line">
  618. &nbsp;{{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }}
  619. </div>
  620. </td>
  621. <td width='20'>ml/min</td>
  622. <td width='30'></td>
  623. <td width="40">其他:</td>
  624. <td width='100'>
  625. <div class="under-line">
  626. &nbsp;
  627. </div>
  628. </td>
  629. <td></td>
  630. </tr>
  631. </tbody>
  632. </table>
  633. </td>
  634. </tr>
  635. </tbody>
  636. </table>
  637. <table class="print-table" border="1">
  638. <tbody>
  639. <tr>
  640. <td :rowspan="jilurow+4" width="30px" class="title-box">
  641. 透析治疗记录
  642. </td>
  643. <td style="line-height:20px;" width="50">时<br />间</td>
  644. <td style="line-height:20px;" width="40">体<br />温<br /><span style="font-size:10px; !important">℃</span></td>
  645. <td style="line-height:20px;" width="70">血<br />压<br /><span style="font-size:10px; !important">mmHg</span></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="40">呼<br />吸<br /><span style="font-size:10px; !important">次/分</span></td>
  648. <td style="line-height:20px;" width="50">动<br />脉<br />压<br /><span style="font-size:10px; !important">mmHg</span></td>
  649. <td style="line-height:20px;" width="50">静<br />脉<br />压<br /><span style="font-size:10px; !important">mmHg</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">ml/min</span></td>
  652. <td style="line-height:20px;" width="40">电<br />导<br />度<br /><span style="font-size:10px; !important">ms/cm</span></td>
  653. <td style="line-height:20px;" width="40">超<br />滤<br />率<br /><span style="font-size:10px; !important">ml/h</span></td>
  654. <td style="line-height:20px;" width="40">超<br />滤<br />量<br /><span style="font-size:10px; !important">ml</span></td>
  655. <td style="line-height:20px;" width="35">Spo<sub>2</sub><br /><span style="font-size:10px; !important">%</span></td>
  656. <td style="line-height:20px;" width="">病情变化及处理</td>
  657. <td style="line-height:20px;" width="60">签名</td>
  658. </tr>
  659. <tr v-for="monitor in monitors" :key="monitor.id">
  660. <td style="height:40px;">
  661. &nbsp;
  662. <!-- <template>
  663. <span v-if="monitor.monitoring_date">
  664. {{monitor.monitoring_date | parseTime('{y}-{m}-{d}')}}
  665. </span>
  666. </template> -->
  667. {{ getTime(monitor.operate_time, "{h}:{i}") }}
  668. </td>
  669. <td >&nbsp;{{ monitor.temperature ? monitor.temperature : '' }}</td>
  670. <td>
  671. &nbsp;{{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/
  672. {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
  673. </td>
  674. <td>
  675. &nbsp;{{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }}
  676. </td>
  677. <td>
  678. &nbsp;{{ monitor.breathing_rate ? monitor.breathing_rate : "" }}
  679. </td>
  680. <td>
  681. &nbsp;{{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }}
  682. </td>
  683. <td>
  684. &nbsp;{{ monitor.venous_pressure ? monitor.venous_pressure : "" }}
  685. </td>
  686. <td>
  687. &nbsp;{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}
  688. </td>
  689. <td>
  690. &nbsp;{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}
  691. </td>
  692. <td>&nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
  693. <td>&nbsp;{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : "" }}</td>
  694. <td>
  695. &nbsp;{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
  696. </td>
  697. <td>
  698. &nbsp;{{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "" }}
  699. </td>
  700. <td style="text-align:left;line-height:20px;">
  701. &nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
  702. </td>
  703. <td>
  704. <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
  705. {{ getAdminUser(monitor.monitoring_nurse) }}
  706. </span>
  707. <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
  708. <img style="height:30px;" :src="setAdminUserES(monitor.monitoring_nurse)" alt srcset />
  709. </span>
  710. </td>
  711. </tr>
  712. <tr>
  713. <td colspan="15">
  714. <table class="table-box">
  715. <tbody>
  716. <tr>
  717. <td width="70">拔针压迫:</td>
  718. <td width="300">
  719. <div style="display:flex;justify-content:space-between;">
  720. <label-box showValue="自己压迫" :isChecked="afterdialysis.hemostasis_opera == 3 ? true : false"></label-box>
  721. &nbsp;
  722. <label-box showValue="他人协助" :isChecked="afterdialysis.hemostasis_opera == 2 ? true : false"></label-box>
  723. &nbsp;
  724. <label-box showValue="内瘘止血带" :isChecked="afterdialysis.hemostasis_opera == 4 ? true : false"></label-box>
  725. </div>
  726. </td>
  727. <td></td>
  728. </tr>
  729. </tbody>
  730. </table>
  731. <table class="table-box">
  732. <tbody>
  733. <tr>
  734. <td width="70">内瘘震颤:</td>
  735. <td width="180">
  736. <div>
  737. <label-box :isChecked="afterdialysis.internal_fistula ? afterdialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false : false" showValue="存在"></label-box>
  738. &nbsp;
  739. <label-box :isChecked="afterdialysis.internal_fistula ? afterdialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false : false" showValue="减弱"></label-box>
  740. &nbsp;
  741. <label-box :isChecked="afterdialysis.internal_fistula ? afterdialysis.internal_fistula.indexOf('震颤-不存在') > -1 ? true : false : false" showValue="不存在"></label-box>
  742. </div>
  743. </td>
  744. <td width='10'></td>
  745. <td width="130">拔针后穿刺点渗血:</td>
  746. <td width="80">
  747. <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 1 ? true : false" showValue="有"></label-box>&nbsp;
  748. <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 2 ? true : false" showValue="无"></label-box>
  749. </td>
  750. <td width="10"></td>
  751. <td width="85">穿刺处血肿:</td>
  752. <td width="80">
  753. <label-box :isChecked="afterdialysis.puncture_point_haematoma == 1 ? true : false" showValue="有"></label-box>&nbsp;
  754. <label-box :isChecked="afterdialysis.puncture_point_haematoma == 2 ? true : false" showValue="无"></label-box>
  755. </td>
  756. <td></td>
  757. </tr>
  758. </tbody>
  759. </table>
  760. <table class="table-box">
  761. <tbody>
  762. <tr>
  763. <td width='100'>中心静脉封管:</td>
  764. <td width='30'>A端</td>
  765. <td width='50'>
  766. <div class="under-line">
  767. &nbsp;{{ afterdialysis.cvc_a ? afterdialysis.cvc_a : '' }}
  768. </div>
  769. </td>
  770. <td width='10'>ml</td>
  771. <td width='30'>V端</td>
  772. <td width='50'>
  773. <div class="under-line">
  774. &nbsp;{{ afterdialysis.cvc_v ? afterdialysis.cvc_v : '' }}
  775. </div>
  776. </td>
  777. <td width='10'>ml</td>
  778. <td></td>
  779. </tr>
  780. </tbody>
  781. </table>
  782. <table class="table-box">
  783. <tbody>
  784. <tr>
  785. <td width='95' style="text-align:right;">封管液:</td>
  786. <td width='380'>
  787. <label-box :isChecked="afterdialysis.sealing_fluid_dispose ? getSealingFluidDispose(afterdialysis.sealing_fluid_dispose).indexOf('纯肝素') > -1 : false" showValue="纯肝素"></label-box>&nbsp;
  788. <label-box :isChecked="afterdialysis.sealing_fluid_dispose ? getSealingFluidDispose(afterdialysis.sealing_fluid_dispose).indexOf('肝素加尿激酶加生理盐水') > -1 : false" showValue="肝素加尿激酶加生理盐水"></label-box>&nbsp;
  789. <label-box :isChecked="afterdialysis.sealing_fluid_dispose ? getSealingFluidDispose(afterdialysis.sealing_fluid_dispose).indexOf('肝素加生理盐水') > -1 : false" showValue="肝素加生理盐水"></label-box>&nbsp;
  790. </td>
  791. <td width='40'>其他</td>
  792. <td width='160'>
  793. <div class="under-line">
  794. &nbsp;{{ ['纯肝素','肝素加尿激酶加生理盐水','肝素加生理盐水'].indexOf(getSealingFluidDispose(afterdialysis.sealing_fluid_dispose)) == -1 ? getSealingFluidDispose(afterdialysis.sealing_fluid_dispose) : '' }}
  795. </div>
  796. </td>
  797. <td></td>
  798. </tr>
  799. </tbody>
  800. </table>
  801. <table class="table-box">
  802. <tbody>
  803. <tr>
  804. <td width="90">透析并发症:</td>
  805. <td width="700">
  806. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('无') > -1 ? true : false" showValue="无"></label-box>&nbsp;
  807. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('头晕') > -1 ? true : false" showValue="头晕"></label-box>&nbsp;
  808. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('头痛') > -1 ? true : false" showValue="头痛"></label-box>&nbsp;
  809. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('呕吐') > -1 ? true : false" showValue="呕吐"></label-box>&nbsp;
  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. </td>
  818. <td></td>
  819. </tr>
  820. </tbody>
  821. </table>
  822. <table class="table-box">
  823. <tbody>
  824. <tr>
  825. <td width="40">凝血:</td>
  826. <td width="50">透析器:</td>
  827. <td width="200">
  828. <label-box :isChecked="afterdialysis.cruor ? afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false : false" showValue="无"></label-box>&nbsp;
  829. <label-box :isChecked="afterdialysis.cruor ? afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false : false" showValue="+"></label-box>&nbsp;
  830. <label-box :isChecked="afterdialysis.cruor ? afterdialysis.cruor.indexOf('透析器-Ⅱ度') > -1 ? true : false : false" showValue="+ +"></label-box>&nbsp;
  831. <label-box :isChecked="afterdialysis.cruor ? afterdialysis.cruor.indexOf('透析器-Ⅲ度') > -1 ? true : false : false" showValue="+ + +"></label-box>&nbsp;
  832. </td>
  833. <td width="70">静脉管道:</td>
  834. <td width="200">
  835. <label-box :isChecked="afterdialysis.intravenous_tube == 1 ? true : false" showValue="无"></label-box>&nbsp;
  836. <label-box :isChecked="afterdialysis.intravenous_tube == 2 ? true : false" showValue="+"></label-box>&nbsp;
  837. <label-box :isChecked="afterdialysis.intravenous_tube == 3 ? true : false" showValue="+ +"></label-box>&nbsp;
  838. <label-box :isChecked="afterdialysis.intravenous_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp;
  839. </td>
  840. <td width="70">动脉管道:</td>
  841. <td width="200">
  842. <label-box :isChecked="afterdialysis.arterial_tube == 1 ? true : false" showValue="无"></label-box>&nbsp;
  843. <label-box :isChecked="afterdialysis.arterial_tube == 2 ? true : false" showValue="+"></label-box>&nbsp;
  844. <label-box :isChecked="afterdialysis.arterial_tube == 3 ? true : false" showValue="+ +"></label-box>&nbsp;
  845. <label-box :isChecked="afterdialysis.arterial_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp;
  846. </td>
  847. <td></td>
  848. </tr>
  849. </tbody>
  850. </table>
  851. <table class="table-box">
  852. <tbody>
  853. <tr>
  854. <td width="70">患者去向:</td>
  855. <td width="160">
  856. <label-box :isChecked="afterdialysis.patient_gose == 1 ? true : false" showValue="回家"></label-box>
  857. <label-box :isChecked="afterdialysis.patient_gose == 2 ? true : false" showValue="留观"></label-box>
  858. <label-box :isChecked="afterdialysis.patient_gose == 3 ? true : false" showValue="住院"></label-box>
  859. </td>
  860. <td width="100">
  861. <div class="under-line">
  862. &nbsp;
  863. <span v-if="afterdialysis.patient_gose == 3">{{ afterdialysis.inpatient_department }}</span>
  864. </div>
  865. </td>
  866. <td></td>
  867. </tr>
  868. </tbody>
  869. </table>
  870. </td>
  871. </tr>
  872. </tbody>
  873. </table>
  874. <div style="display:flex;justify-content: space-around;margin-top: 20px;">
  875. <div style="display:flex;align-items:center;">
  876. <span>上机护士:</span>
  877. <span style="width:100px;display: inline-block;" class="under-line">&nbsp;
  878. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
  879. <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
  880. </span>
  881. </div>
  882. <div style="display:flex;align-items:center;">
  883. <span>核对:</span>
  884. <span style="width:100px;display: inline-block;" class="under-line">&nbsp;
  885. <span v-if="dialysisOrder ? dialysisOrder.start_nurse != check.modifier : false">
  886. <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''" style="height:30px;display: inline-block;">
  887. {{ getAdminUser(check == null ? 0 : check.modifier) }}
  888. </span>
  889. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.modifier)" alt srcset v-else />
  890. </span>
  891. <span v-else>
  892. <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''" style="height:30px;display: inline-block;">
  893. {{ getAdminUser(check == null ? 0 : check.creater) }}
  894. </span>
  895. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt srcset v-else />
  896. </span>
  897. </span>
  898. </div>
  899. <div style="display:flex;align-items:center;">
  900. <span>下机护士:</span>
  901. <span style="width:100px;display: inline-block;" class="under-line">&nbsp;
  902. <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) == ''">
  903. {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) }}</span>
  904. <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse)" alt="" srcset="" v-else />
  905. </span>
  906. </div>
  907. <div style="display:flex;align-items:center;">
  908. <span>医生:</span>
  909. <span style="width:100px;display: inline-block;" class="under-line">&nbsp;
  910. <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>
  911. <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
  912. </span>
  913. </div>
  914. </div>
  915. </div>
  916. <div style="page-break-after: always;"></div>
  917. <div class="dialysis-print-order">
  918. <div class="order-yy-name"></div>
  919. <div class="order-title">血液净化记录单续页</div>
  920. <table class="print-table" border="1">
  921. <tr>
  922. <td>时间</td>
  923. <td width='430'>临时医嘱</td>
  924. <td>医生签名</td>
  925. <td>执行护士</td>
  926. <td>执行时间</td>
  927. <td>核对护士</td>
  928. </tr>
  929. <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
  930. <td style="height:40px;line-height:40px">{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
  931. <td class="parent" style="text-align:left;padding-left: 20px !important;">
  932. <span v-if="advice.parent_id > 0">&nbsp;&nbsp;&nbsp;</span>
  933. <span>{{ advice.advice_name }}</span>
  934. <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
  935. <span v-if="advice.prescribing_number">
  936. &nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}
  937. </span>
  938. <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
  939. <span v-if="advice.parent_id == 0">{{ advice.delivery_way }}</span>
  940. <span v-if="advice.parent_id == 0">
  941. {{ advice.execution_frequency }}
  942. </span>
  943. <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
  944. </td>
  945. <td>
  946. <span v-if="setAdminUserES(advice.advice_doctor) == ''">
  947. {{ getAdminUser(advice.advice_doctor) }}
  948. </span>
  949. <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
  950. <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt srcset />
  951. </span>
  952. </td>
  953. <td>
  954. <span v-if="setAdminUserES(advice.execution_staff) == ''">
  955. {{ getAdminUser(advice.execution_staff) }}
  956. </span>
  957. <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
  958. <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt srcset />
  959. </span>
  960. </td>
  961. <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
  962. <td>
  963. <span v-if="setAdminUserES(advice.checker) == ''">
  964. {{ getAdminUser(advice.checker) }}
  965. </span>
  966. <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
  967. <img style="height:30px;" :src="setAdminUserES(advice.checker)" alt srcset />
  968. </span>
  969. </td>
  970. </tr>
  971. </table>
  972. <table class="print-table" border="1">
  973. <tbody>
  974. <tr>
  975. <td width="" style="border:none;display:flex;">
  976. <div style="width:70px;line-height: 25px;padding-left:5px;">透析小结:</div>
  977. <div style="width: 90%;line-height: 25px;height:150px;text-align: left;margin-left: 5px;">
  978. {{ summary.dialysis_summary ? summary.dialysis_summary : "" }}
  979. </div>
  980. </td>
  981. </tr>
  982. </tbody>
  983. </table>
  984. </div>
  985. </div>
  986. </template>
  987. <script>
  988. import { getDialysisRecord } from '@/api/dialysis'
  989. import { getDataConfig } from '@/utils/data'
  990. import { jsGetAge, uParseTime } from '@/utils/tools'
  991. import LabelBox from '../printItem/LabelBox'
  992. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  993. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  994. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  995. import print from 'print-js'
  996. export default {
  997. name: 'dialysisPrintOrderOne',
  998. components: {
  999. // DialysisPrintOrderOne,
  1000. // DialysisPrintOrderTwo,
  1001. LabelBox,
  1002. BreadCrumb
  1003. },
  1004. data() {
  1005. return {
  1006. way_arr: [],
  1007. consciousness_arr: [],
  1008. appetite_arr: [],
  1009. posture_arr: [],
  1010. sick_condition_arr: [],
  1011. precaution_arr: [],
  1012. intake_arr: [],
  1013. nutrition_arr: [],
  1014. crumbs: [
  1015. { path: false, name: '透析管理' },
  1016. { path: false, name: '打印单' }
  1017. ],
  1018. operators: [],
  1019. adminUser: [],
  1020. check: {},
  1021. dialysisOrder: {
  1022. DeviceNumber: []
  1023. },
  1024. operatorMaps: {},
  1025. complications: [
  1026. '低血压',
  1027. '高血压',
  1028. '心律失常',
  1029. '头晕',
  1030. '头痛',
  1031. '呕吐',
  1032. '抽搐',
  1033. '出血',
  1034. '心衰',
  1035. '腹痛',
  1036. '无'
  1037. ],
  1038. jilurow: 0,
  1039. advice_jilurow: 0,
  1040. loading: false,
  1041. orgname: '',
  1042. patientInfo_gender_1: false,
  1043. patientInfo_gender_2: false,
  1044. patientInfo_source_2: false,
  1045. patientInfo_source_1: false,
  1046. modeOptions: {},
  1047. replacementWays: [],
  1048. perfusionApparatus: [],
  1049. anticoagulantsConfit: {},
  1050. bloodAccessParOpera: {},
  1051. dialysateFormulationOptions: {},
  1052. queryParams: {
  1053. xtdate: '',
  1054. xtno: ''
  1055. },
  1056. patientInfo: {
  1057. birth: '',
  1058. age: '',
  1059. DialysisSchedule: {
  1060. device_number: { number: '' },
  1061. device_zone: { name: '' }
  1062. },
  1063. gender: 0
  1064. },
  1065. predialysis: {
  1066. score: '',
  1067. internal_fistula: '',
  1068. internal_fistula_skin: '',
  1069. catheter: '',
  1070. blood_access_part_opera_name: ''
  1071. },
  1072. afterdialysis: {
  1073. complications_index: ''
  1074. },
  1075. prescription: {
  1076. dialysate_formulation_name: '',
  1077. device: {}
  1078. },
  1079. advices: [],
  1080. users: [],
  1081. monitors: [],
  1082. summary: {},
  1083. receiverTreatmentAccess: {},
  1084. org_template_info: {},
  1085. isShowZero: false,
  1086. doctor_advices: [],
  1087. advice_groups: [],
  1088. AlPanel: {
  1089. id: 0,
  1090. name: '',
  1091. type: 1,
  1092. shouji: 2,
  1093. weichi: 2,
  1094. zongliang: 2,
  1095. gaimingcheng: -1,
  1096. gaijiliang: -1,
  1097. shouji_unit: 'mg',
  1098. weichi_unit: 'mg/h',
  1099. zongliang_unit: 'mg',
  1100. gaimingcheng_unit: '',
  1101. gaijiliang_unit: ''
  1102. },
  1103. tableAdvice:[]
  1104. }
  1105. },
  1106. methods: {
  1107. getNewAge(UUserCard) {
  1108. if (UUserCard != null && UUserCard != '') {
  1109. // 获取年龄
  1110. var myDate = new Date()
  1111. var month = myDate.getMonth() + 1
  1112. var day = myDate.getDate()
  1113. var age = myDate.getFullYear() - UUserCard.substring(6, 10) - 1
  1114. if (UUserCard.substring(10, 12) < month || UUserCard.substring(10, 12) == month && UUserCard.substring(12, 14) <= day) {
  1115. age++
  1116. }
  1117. return age
  1118. }
  1119. },
  1120. getHemorrhage(hemorrhage){
  1121. if(hemorrhage.indexOf(',') == -1){
  1122. let str = hemorrhage
  1123. if(['无','牙龈出血','消化道出血','穿刺','渗血','女性经期'].indexOf(str) == -1){
  1124. return str
  1125. }
  1126. }else if(hemorrhage.indexOf(',') > -1){
  1127. let str = hemorrhage
  1128. if(['无','牙龈出血','消化道出血','穿刺','渗血','女性经期'].indexOf(str) == -1){
  1129. let newStr = ''
  1130. str.split(',').map(item => {
  1131. if(['无','牙龈出血','消化道出血','穿刺','渗血','女性经期'].indexOf(item) == -1){
  1132. newStr += item + ','
  1133. }
  1134. })
  1135. return newStr.substring(0, newStr.length - 1)
  1136. }
  1137. }
  1138. },
  1139. QueryPartById: function(val) {
  1140. let vascular_access_part_name = '/'
  1141. const vascular_access = getDataConfig('hemodialysis', 'vascular_access')
  1142. for (let i = 0; i < vascular_access.length; i++) {
  1143. if (vascular_access[i].id == val) {
  1144. vascular_access_part_name = vascular_access[i].name
  1145. }
  1146. }
  1147. return vascular_access_part_name
  1148. },
  1149. getPunctureWay: function(val) {
  1150. let puncture_method_name = '/'
  1151. const puncture_method = getDataConfig("hemodialysis", "puncture_method")
  1152. for (let i = 0; i < puncture_method.length; i++) {
  1153. if (puncture_method[i].id == val) {
  1154. puncture_method_name = puncture_method[i].name
  1155. }
  1156. }
  1157. return puncture_method_name
  1158. },
  1159. getSealingFluidDispose: function(val) {
  1160. let sealing_fluid_dispose_name = '/'
  1161. const sealing_fluid_dispose = getDataConfig("hemodialysis", "sealing_fluid_dispose")
  1162. for (let i = 0; i < sealing_fluid_dispose.length; i++) {
  1163. if (sealing_fluid_dispose[i].id == val) {
  1164. sealing_fluid_dispose_name = sealing_fluid_dispose[i].name
  1165. }
  1166. }
  1167. return sealing_fluid_dispose_name
  1168. },
  1169. getAdminUser(id) {
  1170. if (id == 0) {
  1171. return ''
  1172. }
  1173. if (id == undefined) {
  1174. return ''
  1175. }
  1176. for (let i = 0; i < this.adminUser.length; i++) {
  1177. if (this.adminUser[i].id == id) {
  1178. return this.adminUser[i].name
  1179. }
  1180. }
  1181. },
  1182. getTime(value, temp) {
  1183. if (value == 0) {
  1184. return ''
  1185. }
  1186. if (value != undefined) {
  1187. return uParseTime(value, temp)
  1188. }
  1189. return ''
  1190. },
  1191. printThisPage() {
  1192. var ptime = Math.round(new Date().getTime() / 1000)
  1193. this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
  1194. const style =
  1195. '@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;}'
  1196. if (this.org_template_info.template_id == 1) {
  1197. printJS({
  1198. printable: 'dialysis-print-box',
  1199. type: 'html',
  1200. style: style,
  1201. scanStyles: false
  1202. })
  1203. } else if (
  1204. this.org_template_info.template_id == 2 ||
  1205. this.org_template_info.template_id == 0
  1206. ) {
  1207. printJS({
  1208. printable: 'dialysis-print-box-1',
  1209. type: 'html',
  1210. style: style,
  1211. scanStyles: false
  1212. })
  1213. }
  1214. },
  1215. getNumber() {
  1216. if (this.dialysisOrder != null) {
  1217. if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
  1218. return (
  1219. this.patientInfo.DialysisSchedule.device_zone.name +
  1220. this.dialysisOrder.DeviceNumber.number
  1221. );
  1222. } else {
  1223. return (
  1224. this.patientInfo.DialysisSchedule.device_zone.name + "区" +
  1225. this.dialysisOrder.DeviceNumber.number
  1226. );
  1227. }
  1228. } else {
  1229. if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
  1230. return (
  1231. this.patientInfo.DialysisSchedule.device_zone.name +
  1232. this.patientInfo.DialysisSchedule.device_number.number
  1233. );
  1234. }else{
  1235. return (
  1236. this.patientInfo.DialysisSchedule.device_zone.name + "区" +
  1237. this.patientInfo.DialysisSchedule.device_number.number
  1238. );
  1239. }
  1240. }
  1241. },
  1242. getXuserName(id) {
  1243. if (id <= 0) {
  1244. return ''
  1245. }
  1246. var name = ''
  1247. if (this.users == null || typeof this.users.length === 'undefined') {
  1248. return name
  1249. }
  1250. var leng = this.users.length
  1251. if (leng == 0) {
  1252. return name
  1253. }
  1254. for (let index = 0; index < leng; index++) {
  1255. if (this.users[index].id == id) {
  1256. name = this.users[index].name
  1257. break
  1258. }
  1259. }
  1260. return name
  1261. },
  1262. setAdminUserES(id) {
  1263. if (id == 0) {
  1264. return ''
  1265. }
  1266. if (id in this.operatorMaps) {
  1267. return this.operatorMaps[id].url
  1268. } else {
  1269. return ''
  1270. }
  1271. },
  1272. modeName(mode_id) {
  1273. return typeof this.modeOptions[mode_id] !== 'undefined' &&
  1274. typeof this.modeOptions[mode_id].name !== 'undefined'
  1275. ? this.modeOptions[mode_id].name
  1276. : ''
  1277. },
  1278. getDialysisRecord() {
  1279. this.loading = true
  1280. getDialysisRecord(this.queryParams).then(response => {
  1281. if (response.data.state == 1) {
  1282. this.adminUser = response.data.data.users
  1283. this.users = response.data.data.users
  1284. this.patientInfo = response.data.data.patientInfo
  1285. this.patientInfo.birth = uParseTime(
  1286. this.patientInfo.birthday,
  1287. '{y}-{m}-{d}'
  1288. )
  1289. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1290. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1291. this.patientInfo.first_dialysis_date = uParseTime(
  1292. response.data.data.patientInfo.first_dialysis_date,
  1293. '{y}-{m}-{d}'
  1294. )
  1295. } else {
  1296. this.patientInfo.first_dialysis_date = ''
  1297. }
  1298. this.check = response.data.data.check
  1299. this.predialysis = response.data.data.PredialysisEvaluation
  1300. console.log('透前评估', this.predialysis)
  1301. this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
  1302. this.predialysis.blood_access_part_opera_id
  1303. )
  1304. this.afterdialysis = response.data.data.AssessmentAfterDislysis
  1305. console.log('透后评估数据', this.afterdialysis)
  1306. this.operators = response.data.data.operators
  1307. this.dialysisOrder =
  1308. response.data.data.dialysisOrder === null
  1309. ? null
  1310. : response.data.data.dialysisOrder
  1311. if (this.operators.length > 0) {
  1312. var operatorsLen = this.operators.length
  1313. for (var index = 0; index < operatorsLen; index++) {
  1314. this.$set(
  1315. this.operatorMaps,
  1316. this.operators[index].creator,
  1317. this.operators[index]
  1318. )
  1319. }
  1320. }
  1321. this.afterdialysis.txqnx = -1
  1322. if (this.afterdialysis.cruor.indexOf('0度') > -1) {
  1323. this.afterdialysis.txqnx = 0
  1324. }
  1325. if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
  1326. this.afterdialysis.txqnx = 1
  1327. }
  1328. if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
  1329. this.afterdialysis.txqnx = 2
  1330. }
  1331. if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
  1332. this.afterdialysis.txqnx = 3
  1333. }
  1334. this.afterdialysis.complications = this.afterdialysis.complication.split(
  1335. ','
  1336. )
  1337. this.afterdialysis.complications_other = []
  1338. this.afterdialysis.complications_index = []
  1339. var acllen = this.afterdialysis.complications.length
  1340. for (let index = 0; index < acllen; index++) {
  1341. if (
  1342. this.complications.indexOf(
  1343. this.afterdialysis.complications[index]
  1344. ) >= 0
  1345. ) {
  1346. this.afterdialysis.complications_index.push(
  1347. this.afterdialysis.complications[index]
  1348. )
  1349. } else if (
  1350. this.complications.indexOf(
  1351. this.afterdialysis.complications[index]
  1352. ) < 0 &&
  1353. this.afterdialysis.complications_other.indexOf(
  1354. this.afterdialysis.complications[index]
  1355. ) < 0
  1356. ) {
  1357. this.afterdialysis.complications_other.push(
  1358. this.afterdialysis.complications[index]
  1359. )
  1360. }
  1361. }
  1362. this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(
  1363. ','
  1364. )
  1365. this.prescription = response.data.data.dialysisPrescription
  1366. console.log('透析处方', this.prescription)
  1367. this.receiverTreatmentAccess =
  1368. response.data.data.receiverTreatmentAccess
  1369. console.log('接诊',this.receiverTreatmentAccess)
  1370. this.prescription.mode = this.modeName(this.prescription.mode_id)
  1371. var rwLen = this.replacementWays.length
  1372. this.prescription.replacement = ''
  1373. for (let index = 0; index < rwLen; index++) {
  1374. if (
  1375. this.replacementWays[index].id ==
  1376. this.prescription.replacement_way
  1377. ) {
  1378. this.prescription.replacement = this.replacementWays[index].name
  1379. break
  1380. }
  1381. }
  1382. this.prescription.dialysate_formulation_name = this.dialysateFormulationName(
  1383. this.prescription.dialysate_formulation
  1384. )
  1385. var paLen = this.perfusionApparatus.length
  1386. this.prescription.perfusion_apparatus_name = ''
  1387. for (let index = 0; index < paLen; index++) {
  1388. if (
  1389. this.perfusionApparatus[index].id ==
  1390. this.prescription.perfusion_apparatus
  1391. ) {
  1392. this.prescription.perfusion_apparatus_name = this.perfusionApparatus[
  1393. index
  1394. ].name
  1395. break
  1396. }
  1397. }
  1398. var acLen = this.anticoagulantsConfit.length
  1399. var thisALID = this.prescription.anticoagulant
  1400. this.prescription.anticoagulant_name = ''
  1401. if (
  1402. typeof this.anticoagulantsConfit[thisALID] !== 'undefined' &&
  1403. this.anticoagulantsConfit[thisALID] != null
  1404. ) {
  1405. this.prescription.anticoagulant_name = this.anticoagulantsConfit[
  1406. thisALID
  1407. ].name
  1408. this.AlPanel = this.anticoagulantsConfit[thisALID]
  1409. }
  1410. var tableAdvice = response.data.data.doctorAdevieInfo
  1411. console.log('tableAdvice', tableAdvice)
  1412. // console.log('医生', tableAdvice.length)
  1413. if (tableAdvice.length === 0) {
  1414. var obj = { advice_name: '', start_time: '' }
  1415. var obj1 = { advice_name: '', start_time: '' }
  1416. var obj2 = { advice_name: '', start_time: '' }
  1417. var obj3 = { advice_name: '', start_time: '' }
  1418. var obj4 = { advice_name: '', start_time: '' }
  1419. var obj5 = { advice_name: '', start_time: '' }
  1420. tableAdvice.push(obj)
  1421. tableAdvice.push(obj1)
  1422. tableAdvice.push(obj2)
  1423. tableAdvice.push(obj3)
  1424. tableAdvice.push(obj4)
  1425. tableAdvice.push(obj5)
  1426. tableAdvice.push(obj1)
  1427. tableAdvice.push(obj2)
  1428. tableAdvice.push(obj3)
  1429. tableAdvice.push(obj4)
  1430. tableAdvice.push(obj5)
  1431. tableAdvice.push(obj1)
  1432. tableAdvice.push(obj2)
  1433. tableAdvice.push(obj3)
  1434. tableAdvice.push(obj4)
  1435. tableAdvice.push(obj5)
  1436. tableAdvice.push(obj1)
  1437. tableAdvice.push(obj1)
  1438. tableAdvice.push(obj1)
  1439. tableAdvice.push(obj1)
  1440. tableAdvice.push(obj1)
  1441. this.tableAdvice = tableAdvice
  1442. }
  1443. if (tableAdvice.length === 1) {
  1444. var obj = { advice_name: '', start_time: '' }
  1445. var obj1 = { advice_name: '', start_time: '' }
  1446. var obj2 = { advice_name: '', start_time: '' }
  1447. var obj3 = { advice_name: '', start_time: '' }
  1448. var obj4 = { advice_name: '', start_time: '' }
  1449. tableAdvice.push(obj)
  1450. tableAdvice.push(obj1)
  1451. tableAdvice.push(obj2)
  1452. tableAdvice.push(obj3)
  1453. tableAdvice.push(obj4)
  1454. tableAdvice.push(obj1)
  1455. tableAdvice.push(obj2)
  1456. tableAdvice.push(obj3)
  1457. tableAdvice.push(obj4)
  1458. tableAdvice.push(obj4)
  1459. tableAdvice.push(obj1)
  1460. tableAdvice.push(obj2)
  1461. tableAdvice.push(obj3)
  1462. tableAdvice.push(obj4)
  1463. tableAdvice.push(obj4)
  1464. tableAdvice.push(obj4)
  1465. tableAdvice.push(obj4)
  1466. tableAdvice.push(obj4)
  1467. tableAdvice.push(obj4)
  1468. this.tableAdvice = tableAdvice
  1469. }
  1470. if (tableAdvice.length === 2) {
  1471. var obj = { advice_name: '', start_time: '' }
  1472. var obj1 = { advice_name: '', start_time: '' }
  1473. var obj2 = { advice_name: '', start_time: '' }
  1474. var obj3 = { advice_name: '', start_time: '' }
  1475. tableAdvice.push(obj)
  1476. tableAdvice.push(obj1)
  1477. tableAdvice.push(obj2)
  1478. tableAdvice.push(obj3)
  1479. tableAdvice.push(obj1)
  1480. tableAdvice.push(obj2)
  1481. tableAdvice.push(obj3)
  1482. tableAdvice.push(obj3)
  1483. tableAdvice.push(obj3)
  1484. tableAdvice.push(obj1)
  1485. tableAdvice.push(obj2)
  1486. tableAdvice.push(obj3)
  1487. tableAdvice.push(obj3)
  1488. tableAdvice.push(obj3)
  1489. tableAdvice.push(obj3)
  1490. tableAdvice.push(obj3)
  1491. tableAdvice.push(obj3)
  1492. this.tableAdvice = tableAdvice
  1493. }
  1494. if (tableAdvice.length === 3) {
  1495. // eslint-disable-next-line no-redeclare
  1496. var obj = { advice_name: '', start_time: '' }
  1497. // eslint-disable-next-line no-redeclare
  1498. var obj1 = { advice_name: '', start_time: '' }
  1499. // eslint-disable-next-line no-redeclare
  1500. var obj2 = { advice_name: '', start_time: '' }
  1501. // eslint-disable-next-line no-redeclare
  1502. tableAdvice.push(obj)
  1503. tableAdvice.push(obj1)
  1504. tableAdvice.push(obj2)
  1505. tableAdvice.push(obj1)
  1506. tableAdvice.push(obj2)
  1507. tableAdvice.push(obj2)
  1508. tableAdvice.push(obj2)
  1509. tableAdvice.push(obj2)
  1510. tableAdvice.push(obj1)
  1511. tableAdvice.push(obj2)
  1512. tableAdvice.push(obj2)
  1513. tableAdvice.push(obj2)
  1514. tableAdvice.push(obj2)
  1515. tableAdvice.push(obj2)
  1516. tableAdvice.push(obj2)
  1517. this.tableAdvice = tableAdvice
  1518. }
  1519. if (tableAdvice.length === 4) {
  1520. // eslint-disable-next-line no-redeclare
  1521. var obj = { advice_name: '', start_time: '' }
  1522. // eslint-disable-next-line no-redeclare
  1523. var obj1 = { advice_name: '', start_time: '' }
  1524. // eslint-disable-next-line no-redeclare
  1525. tableAdvice.push(obj)
  1526. tableAdvice.push(obj1)
  1527. tableAdvice.push(obj1)
  1528. tableAdvice.push(obj1)
  1529. tableAdvice.push(obj1)
  1530. tableAdvice.push(obj1)
  1531. tableAdvice.push(obj1)
  1532. tableAdvice.push(obj1)
  1533. tableAdvice.push(obj1)
  1534. tableAdvice.push(obj1)
  1535. tableAdvice.push(obj1)
  1536. tableAdvice.push(obj1)
  1537. tableAdvice.push(obj1)
  1538. this.tableAdvice = tableAdvice
  1539. }
  1540. if (tableAdvice.length === 5) {
  1541. // eslint-disable-next-line no-redeclare
  1542. var obj = { advice_name: '', start_time: '' }
  1543. // eslint-disable-next-line no-redeclare
  1544. var obj1 = { advice_name: '', start_time: '' }
  1545. tableAdvice.push(obj)
  1546. tableAdvice.push(obj1)
  1547. tableAdvice.push(obj1)
  1548. tableAdvice.push(obj1)
  1549. tableAdvice.push(obj1)
  1550. tableAdvice.push(obj1)
  1551. tableAdvice.push(obj1)
  1552. tableAdvice.push(obj1)
  1553. tableAdvice.push(obj1)
  1554. tableAdvice.push(obj1)
  1555. tableAdvice.push(obj1)
  1556. tableAdvice.push(obj1)
  1557. this.tableAdvice = tableAdvice
  1558. }
  1559. if (tableAdvice.length >= 6 && tableAdvice.length <= 28) {
  1560. const length = 28 - tableAdvice.length
  1561. var obj = { advice_name: '', start_time: '' }
  1562. for (i = 0; i < length; i++) {
  1563. console.log(1)
  1564. tableAdvice.push(obj)
  1565. }
  1566. this.tableAdvice = tableAdvice
  1567. }else{
  1568. this.tableAdvice = tableAdvice
  1569. }
  1570. this.advices = response.data.data.advices
  1571. this.monitors = response.data.data.monitors
  1572. this.summary = response.data.data.summary
  1573. this.org_template_info = response.data.data.org_template_info
  1574. // 配置超滤量和置换量是否要显示0还是空
  1575. if (this.org_template_info.org_id == 9535) {
  1576. this.isShowZero = true
  1577. }
  1578. if (this.monitors.length < 12) {
  1579. var nl = 12 - this.monitors.length
  1580. for (let index = 0; index < nl; index++) {
  1581. this.monitors.push([])
  1582. }
  1583. }
  1584. this.jilurow = this.monitors.length + 1
  1585. this.advice_jilurow = this.advices.length + 1
  1586. var childMap = {}
  1587. for (const index in this.advices) {
  1588. if (this.advices[index].parent_id == 0) {
  1589. continue
  1590. }
  1591. if (!(this.advices[index].parent_id in childMap)) {
  1592. childMap[this.advices[index].parent_id] = []
  1593. }
  1594. childMap[this.advices[index].parent_id].push(this.advices[index])
  1595. }
  1596. var advices = []
  1597. for (const index in this.advices) {
  1598. if (this.advices[index].parent_id > 0) {
  1599. continue
  1600. }
  1601. var item = this.advices[index]
  1602. if (item.id in childMap) {
  1603. item.children = childMap[item.id]
  1604. } else {
  1605. item.children = []
  1606. }
  1607. advices.push(item)
  1608. }
  1609. var leftAdvice = []
  1610. var rightAdvice = []
  1611. var adlen = advices.length
  1612. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
  1613. for (var i = 0; i < halfLen; i++) {
  1614. leftAdvice.push(advices[i])
  1615. rightAdvice.push(advices[i + halfLen])
  1616. }
  1617. if (halfLen < 5) {
  1618. var nl = 5 - leftAdvice.length
  1619. for (let index = 0; index < nl; index++) {
  1620. leftAdvice.push([])
  1621. }
  1622. var nl = 5 - rightAdvice.length
  1623. for (let index = 0; index < nl; index++) {
  1624. rightAdvice.push([])
  1625. }
  1626. }
  1627. this.advices = []
  1628. for (var i = 0; i < halfLen; i++) {
  1629. var item = []
  1630. item.push(leftAdvice[i])
  1631. item.push(rightAdvice[i])
  1632. this.advices.push(item)
  1633. }
  1634. this.loading = false
  1635. this.doctor_advices =
  1636. response.data.data.advices == null
  1637. ? []
  1638. : response.data.data.advices
  1639. for (let index = 0; index < this.doctor_advices.length; index++) {
  1640. this.doctor_advices[index]['isShow'] = 2
  1641. }
  1642. if (this.doctor_advices.length > 0) {
  1643. var group = this.newAdviceGroupObject()
  1644. var initGroupBlock = function(group, advice) {
  1645. group.group_no = advice.groupno
  1646. }
  1647. for (
  1648. let index = this.doctor_advices.length - 1;
  1649. index >= 0;
  1650. index--
  1651. ) {
  1652. var new_advice_index = 0
  1653. if (
  1654. 'children' in this.doctor_advices[index] &&
  1655. this.doctor_advices[index].children.length > 0
  1656. ) {
  1657. new_advice_index =
  1658. index + this.doctor_advices[index].children.length + 1
  1659. var doctor_advice = {
  1660. delivery_way: this.doctor_advices[index].delivery_way,
  1661. execution_frequency: this.doctor_advices[index]
  1662. .execution_frequency,
  1663. groupno: this.doctor_advices[index].groupno,
  1664. id: this.doctor_advices[index].id,
  1665. parent_id: this.doctor_advices[index].parent_id,
  1666. children: this.doctor_advices[index].children,
  1667. remark: this.doctor_advices[index].remark
  1668. }
  1669. doctor_advice['isShow'] = 1
  1670. this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  1671. // this.doctor_advices.push(doctor_advice)
  1672. }
  1673. }
  1674. for (let index = 0; index < this.doctor_advices.length; index++) {
  1675. const advice = this.doctor_advices[index]
  1676. if (advice.groupno == 0) {
  1677. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  1678. if (advice.parent_id > 0) {
  1679. if (this.advice_groups.length > 0) {
  1680. var parent_group = this.advice_groups[
  1681. this.advice_groups.length - 1
  1682. ]
  1683. if (parent_group.advices.length > 0) {
  1684. if (parent_group.advices[0].id == advice.parent_id) {
  1685. parent_group.advices.push(advice)
  1686. }
  1687. }
  1688. }
  1689. continue
  1690. } else {
  1691. if (group.group_no > 0) {
  1692. this.advice_groups.push(group)
  1693. group = this.newAdviceGroupObject()
  1694. }
  1695. initGroupBlock(group, advice)
  1696. group.advices.push(advice)
  1697. this.advice_groups.push(group)
  1698. group = this.newAdviceGroupObject()
  1699. continue
  1700. }
  1701. }
  1702. if (group.group_no > 0 && group.group_no != advice.groupno) {
  1703. this.advice_groups.push(group)
  1704. group = this.newAdviceGroupObject()
  1705. }
  1706. if (group.group_no == 0) {
  1707. initGroupBlock(group, advice)
  1708. }
  1709. if (group.group_no == advice.groupno) {
  1710. group.advices.push(advice)
  1711. }
  1712. }
  1713. if (group.group_no > 0) {
  1714. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  1715. this.advice_groups.push(group)
  1716. }
  1717. }
  1718. console.log(this.advice_groups)
  1719. } else {
  1720. this.loading = false
  1721. this.$message.error('请求数据失败')
  1722. return false
  1723. }
  1724. })
  1725. },
  1726. bloodAccessParOperaName(id) {
  1727. if (id in this.bloodAccessParOpera) {
  1728. return this.bloodAccessParOpera[id].name
  1729. }
  1730. return ''
  1731. },
  1732. dialysateFormulationName(id) {
  1733. if (id in this.dialysateFormulationOptions) {
  1734. return this.dialysateFormulationOptions[id].name
  1735. }
  1736. return ''
  1737. },
  1738. getAge: function(val) {
  1739. if (val.birthday != 0) {
  1740. return jsGetAge(val.birth, '-')
  1741. }
  1742. return ''
  1743. },
  1744. newAdviceGroupObject: function() {
  1745. return Object.assign(
  1746. {},
  1747. {
  1748. group_no: 0,
  1749. // advice_doctor: 0,
  1750. // start_time: 0,
  1751. advices: []
  1752. // exec_staff: 0,
  1753. // exec_time: 0,
  1754. // checker: 0,
  1755. }
  1756. )
  1757. }
  1758. },
  1759. watch: {
  1760. 'patientInfo.gender': function() {
  1761. if (this.patientInfo.gender == 1) {
  1762. this.patientInfo_gender_1 = true
  1763. this.patientInfo_gender_2 = false
  1764. } else if (this.patientInfo.gender == 2) {
  1765. this.patientInfo_gender_2 = true
  1766. this.patientInfo_gender_1 = false
  1767. } else {
  1768. this.patientInfo_gender_2 = false
  1769. this.patientInfo_gender_1 = false
  1770. }
  1771. },
  1772. 'patientInfo.source': function() {
  1773. if (this.patientInfo.source == 1) {
  1774. this.patientInfo_source_1 = true
  1775. this.patientInfo_source_2 = false
  1776. } else if (this.patientInfo.source == 2) {
  1777. this.patientInfo_source_2 = true
  1778. this.patientInfo_source_1 = false
  1779. } else {
  1780. this.patientInfo_source_2 = false
  1781. this.patientInfo_source_1 = false
  1782. }
  1783. }
  1784. },
  1785. created() {
  1786. var xtuser = this.$store.getters.xt_user
  1787. this.orgname = xtuser.org.org_name
  1788. // this.orgname = "遂溪方济医院";
  1789. this.modeOptions = this.$store.getters.treatment_mode
  1790. this.replacementWays = this.$store.getters.replacement_ways
  1791. this.perfusionApparatus = this.$store.getters.perfusion_apparatus
  1792. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
  1793. this.way_arr = getDataConfig('hemodialysis', 'way')
  1794. this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
  1795. this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
  1796. this.posture_arr = getDataConfig('hemodialysis', 'posture')
  1797. this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
  1798. this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
  1799. this.intake_arr = getDataConfig('hemodialysis', 'intake')
  1800. this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
  1801. console.log('穿刺',getDataConfig("hemodialysis", "sealing_fluid_dispose"))
  1802. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  1803. var bloodAccessParOpera = getDataConfig(
  1804. 'hemodialysis',
  1805. 'vascular_access_desc'
  1806. )
  1807. for (var key in bloodAccessParOpera) {
  1808. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  1809. bloodAccessParOpera[key]
  1810. }
  1811. var dialysateFormulationOptions = getDataConfig(
  1812. 'hemodialysis',
  1813. 'dialysate_formulation'
  1814. )
  1815. for (var key in dialysateFormulationOptions) {
  1816. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  1817. dialysateFormulationOptions[key]
  1818. }
  1819. const xtdate = this.$route.query && this.$route.query.xtdate
  1820. const xtno = this.$route.query && this.$route.query.xtno
  1821. if (
  1822. typeof xtdate === 'string' &&
  1823. xtdate.length > 0 &&
  1824. typeof xtno === 'string' &&
  1825. xtno.length > 0
  1826. ) {
  1827. this.queryParams.xtdate = xtdate
  1828. this.queryParams.xtno = xtno
  1829. this.getDialysisRecord()
  1830. } else {
  1831. this.$message.error('参数不齐')
  1832. return false
  1833. }
  1834. }
  1835. }
  1836. </script>
  1837. <style>
  1838. .dialysis-print-order {
  1839. width: 960px;
  1840. margin: 0 auto;
  1841. }
  1842. .dialysis-print-order .order-yy-name {
  1843. margin: auto;
  1844. text-align: center;
  1845. font-size: 20px;
  1846. letter-spacing: 5px;
  1847. }
  1848. .dialysis-print-order .order-title {
  1849. margin: auto;
  1850. font-weight: 600;
  1851. text-align: center;
  1852. font-size: 22px;
  1853. padding: 10px 20px 20px 20px;
  1854. }
  1855. .dialysis-print-order .table-box {
  1856. width: 100%;
  1857. line-height: 23px;
  1858. font-size: 14px;
  1859. }
  1860. .dialysis-print-order .print-table {
  1861. width: 100%;
  1862. text-align: center;
  1863. border-collapse: collapse;
  1864. line-height: 40px;
  1865. font-size: 14px;
  1866. }
  1867. .dialysis-print-order .print-table-no {
  1868. width: 100%;
  1869. text-align: center;
  1870. border-collapse: collapse;
  1871. font-size: 14px;
  1872. }
  1873. .dialysis-print-order .under-line {
  1874. border-bottom: 1px solid #999;
  1875. width: 95%;
  1876. text-align: center;
  1877. margin-left: 2px;
  1878. }
  1879. .dialysis-print-order .title-box {
  1880. text-align: center;
  1881. font-size: 16px;
  1882. }
  1883. .dialysis-print-order .radio-lebel-box {
  1884. font-weight: 400;
  1885. cursor: pointer;
  1886. }
  1887. .dialysis-print-order .radio-no {
  1888. opacity: 0;
  1889. outline: none;
  1890. position: absolute;
  1891. margin: 0;
  1892. width: 0;
  1893. height: 0;
  1894. z-index: -1;
  1895. }
  1896. .dialysis-print-order .radio-inner {
  1897. white-space: nowrap;
  1898. cursor: pointer;
  1899. outline: none;
  1900. display: inline-block;
  1901. line-height: 1;
  1902. position: relative;
  1903. vertical-align: middle;
  1904. }
  1905. .dialysis-print-order .radio-fang {
  1906. display: inline-block;
  1907. position: relative;
  1908. border: 1px solid #000;
  1909. box-sizing: border-box;
  1910. width: 14px;
  1911. height: 14px;
  1912. background-color: #fff;
  1913. z-index: 1;
  1914. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  1915. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  1916. }
  1917. .dialysis-print-order .is-checked-radio::after {
  1918. content: "√";
  1919. font-size: 15px;
  1920. }
  1921. .dialysis-print-order .print-table-no tr td {
  1922. padding: 8px 5px;
  1923. line-height: 25px;
  1924. }
  1925. .dialysis-print-order .print-table tr td {
  1926. padding: 1px 1px;
  1927. /*line-height: 25px;*/
  1928. }
  1929. .es-img {
  1930. height: 30px;
  1931. }
  1932. .advice-name {
  1933. text-align: left;
  1934. }
  1935. .advice-children {
  1936. display: flex;
  1937. }
  1938. .title-box-pro {
  1939. border: 0 #fff;
  1940. line-height: 25px;
  1941. height: 25px;
  1942. text-align: left;
  1943. padding-left: 10px !important;
  1944. }
  1945. .title-box-pro-tr {
  1946. border: 0 #fff;
  1947. }
  1948. .text-align-left {
  1949. text-align: left !important;
  1950. padding-left: 10px !important;
  1951. font-size: 14px !important;
  1952. line-height: 25px;
  1953. }
  1954. .print-table-tr-new td {
  1955. line-height: 20px !important;
  1956. }
  1957. .border-top-solid {
  1958. border: solid 1px #000;
  1959. }
  1960. .print-template-two tr {
  1961. line-height: 30px;
  1962. }
  1963. </style>