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

DialysisPrintOrderTwentyOne.vue 89KB

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