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

DialysisPrintOrderForty.vue 106KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596
  1. <template>
  2. <div id="dialysis-print-box">
  3. <div class="dialysis-print-order">
  4. <div class="order-title">{{ orgname }}&nbsp;&nbsp;血液净化治疗记录单</div>
  5. <table class="table-box" style="margin-top: 10px;">
  6. <tbody>
  7. <tr>
  8. <td width="50">姓 名:</td>
  9. <td width="90">
  10. <div class="under-line">&nbsp;{{ patientInfo.name }}</div>
  11. </td>
  12. <td width="10"></td>
  13. <td width="50">性 别:</td>
  14. <td width="50">
  15. <div class="under-line">
  16. {{ patientInfo_gender_1 ? "男" : "女" }}
  17. </div>
  18. </td>
  19. <td width="10"></td>
  20. <td width="50">年 龄:</td>
  21. <td width="40">
  22. <div class="under-line">{{ getAge(patientInfo) }}</div>
  23. </td>
  24. <td>岁</td>
  25. <td width="140">透析号/住院号:</td>
  26. <td width="200">
  27. <div class="under-line">&nbsp;{{ patientInfo.dialysis_no }} /{{ receiverTreatmentAccess.admission_number ? receiverTreatmentAccess.admission_number : "无" }}
  28. </div>
  29. </td>
  30. <td width="10"></td>
  31. <td width="80">治疗日期:</td>
  32. <td width="120">
  33. <div class="under-line">
  34. &nbsp;<span>{{ queryParams.xtdate }}</span>
  35. </div>
  36. </td>
  37. </tr>
  38. </tbody>
  39. </table>
  40. <table class="table-box" style="margin-top: 10px;">
  41. <tbody>
  42. <tr>
  43. <td width="60">诊 断:</td>
  44. <td width="">
  45. <div class="under-line" style="text-align:left">
  46. &nbsp;{{ patientInfo.diagnose }}
  47. </div>
  48. </td>
  49. <td width="80">治疗次数:</td>
  50. <td width="60">
  51. <div class="under-line">
  52. &nbsp;{{ patientInfo.total_dialysis + patientInfo.user_sys_before_count ? patientInfo.total_dialysis + patientInfo.user_sys_before_count : "" }}
  53. </div>
  54. </td>
  55. </tr>
  56. </tbody>
  57. </table>
  58. <table class="print-table" border="1">
  59. <tbody>
  60. <tr>
  61. <td width="30px" class="title-box">一般情况</td>
  62. <td>
  63. <table class="table-box">
  64. <tbody>
  65. <tr>
  66. <td width="80">入科方式:</td>
  67. <td width="260">
  68. <div style="display:flex;justify-content:space-between;">
  69. <label-box v-for="(item, index) in way_arr" :key="index" :isChecked="receiverTreatmentAccess.way == item.id ? true : false" :showValue="item.name"></label-box>
  70. <!--&nbsp-->
  71. <!--<label-box :isChecked='receiverTreatmentAccess.way==2?true:false' showValue='扶行'></label-box>-->
  72. <!--&nbsp;-->
  73. <!--<label-box :isChecked='receiverTreatmentAccess.way==3?true:false' showValue='轮椅'></label-box>-->
  74. <!--&nbsp;-->
  75. <!--<label-box :isChecked='receiverTreatmentAccess.way==4?true:false' showValue='平车'></label-box>-->
  76. </div>
  77. </td>
  78. <td width="20"></td>
  79. <td width="50">意识:</td>
  80. <td width="260">
  81. <div style="display:flex;justify-content:space-between;">
  82. <label-box v-for="(item, index) in consciousness_arr" :key="index" :isChecked="receiverTreatmentAccess.consciousness == item.id ? true : false" :showValue="item.name"></label-box>
  83. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==1?true:false'-->
  84. <!--showValue='清醒'></label-box>-->
  85. <!--&nbsp;-->
  86. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==2?true:false'-->
  87. <!--showValue='嗜睡'></label-box>-->
  88. <!--&nbsp;-->
  89. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==3?true:false'-->
  90. <!--showValue='昏迷'></label-box>-->
  91. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==4?true:false'-->
  92. <!--showValue='模糊'></label-box>-->
  93. </div>
  94. </td>
  95. <td width='20'></td>
  96. <td width='80'>透析频次</td>
  97. <td width="70">
  98. <div class="under-line">
  99. &nbsp;{{ predialysis.dialysis_count ? predialysis.dialysis_count : "" }}
  100. </div>
  101. </td>
  102. <td width='50'>次/周</td>
  103. <td></td>
  104. </tr>
  105. </tbody>
  106. </table>
  107. <table class="table-box">
  108. <tbody>
  109. <tr>
  110. <td width="100">生命体征:</td>
  111. <td width="50">体温:</td>
  112. <td width="70">
  113. <div class="under-line">
  114. &nbsp;{{ predialysis.temperature ? predialysis.temperature : "" }}
  115. </div>
  116. </td>
  117. <td width="35">℃</td>
  118. <td width="30"></td>
  119. <!-- <td width="40">心率:</td>
  120. <td width="70">
  121. <div class="under-line">&nbsp;</div>
  122. </td>
  123. <td width="35">次/分</td>
  124. <td width="30"></td> -->
  125. <td width="50">脉搏:</td>
  126. <td width="70">
  127. <div class="under-line">
  128. &nbsp;{{ predialysis.pulse_frequency ? predialysis.pulse_frequency : "" }}
  129. </div>
  130. </td>
  131. <td width="50">次/分</td>
  132. <td width="30"></td>
  133. <td width="50">血压:</td>
  134. <td width="140">
  135. <div class="under-line">
  136. {{ monitors[0] && monitors[0].systolic_blood_pressure ? monitors[0].systolic_blood_pressure : "" }}/
  137. {{ monitors[0] && monitors[0].diastolic_blood_pressure ? monitors[0].diastolic_blood_pressure : "" }}
  138. </div>
  139. </td>
  140. <td width="35">mmHg</td>
  141. <td></td>
  142. </tr>
  143. </tbody>
  144. </table>
  145. <table class="table-box">
  146. <tbody>
  147. <tr>
  148. <td width="100">导管穿刺口:</td>
  149. <td width="330">
  150. <div style="display:flex;justify-content:space-between;">
  151. <label-box :isChecked="predialysis.catheter.indexOf('正常') > -1 ? true : false" showValue="正常"></label-box>
  152. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-干洁') > -1 ? true : false" showValue="干洁"></label-box>
  153. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-红肿') > -1 ? true : false" showValue="红肿"></label-box>
  154. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-分泌物') > -1 ? true : false" showValue="分泌物"></label-box>
  155. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-渗血') > -1 ? true : false" showValue="渗血"></label-box>
  156. </div>
  157. </td>
  158. <!-- <td width="65">导管打折</td>
  159. <td width="10">(</td>
  160. <td width="80">
  161. <div>
  162. <label-box
  163. :isChecked="
  164. predialysis.catheter_bend == 1 ? true : false
  165. "
  166. showValue="有"
  167. ></label-box>
  168. &nbsp;
  169. <label-box
  170. :isChecked="
  171. predialysis.catheter_bend == 2 ? true : false
  172. "
  173. showValue="无"
  174. ></label-box>
  175. </div>
  176. </td>
  177. <td width="10">)</td>
  178. <td></td> -->
  179. <!-- 体位 -->
  180. <td></td>
  181. </tr>
  182. </tbody>
  183. </table>
  184. <table class="table-box">
  185. <tbody>
  186. <tr>
  187. <td width="50">体位:</td>
  188. <td width="440">
  189. <div style="display:flex;justify-content:space-between;">
  190. <label-box v-for="(item, index) in posture_arr" :key="index" :isChecked="receiverTreatmentAccess.posture == item.id ? true : false" :showValue="item.name"></label-box>
  191. <!--<label-box :isChecked='receiverTreatmentAccess.posture==1?true:false'-->
  192. <!--showValue='自动体位'></label-box>-->
  193. <!--&nbsp;-->
  194. <!--<label-box :isChecked='receiverTreatmentAccess.posture==2?true:false'-->
  195. <!--showValue='平卧位'></label-box>-->
  196. <!--&nbsp;-->
  197. <!--<label-box :isChecked='receiverTreatmentAccess.posture==3?true:false'-->
  198. <!--showValue='半卧位'></label-box>-->
  199. <!--&nbsp;-->
  200. <!--<label-box :isChecked='receiverTreatmentAccess.posture==4?true:false'-->
  201. <!--showValue='端坐位'></label-box>-->
  202. <!--&nbsp;-->
  203. <!--<label-box :isChecked='receiverTreatmentAccess.posture==5?true:false'-->
  204. <!--showValue='躁动不安'></label-box>-->
  205. <!--&nbsp;-->
  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="80">内瘘评估:</td>
  216. <td width="50">震颤:</td>
  217. <td width="210">
  218. <div style="display:flex;justify-content:space-between;">
  219. <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false" showValue="存在"></label-box>
  220. &nbsp;
  221. <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false" showValue="减弱"></label-box>
  222. &nbsp;
  223. <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false" showValue="不存在"></label-box>
  224. </div>
  225. </td>
  226. <td width="50"></td>
  227. <td width="120">内瘘皮肤情况:</td>
  228. <td style="text-align:left;">
  229. <div>
  230. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('正常') > -1 ? true : false" showValue="正常"></label-box>
  231. &nbsp;
  232. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('瘀斑') > -1 ? true : false" showValue="瘀斑"></label-box>
  233. &nbsp;
  234. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('红') > -1 ? true : false" showValue="红"></label-box>
  235. &nbsp;
  236. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('肿') > -1 ? true : false" showValue="肿"></label-box>
  237. </div>
  238. </td>
  239. </tr>
  240. </tbody>
  241. </table>
  242. <table class="table-box">
  243. <tbody>
  244. <tr>
  245. <td width="50">皮肤:</td>
  246. <td width="780">
  247. <div style="display:flex;justify-content:space-between;">
  248. <!-- <label-box showValue="完整" :isChecked="predialysis.skin == 1 ? true : false"></label-box>
  249. <label-box showValue="干燥" :isChecked="predialysis.skin == 2 ? true : false"></label-box>
  250. <label-box showValue="瘙痒" :isChecked="predialysis.skin == 3 ? true : false"></label-box>
  251. <label-box showValue="菲薄" :isChecked="predialysis.skin == 4 ? true : false"></label-box>
  252. <label-box showValue="水肿" :isChecked="predialysis.skin == 5 ? true : false"></label-box>
  253. <label-box showValue="皮疹" :isChecked="predialysis.skin == 6 ? true : false"></label-box>
  254. <label-box showValue="出血点" :isChecked="predialysis.skin == 7 ? true : false"></label-box>
  255. <label-box showValue="压疮" :isChecked="predialysis.skin == 8 ? true : false"></label-box>
  256. <label-box showValue="皮下淤血" :isChecked="predialysis.skin == 9 ? true : false"></label-box> -->
  257. <label-box showValue="完整" :isChecked="predialysis.skin.indexOf('完整')>-1 ? true : false"></label-box>
  258. <label-box showValue="干燥" :isChecked="predialysis.skin.indexOf('干燥')>-1? true : false"></label-box>
  259. <label-box showValue="瘙痒" :isChecked="predialysis.skin.indexOf('瘙痒')>-1 ? true : false"></label-box>
  260. <label-box showValue="菲薄" :isChecked="predialysis.skin.indexOf('菲薄')>-1? true : false"></label-box>
  261. <label-box showValue="水肿" :isChecked="predialysis.skin.indexOf('水肿')>-1 ? true : false"></label-box>
  262. <label-box showValue="皮疹" :isChecked="predialysis.skin.indexOf('皮疹')>-1 ? true : false"></label-box>
  263. <label-box showValue="出血点" :isChecked="predialysis.skin.indexOf('出血点')>-1 ? true : false"></label-box>
  264. <label-box showValue="压疮" :isChecked="predialysis.skin.indexOf('压疮')>-1 ? true : false"></label-box>
  265. <label-box showValue="皮下淤血" :isChecked="predialysis.skin.indexOf('皮下淤血')>-1 ? true : false"></label-box>
  266. <label-box showValue="皮下出血" :isChecked="predialysis.skin.indexOf('皮下出血')>-1 ? true : false"></label-box>
  267. &ensp;
  268. </div>
  269. </td>
  270. <td width="50">其它</td>
  271. <td width="">
  272. <div class="under-line">
  273. &nbsp;
  274. </div>
  275. </td>
  276. <!-- <td width="10">)</td> -->
  277. </tr>
  278. </tbody>
  279. </table>
  280. <table class="table-box">
  281. <tbody>
  282. <tr>
  283. <td width="110">活动性出血:</td>
  284. <td width="60">
  285. <div>
  286. <label-box :isChecked="predialysis.is_hemorrhage == 2 ? true : false" showValue="无"></label-box>
  287. <!-- &nbsp;
  288. <label-box
  289. :isChecked="
  290. predialysis.is_hemorrhage == 1 ? true : false
  291. "
  292. showValue="有"
  293. ></label-box> -->
  294. </div>
  295. </td>
  296. <!-- <td width="10">(</td> -->
  297. <td width="500" style="text-align:left;">
  298. <div>
  299. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('牙龈出血') > -1 ? true : false" showValue="牙龈出血"></label-box>
  300. &nbsp;
  301. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('消化道出血') > -1 ? true : false" showValue="消化道出血"></label-box>
  302. &nbsp;
  303. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('穿刺点渗血') > -1 ? true : false" showValue="穿刺点渗血"></label-box>
  304. &nbsp;
  305. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('女性经期') > -1 ? true : false" showValue="女性经期"></label-box>
  306. </div>
  307. </td>
  308. <td width="50">其它</td>
  309. <td width="">
  310. <div class="under-line">
  311. &nbsp;
  312. <span v-if="predialysis.is_hemorrhage == 1">{{ predialysis.hemorrhage_other }}</span>
  313. </div>
  314. </td>
  315. <!-- <td width="10">)</td> -->
  316. </tr>
  317. </tbody>
  318. </table>
  319. <table class="table-box">
  320. <tbody>
  321. <tr>
  322. <td width="90">血管通路:</td>
  323. <td style="text-align:left;">
  324. <div>
  325. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('自体内瘘') > -1 ? true : false" showValue="自体内瘘"></label-box>
  326. &nbsp;
  327. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('人造血管') > -1 ? true : false" showValue="人造血管"></label-box>
  328. &nbsp;
  329. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('直穿') > -1 ? true : false" showValue="直穿"></label-box>
  330. &nbsp;
  331. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉-左') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('颈内静脉-右') > -1 ? true : false" showValue="颈内静脉"></label-box>
  332. &nbsp;
  333. (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉-左') > -1 ? true : false" showValue="左"></label-box>
  334. &nbsp;
  335. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉-右') > -1 ? true : false" showValue="右"></label-box>)
  336. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉') > -1 ? true : false" showValue="股静脉"></label-box>
  337. &nbsp;
  338. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('锁骨下') > -1 ? true : false" showValue="锁骨下"></label-box>
  339. &nbsp;
  340. </div>
  341. </td>
  342. </tr>
  343. </tbody>
  344. </table>
  345. <table class="table-box">
  346. <tbody>
  347. <tr>
  348. <td width="90">穿刺方式:</td>
  349. <td width="260" style="text-align:left;">
  350. <div>
  351. <label-box showValue="绳梯" :isChecked="predialysis.puncture_way.indexOf('绳梯')>-1 ? true : false"></label-box>&nbsp;
  352. <label-box showValue="定点" :isChecked="predialysis.puncture_way.indexOf('定点')>-1 ? true : false"></label-box>&nbsp;
  353. <label-box showValue="直接穿刺" :isChecked="predialysis.puncture_way.indexOf('直接穿刺')>-1 ? true:false"></label-box>&nbsp;
  354. </div>
  355. </td>
  356. <td width='20'></td>
  357. <td width="70">穿刺针:</td>
  358. <td width="260" style="text-align:left;">
  359. <div>
  360. <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G') > -1 ? true : false" showValue="16G"></label-box>
  361. &nbsp;
  362. <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G') > -1 ? true : false" showValue="17G"></label-box>
  363. &nbsp;
  364. <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('钝针') > -1 ? true : false" showValue="钝针"></label-box>
  365. &nbsp;
  366. </div>
  367. </td>
  368. <td></td>
  369. </tr>
  370. </tbody>
  371. </table>
  372. </td>
  373. </tr>
  374. </tbody>
  375. </table>
  376. <table class="print-table" border="1">
  377. <tbody>
  378. <tr>
  379. <td width="30px" class="title-box">专科记录</td>
  380. <td>
  381. <table class="table-box">
  382. <tbody>
  383. <tr>
  384. <td width="50">干体重:</td>
  385. <td width="50">
  386. <div class="under-line">
  387. &nbsp;{{ predialysis.dry_weight ? predialysis.dry_weight : "" }}
  388. </div>
  389. </td>
  390. <td width="20">Kg</td>
  391. <td></td>
  392. <td width="90">透前体重:</td>
  393. <td width="50">
  394. <div class="under-line">
  395. &nbsp;{{ predialysis.weight_before ? predialysis.weight_before : "" }}
  396. </div>
  397. </td>
  398. <td width="20">Kg</td>
  399. <td></td>
  400. <td width="120">计划治疗时间:</td>
  401. <td width="40">
  402. <div class="under-line">
  403. &nbsp;{{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : "0" }}
  404. </div>
  405. </td>
  406. <td width="10">h</td>
  407. <td width="40">
  408. <div class="under-line">
  409. &nbsp;{{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : "0" }}
  410. </div>
  411. </td>
  412. <td width="35">min</td>
  413. <td></td>
  414. <td width="100">透析机编号:</td>
  415. <td width="120">
  416. <div class="under-line">{{ getNumber() }}</div>
  417. </td>
  418. <td width=""></td>
  419. <!-- <td width="55">血流量:</td>
  420. <td width="60">
  421. <div class="under-line">
  422. &nbsp;{{
  423. prescription.blood_flow_volume
  424. ? prescription.blood_flow_volume
  425. : ""
  426. }}
  427. </div>
  428. </td>
  429. <td width="60">ml/min</td>
  430. <td></td>
  431. <td width="85">目标超滤量:</td>
  432. <td width="70">
  433. <div class="under-line">
  434. &nbsp;{{
  435. prescription.target_ultrafiltration
  436. ? prescription.target_ultrafiltration
  437. : ""
  438. }}
  439. </div>
  440. </td>
  441. <td width="20">L</td> -->
  442. </tr>
  443. </tbody>
  444. </table>
  445. <table class="table-box">
  446. <tbody>
  447. <tr>
  448. <td width="100">计划超滤总量:</td>
  449. <td width="50">
  450. <div class="under-line">
  451. &nbsp;{{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }}
  452. </div>
  453. </td>
  454. <td width="10">ml</td>
  455. <!-- <td width="60">置换量:</td>
  456. <td width="40">
  457. <div class="under-line">
  458. &nbsp;{{ prescription.replacement_total ? prescription.replacement_total : "/" }}
  459. </div>
  460. </td>
  461. <td width="10">ml</td> -->
  462. <td width="80">治疗方式:</td>
  463. <td width="50">
  464. <label-box :isChecked="prescription.mode_id == 1 ? true : false" showValue="HD"></label-box>
  465. </td>
  466. <td width="60">
  467. <label-box :isChecked="prescription.mode_id == 2 ? true : false" showValue="HDF"></label-box>
  468. </td>
  469. <td width="50">
  470. <label-box :isChecked="prescription.mode_id == 5 ? true : false" showValue="HF"></label-box>
  471. </td>
  472. <td width="220">(
  473. 稀释<label-box :isChecked="prescription.mode_id == 2 && prescription.displace_liqui_part == 1 ? true : false" showValue="前"></label-box>
  474. <label-box :isChecked="prescription.mode_id == 2 && prescription.displace_liqui_part == 2 ? true : false" showValue="后"></label-box>
  475. 目标置换液总量:
  476. </td>
  477. <td width="50">
  478. <div class="under-line">
  479. &nbsp;{{ prescription.displace_liqui_value ? prescription.displace_liqui_value : "" }}
  480. </div>
  481. </td>
  482. <td width="10">ml)</td>
  483. <td width="50"><label-box :isChecked="prescription.mode_id != 5 && prescription.mode_id != 1 && prescription.mode_id != 2 ? true : false" showValue="其他"></label-box></td>
  484. <td width="50">
  485. <div class="under-line">&nbsp;
  486. <span v-if="prescription.mode_id == 3">HD+HP</span>
  487. <span v-if="prescription.mode_id == 4">HP</span>
  488. <span v-if="prescription.mode_id == 6">SCUF</span>
  489. <span v-if="prescription.mode_id == 7">IUF</span>
  490. <span v-if="prescription.mode_id == 8">HFHD</span>
  491. <span v-if="prescription.mode_id == 9">HFHD+HP</span>
  492. <span v-if="prescription.mode_id == 10">PHF</span>
  493. <span v-if="prescription.mode_id == 11">HFR</span>
  494. <span v-if="prescription.mode_id == 12">HDF+HP</span>
  495. <span v-if="prescription.mode_id == 13">CRRT</span>
  496. <span v-if="prescription.mode_id == 14">腹水回输</span>
  497. <span v-if="prescription.mode_id == 15">HD前置换</span>
  498. <span v-if="prescription.mode_id == 16">HD后置换</span>
  499. <span v-if="prescription.mode_id == 17">HDF前置换</span>
  500. <span v-if="prescription.mode_id == 18">HDF后置换</span>
  501. <span v-if="prescription.mode_id == 19">IUF+HD</span>
  502. </div>
  503. </td>
  504. <td></td>
  505. </tr>
  506. </tbody>
  507. </table>
  508. <table class="table-box">
  509. <tbody>
  510. <tr>
  511. <td width="70">抗凝方式:</td>
  512. <td width="90">
  513. <label-box :isChecked="prescription.anticoagulant==2?true:false" showValue='普通肝素'></label-box>
  514. </td>
  515. <td width="10">(</td>
  516. <td width="35">首剂</td>
  517. <td width="40">
  518. <div class="under-line">&nbsp;
  519. <span v-if="prescription.anticoagulant==2">{{prescription.anticoagulant_shouji}}</span>
  520. </div>
  521. </td>
  522. <td width="20">mg</td>
  523. <td width="10"></td>
  524. <td width="35">追加</td>
  525. <td width="40">
  526. <div class="under-line">&nbsp;
  527. <span v-if="prescription.anticoagulant==2">{{prescription.anticoagulant_weichi}}</span>
  528. </div>
  529. </td>
  530. <td width="40">mg/h</td>
  531. <td width="35">总量</td>
  532. <td width="40">
  533. <div class="under-line">&nbsp;
  534. <span v-if="prescription.anticoagulant==2">{{prescription.anticoagulant_zongliang}}</span>
  535. </div>
  536. </td>
  537. <td width="20">mg</td>
  538. <td width="10">)</td>
  539. <td width="100">
  540. <label-box :isChecked="prescription.anticoagulant==6?true:prescription.anticoagulant==7?true:false" showValue='低分子肝素'></label-box>
  541. </td>
  542. <td width="10">(</td>
  543. <td width="40">
  544. <label-box :isChecked="prescription.anticoagulant==6?true:false" showValue='钙'></label-box>
  545. </td>
  546. <td width="40">
  547. <label-box :isChecked="prescription.anticoagulant==7?true:false" showValue='钠'></label-box>
  548. </td>
  549. <td width="10">)</td>
  550. <td width="50">
  551. <div class="under-line">&nbsp;
  552. <span v-if="prescription.anticoagulant==6 || prescription.anticoagulant==7">{{prescription.anticoagulant_zongliang}}</span>
  553. </div>
  554. </td>
  555. <td width="10">iu</td>
  556. <td width="70">
  557. <label-box :isChecked="prescription.anticoagulant==1?true:false" showValue='无肝素'></label-box>
  558. </td>
  559. <td></td>
  560. </tr>
  561. </tbody>
  562. </table>
  563. <table class="table-box">
  564. <tbody>
  565. <tr>
  566. <td width="80">透析液配方:</td>
  567. <td width="10">钙</td>
  568. <td width="10">(</td>
  569. <td width="240">
  570. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('1.25') > -1 ? true : false" showValue="1.25"></label-box>
  571. &nbsp;
  572. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('1.5') > -1 ? true : false" showValue="1.5"></label-box>
  573. &nbsp;
  574. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('1.75') > -1 ? true : false" showValue="1.75(mmol/L)"></label-box>
  575. &nbsp;
  576. </td>
  577. <td width="10">)</td>
  578. <td width='80'>透析液流量:</td>
  579. <td width='50'>
  580. <div class="under-line">
  581. &nbsp;{{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }}
  582. </div>
  583. </td>
  584. <td width='30'>ml/min</td>
  585. <td width="100">透析(滤)器:</td>
  586. <td width="80">
  587. <div class="under-line">
  588. &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "" }}
  589. </div>
  590. </td>
  591. <td></td>
  592. </tr>
  593. </tbody>
  594. </table>
  595. <table class="table-box">
  596. <tbody>
  597. <tr>
  598. <td width="50">吸氧:</td>
  599. <td width="10">需</td>
  600. <td width="40">
  601. <label-box :isChecked="prescription.oxygen_uptake == 1 ? true : false"></label-box>
  602. &nbsp;
  603. </td>
  604. <td width="50">流量:</td>
  605. <td width="40">
  606. <div class="under-line">
  607. &nbsp;{{ prescription.oxygen_flow ? prescription.oxygen_flow : "" }}
  608. </div>
  609. </td>
  610. <td width="30">L/分</td>
  611. <td width="50">
  612. <div class="under-line">
  613. &nbsp;{{ prescription.oxygen_time ? prescription.oxygen_time : "" }}
  614. </div>
  615. </td>
  616. <td width="30">h</td>
  617. <td width="10">无</td>
  618. <td width="30">
  619. <label-box :isChecked="prescription.oxygen_uptake ==2 ? true : false"></label-box>
  620. &nbsp;
  621. </td>
  622. <td></td>
  623. <td></td>
  624. </tr>
  625. </tbody>
  626. </table>
  627. <!-- <table class="table-box">
  628. <tbody>
  629. <tr>
  630. <td width="55">置换量:</td>
  631. <td width="40">
  632. <div class="under-line">
  633. &nbsp;{{
  634. prescription.replacement_total
  635. ? prescription.replacement_total
  636. : ""
  637. }}
  638. </div>
  639. </td>
  640. <td width="10">L</td>
  641. <td width="10"></td>
  642. <td width="70">治疗方式:</td>
  643. <td width="50">
  644. <label-box
  645. :isChecked="prescription.mode_id == 1 ? true : false"
  646. showValue="HD"
  647. ></label-box>
  648. </td>
  649. <td width="50">
  650. <label-box
  651. :isChecked="prescription.mode_id == 2 ? true : false"
  652. showValue="HDF"
  653. ></label-box>
  654. </td>
  655. <td width="50">
  656. <label-box
  657. :isChecked="prescription.mode_id == 5 ? true : false"
  658. showValue="HF"
  659. ></label-box>
  660. </td>
  661. <td width="50">
  662. <label-box
  663. :isChecked="prescription.mode_id == 4 ? true : false"
  664. showValue="HP"
  665. ></label-box>
  666. </td>
  667. <td width="80">
  668. <label-box
  669. :isChecked="prescription.mode_id == 3 ? true : false"
  670. showValue="HD+HP"
  671. ></label-box>
  672. </td>
  673. <td width="35">其他</td>
  674. <td width="100">
  675. <div class="under-line">
  676. &nbsp;
  677. <span v-if="prescription.mode_id > 5">{{
  678. prescription.mode
  679. }}</span>
  680. </div>
  681. </td>
  682. <td width="140">透析器/灌流器型号:</td>
  683. <td width="">
  684. <div class="under-line">
  685. &nbsp;{{ prescription.dialyzer_perfusion_apparatus }}
  686. </div>
  687. </td>
  688. </tr>
  689. </tbody>
  690. </table> -->
  691. <!-- <table class="table-box">
  692. <tbody>
  693. <tr>
  694. <td width="70">透析机号:</td>
  695. <td width="100">
  696. <div class="under-line">{{ getNumber() }}</div>
  697. </td>
  698. <td width=""></td>
  699. <td width="70">医生签名:</td>
  700. <td width="100">
  701. <div class="under-line">
  702. <span v-if="advices.length == 0"></span>
  703. <span
  704. v-else-if="
  705. setAdminUserES(advices[0][0].advice_doctor) == ''
  706. "
  707. >{{ getAdminUser(advices[0][0].advice_doctor) }}</span
  708. >
  709. <img
  710. class="es-img"
  711. :src="setAdminUserES(advices[0][0].advice_doctor)"
  712. alt=""
  713. srcset=""
  714. v-else
  715. />
  716. </div>
  717. </td>
  718. <td width="70">上机护士:</td>
  719. <td width="100">
  720. <div class="under-line">
  721. <span
  722. v-if="
  723. setAdminUserES(
  724. dialysisOrder == null
  725. ? 0
  726. : dialysisOrder.start_nurse
  727. ) == ''
  728. "
  729. >{{
  730. getAdminUser(
  731. dialysisOrder == null
  732. ? 0
  733. : dialysisOrder.start_nurse
  734. )
  735. }}</span
  736. >
  737. <img
  738. class="es-img"
  739. :src="
  740. setAdminUserES(
  741. dialysisOrder == null
  742. ? 0
  743. : dialysisOrder.start_nurse
  744. )
  745. "
  746. alt=""
  747. srcset=""
  748. v-else
  749. />
  750. </div>
  751. </td>
  752. </tr>
  753. </tbody>
  754. </table> -->
  755. </td>
  756. </tr>
  757. </tbody>
  758. </table>
  759. <table class="print-table" border="1">
  760. <tbody>
  761. <tr>
  762. <td :rowspan="jilurow" width="30px" class="title-box">
  763. 透析监测
  764. </td>
  765. <td width="60">时间</td>
  766. <td width="40" style="line-height:20px">T<br />℃</td>
  767. <td width="80" style="line-height:20px">Bp<br />mmHg</td>
  768. <td width="50" style="line-height:20px">P<br />次/分</td>
  769. <td width="60" style="line-height:20px">R<br />次/分</td>
  770. <td width="60" style="line-height:20px">静脉压<br />{{monitors[0] && monitors[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}</td>
  771. <td width="60" style="line-height:20px">动脉压<br />{{monitors[0] && monitors[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}</td>
  772. <td width="60" style="line-height:20px">TMP<br />{{monitors[0] && monitors[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}</td>
  773. <td width="40" style="line-height:20px">机温<br />℃</td>
  774. <td width="60" style="line-height:20px">血流量<br />ml/min</td>
  775. <td width="60" style="line-height:20px">电导度<br />mS/cm</td>
  776. <td width="60" style="line-height:20px">超滤量<br />ml</td>
  777. <!-- <td width="60">钠浓度<br/>mmol/L</td>
  778. <td width="80">透析液温度<br/>℃</td>
  779. <td width="60">置换率<br/>ml/min</td> -->
  780. <td width="" style="line-height:20px">病情变化及处理</td>
  781. <td width="60" style="line-height:20px">护士签名</td>
  782. </tr>
  783. <tr v-for="monitor in monitors" :key="monitor.id">
  784. <td style="height:40px;">
  785. &nbsp;
  786. <!-- <template>
  787. <span v-if="monitor.monitoring_date">
  788. {{monitor.monitoring_date | parseTime('{y}-{m}-{d}')}}
  789. </span>
  790. </template> -->
  791. {{ getTime(monitor.operate_time, "{h}:{i}") }}
  792. </td>
  793. <td>&nbsp;{{ monitor.temperature ? monitor.temperature : "" }}</td>
  794. <td>
  795. <span v-if='monitor.operate_time'>
  796. &nbsp;{{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/
  797. {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
  798. </span>
  799. </td>
  800. <td>
  801. &nbsp;{{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }}
  802. </td>
  803. <td>
  804. &nbsp;{{ monitor.breathing_rate ? monitor.breathing_rate : "" }}
  805. </td>
  806. <td v-if="isShowZero && monitor.operate_time">
  807. &nbsp;{{ monitor.venous_pressure ? monitor.venous_pressure : 0 }}
  808. </td>
  809. <td v-else>
  810. &nbsp;{{ monitor.venous_pressure ? monitor.venous_pressure : "" }}
  811. </td>
  812. <td>
  813. &nbsp;{{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }}
  814. </td>
  815. <td v-if="isShowZero && monitor.operate_time">
  816. &nbsp;{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}
  817. </td>
  818. <td v-else>
  819. &nbsp;{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}
  820. </td>
  821. <td>
  822. &nbsp;{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}
  823. </td>
  824. <td>
  825. &nbsp;{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}
  826. <!-- {{ monitor.venous_pressure ? monitor.venous_pressure : "" }} -->
  827. </td>
  828. <td>
  829. &nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}
  830. </td>
  831. <td>
  832. &nbsp;{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
  833. </td>
  834. <!-- <td>&nbsp;{{monitor.sodium_concentration}}</td>
  835. <td>&nbsp;{{monitor.dialysate_temperature}}</td>
  836. <td>&nbsp;{{monitor.replacement_rate}}</td> -->
  837. <td>
  838. <template v-if="(dialysisOrder && monitor.operate_time == dialysisOrder.start_time)">【开始透析】</template>
  839. &nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
  840. </td>
  841. <td>
  842. <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
  843. {{ getAdminUser(monitor.monitoring_nurse) }}
  844. </span>
  845. <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
  846. <img style="height:30px;" :src="setAdminUserES(monitor.monitoring_nurse)" alt srcset />
  847. </span>
  848. </td>
  849. </tr>
  850. </tbody>
  851. </table>
  852. <table class="print-table" border="1">
  853. <tbody>
  854. <!-- <tr style="line-height:35px;padding:8px 5px;">
  855. <td colspan="4" style="font-size: 16px">开医嘱</td>
  856. <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
  857. </tr> -->
  858. <tr>
  859. <td :rowspan="doctor_advices.length + 1" width="30" class="title-box">
  860. 医嘱内容
  861. </td>
  862. <td style="font-size: 16px" width="8%">时间</td>
  863. <td style="font-size: 16px" colspan="2">医嘱内容</td>
  864. <td style="font-size: 16px" width="10%">医生签名</td>
  865. <td style="font-size: 16px" width="10%">执行人签名</td>
  866. <td style="font-size: 16px" width="10%">核对人签名</td>
  867. <td style="font-size: 16px" width="8%">时间</td>
  868. </tr>
  869. <!-- <template v-for="group in doctor_advices" > -->
  870. <tr v-for="(advice, advice_index) in doctor_advices" :key="advice_index">
  871. <td height="40px">
  872. <span v-if="advice.start_time">
  873. {{ getTime(advice.start_time, "{h}:{i}") }}
  874. </span>
  875. <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
  876. </td>
  877. <td colspan="2" class="advice-name" style="padding-left:7px;">
  878. <span v-if="advice.parent_id > 0">---></span>
  879. <span>{{ advice.advice_name }}</span>
  880. <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
  881. <span v-if="advice.prescribing_number"> &nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</span>
  882. <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
  883. <span v-if="advice.parent_id == 0">{{ advice.delivery_way }}</span>
  884. <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
  885. <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
  886. </td>
  887. <!-- <td colspan="2" height="60px" style="text-align: center" v-else >
  888. <span>{{advice.delivery_way}}</span>
  889. <span>{{advice.execution_frequency}}</span>
  890. <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
  891. </td> -->
  892. <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
  893. <td>
  894. <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{ getAdminUser(advice.advice_doctor) }}</span>
  895. <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else />
  896. </td>
  897. <td>
  898. <span v-if="setAdminUserES(advice.execution_staff) == ''">{{ getAdminUser(advice.execution_staff) }}</span>
  899. <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt srcset v-else />
  900. </td>
  901. <td>
  902. <span v-if="advice.start_time">
  903. <span v-if="advice.checker > 0">
  904. <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
  905. <img style="height:30px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
  906. </span>
  907. <span v-else>未核对</span>
  908. </span>
  909. </td>
  910. <td>
  911. <span v-if="advice.execution_time">{{ getTime(advice.execution_time, "{h}:{i}") }}</span>
  912. </td>
  913. </tr>
  914. <!-- </template> -->
  915. </tbody>
  916. </table>
  917. <table class="print-table" border="1">
  918. <tbody>
  919. <tr>
  920. <td class="title-box" width="30px">透后评估</td>
  921. <td>
  922. <table class="table-box">
  923. <tbody>
  924. <!-- <tr>
  925. <td width="90">实际治疗时间</td>
  926. <td width="40">
  927. <div class="under-line">
  928. &nbsp;{{
  929. afterdialysis.actual_treatment_hour
  930. ? afterdialysis.actual_treatment_hour
  931. : "0"
  932. }}
  933. </div>
  934. </td>
  935. <td width="10">h</td>
  936. <td width="40">
  937. <div class="under-line">
  938. &nbsp;{{
  939. afterdialysis.actual_treatment_minute
  940. ? afterdialysis.actual_treatment_minute
  941. : "0"
  942. }}
  943. </div>
  944. </td>
  945. <td width="35">min</td>
  946. <td></td>
  947. <td width="75">实际超滤量</td>
  948. <td width="70">
  949. <div class="under-line">
  950. &nbsp;{{
  951. afterdialysis.actual_ultrafiltration
  952. ? afterdialysis.actual_ultrafiltration
  953. : ""
  954. }}
  955. </div>
  956. </td>
  957. <td width="20">L</td>
  958. <td></td>
  959. <td width="60">透后体重</td>
  960. <td width="50">
  961. <div class="under-line">
  962. &nbsp;{{
  963. afterdialysis.weight_after
  964. ? afterdialysis.weight_after
  965. : ""
  966. }}
  967. </div>
  968. </td>
  969. <td width="20">Kg</td>
  970. <td></td>
  971. <td width="95">透析器凝血:</td>
  972. <td width="220">
  973. <label-box
  974. :isChecked="afterdialysis.txqnx == 0 ? true : false"
  975. showValue="0 级"
  976. ></label-box>
  977. <label-box
  978. :isChecked="afterdialysis.txqnx == 1 ? true : false"
  979. showValue="Ⅰ 级"
  980. ></label-box>
  981. <label-box
  982. :isChecked="afterdialysis.txqnx == 2 ? true : false"
  983. showValue="Ⅱ 级"
  984. ></label-box>
  985. <label-box
  986. :isChecked="afterdialysis.txqnx == 3 ? true : false"
  987. showValue="Ⅲ 级"
  988. ></label-box>
  989. </td>
  990. </tr> -->
  991. <tr>
  992. <td width="70">拔针压迫:</td>
  993. <td width="450">
  994. <div style="display:flex;justify-content:space-between;">
  995. <label-box showValue="自己压迫" :isChecked="afterdialysis.hemostasis_opera == 3 ? true : false"></label-box>
  996. &nbsp;
  997. <label-box showValue="他人协助" :isChecked="afterdialysis.hemostasis_opera == 2 ? true : false"></label-box>
  998. &nbsp;
  999. <label-box showValue="需要护士" :isChecked="afterdialysis.hemostasis_opera == 1 ? true : false"></label-box>
  1000. <label-box showValue="内瘘止血带" :isChecked="afterdialysis.hemostasis_opera == 4 ? true : false"></label-box>
  1001. </div>
  1002. </td>
  1003. <td width="50"></td>
  1004. <td width="90">内瘘震颤:</td>
  1005. <td width="200">
  1006. <div style="display:flex;justify-content:space-between;">
  1007. <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false" showValue="存在"></label-box>
  1008. <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false" showValue="减弱"></label-box>
  1009. <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false" showValue="不存在"></label-box>
  1010. </div>
  1011. </td>
  1012. <td></td>
  1013. </tr>
  1014. </tbody>
  1015. </table>
  1016. <table class="table-box">
  1017. <tbody>
  1018. <tr>
  1019. <td width="100">置管口及辅料:</td>
  1020. <td width='140'>
  1021. <label-box :isChecked="afterdialysis.catheter.indexOf('干洁')>-1?true:false" showValue='干洁'></label-box>
  1022. <label-box :isChecked="afterdialysis.catheter.indexOf('更换敷料')>-1?true:false" showValue='更换敷料'></label-box>
  1023. </td>
  1024. <td width='50'>
  1025. <label-box :isChecked="afterdialysis.catheter.indexOf('干洁')==-1 && afterdialysis.catheter.indexOf('更换敷料')==-1?true:false" showValue='其他'></label-box>
  1026. </td>
  1027. <td width='100'>
  1028. <div class="under-line">&nbsp;
  1029. <span v-if="afterdialysis.catheter.indexOf('干洁')==-1 && afterdialysis.catheter.indexOf('更换敷料')==-1">{{ afterdialysis.catheter ? afterdialysis.catheter : '' }}</span>
  1030. </div>
  1031. </td>
  1032. <td width="90">透析期间进食:</td>
  1033. <td width="70">
  1034. <label-box showValue="有" :isChecked="afterdialysis.is_eat == 1 ? true : false"></label-box>
  1035. <label-box showValue="无" :isChecked="afterdialysis.is_eat == 2 ? true : false"></label-box>
  1036. </td>
  1037. <td width="90">实际置换总量</td>
  1038. <td width="50">
  1039. <div class="under-line">&nbsp;{{ afterdialysis.actual_displacement ? afterdialysis.actual_displacement : "" }}</div>
  1040. </td>
  1041. <td width="20">ml</td>
  1042. <td></td>
  1043. </tr>
  1044. </tbody>
  1045. </table>
  1046. <table class="table-box">
  1047. <tbody>
  1048. <tr>
  1049. <td width="120">拔针后穿刺点渗血:</td>
  1050. <td width="100">
  1051. <div style="display:flex;justify-content:space-between;">
  1052. <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 1 ? true : false" showValue="有"></label-box>
  1053. <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 2 ? true : false" showValue="无"></label-box>
  1054. </div>
  1055. </td>
  1056. <td width="10"></td>
  1057. <td width="100">穿刺处血肿:</td>
  1058. <td width="100">
  1059. <div style="display:flex;justify-content:space-between;">
  1060. <label-box :isChecked="afterdialysis.puncture_point_haematoma == 1 ? true : false" showValue="有"></label-box>
  1061. <label-box :isChecked="afterdialysis.puncture_point_haematoma == 2 ? true : false" showValue="无"></label-box>
  1062. </div>
  1063. </td>
  1064. <td width="10"></td>
  1065. <td width="120">中心静脉封管:</td>
  1066. <td width="50">肝素:</td>
  1067. <td width="40">A端</td>
  1068. <td width="30">
  1069. <div class="under-line">&nbsp;{{ afterdialysis.cvc_a ? afterdialysis.cvc_a : "" }}</div>
  1070. </td>
  1071. <td width="20">ml</td>
  1072. <td width="40">V端</td>
  1073. <td width="30">
  1074. <div class="under-line">&nbsp;{{ afterdialysis.cvc_v ? afterdialysis.cvc_v : "" }}</div>
  1075. </td>
  1076. <td width="20">ml</td>
  1077. <td></td>
  1078. </tr>
  1079. </tbody>
  1080. </table>
  1081. <table class="table-box">
  1082. <tbody>
  1083. <tr>
  1084. <td width="80">透析并发症:</td>
  1085. <td width="640">
  1086. <div style="display:flex;justify-content:space-between;">
  1087. <label-box :isChecked="afterdialysis.complication.indexOf('无') > -1 ? true : false" showValue="无"></label-box>
  1088. <label-box :isChecked="afterdialysis.complication.indexOf('头晕') > -1 ? true : false" showValue="头晕"></label-box>
  1089. <label-box :isChecked="afterdialysis.complication.indexOf('头痛') > -1 ? true : false" showValue="头痛"></label-box>
  1090. <label-box :isChecked="afterdialysis.complication.indexOf('呕吐') > -1 ? true : false" showValue="呕吐"></label-box>
  1091. <label-box :isChecked="afterdialysis.complication.indexOf('低血压') > -1 ? true : false" showValue="低血压"></label-box>
  1092. <label-box :isChecked="afterdialysis.complication.indexOf('发热') > -1 ? true : false" showValue="发热"></label-box>
  1093. <label-box :isChecked="afterdialysis.complication.indexOf('抽搐') > -1 ? true : false" showValue="抽搐"></label-box>
  1094. <label-box :isChecked="afterdialysis.complication.indexOf('高血压') > -1 ? true : false" showValue="高血压"></label-box>
  1095. <label-box :isChecked="afterdialysis.complication.indexOf('心律失常') > -1 ? true : false" showValue="心律失常"></label-box>
  1096. <!-- <label-box
  1097. :isChecked="
  1098. afterdialysis.complications_index.indexOf('出血') >
  1099. -1
  1100. ? true
  1101. : false
  1102. "
  1103. showValue="出血"
  1104. ></label-box>
  1105. <label-box
  1106. :isChecked="
  1107. afterdialysis.complications_index.indexOf('心衰') >
  1108. -1
  1109. ? true
  1110. : false
  1111. "
  1112. showValue="心衰"
  1113. ></label-box>
  1114. <label-box
  1115. :isChecked="
  1116. afterdialysis.complications_index.indexOf('腹痛') >
  1117. -1
  1118. ? true
  1119. : false
  1120. "
  1121. showValue="腹痛"
  1122. ></label-box> -->
  1123. </div>
  1124. </td>
  1125. <td width="50">其他:</td>
  1126. <td width="">
  1127. <div class="under-line">
  1128. &nbsp;{{ afterdialysis.complication ? getComplication(afterdialysis.complication) : '' }}
  1129. </div>
  1130. </td>
  1131. </tr>
  1132. </tbody>
  1133. </table>
  1134. <table class="table-box">
  1135. <tbody>
  1136. <tr>
  1137. <td width="50">凝血:</td>
  1138. <td width="70">透析器:</td>
  1139. <td width="240">
  1140. <div style="display:flex;justify-content:space-between;">
  1141. <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false" showValue="无"></label-box>
  1142. <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false" showValue="+"></label-box>
  1143. <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-Ⅱ度') > -1 ? true : false" showValue="+ +"></label-box>
  1144. <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-Ⅲ度')> -1 ? true : false" showValue="+ + +"></label-box>
  1145. </div>
  1146. </td>
  1147. <td width="10"></td>
  1148. <td width="100">静脉管道:</td>
  1149. <td width="240">
  1150. <div style="display:flex;justify-content:space-between;">
  1151. <label-box :isChecked="afterdialysis.intravenous_tube == 1 ? true : false" showValue="无"></label-box>
  1152. <label-box :isChecked="afterdialysis.intravenous_tube == 2 ? true : false" showValue="+"></label-box>
  1153. <label-box :isChecked="afterdialysis.intravenous_tube == 3 ? true : false" showValue="+ +"></label-box>
  1154. <label-box :isChecked="afterdialysis.intravenous_tube == 4 ? true : false" showValue="+ + +"></label-box>
  1155. </div>
  1156. </td>
  1157. <td width="10"></td>
  1158. <td width="100">动脉管道:</td>
  1159. <td width="240">
  1160. <div style="display:flex;justify-content:space-between;">
  1161. <label-box :isChecked="afterdialysis.arterial_tube == 1 ? true : false" showValue="无"></label-box>
  1162. <label-box :isChecked="afterdialysis.arterial_tube == 2 ? true : false" showValue="+"></label-box>
  1163. <label-box :isChecked="afterdialysis.arterial_tube == 3 ? true : false" showValue="+ +"></label-box>
  1164. <label-box :isChecked="afterdialysis.arterial_tube == 4 ? true : false" showValue="+ + +"></label-box>
  1165. </div>
  1166. </td>
  1167. </tr>
  1168. </tbody>
  1169. </table>
  1170. <table class="table-box">
  1171. <tbody>
  1172. <tr>
  1173. <td width="70">透后体重:</td>
  1174. <td width="50">
  1175. <div class="under-line">
  1176. &nbsp;{{ afterdialysis.weight_after ? afterdialysis.weight_after : "" }}
  1177. </div>
  1178. </td>
  1179. <td width="20">Kg</td>
  1180. <td width="10"></td>
  1181. <td width="120">实际超滤总量</td>
  1182. <td width="40">
  1183. <div class="under-line">
  1184. &nbsp;{{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "" }}
  1185. </div>
  1186. </td>
  1187. <td width="10">ml</td>
  1188. <td width="10"></td>
  1189. <td width="120">实际治疗时间</td>
  1190. <td width="40">
  1191. <div class="under-line">
  1192. &nbsp;{{ afterdialysis.actual_treatment_hour ? afterdialysis.actual_treatment_hour : "0" }}
  1193. </div>
  1194. </td>
  1195. <td width="10">h</td>
  1196. <td width="40">
  1197. <div class="under-line">
  1198. &nbsp;{{ afterdialysis.actual_treatment_minute ? afterdialysis.actual_treatment_minute : "0" }}
  1199. </div>
  1200. </td>
  1201. <td width="20">min</td>
  1202. <td width="50">去向:</td>
  1203. <td width="200">
  1204. <div style="display:flex;justify-content:space-between;">
  1205. <label-box :isChecked="afterdialysis.patient_gose == 1 ? true : false" showValue="回家"></label-box>
  1206. <label-box :isChecked="afterdialysis.patient_gose == 2 ? true : false" showValue="留观"></label-box>
  1207. <label-box :isChecked="afterdialysis.patient_gose == 3 ? true : false" showValue="住院"></label-box>
  1208. </div>
  1209. </td>
  1210. <td>
  1211. <div class="under-line">&nbsp;</div>
  1212. </td>
  1213. </tr>
  1214. </tbody>
  1215. </table>
  1216. <table class="table-box">
  1217. <tbody>
  1218. <tr>
  1219. <td style="text-align:left;">治疗小结:{{ summary.dialysis_summary ? summary.dialysis_summary : "" }}</td>
  1220. </tr>
  1221. </tbody>
  1222. </table>
  1223. <!-- <table class="table-box">
  1224. <tbody>
  1225. <tr>
  1226. <td width="530">
  1227. <label-box
  1228. :isChecked="
  1229. afterdialysis.patient_gose == 3 &&
  1230. afterdialysis.observation_content.indexOf(
  1231. '内瘘搏动/渗血'
  1232. ) > -1
  1233. ? true
  1234. : false
  1235. "
  1236. showValue="内瘘搏动/渗血"
  1237. ></label-box>
  1238. <label-box
  1239. :isChecked="
  1240. afterdialysis.patient_gose == 3 &&
  1241. afterdialysis.observation_content.indexOf(
  1242. '导管固定/穿刺口渗血'
  1243. ) > -1
  1244. ? true
  1245. : false
  1246. "
  1247. showValue="导管固定/穿刺口渗血"
  1248. ></label-box>
  1249. <label-box
  1250. :isChecked="
  1251. afterdialysis.patient_gose == 3 &&
  1252. afterdialysis.observation_content.indexOf(
  1253. '动静脉直接穿刺口渗血/肢端循环情况'
  1254. ) > -1
  1255. ? true
  1256. : false
  1257. "
  1258. showValue="动静脉直接穿刺口渗血/肢端循环情况"
  1259. ></label-box>
  1260. </td>
  1261. <td width="40">其他:</td>
  1262. <td width="">
  1263. <div class="under-line">
  1264. &nbsp;
  1265. <span v-if="afterdialysis.patient_gose == 3"
  1266. >{{ afterdialysis.observation_content_other }}
  1267. </span>
  1268. </div>
  1269. </td>
  1270. </tr>
  1271. </tbody>
  1272. </table> -->
  1273. <!-- <table class="table-box">
  1274. <tbody>
  1275. <tr>
  1276. <td width="150">当班责任(核对)护士:</td>
  1277. <td width="100">
  1278. <div class="under-line">
  1279. <span
  1280. v-if="setAdminUserES(afterdialysis.creater) == ''"
  1281. >{{ getAdminUser(afterdialysis.creater) }}</span
  1282. >
  1283. <img
  1284. class="es-img"
  1285. :src="setAdminUserES(afterdialysis.creater)"
  1286. alt=""
  1287. srcset=""
  1288. v-else
  1289. />
  1290. </div>
  1291. </td>
  1292. <td width=""></td>
  1293. <td width="70">下机护士:</td>
  1294. <td width="100">
  1295. <div class="under-line">
  1296. <span
  1297. v-if="
  1298. setAdminUserES(
  1299. dialysisOrder == null
  1300. ? 0
  1301. : dialysisOrder.finish_nurse
  1302. ) == ''
  1303. "
  1304. >{{
  1305. getAdminUser(
  1306. dialysisOrder == null
  1307. ? 0
  1308. : dialysisOrder.finish_nurse
  1309. )
  1310. }}</span
  1311. >
  1312. <img
  1313. class="es-img"
  1314. :src="
  1315. setAdminUserES(
  1316. dialysisOrder == null
  1317. ? 0
  1318. : dialysisOrder.finish_nurse
  1319. )
  1320. "
  1321. alt=""
  1322. srcset=""
  1323. v-else
  1324. />
  1325. </div>
  1326. </td>
  1327. </tr>
  1328. </tbody>
  1329. </table> -->
  1330. </td>
  1331. </tr>
  1332. </tbody>
  1333. </table>
  1334. <table class="table-box" style="margin-top: 10px;">
  1335. <tbody>
  1336. <tr>
  1337. <td width="300"></td>
  1338. <td width="50">医生</td>
  1339. <td width="80">
  1340. <div class="under-line">
  1341. &nbsp;
  1342. <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
  1343. <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
  1344. </div>
  1345. </td>
  1346. <td width="90">责任护士</td>
  1347. <td width="80">
  1348. <div class="under-line">
  1349. &nbsp;
  1350. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
  1351. <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
  1352. </div>
  1353. </td>
  1354. <td width="90">穿刺护士</td>
  1355. <td width="80">
  1356. <div class="under-line">
  1357. &nbsp;
  1358. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.puncture_nurse)}}</span>
  1359. <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse)" alt="" srcset="" v-else>
  1360. </div>
  1361. </td>
  1362. <td width="90">核对护士</td>
  1363. <td width="80">
  1364. <div class="under-line">
  1365. &nbsp;
  1366. <span v-if="(dialysisOrder==null?0:dialysisOrder.start_nurse) != check.modifier">
  1367. <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
  1368. {{ getAdminUser(check == null ? 0 : check.modifier) }}
  1369. </span>
  1370. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.modifier)" alt srcset v-else />
  1371. </span>
  1372. <span v-else>
  1373. <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
  1374. {{ getAdminUser(check == null ? 0 : check.creater) }}
  1375. </span>
  1376. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt srcset v-else />
  1377. </span>
  1378. </div>
  1379. </td>
  1380. </tr>
  1381. </tbody>
  1382. </table>
  1383. <!-- <table class="print-table-no" border="1" count="0">
  1384. <tbody>
  1385. <tr>
  1386. <td width="40px">时间</td>
  1387. <td width="120px">医嘱<br />内容</td>
  1388. <td width="80px">医生<br />签名</td>
  1389. <td width="80px">执行<br />护士</td>
  1390. <td width="55px">执行<br />时间</td>
  1391. <td width="75px">核对<br />护士</td>
  1392. <td width="10px"></td>
  1393. <td width="40px">时间</td>
  1394. <td width="120px">医嘱<br />内容</td>
  1395. <td width="80px">医生<br />签名</td>
  1396. <td width="80px">执行<br />护士</td>
  1397. <td width="55px">执行<br />时间</td>
  1398. <td width="75px">核对<br />护士</td>
  1399. </tr>
  1400. <tr v-for="(advice, index) in advices" :key="index">
  1401. <td height="10px">
  1402. <span v-if="advice[0].start_time">
  1403. {{ getTime(advice[0].start_time, "{h}:{i}") }}
  1404. </span>
  1405. <span v-else>&nbsp;<br />&nbsp;</span>
  1406. </td>
  1407. <td class="advice-name">
  1408. <span v-if="advice[0].parent_id > 0">└</span>
  1409. <span>{{ advice[0].advice_name }}</span>
  1410. <span v-if="advice[0].advice_desc"
  1411. >{{ advice[0].advice_desc }}{{ advice[0].drug_spec_unit }}</span
  1412. >
  1413. <span v-if="advice[0].prescribing_number"
  1414. >* {{ advice[0].prescribing_number
  1415. }}{{ advice[0].prescribing_number_unit }}</span
  1416. >
  1417. <span v-if="advice[0].single_dose != 0"
  1418. >单次用量 {{ advice[0].single_dose
  1419. }}{{ advice[0].single_dose_unit }}</span
  1420. >
  1421. <span>{{ advice[0].delivery_way }}</span>
  1422. <span>{{ advice[0].execution_frequency }}</span>
  1423. <div
  1424. v-for="(child, childindex) in advice[0].children"
  1425. :key="childindex"
  1426. class="advice-children"
  1427. >
  1428. <div>▲</div>
  1429. <div>
  1430. <span>{{ child.advice_name }}</span>
  1431. <span v-if="child.advice_desc"
  1432. >{{ child.advice_desc }}{{ child.drug_spec_unit }}</span
  1433. >
  1434. <span v-if="child.prescribing_number"
  1435. >* {{ child.prescribing_number
  1436. }}{{ child.prescribing_number_unit }}</span
  1437. >
  1438. <span v-if="child.single_dose != 0"
  1439. >单次用量 {{ child.single_dose
  1440. }}{{ child.single_dose_unit }}</span
  1441. >
  1442. </div>
  1443. </div>
  1444. </td>
  1445. <td>
  1446. <span v-if="setAdminUserES(advice[0].advice_doctor) == ''">{{
  1447. getAdminUser(advice[0].advice_doctor)
  1448. }}</span>
  1449. <img
  1450. class="es-img"
  1451. :src="setAdminUserES(advice[0].advice_doctor)"
  1452. alt=""
  1453. srcset=""
  1454. v-else
  1455. />
  1456. </td>
  1457. <td>
  1458. <span v-if="setAdminUserES(advice[0].execution_staff) == ''">{{
  1459. getAdminUser(advice[0].execution_staff)
  1460. }}</span>
  1461. <img
  1462. class="es-img"
  1463. :src="setAdminUserES(advice[0].execution_staff)"
  1464. alt=""
  1465. srcset=""
  1466. v-else
  1467. />
  1468. </td>
  1469. <td>
  1470. <span v-if="advice[0].execution_time">
  1471. {{ getTime(advice[0].execution_time, "{h}:{i}") }}
  1472. </span>
  1473. </td>
  1474. <td>
  1475. <span v-if="setAdminUserES(advice[0].checker) == ''">{{
  1476. getAdminUser(advice[0].checker)
  1477. }}</span>
  1478. <img
  1479. class="es-img"
  1480. :src="setAdminUserES(advice[0].checker)"
  1481. alt=""
  1482. srcset=""
  1483. v-else
  1484. />
  1485. </td>
  1486. <td></td>
  1487. <td v-if="advice[1] != undefined">
  1488. <span v-if="advice[1].start_time">
  1489. {{ getTime(advice[1].start_time, "{h}:{i}") }}
  1490. </span>
  1491. </td>
  1492. <td v-else>
  1493. <span></span>
  1494. </td>
  1495. <td class="advice-name" v-if="advice[1] != undefined">
  1496. <span>{{ advice[1].advice_name }}</span>
  1497. <span
  1498. >{{ advice[1].advice_desc }}{{ advice[1].drug_spec_unit }}</span
  1499. >
  1500. <span v-if="advice[1].prescribing_number"
  1501. >* {{ advice[1].prescribing_number
  1502. }}{{ advice[1].prescribing_number_unit }}</span
  1503. >
  1504. <span v-if="advice[1].single_dose != 0"
  1505. >单次用量 {{ advice[1].single_dose
  1506. }}{{ advice[1].single_dose_unit }}</span
  1507. >
  1508. <span>{{ advice[1].delivery_way }}</span>
  1509. <span>{{ advice[1].execution_frequency }}</span>
  1510. <div
  1511. v-for="(child, childindex) in advice[1].children"
  1512. :key="childindex"
  1513. class="advice-children"
  1514. >
  1515. <div>▲</div>
  1516. <div>
  1517. <span>{{ child.advice_name }}</span>
  1518. <span>{{ child.advice_desc }}</span>
  1519. <span v-if="child.advice_desc"
  1520. >{{ child.advice_desc }}{{ child.drug_spec_unit }}</span
  1521. >
  1522. <span v-if="child.prescribing_number"
  1523. >* {{ child.prescribing_number
  1524. }}{{ child.prescribing_number_unit }}</span
  1525. >
  1526. <span v-if="child.single_dose != 0"
  1527. >单次用量 {{ child.single_dose
  1528. }}{{ child.single_dose_unit }}</span
  1529. >
  1530. </div>
  1531. </div>
  1532. </td>
  1533. <td v-else>
  1534. <span></span>
  1535. </td>
  1536. <td v-if="advice[1] != undefined">
  1537. <span v-if="setAdminUserES(advice[1].advice_doctor) == ''">{{
  1538. getAdminUser(advice[1].advice_doctor)
  1539. }}</span>
  1540. <img
  1541. class="es-img"
  1542. :src="setAdminUserES(advice[1].advice_doctor)"
  1543. alt=""
  1544. srcset=""
  1545. v-else
  1546. />
  1547. </td>
  1548. <td v-else>
  1549. <span></span>
  1550. </td>
  1551. <td v-if="advice[1] != undefined">
  1552. <span v-if="setAdminUserES(advice[1].execution_staff) == ''">{{
  1553. getAdminUser(advice[1].execution_staff)
  1554. }}</span>
  1555. <img
  1556. class="es-img"
  1557. :src="setAdminUserES(advice[1].execution_staff)"
  1558. alt=""
  1559. srcset=""
  1560. v-else
  1561. />
  1562. </td>
  1563. <td v-else>
  1564. <span></span>
  1565. </td>
  1566. <td v-if="advice[1] != undefined">
  1567. <span v-if="advice[1].execution_time">{{
  1568. getTime(advice[1].execution_time, "{h}:{i}")
  1569. }}</span>
  1570. </td>
  1571. <td v-else>
  1572. <span></span>
  1573. </td>
  1574. <td v-if="advice[1] != undefined">
  1575. <span v-if="setAdminUserES(advice[1].checker) == ''">{{
  1576. getAdminUser(advice[1].checker)
  1577. }}</span>
  1578. <img
  1579. class="es-img"
  1580. :src="setAdminUserES(advice[1].checker)"
  1581. alt=""
  1582. srcset=""
  1583. v-else
  1584. />
  1585. </td>
  1586. <td v-else>
  1587. <span></span>
  1588. </td>
  1589. </tr>
  1590. </tbody>
  1591. </table> -->
  1592. <!-- <table class="table-box" style="margin-top: 10px;">
  1593. <tbody>
  1594. <tr>
  1595. <td width="" style="font-size:13px">
  1596. 注:透析器凝血评价标准:“0 级” 无凝血或数条纤维束凝血,“Ⅰ 级”
  1597. 少于10%纤维凝血,“Ⅱ 级” 少于50%纤维凝血,“Ⅲ 级” 大于50%纤维凝血。
  1598. </td>
  1599. </tr>
  1600. </tbody>
  1601. </table> -->
  1602. </div>
  1603. </div>
  1604. </template>
  1605. <script>
  1606. import { getDialysisRecord } from '@/api/dialysis'
  1607. import { getDataConfig } from '@/utils/data'
  1608. import { jsGetAge, uParseTime } from '@/utils/tools'
  1609. import LabelBox from '../printItem/LabelBox'
  1610. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  1611. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  1612. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  1613. import print from 'print-js'
  1614. export default {
  1615. name: 'dialysisPrintOrderOne',
  1616. components: {
  1617. // DialysisPrintOrderOne,
  1618. // DialysisPrintOrderTwo,
  1619. LabelBox,
  1620. BreadCrumb
  1621. },
  1622. data() {
  1623. return {
  1624. way_arr: [],
  1625. consciousness_arr: [],
  1626. appetite_arr: [],
  1627. posture_arr: [],
  1628. sick_condition_arr: [],
  1629. precaution_arr: [],
  1630. intake_arr: [],
  1631. nutrition_arr: [],
  1632. crumbs: [
  1633. { path: false, name: '透析管理' },
  1634. { path: false, name: '打印单' }
  1635. ],
  1636. operators: [],
  1637. adminUser: [],
  1638. check: {},
  1639. dialysisOrder: {
  1640. DeviceNumber: []
  1641. },
  1642. operatorMaps: {},
  1643. complications: [
  1644. '低血压',
  1645. '高血压',
  1646. '心律失常',
  1647. '头晕',
  1648. '头痛',
  1649. '呕吐',
  1650. '抽搐',
  1651. '出血',
  1652. '心衰',
  1653. '腹痛',
  1654. '无'
  1655. ],
  1656. jilurow: 0,
  1657. advice_jilurow: 0,
  1658. loading: false,
  1659. orgname: '',
  1660. patientInfo_gender_1: false,
  1661. patientInfo_gender_2: false,
  1662. patientInfo_source_2: false,
  1663. patientInfo_source_1: false,
  1664. modeOptions: {},
  1665. replacementWays: [],
  1666. perfusionApparatus: [],
  1667. anticoagulantsConfit: {},
  1668. bloodAccessParOpera: {},
  1669. dialysateFormulationOptions: {},
  1670. queryParams: {
  1671. xtdate: '',
  1672. xtno: ''
  1673. },
  1674. patientInfo: {
  1675. birth: '',
  1676. age: '',
  1677. DialysisSchedule: {
  1678. device_number: { number: '' },
  1679. device_zone: { name: '' }
  1680. },
  1681. gender: 0
  1682. },
  1683. predialysis: {
  1684. score: '',
  1685. internal_fistula: '',
  1686. internal_fistula_skin: '',
  1687. catheter: '',
  1688. blood_access_part_opera_name: ''
  1689. },
  1690. afterdialysis: {
  1691. complications_index: ''
  1692. },
  1693. prescription: {
  1694. dialysate_formulation_name: '',
  1695. device: {}
  1696. },
  1697. advices: [],
  1698. users: [],
  1699. monitors: [],
  1700. summary: {},
  1701. receiverTreatmentAccess: {},
  1702. org_template_info: {},
  1703. isShowZero: false,
  1704. doctor_advices: [],
  1705. advice_groups: [],
  1706. AlPanel: {
  1707. id: 0,
  1708. name: '',
  1709. type: 1,
  1710. shouji: 2,
  1711. weichi: 2,
  1712. zongliang: 2,
  1713. gaimingcheng: -1,
  1714. gaijiliang: -1,
  1715. shouji_unit: 'mg',
  1716. weichi_unit: 'mg/h',
  1717. zongliang_unit: 'mg',
  1718. gaimingcheng_unit: '',
  1719. gaijiliang_unit: ''
  1720. },
  1721. doctorForm: {
  1722. doctor: '',
  1723. url: ''
  1724. }
  1725. }
  1726. },
  1727. methods: {
  1728. getComplication(complication){
  1729. if(complication.indexOf(',') == -1){
  1730. let str = complication
  1731. if(['无','头晕','头痛','呕吐','低血压','发热','抽搐','高血压','心律失常'].indexOf(str) == -1){
  1732. return str
  1733. }
  1734. }else if(complication.indexOf(',') > -1){
  1735. let str = complication
  1736. if(['无','头晕','头痛','呕吐','低血压','发热','抽搐','高血压','心律失常'].indexOf(str) == -1){
  1737. let newStr = ''
  1738. str.split(',').map(item => {
  1739. if(['无','头晕','头痛','呕吐','低血压','发热','抽搐','高血压','心律失常'].indexOf(item) == -1){
  1740. newStr += item + ','
  1741. }
  1742. })
  1743. return newStr.substring(0, newStr.length - 1)
  1744. }
  1745. }
  1746. },
  1747. getAdminUser(id) {
  1748. if (id == 0) {
  1749. return ''
  1750. }
  1751. if (id == undefined) {
  1752. return ''
  1753. }
  1754. for (let i = 0; i < this.adminUser.length; i++) {
  1755. if (this.adminUser[i].id == id) {
  1756. return this.adminUser[i].name
  1757. }
  1758. }
  1759. },
  1760. getTime(value, temp) {
  1761. if (value == 0) {
  1762. return ''
  1763. }
  1764. if (value != undefined) {
  1765. return uParseTime(value, temp)
  1766. }
  1767. return ''
  1768. },
  1769. printThisPage() {
  1770. var ptime = Math.round(new Date().getTime() / 1000)
  1771. this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
  1772. const style =
  1773. '@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: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}'
  1774. if (this.org_template_info.template_id == 1) {
  1775. printJS({
  1776. printable: 'dialysis-print-box',
  1777. type: 'html',
  1778. style: style,
  1779. scanStyles: false
  1780. })
  1781. } else if (
  1782. this.org_template_info.template_id == 2 ||
  1783. this.org_template_info.template_id == 0
  1784. ) {
  1785. printJS({
  1786. printable: 'dialysis-print-box-1',
  1787. type: 'html',
  1788. style: style,
  1789. scanStyles: false
  1790. })
  1791. }
  1792. },
  1793. getNumber() {
  1794. if (this.dialysisOrder != null) {
  1795. if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
  1796. return (
  1797. this.patientInfo.DialysisSchedule.device_zone.name +
  1798. this.dialysisOrder.DeviceNumber.number
  1799. );
  1800. } else {
  1801. return (
  1802. this.patientInfo.DialysisSchedule.device_zone.name + "区" +
  1803. this.dialysisOrder.DeviceNumber.number
  1804. );
  1805. }
  1806. } else {
  1807. if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
  1808. return (
  1809. this.patientInfo.DialysisSchedule.device_zone.name +
  1810. this.patientInfo.DialysisSchedule.device_number.number
  1811. );
  1812. }else{
  1813. return (
  1814. this.patientInfo.DialysisSchedule.device_zone.name + "区" +
  1815. this.patientInfo.DialysisSchedule.device_number.number
  1816. );
  1817. }
  1818. }
  1819. },
  1820. getXuserName(id) {
  1821. if (id <= 0) {
  1822. return ''
  1823. }
  1824. var name = ''
  1825. if (this.users == null || typeof this.users.length === 'undefined') {
  1826. return name
  1827. }
  1828. var leng = this.users.length
  1829. if (leng == 0) {
  1830. return name
  1831. }
  1832. for (let index = 0; index < leng; index++) {
  1833. if (this.users[index].id == id) {
  1834. name = this.users[index].name
  1835. break
  1836. }
  1837. }
  1838. return name
  1839. },
  1840. setAdminUserES(id) {
  1841. if (id == 0) {
  1842. return ''
  1843. }
  1844. if (id in this.operatorMaps) {
  1845. return this.operatorMaps[id].url
  1846. } else {
  1847. return ''
  1848. }
  1849. },
  1850. modeName(mode_id) {
  1851. return typeof this.modeOptions[mode_id] !== 'undefined' &&
  1852. typeof this.modeOptions[mode_id].name !== 'undefined'
  1853. ? this.modeOptions[mode_id].name
  1854. : ''
  1855. },
  1856. getDialysisRecord() {
  1857. this.loading = true
  1858. getDialysisRecord(this.queryParams).then(response => {
  1859. if (response.data.state == 1) {
  1860. this.adminUser = response.data.data.users
  1861. this.users = response.data.data.users
  1862. this.patientInfo = response.data.data.patientInfo
  1863. this.patientInfo.birth = uParseTime(
  1864. this.patientInfo.birthday,
  1865. '{y}-{m}-{d}'
  1866. )
  1867. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1868. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1869. this.patientInfo.first_dialysis_date = uParseTime(
  1870. response.data.data.patientInfo.first_dialysis_date,
  1871. '{y}-{m}-{d}'
  1872. )
  1873. } else {
  1874. this.patientInfo.first_dialysis_date = ''
  1875. }
  1876. this.check = response.data.data.check
  1877. this.predialysis = response.data.data.PredialysisEvaluation
  1878. console.log(11111111111111111111111, this.predialysis)
  1879. this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
  1880. this.predialysis.blood_access_part_opera_id
  1881. )
  1882. this.afterdialysis = response.data.data.AssessmentAfterDislysis
  1883. console.log(22222222222222222222222222, response.data.data)
  1884. this.operators = response.data.data.operators
  1885. this.dialysisOrder =
  1886. response.data.data.dialysisOrder === null
  1887. ? null
  1888. : response.data.data.dialysisOrder
  1889. // 医生
  1890. var doctorname = response.data.data.DoctorName
  1891. // console.log('医师签名', doctorname)
  1892. this.doctorForm.doctor = doctorname.user_name
  1893. this.doctorForm.url = doctorname.url
  1894. if (this.operators.length > 0) {
  1895. var operatorsLen = this.operators.length
  1896. for (var index = 0; index < operatorsLen; index++) {
  1897. this.$set(
  1898. this.operatorMaps,
  1899. this.operators[index].creator,
  1900. this.operators[index]
  1901. )
  1902. }
  1903. }
  1904. this.afterdialysis.txqnx = -1
  1905. if (this.afterdialysis.cruor.indexOf('0度') > -1) {
  1906. this.afterdialysis.txqnx = 0
  1907. }
  1908. if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
  1909. this.afterdialysis.txqnx = 1
  1910. }
  1911. if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
  1912. this.afterdialysis.txqnx = 2
  1913. }
  1914. if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
  1915. this.afterdialysis.txqnx = 3
  1916. }
  1917. this.afterdialysis.complications = this.afterdialysis.complication.split(
  1918. ','
  1919. )
  1920. this.afterdialysis.complications_other = []
  1921. this.afterdialysis.complications_index = []
  1922. var acllen = this.afterdialysis.complications.length
  1923. for (let index = 0; index < acllen; index++) {
  1924. if (
  1925. this.complications.indexOf(
  1926. this.afterdialysis.complications[index]
  1927. ) >= 0
  1928. ) {
  1929. this.afterdialysis.complications_index.push(
  1930. this.afterdialysis.complications[index]
  1931. )
  1932. } else if (
  1933. this.complications.indexOf(
  1934. this.afterdialysis.complications[index]
  1935. ) < 0 &&
  1936. this.afterdialysis.complications_other.indexOf(
  1937. this.afterdialysis.complications[index]
  1938. ) < 0
  1939. ) {
  1940. this.afterdialysis.complications_other.push(
  1941. this.afterdialysis.complications[index]
  1942. )
  1943. }
  1944. }
  1945. this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(
  1946. ','
  1947. )
  1948. this.prescription = response.data.data.dialysisPrescription
  1949. this.receiverTreatmentAccess =
  1950. response.data.data.receiverTreatmentAccess
  1951. this.prescription.mode = this.modeName(this.prescription.mode_id)
  1952. var rwLen = this.replacementWays.length
  1953. this.prescription.replacement = ''
  1954. for (let index = 0; index < rwLen; index++) {
  1955. if (
  1956. this.replacementWays[index].id ==
  1957. this.prescription.replacement_way
  1958. ) {
  1959. this.prescription.replacement = this.replacementWays[index].name
  1960. break
  1961. }
  1962. }
  1963. this.prescription.dialysate_formulation_name = this.dialysateFormulationName(
  1964. this.prescription.dialysate_formulation
  1965. )
  1966. var paLen = this.perfusionApparatus.length
  1967. this.prescription.perfusion_apparatus_name = ''
  1968. for (let index = 0; index < paLen; index++) {
  1969. if (
  1970. this.perfusionApparatus[index].id ==
  1971. this.prescription.perfusion_apparatus
  1972. ) {
  1973. this.prescription.perfusion_apparatus_name = this.perfusionApparatus[
  1974. index
  1975. ].name
  1976. break
  1977. }
  1978. }
  1979. var acLen = this.anticoagulantsConfit.length
  1980. var thisALID = this.prescription.anticoagulant
  1981. this.prescription.anticoagulant_name = ''
  1982. if (
  1983. typeof this.anticoagulantsConfit[thisALID] !== 'undefined' &&
  1984. this.anticoagulantsConfit[thisALID] != null
  1985. ) {
  1986. this.prescription.anticoagulant_name = this.anticoagulantsConfit[
  1987. thisALID
  1988. ].name
  1989. this.AlPanel = this.anticoagulantsConfit[thisALID]
  1990. }
  1991. this.advices = response.data.data.advices
  1992. // console.log('hhhhhhhhhhhh', this.advices)
  1993. this.monitors = response.data.data.monitors
  1994. // console.log('哈哈哈哈哈哈哈', this.monitors)
  1995. console.log(response.data.data)
  1996. this.summary = response.data.data.summary
  1997. this.org_template_info = response.data.data.org_template_info
  1998. // 配置超滤量和置换量是否要显示0还是空
  1999. if (this.org_template_info.org_id == 9535) {
  2000. this.isShowZero = true
  2001. }
  2002. if (this.monitors.length < 6) {
  2003. var nl = 6 - this.monitors.length
  2004. for (let index = 0; index < nl; index++) {
  2005. this.monitors.push([])
  2006. }
  2007. }
  2008. for (let index = 0; index < this.monitors.length; index++) {
  2009. const monitor = this.monitors[index]
  2010. this.monitors[index].end = ''
  2011. if (Object.keys(monitor).length > 0 && index > 1) {
  2012. if (this.dialysisOrder && monitor.operate_time == this.dialysisOrder.end_time) {
  2013. this.monitors[index].end = '【结束透析】'
  2014. tempmonitorflag = false
  2015. }
  2016. if (tempmonitorflag && index == this.monitors.length - 1) {
  2017. this.monitors[index].end = '【结束透析】'
  2018. }
  2019. }
  2020. }
  2021. this.jilurow = this.monitors.length + 1
  2022. this.advice_jilurow = this.advices.length + 1
  2023. var childMap = {}
  2024. for (const index in this.advices) {
  2025. if (this.advices[index].parent_id == 0) {
  2026. continue
  2027. }
  2028. if (!(this.advices[index].parent_id in childMap)) {
  2029. childMap[this.advices[index].parent_id] = []
  2030. }
  2031. childMap[this.advices[index].parent_id].push(this.advices[index])
  2032. }
  2033. var advices = []
  2034. for (const index in this.advices) {
  2035. if (this.advices[index].parent_id > 0) {
  2036. continue
  2037. }
  2038. var item = this.advices[index]
  2039. if (item.id in childMap) {
  2040. item.children = childMap[item.id]
  2041. } else {
  2042. item.children = []
  2043. }
  2044. advices.push(item)
  2045. }
  2046. var leftAdvice = []
  2047. var rightAdvice = []
  2048. var adlen = advices.length
  2049. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
  2050. for (var i = 0; i < halfLen; i++) {
  2051. leftAdvice.push(advices[i])
  2052. rightAdvice.push(advices[i + halfLen])
  2053. }
  2054. if (halfLen < 5) {
  2055. var nl = 5 - leftAdvice.length
  2056. for (let index = 0; index < nl; index++) {
  2057. leftAdvice.push([])
  2058. }
  2059. var nl = 5 - rightAdvice.length
  2060. for (let index = 0; index < nl; index++) {
  2061. rightAdvice.push([])
  2062. }
  2063. }
  2064. this.advices = []
  2065. for (var i = 0; i < halfLen; i++) {
  2066. var item = []
  2067. item.push(leftAdvice[i])
  2068. item.push(rightAdvice[i])
  2069. this.advices.push(item)
  2070. }
  2071. this.loading = false
  2072. this.doctor_advices =
  2073. response.data.data.advices == null
  2074. ? []
  2075. : response.data.data.advices
  2076. for (let index = 0; index < this.doctor_advices.length; index++) {
  2077. this.doctor_advices[index]['isShow'] = 2
  2078. }
  2079. if (this.doctor_advices.length === 0) {
  2080. var obj = { advice_name: '', start_time: '' }
  2081. var obj1 = { advice_name: '', start_time: '' }
  2082. var obj2 = { advice_name: '', start_time: '' }
  2083. var obj3 = { advice_name: '', start_time: '' }
  2084. this.doctor_advices.push(obj)
  2085. this.doctor_advices.push(obj1)
  2086. this.doctor_advices.push(obj2)
  2087. this.doctor_advices.push(obj3)
  2088. this.doctor_advices.push(obj3)
  2089. this.doctor_advices.push(obj3)
  2090. this.doctor_advices.push(obj3)
  2091. }
  2092. if (this.doctor_advices.length === 1) {
  2093. var obj = { advice_name: '', start_time: '' }
  2094. var obj1 = { advice_name: '', start_time: '' }
  2095. var obj2 = { advice_name: '', start_time: '' }
  2096. this.doctor_advices.push(obj)
  2097. this.doctor_advices.push(obj1)
  2098. this.doctor_advices.push(obj2)
  2099. this.doctor_advices.push(obj2)
  2100. this.doctor_advices.push(obj2)
  2101. this.doctor_advices.push(obj2)
  2102. }
  2103. if (this.doctor_advices.length === 2) {
  2104. var obj = { advice_name: '', start_time: '' }
  2105. var obj1 = { advice_name: '', start_time: '' }
  2106. this.doctor_advices.push(obj)
  2107. this.doctor_advices.push(obj1)
  2108. this.doctor_advices.push(obj1)
  2109. this.doctor_advices.push(obj1)
  2110. this.doctor_advices.push(obj1)
  2111. }
  2112. if (this.doctor_advices.length === 3) {
  2113. // eslint-disable-next-line no-redeclare
  2114. var obj = { advice_name: '', start_time: '' }
  2115. this.doctor_advices.push(obj)
  2116. this.doctor_advices.push(obj)
  2117. this.doctor_advices.push(obj)
  2118. this.doctor_advices.push(obj)
  2119. }
  2120. if (this.doctor_advices.length === 4) {
  2121. // eslint-disable-next-line no-redeclare
  2122. var obj = { advice_name: '', start_time: '' }
  2123. this.doctor_advices.push(obj)
  2124. this.doctor_advices.push(obj)
  2125. this.doctor_advices.push(obj)
  2126. }
  2127. if (this.doctor_advices.length === 5) {
  2128. // eslint-disable-next-line no-redeclare
  2129. var obj = { advice_name: '', start_time: '' }
  2130. this.doctor_advices.push(obj)
  2131. this.doctor_advices.push(obj)
  2132. }
  2133. if (this.doctor_advices.length === 6) {
  2134. // eslint-disable-next-line no-redeclare
  2135. var obj = { advice_name: '', start_time: '' }
  2136. this.doctor_advices.push(obj)
  2137. }
  2138. this.adviceLength = this.doctor_advices.length + 1
  2139. if (this.doctor_advices.length > 0) {
  2140. var group = this.newAdviceGroupObject()
  2141. var initGroupBlock = function(group, advice) {
  2142. group.group_no = advice.groupno
  2143. }
  2144. for (
  2145. let index = this.doctor_advices.length - 1;
  2146. index >= 0;
  2147. index--
  2148. ) {
  2149. var new_advice_index = 0
  2150. if (
  2151. 'children' in this.doctor_advices[index] &&
  2152. this.doctor_advices[index].children.length > 0
  2153. ) {
  2154. new_advice_index =
  2155. index + this.doctor_advices[index].children.length + 1
  2156. var doctor_advice = {
  2157. delivery_way: this.doctor_advices[index].delivery_way,
  2158. execution_frequency: this.doctor_advices[index]
  2159. .execution_frequency,
  2160. groupno: this.doctor_advices[index].groupno,
  2161. id: this.doctor_advices[index].id,
  2162. parent_id: this.doctor_advices[index].parent_id,
  2163. children: this.doctor_advices[index].children,
  2164. remark: this.doctor_advices[index].remark
  2165. }
  2166. doctor_advice['isShow'] = 1
  2167. this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  2168. // this.doctor_advices.push(doctor_advice)
  2169. }
  2170. }
  2171. for (let index = 0; index < this.doctor_advices.length; index++) {
  2172. const advice = this.doctor_advices[index]
  2173. if (advice.groupno == 0) {
  2174. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  2175. if (advice.parent_id > 0) {
  2176. if (this.advice_groups.length > 0) {
  2177. var parent_group = this.advice_groups[
  2178. this.advice_groups.length - 1
  2179. ]
  2180. if (parent_group.advices.length > 0) {
  2181. if (parent_group.advices[0].id == advice.parent_id) {
  2182. parent_group.advices.push(advice)
  2183. }
  2184. }
  2185. }
  2186. continue
  2187. } else {
  2188. if (group.group_no > 0) {
  2189. this.advice_groups.push(group)
  2190. group = this.newAdviceGroupObject()
  2191. }
  2192. initGroupBlock(group, advice)
  2193. group.advices.push(advice)
  2194. this.advice_groups.push(group)
  2195. group = this.newAdviceGroupObject()
  2196. continue
  2197. }
  2198. }
  2199. if (group.group_no > 0 && group.group_no != advice.groupno) {
  2200. this.advice_groups.push(group)
  2201. group = this.newAdviceGroupObject()
  2202. }
  2203. if (group.group_no == 0) {
  2204. initGroupBlock(group, advice)
  2205. }
  2206. if (group.group_no == advice.groupno) {
  2207. group.advices.push(advice)
  2208. }
  2209. }
  2210. if (group.group_no > 0) {
  2211. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  2212. this.advice_groups.push(group)
  2213. }
  2214. }
  2215. console.log(this.advice_groups)
  2216. } else {
  2217. this.loading = false
  2218. this.$message.error('请求数据失败')
  2219. return false
  2220. }
  2221. })
  2222. },
  2223. bloodAccessParOperaName(id) {
  2224. if (id in this.bloodAccessParOpera) {
  2225. return this.bloodAccessParOpera[id].name
  2226. }
  2227. return ''
  2228. },
  2229. dialysateFormulationName(id) {
  2230. if (id in this.dialysateFormulationOptions) {
  2231. return this.dialysateFormulationOptions[id].name
  2232. }
  2233. return ''
  2234. },
  2235. getAge: function(val) {
  2236. if (val.birthday != 0) {
  2237. return jsGetAge(val.birth, '-')
  2238. }
  2239. return ''
  2240. },
  2241. newAdviceGroupObject: function() {
  2242. return Object.assign(
  2243. {},
  2244. {
  2245. group_no: 0,
  2246. // advice_doctor: 0,
  2247. // start_time: 0,
  2248. advices: []
  2249. // exec_staff: 0,
  2250. // exec_time: 0,
  2251. // checker: 0,
  2252. }
  2253. )
  2254. }
  2255. },
  2256. watch: {
  2257. 'patientInfo.gender': function() {
  2258. if (this.patientInfo.gender == 1) {
  2259. this.patientInfo_gender_1 = true
  2260. this.patientInfo_gender_2 = false
  2261. } else if (this.patientInfo.gender == 2) {
  2262. this.patientInfo_gender_2 = true
  2263. this.patientInfo_gender_1 = false
  2264. } else {
  2265. this.patientInfo_gender_2 = false
  2266. this.patientInfo_gender_1 = false
  2267. }
  2268. },
  2269. 'patientInfo.source': function() {
  2270. if (this.patientInfo.source == 1) {
  2271. this.patientInfo_source_1 = true
  2272. this.patientInfo_source_2 = false
  2273. } else if (this.patientInfo.source == 2) {
  2274. this.patientInfo_source_2 = true
  2275. this.patientInfo_source_1 = false
  2276. } else {
  2277. this.patientInfo_source_2 = false
  2278. this.patientInfo_source_1 = false
  2279. }
  2280. }
  2281. },
  2282. created() {
  2283. var xtuser = this.$store.getters.xt_user
  2284. this.orgname = xtuser.org.org_name
  2285. // this.orgname = "遂溪方济医院";
  2286. this.modeOptions = this.$store.getters.treatment_mode
  2287. this.replacementWays = this.$store.getters.replacement_ways
  2288. this.perfusionApparatus = this.$store.getters.perfusion_apparatus
  2289. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
  2290. this.way_arr = getDataConfig('hemodialysis', 'way')
  2291. this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
  2292. this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
  2293. this.posture_arr = getDataConfig('hemodialysis', 'posture')
  2294. this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
  2295. this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
  2296. this.intake_arr = getDataConfig('hemodialysis', 'intake')
  2297. this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
  2298. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  2299. var bloodAccessParOpera = getDataConfig(
  2300. 'hemodialysis',
  2301. 'vascular_access_desc'
  2302. )
  2303. for (var key in bloodAccessParOpera) {
  2304. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  2305. bloodAccessParOpera[key]
  2306. }
  2307. var dialysateFormulationOptions = getDataConfig(
  2308. 'hemodialysis',
  2309. 'dialysate_formulation'
  2310. )
  2311. for (var key in dialysateFormulationOptions) {
  2312. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  2313. dialysateFormulationOptions[key]
  2314. }
  2315. const xtdate = this.$route.query && this.$route.query.xtdate
  2316. const xtno = this.$route.query && this.$route.query.xtno
  2317. if (
  2318. typeof xtdate === 'string' &&
  2319. xtdate.length > 0 &&
  2320. typeof xtno === 'string' &&
  2321. xtno.length > 0
  2322. ) {
  2323. this.queryParams.xtdate = xtdate
  2324. this.queryParams.xtno = xtno
  2325. this.getDialysisRecord()
  2326. } else {
  2327. this.$message.error('参数不齐')
  2328. return false
  2329. }
  2330. }
  2331. }
  2332. </script>
  2333. <style>
  2334. .dialysis-print-order {
  2335. width: 960px;
  2336. margin: 0 auto;
  2337. }
  2338. .dialysis-print-order .order-yy-name {
  2339. margin: auto;
  2340. text-align: center;
  2341. font-size: 20px;
  2342. letter-spacing: 5px;
  2343. }
  2344. .dialysis-print-order .order-title {
  2345. margin: auto;
  2346. font-weight: 600;
  2347. text-align: center;
  2348. font-size: 22px;
  2349. padding: 10px 20px 0px 20px;
  2350. }
  2351. .dialysis-print-order .table-box {
  2352. width: 100%;
  2353. line-height: 23px;
  2354. font-size: 14px;
  2355. }
  2356. .dialysis-print-order .print-table {
  2357. width: 100%;
  2358. text-align: center;
  2359. border-collapse: collapse;
  2360. line-height: 40px;
  2361. font-size: 14px;
  2362. }
  2363. .dialysis-print-order .print-table-no {
  2364. width: 100%;
  2365. text-align: center;
  2366. border-collapse: collapse;
  2367. font-size: 14px;
  2368. }
  2369. .dialysis-print-order .under-line {
  2370. border-bottom: 1px solid #999;
  2371. width: 95%;
  2372. text-align: center;
  2373. margin-left: 2px;
  2374. }
  2375. .dialysis-print-order .title-box {
  2376. text-align: center;
  2377. font-size: 14px;
  2378. }
  2379. .dialysis-print-order .radio-lebel-box {
  2380. font-weight: 400;
  2381. cursor: pointer;
  2382. }
  2383. .dialysis-print-order .radio-no {
  2384. opacity: 0;
  2385. outline: none;
  2386. position: absolute;
  2387. margin: 0;
  2388. width: 0;
  2389. height: 0;
  2390. z-index: -1;
  2391. }
  2392. .dialysis-print-order .radio-inner {
  2393. white-space: nowrap;
  2394. cursor: pointer;
  2395. outline: none;
  2396. display: inline-block;
  2397. line-height: 1;
  2398. position: relative;
  2399. vertical-align: middle;
  2400. }
  2401. .dialysis-print-order .radio-fang {
  2402. display: inline-block;
  2403. position: relative;
  2404. border: 1px solid #000;
  2405. box-sizing: border-box;
  2406. width: 14px !important;
  2407. height: 14px !important;
  2408. background-color: #fff;
  2409. z-index: 1;
  2410. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  2411. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  2412. }
  2413. .dialysis-print-order .is-checked-radio::after {
  2414. content: "√";
  2415. font-size: 19px;
  2416. }
  2417. .dialysis-print-order .print-table-no tr td {
  2418. padding: 8px 5px;
  2419. line-height: 25px;
  2420. }
  2421. .dialysis-print-order .print-table tr td {
  2422. padding: 1px 1px;
  2423. /*line-height: 25px;*/
  2424. }
  2425. .es-img {
  2426. height: 25px;
  2427. }
  2428. .advice-name {
  2429. text-align: left;
  2430. }
  2431. .advice-children {
  2432. display: flex;
  2433. }
  2434. .title-box-pro {
  2435. border: 0 #fff;
  2436. line-height: 25px;
  2437. height: 25px;
  2438. text-align: left;
  2439. padding-left: 10px !important;
  2440. }
  2441. .title-box-pro-tr {
  2442. border: 0 #fff;
  2443. }
  2444. .text-align-left {
  2445. text-align: left !important;
  2446. padding-left: 10px !important;
  2447. font-size: 14px !important;
  2448. line-height: 25px;
  2449. }
  2450. .print-table-tr-new td {
  2451. line-height: 20px !important;
  2452. }
  2453. .border-top-solid {
  2454. border: solid 1px #000;
  2455. }
  2456. .print-template-two tr {
  2457. line-height: 30px;
  2458. }
  2459. </style>