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

DialysisPrintOrderTwentyEight.vue 113KB

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