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

DialysisPrintOrderTwentyEight.vue 112KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632
  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. <td width="50">去向:</td>
  1127. <td width="200">
  1128. <div style="display:flex;justify-content:space-between;">
  1129. <label-box :isChecked="afterdialysis.patient_gose == 1 ? true : false" showValue="回家"></label-box>
  1130. <label-box :isChecked="afterdialysis.patient_gose == 2 ? true : false" showValue="留观"></label-box>
  1131. <label-box :isChecked="afterdialysis.patient_gose == 3 ? true : false" showValue="住院"></label-box>
  1132. </div>
  1133. </td>
  1134. <td>
  1135. <div class="under-line">&nbsp;</div>
  1136. </td>
  1137. </tr>
  1138. </tbody>
  1139. </table>
  1140. <!-- <table class="table-box">
  1141. <tbody>
  1142. <tr>
  1143. <td width="530">
  1144. <label-box
  1145. :isChecked="
  1146. afterdialysis.patient_gose == 3 &&
  1147. afterdialysis.observation_content.indexOf(
  1148. '内瘘搏动/渗血'
  1149. ) > -1
  1150. ? true
  1151. : false
  1152. "
  1153. showValue="内瘘搏动/渗血"
  1154. ></label-box>
  1155. <label-box
  1156. :isChecked="
  1157. afterdialysis.patient_gose == 3 &&
  1158. afterdialysis.observation_content.indexOf(
  1159. '导管固定/穿刺口渗血'
  1160. ) > -1
  1161. ? true
  1162. : false
  1163. "
  1164. showValue="导管固定/穿刺口渗血"
  1165. ></label-box>
  1166. <label-box
  1167. :isChecked="
  1168. afterdialysis.patient_gose == 3 &&
  1169. afterdialysis.observation_content.indexOf(
  1170. '动静脉直接穿刺口渗血/肢端循环情况'
  1171. ) > -1
  1172. ? true
  1173. : false
  1174. "
  1175. showValue="动静脉直接穿刺口渗血/肢端循环情况"
  1176. ></label-box>
  1177. </td>
  1178. <td width="40">其他:</td>
  1179. <td width="">
  1180. <div class="under-line">
  1181. &nbsp;
  1182. <span v-if="afterdialysis.patient_gose == 3"
  1183. >{{ afterdialysis.observation_content_other }}
  1184. </span>
  1185. </div>
  1186. </td>
  1187. </tr>
  1188. </tbody>
  1189. </table> -->
  1190. <!-- <table class="table-box">
  1191. <tbody>
  1192. <tr>
  1193. <td width="150">当班责任(核对)护士:</td>
  1194. <td width="100">
  1195. <div class="under-line">
  1196. <span
  1197. v-if="setAdminUserES(afterdialysis.creater) == ''"
  1198. >{{ getAdminUser(afterdialysis.creater) }}</span
  1199. >
  1200. <img
  1201. class="es-img"
  1202. :src="setAdminUserES(afterdialysis.creater)"
  1203. alt=""
  1204. srcset=""
  1205. v-else
  1206. />
  1207. </div>
  1208. </td>
  1209. <td width=""></td>
  1210. <td width="70">下机护士:</td>
  1211. <td width="100">
  1212. <div class="under-line">
  1213. <span
  1214. v-if="
  1215. setAdminUserES(
  1216. dialysisOrder == null
  1217. ? 0
  1218. : dialysisOrder.finish_nurse
  1219. ) == ''
  1220. "
  1221. >{{
  1222. getAdminUser(
  1223. dialysisOrder == null
  1224. ? 0
  1225. : dialysisOrder.finish_nurse
  1226. )
  1227. }}</span
  1228. >
  1229. <img
  1230. class="es-img"
  1231. :src="
  1232. setAdminUserES(
  1233. dialysisOrder == null
  1234. ? 0
  1235. : dialysisOrder.finish_nurse
  1236. )
  1237. "
  1238. alt=""
  1239. srcset=""
  1240. v-else
  1241. />
  1242. </div>
  1243. </td>
  1244. </tr>
  1245. </tbody>
  1246. </table> -->
  1247. </td>
  1248. </tr>
  1249. </tbody>
  1250. </table>
  1251. <table class="table-box" style="margin-top: 10px;">
  1252. <tbody>
  1253. <tr>
  1254. <td width="300"></td>
  1255. <td width="50">医生</td>
  1256. <td width="80">
  1257. <div class="under-line">
  1258. &nbsp;
  1259. <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
  1260. <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
  1261. </div>
  1262. </td>
  1263. <td width="90">责任护士</td>
  1264. <td width="80">
  1265. <div class="under-line">
  1266. &nbsp;
  1267. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
  1268. <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" 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.puncture_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.puncture_nurse)}}</span>
  1276. <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_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="(dialysisOrder==null?0:dialysisOrder.start_nurse) != check.modifier">
  1284. <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
  1285. {{ getAdminUser(check == null ? 0 : check.modifier) }}
  1286. </span>
  1287. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.modifier)" alt srcset v-else />
  1288. </span>
  1289. <span v-else>
  1290. <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
  1291. {{ getAdminUser(check == null ? 0 : check.creater) }}
  1292. </span>
  1293. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt srcset v-else />
  1294. </span>
  1295. </div>
  1296. </td>
  1297. </tr>
  1298. </tbody>
  1299. </table>
  1300. <!-- <table class="print-table-no" border="1" count="0">
  1301. <tbody>
  1302. <tr>
  1303. <td width="40px">时间</td>
  1304. <td width="120px">医嘱<br />内容</td>
  1305. <td width="80px">医生<br />签名</td>
  1306. <td width="80px">执行<br />护士</td>
  1307. <td width="55px">执行<br />时间</td>
  1308. <td width="75px">核对<br />护士</td>
  1309. <td width="10px"></td>
  1310. <td width="40px">时间</td>
  1311. <td width="120px">医嘱<br />内容</td>
  1312. <td width="80px">医生<br />签名</td>
  1313. <td width="80px">执行<br />护士</td>
  1314. <td width="55px">执行<br />时间</td>
  1315. <td width="75px">核对<br />护士</td>
  1316. </tr>
  1317. <tr v-for="(advice, index) in advices" :key="index">
  1318. <td height="10px">
  1319. <span v-if="advice[0].start_time">
  1320. {{ getTime(advice[0].start_time, "{h}:{i}") }}
  1321. </span>
  1322. <span v-else>&nbsp;<br />&nbsp;</span>
  1323. </td>
  1324. <td class="advice-name">
  1325. <span v-if="advice[0].parent_id > 0">└</span>
  1326. <span>{{ advice[0].advice_name }}</span>
  1327. <span v-if="advice[0].advice_desc"
  1328. >{{ advice[0].advice_desc }}{{ advice[0].drug_spec_unit }}</span
  1329. >
  1330. <span v-if="advice[0].prescribing_number"
  1331. >* {{ advice[0].prescribing_number
  1332. }}{{ advice[0].prescribing_number_unit }}</span
  1333. >
  1334. <span v-if="advice[0].single_dose != 0"
  1335. >单次用量 {{ advice[0].single_dose
  1336. }}{{ advice[0].single_dose_unit }}</span
  1337. >
  1338. <span>{{ advice[0].delivery_way }}</span>
  1339. <span>{{ advice[0].execution_frequency }}</span>
  1340. <div
  1341. v-for="(child, childindex) in advice[0].children"
  1342. :key="childindex"
  1343. class="advice-children"
  1344. >
  1345. <div>▲</div>
  1346. <div>
  1347. <span>{{ child.advice_name }}</span>
  1348. <span v-if="child.advice_desc"
  1349. >{{ child.advice_desc }}{{ child.drug_spec_unit }}</span
  1350. >
  1351. <span v-if="child.prescribing_number"
  1352. >* {{ child.prescribing_number
  1353. }}{{ child.prescribing_number_unit }}</span
  1354. >
  1355. <span v-if="child.single_dose != 0"
  1356. >单次用量 {{ child.single_dose
  1357. }}{{ child.single_dose_unit }}</span
  1358. >
  1359. </div>
  1360. </div>
  1361. </td>
  1362. <td>
  1363. <span v-if="setAdminUserES(advice[0].advice_doctor) == ''">{{
  1364. getAdminUser(advice[0].advice_doctor)
  1365. }}</span>
  1366. <img
  1367. class="es-img"
  1368. :src="setAdminUserES(advice[0].advice_doctor)"
  1369. alt=""
  1370. srcset=""
  1371. v-else
  1372. />
  1373. </td>
  1374. <td>
  1375. <span v-if="setAdminUserES(advice[0].execution_staff) == ''">{{
  1376. getAdminUser(advice[0].execution_staff)
  1377. }}</span>
  1378. <img
  1379. class="es-img"
  1380. :src="setAdminUserES(advice[0].execution_staff)"
  1381. alt=""
  1382. srcset=""
  1383. v-else
  1384. />
  1385. </td>
  1386. <td>
  1387. <span v-if="advice[0].execution_time">
  1388. {{ getTime(advice[0].execution_time, "{h}:{i}") }}
  1389. </span>
  1390. </td>
  1391. <td>
  1392. <span v-if="setAdminUserES(advice[0].checker) == ''">{{
  1393. getAdminUser(advice[0].checker)
  1394. }}</span>
  1395. <img
  1396. class="es-img"
  1397. :src="setAdminUserES(advice[0].checker)"
  1398. alt=""
  1399. srcset=""
  1400. v-else
  1401. />
  1402. </td>
  1403. <td></td>
  1404. <td v-if="advice[1] != undefined">
  1405. <span v-if="advice[1].start_time">
  1406. {{ getTime(advice[1].start_time, "{h}:{i}") }}
  1407. </span>
  1408. </td>
  1409. <td v-else>
  1410. <span></span>
  1411. </td>
  1412. <td class="advice-name" v-if="advice[1] != undefined">
  1413. <span>{{ advice[1].advice_name }}</span>
  1414. <span
  1415. >{{ advice[1].advice_desc }}{{ advice[1].drug_spec_unit }}</span
  1416. >
  1417. <span v-if="advice[1].prescribing_number"
  1418. >* {{ advice[1].prescribing_number
  1419. }}{{ advice[1].prescribing_number_unit }}</span
  1420. >
  1421. <span v-if="advice[1].single_dose != 0"
  1422. >单次用量 {{ advice[1].single_dose
  1423. }}{{ advice[1].single_dose_unit }}</span
  1424. >
  1425. <span>{{ advice[1].delivery_way }}</span>
  1426. <span>{{ advice[1].execution_frequency }}</span>
  1427. <div
  1428. v-for="(child, childindex) in advice[1].children"
  1429. :key="childindex"
  1430. class="advice-children"
  1431. >
  1432. <div>▲</div>
  1433. <div>
  1434. <span>{{ child.advice_name }}</span>
  1435. <span>{{ child.advice_desc }}</span>
  1436. <span v-if="child.advice_desc"
  1437. >{{ child.advice_desc }}{{ child.drug_spec_unit }}</span
  1438. >
  1439. <span v-if="child.prescribing_number"
  1440. >* {{ child.prescribing_number
  1441. }}{{ child.prescribing_number_unit }}</span
  1442. >
  1443. <span v-if="child.single_dose != 0"
  1444. >单次用量 {{ child.single_dose
  1445. }}{{ child.single_dose_unit }}</span
  1446. >
  1447. </div>
  1448. </div>
  1449. </td>
  1450. <td v-else>
  1451. <span></span>
  1452. </td>
  1453. <td v-if="advice[1] != undefined">
  1454. <span v-if="setAdminUserES(advice[1].advice_doctor) == ''">{{
  1455. getAdminUser(advice[1].advice_doctor)
  1456. }}</span>
  1457. <img
  1458. class="es-img"
  1459. :src="setAdminUserES(advice[1].advice_doctor)"
  1460. alt=""
  1461. srcset=""
  1462. v-else
  1463. />
  1464. </td>
  1465. <td v-else>
  1466. <span></span>
  1467. </td>
  1468. <td v-if="advice[1] != undefined">
  1469. <span v-if="setAdminUserES(advice[1].execution_staff) == ''">{{
  1470. getAdminUser(advice[1].execution_staff)
  1471. }}</span>
  1472. <img
  1473. class="es-img"
  1474. :src="setAdminUserES(advice[1].execution_staff)"
  1475. alt=""
  1476. srcset=""
  1477. v-else
  1478. />
  1479. </td>
  1480. <td v-else>
  1481. <span></span>
  1482. </td>
  1483. <td v-if="advice[1] != undefined">
  1484. <span v-if="advice[1].execution_time">{{
  1485. getTime(advice[1].execution_time, "{h}:{i}")
  1486. }}</span>
  1487. </td>
  1488. <td v-else>
  1489. <span></span>
  1490. </td>
  1491. <td v-if="advice[1] != undefined">
  1492. <span v-if="setAdminUserES(advice[1].checker) == ''">{{
  1493. getAdminUser(advice[1].checker)
  1494. }}</span>
  1495. <img
  1496. class="es-img"
  1497. :src="setAdminUserES(advice[1].checker)"
  1498. alt=""
  1499. srcset=""
  1500. v-else
  1501. />
  1502. </td>
  1503. <td v-else>
  1504. <span></span>
  1505. </td>
  1506. </tr>
  1507. </tbody>
  1508. </table> -->
  1509. <!-- <table class="table-box" style="margin-top: 10px;">
  1510. <tbody>
  1511. <tr>
  1512. <td width="" style="font-size:13px">
  1513. 注:透析器凝血评价标准:“0 级” 无凝血或数条纤维束凝血,“Ⅰ 级”
  1514. 少于10%纤维凝血,“Ⅱ 级” 少于50%纤维凝血,“Ⅲ 级” 大于50%纤维凝血。
  1515. </td>
  1516. </tr>
  1517. </tbody>
  1518. </table> -->
  1519. </div>
  1520. </div>
  1521. </div>
  1522. </template>
  1523. <script>
  1524. import { getDialysisRecord } from '@/api/dialysis'
  1525. import { getDataConfig } from '@/utils/data'
  1526. import { jsGetAge, uParseTime } from '@/utils/tools'
  1527. import LabelBox from '../printItem/LabelBox'
  1528. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  1529. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  1530. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  1531. import print from 'print-js'
  1532. export default {
  1533. name: 'dialysisPrintOrderOne',
  1534. components: {
  1535. // DialysisPrintOrderOne,
  1536. // DialysisPrintOrderTwo,
  1537. LabelBox,
  1538. BreadCrumb
  1539. },
  1540. data() {
  1541. return {
  1542. way_arr: [],
  1543. consciousness_arr: [],
  1544. appetite_arr: [],
  1545. posture_arr: [],
  1546. sick_condition_arr: [],
  1547. precaution_arr: [],
  1548. intake_arr: [],
  1549. nutrition_arr: [],
  1550. crumbs: [
  1551. { path: false, name: '透析管理' },
  1552. { path: false, name: '打印单' }
  1553. ],
  1554. operators: [],
  1555. adminUser: [],
  1556. check: {},
  1557. dialysisOrder: {
  1558. DeviceNumber: []
  1559. },
  1560. operatorMaps: {},
  1561. complications: [
  1562. '低血压',
  1563. '高血压',
  1564. '心律失常',
  1565. '头晕',
  1566. '头痛',
  1567. '呕吐',
  1568. '抽搐',
  1569. '出血',
  1570. '心衰',
  1571. '腹痛',
  1572. '无'
  1573. ],
  1574. jilurow: 0,
  1575. advice_jilurow: 0,
  1576. loading: false,
  1577. orgname: '',
  1578. patientInfo_gender_1: false,
  1579. patientInfo_gender_2: false,
  1580. patientInfo_source_2: false,
  1581. patientInfo_source_1: false,
  1582. modeOptions: {},
  1583. replacementWays: [],
  1584. perfusionApparatus: [],
  1585. anticoagulantsConfit: {},
  1586. bloodAccessParOpera: {},
  1587. dialysateFormulationOptions: {},
  1588. queryParams: {
  1589. xtdate: '',
  1590. xtno: ''
  1591. },
  1592. patientInfo: {
  1593. birth: '',
  1594. age: '',
  1595. DialysisSchedule: {
  1596. device_number: { number: '' },
  1597. device_zone: { name: '' }
  1598. },
  1599. gender: 0
  1600. },
  1601. predialysis: {
  1602. score: '',
  1603. internal_fistula: '',
  1604. internal_fistula_skin: '',
  1605. catheter: '',
  1606. blood_access_part_opera_name: ''
  1607. },
  1608. afterdialysis: {
  1609. complications_index: ''
  1610. },
  1611. prescription: {
  1612. dialysate_formulation_name: '',
  1613. device: {}
  1614. },
  1615. advices: [],
  1616. users: [],
  1617. monitors: [],
  1618. summary: {},
  1619. receiverTreatmentAccess: {},
  1620. org_template_info: {},
  1621. isShowZero: false,
  1622. doctor_advices: [],
  1623. advice_groups: [],
  1624. AlPanel: {
  1625. id: 0,
  1626. name: '',
  1627. type: 1,
  1628. shouji: 2,
  1629. weichi: 2,
  1630. zongliang: 2,
  1631. gaimingcheng: -1,
  1632. gaijiliang: -1,
  1633. shouji_unit: 'mg',
  1634. weichi_unit: 'mg/h',
  1635. zongliang_unit: 'mg',
  1636. gaimingcheng_unit: '',
  1637. gaijiliang_unit: ''
  1638. },
  1639. doctorForm: {
  1640. doctor: '',
  1641. url: ''
  1642. }
  1643. }
  1644. },
  1645. methods: {
  1646. checkData(){
  1647. if(this.receiverTreatmentAccess.way == 0){
  1648. this.$message.error('入科方式未填')
  1649. }else if(this.receiverTreatmentAccess.consciousness == 0){
  1650. this.$message.error('意识未填')
  1651. }else if(this.predialysis.dialysis_count == 0){
  1652. this.$message.error('透析频次未填')
  1653. }else if(this.predialysis.temperature == ""){
  1654. this.$message.error('透前体温未填')
  1655. }else if(this.predialysis.pulse_frequency == ""){
  1656. this.$message.error('透前脉搏未填')
  1657. }else if(this.predialysis.systolic_blood_pressure == 0 || this.predialysis.diastolic_blood_pressure == 0){
  1658. this.$message.error('透前血压未填完整')
  1659. }else if(this.predialysis.catheter == ''){
  1660. this.$message.error('导管穿刺口未填')
  1661. }else if(this.receiverTreatmentAccess.posture == 0){
  1662. this.$message.error('体位未填')
  1663. }else if(this.predialysis.internal_fistula == ''){
  1664. this.$message.error('内瘘评估震颤未填')
  1665. }else if(this.predialysis.internal_fistula_skin == ''){
  1666. this.$message.error('内瘘皮肤情况未填')
  1667. }else if(this.predialysis.skin == ''){
  1668. this.$message.error('皮肤未填')
  1669. }else if(this.predialysis.is_hemorrhage == 0){
  1670. this.$message.error('活动性出血未填')
  1671. }else if(this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == ""){
  1672. this.$message.error('活动性出血选项未填')
  1673. }else if(this.predialysis.blood_access_part_opera_name == ''){
  1674. this.$message.error('血管通路未填')
  1675. }else if(this.predialysis.puncture_way == ''){
  1676. this.$message.error('穿刺方式未填')
  1677. }else if(this.predialysis.puncture_needle == ''){
  1678. this.$message.error('穿刺针未填')
  1679. }else if(this.predialysis.weight_before == 0){
  1680. this.$message.error('透前体重未填')
  1681. }else if(this.predialysis.dry_weight == 0){
  1682. this.$message.error('干体重未填')
  1683. }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
  1684. this.$message.error('计划治疗时间未填')
  1685. }else if(this.prescription.target_ultrafiltration == 0){
  1686. this.$message.error('计划超滤总量未填')
  1687. }else if(this.prescription.replacement_total == ""){
  1688. this.$message.error('置换量未填')
  1689. }else if(this.prescription.mode_id == ""){
  1690. this.$message.error('透析方式未填')
  1691. }else if(this.prescription.dialyzer_perfusion_apparatus == ""){
  1692. this.$message.error('透析器型号未填')
  1693. }else if(this.prescription.anticoagulant == 0){
  1694. this.$message.error('肝素未填')
  1695. }else if(this.prescription.dialysate_formulation_name == ""){
  1696. this.$message.error('透析液配方未填')
  1697. }else if(this.afterdialysis.hemostasis_opera == 0){
  1698. this.$message.error('拔针压迫未填')
  1699. }else if(this.afterdialysis.internal_fistula == ''){
  1700. this.$message.error('透后内瘘震颤未填')
  1701. }else if(this.afterdialysis.puncture_point_oozing_blood == 0){
  1702. this.$message.error('拔针后穿刺点渗血未填')
  1703. }else if(this.afterdialysis.puncture_point_haematoma == 0){
  1704. this.$message.error('穿刺处血肿未填')
  1705. }else if(this.afterdialysis.cvc_a == 0){
  1706. this.$message.error('A端未填')
  1707. }else if(this.afterdialysis.cvc_v == 0){
  1708. this.$message.error('V端未填')
  1709. }else if(this.afterdialysis.cruor == ""){
  1710. this.$message.error('透析器凝血未填')
  1711. }else if(this.afterdialysis.arterial_tube == 0){
  1712. this.$message.error('动脉管道未填')
  1713. }else if(this.afterdialysis.intravenous_tube == 0){
  1714. this.$message.error('静脉管道未填')
  1715. }else if(this.afterdialysis.complication == ""){
  1716. this.$message.error('透后并发症未填')
  1717. }else if(this.afterdialysis.weight_after == 0){
  1718. this.$message.error('透后体重未填')
  1719. }else if(this.afterdialysis.actual_ultrafiltration == 0){
  1720. this.$message.error('实际超滤总量未填')
  1721. }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
  1722. this.$message.error('实际治疗时间未填')
  1723. }else if(this.afterdialysis.patient_gose == 0){
  1724. this.$message.error('去向未填')
  1725. }else if(this.prescription.prescription_doctor == 0){
  1726. this.$message.error('医生未填')
  1727. }else if(this.dialysisOrder.start_nurse == 0){
  1728. this.$message.error('责任护士未填')
  1729. }else if(this.dialysisOrder == null || this.dialysisOrder.puncture_nurse == 0){
  1730. this.$message.error('穿刺护士未填')
  1731. }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0){
  1732. this.$message.error('核对护士未填')
  1733. }else if(this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0){
  1734. this.$message.error('核对护士未填')
  1735. }else if(this.tableAdvice.length > 0){
  1736. let num = 0
  1737. if(this.tableAdvice.length > 0){
  1738. this.tableAdvice.map(item => {
  1739. if(item.id > 0 && (item.created_time || item.start_time)){
  1740. this.users.map(it => {
  1741. if(it.id == item.advice_doctor){
  1742. if(it.user_type == 3){
  1743. num++
  1744. this.$message.error('存在不是医生保存的医嘱')
  1745. }else if(it.id == item.execution_staff && item.execution_staff > 0){
  1746. if(it.user_type == 2){
  1747. num++
  1748. this.$message.error('存在不是护士执行的医嘱')
  1749. }
  1750. }else if(it.id == item.checker && item.checker > 0){
  1751. if(it.user_type == 2){
  1752. num++
  1753. this.$message.error('存在不是护士核对的医嘱')
  1754. }
  1755. }
  1756. }else if(it.id == item.execution_staff && item.execution_staff > 0){
  1757. if(it.user_type == 2){
  1758. num++
  1759. this.$message.error('存在不是护士执行的医嘱')
  1760. }
  1761. }else if(it.id == item.checker && item.checker > 0){
  1762. if(it.user_type == 2){
  1763. num++
  1764. this.$message.error('存在不是护士核对的医嘱')
  1765. }
  1766. }
  1767. })
  1768. }
  1769. })
  1770. }
  1771. if(num == 0){
  1772. this.$message.success('核对完成')
  1773. }
  1774. }else{
  1775. this.$message.success('核对完成')
  1776. }
  1777. },
  1778. getComplication(complication){
  1779. if(complication.indexOf(',') == -1){
  1780. let str = complication
  1781. if(['无','头晕','头痛','呕吐','低血压','发热','抽搐','高血压','心律失常'].indexOf(str) == -1){
  1782. return str
  1783. }
  1784. }else if(complication.indexOf(',') > -1){
  1785. let str = complication
  1786. if(['无','头晕','头痛','呕吐','低血压','发热','抽搐','高血压','心律失常'].indexOf(str) == -1){
  1787. let newStr = ''
  1788. str.split(',').map(item => {
  1789. if(['无','头晕','头痛','呕吐','低血压','发热','抽搐','高血压','心律失常'].indexOf(item) == -1){
  1790. newStr += item + ','
  1791. }
  1792. })
  1793. return newStr.substring(0, newStr.length - 1)
  1794. }
  1795. }
  1796. },
  1797. getAdminUser(id) {
  1798. if (id == 0) {
  1799. return ''
  1800. }
  1801. if (id == undefined) {
  1802. return ''
  1803. }
  1804. for (let i = 0; i < this.adminUser.length; i++) {
  1805. if (this.adminUser[i].id == id) {
  1806. return this.adminUser[i].name
  1807. }
  1808. }
  1809. },
  1810. getTime(value, temp) {
  1811. if (value == 0) {
  1812. return ''
  1813. }
  1814. if (value != undefined) {
  1815. return uParseTime(value, temp)
  1816. }
  1817. return ''
  1818. },
  1819. printThisPage() {
  1820. var ptime = Math.round(new Date().getTime() / 1000)
  1821. this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
  1822. const style =
  1823. '@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;}'
  1824. if (this.org_template_info.template_id == 1) {
  1825. printJS({
  1826. printable: 'dialysis-print-box',
  1827. type: 'html',
  1828. style: style,
  1829. scanStyles: false
  1830. })
  1831. } else if (
  1832. this.org_template_info.template_id == 2 ||
  1833. this.org_template_info.template_id == 0
  1834. ) {
  1835. printJS({
  1836. printable: 'dialysis-print-box-1',
  1837. type: 'html',
  1838. style: style,
  1839. scanStyles: false
  1840. })
  1841. }
  1842. },
  1843. getNumber() {
  1844. if (this.dialysisOrder != null) {
  1845. if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
  1846. return (
  1847. this.patientInfo.DialysisSchedule.device_zone.name +
  1848. this.dialysisOrder.DeviceNumber.number
  1849. );
  1850. } else {
  1851. return (
  1852. this.patientInfo.DialysisSchedule.device_zone.name + "区" +
  1853. this.dialysisOrder.DeviceNumber.number
  1854. );
  1855. }
  1856. } else {
  1857. if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
  1858. return (
  1859. this.patientInfo.DialysisSchedule.device_zone.name +
  1860. this.patientInfo.DialysisSchedule.device_number.number
  1861. );
  1862. }else{
  1863. return (
  1864. this.patientInfo.DialysisSchedule.device_zone.name + "区" +
  1865. this.patientInfo.DialysisSchedule.device_number.number
  1866. );
  1867. }
  1868. }
  1869. },
  1870. getXuserName(id) {
  1871. if (id <= 0) {
  1872. return ''
  1873. }
  1874. var name = ''
  1875. if (this.users == null || typeof this.users.length === 'undefined') {
  1876. return name
  1877. }
  1878. var leng = this.users.length
  1879. if (leng == 0) {
  1880. return name
  1881. }
  1882. for (let index = 0; index < leng; index++) {
  1883. if (this.users[index].id == id) {
  1884. name = this.users[index].name
  1885. break
  1886. }
  1887. }
  1888. return name
  1889. },
  1890. setAdminUserES(id) {
  1891. if (id == 0) {
  1892. return ''
  1893. }
  1894. if (id in this.operatorMaps) {
  1895. return this.operatorMaps[id].url
  1896. } else {
  1897. return ''
  1898. }
  1899. },
  1900. modeName(mode_id) {
  1901. return typeof this.modeOptions[mode_id] !== 'undefined' &&
  1902. typeof this.modeOptions[mode_id].name !== 'undefined'
  1903. ? this.modeOptions[mode_id].name
  1904. : ''
  1905. },
  1906. getDialysisRecord() {
  1907. this.loading = true
  1908. getDialysisRecord(this.queryParams).then(response => {
  1909. if (response.data.state == 1) {
  1910. this.adminUser = response.data.data.users
  1911. this.users = response.data.data.users
  1912. this.patientInfo = response.data.data.patientInfo
  1913. this.patientInfo.birth = uParseTime(
  1914. this.patientInfo.birthday,
  1915. '{y}-{m}-{d}'
  1916. )
  1917. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1918. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1919. this.patientInfo.first_dialysis_date = uParseTime(
  1920. response.data.data.patientInfo.first_dialysis_date,
  1921. '{y}-{m}-{d}'
  1922. )
  1923. } else {
  1924. this.patientInfo.first_dialysis_date = ''
  1925. }
  1926. this.check = response.data.data.check
  1927. this.predialysis = response.data.data.PredialysisEvaluation
  1928. console.log(11111111111111111111111, this.predialysis)
  1929. this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
  1930. this.predialysis.blood_access_part_opera_id
  1931. )
  1932. this.afterdialysis = response.data.data.AssessmentAfterDislysis
  1933. console.log(22222222222222222222222222, response.data.data)
  1934. this.operators = response.data.data.operators
  1935. this.dialysisOrder =
  1936. response.data.data.dialysisOrder === null
  1937. ? null
  1938. : response.data.data.dialysisOrder
  1939. // 医生
  1940. var doctorname = response.data.data.DoctorName
  1941. // console.log('医师签名', doctorname)
  1942. this.doctorForm.doctor = doctorname.user_name
  1943. this.doctorForm.url = doctorname.url
  1944. if (this.operators.length > 0) {
  1945. var operatorsLen = this.operators.length
  1946. for (var index = 0; index < operatorsLen; index++) {
  1947. this.$set(
  1948. this.operatorMaps,
  1949. this.operators[index].creator,
  1950. this.operators[index]
  1951. )
  1952. }
  1953. }
  1954. this.afterdialysis.txqnx = -1
  1955. if (this.afterdialysis.cruor.indexOf('0度') > -1) {
  1956. this.afterdialysis.txqnx = 0
  1957. }
  1958. if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
  1959. this.afterdialysis.txqnx = 1
  1960. }
  1961. if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
  1962. this.afterdialysis.txqnx = 2
  1963. }
  1964. if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
  1965. this.afterdialysis.txqnx = 3
  1966. }
  1967. this.afterdialysis.complications = this.afterdialysis.complication.split(
  1968. ','
  1969. )
  1970. this.afterdialysis.complications_other = []
  1971. this.afterdialysis.complications_index = []
  1972. var acllen = this.afterdialysis.complications.length
  1973. for (let index = 0; index < acllen; index++) {
  1974. if (
  1975. this.complications.indexOf(
  1976. this.afterdialysis.complications[index]
  1977. ) >= 0
  1978. ) {
  1979. this.afterdialysis.complications_index.push(
  1980. this.afterdialysis.complications[index]
  1981. )
  1982. } else if (
  1983. this.complications.indexOf(
  1984. this.afterdialysis.complications[index]
  1985. ) < 0 &&
  1986. this.afterdialysis.complications_other.indexOf(
  1987. this.afterdialysis.complications[index]
  1988. ) < 0
  1989. ) {
  1990. this.afterdialysis.complications_other.push(
  1991. this.afterdialysis.complications[index]
  1992. )
  1993. }
  1994. }
  1995. this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(
  1996. ','
  1997. )
  1998. this.prescription = response.data.data.dialysisPrescription
  1999. this.receiverTreatmentAccess =
  2000. response.data.data.receiverTreatmentAccess
  2001. this.prescription.mode = this.modeName(this.prescription.mode_id)
  2002. var rwLen = this.replacementWays.length
  2003. this.prescription.replacement = ''
  2004. for (let index = 0; index < rwLen; index++) {
  2005. if (
  2006. this.replacementWays[index].id ==
  2007. this.prescription.replacement_way
  2008. ) {
  2009. this.prescription.replacement = this.replacementWays[index].name
  2010. break
  2011. }
  2012. }
  2013. this.prescription.dialysate_formulation_name = this.dialysateFormulationName(
  2014. this.prescription.dialysate_formulation
  2015. )
  2016. var paLen = this.perfusionApparatus.length
  2017. this.prescription.perfusion_apparatus_name = ''
  2018. for (let index = 0; index < paLen; index++) {
  2019. if (
  2020. this.perfusionApparatus[index].id ==
  2021. this.prescription.perfusion_apparatus
  2022. ) {
  2023. this.prescription.perfusion_apparatus_name = this.perfusionApparatus[
  2024. index
  2025. ].name
  2026. break
  2027. }
  2028. }
  2029. var acLen = this.anticoagulantsConfit.length
  2030. var thisALID = this.prescription.anticoagulant
  2031. this.prescription.anticoagulant_name = ''
  2032. if (
  2033. typeof this.anticoagulantsConfit[thisALID] !== 'undefined' &&
  2034. this.anticoagulantsConfit[thisALID] != null
  2035. ) {
  2036. this.prescription.anticoagulant_name = this.anticoagulantsConfit[
  2037. thisALID
  2038. ].name
  2039. this.AlPanel = this.anticoagulantsConfit[thisALID]
  2040. }
  2041. this.advices = response.data.data.advices
  2042. this.tableAdvice = response.data.data.advices;
  2043. // console.log('hhhhhhhhhhhh', this.advices)
  2044. this.monitors = response.data.data.monitors
  2045. // console.log('哈哈哈哈哈哈哈', this.monitors)
  2046. console.log(response.data.data)
  2047. this.summary = response.data.data.summary
  2048. this.org_template_info = response.data.data.org_template_info
  2049. // 配置超滤量和置换量是否要显示0还是空
  2050. if (this.org_template_info.org_id == 9535) {
  2051. this.isShowZero = true
  2052. }
  2053. if (this.monitors.length < 6) {
  2054. var nl = 6 - this.monitors.length
  2055. for (let index = 0; index < nl; index++) {
  2056. this.monitors.push([])
  2057. }
  2058. }
  2059. this.jilurow = this.monitors.length + 1
  2060. this.advice_jilurow = this.advices.length + 1
  2061. var childMap = {}
  2062. for (const index in this.advices) {
  2063. if (this.advices[index].parent_id == 0) {
  2064. continue
  2065. }
  2066. if (!(this.advices[index].parent_id in childMap)) {
  2067. childMap[this.advices[index].parent_id] = []
  2068. }
  2069. childMap[this.advices[index].parent_id].push(this.advices[index])
  2070. }
  2071. var advices = []
  2072. for (const index in this.advices) {
  2073. if (this.advices[index].parent_id > 0) {
  2074. continue
  2075. }
  2076. var item = this.advices[index]
  2077. if (item.id in childMap) {
  2078. item.children = childMap[item.id]
  2079. } else {
  2080. item.children = []
  2081. }
  2082. advices.push(item)
  2083. }
  2084. var leftAdvice = []
  2085. var rightAdvice = []
  2086. var adlen = advices.length
  2087. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
  2088. for (var i = 0; i < halfLen; i++) {
  2089. leftAdvice.push(advices[i])
  2090. rightAdvice.push(advices[i + halfLen])
  2091. }
  2092. if (halfLen < 5) {
  2093. var nl = 5 - leftAdvice.length
  2094. for (let index = 0; index < nl; index++) {
  2095. leftAdvice.push([])
  2096. }
  2097. var nl = 5 - rightAdvice.length
  2098. for (let index = 0; index < nl; index++) {
  2099. rightAdvice.push([])
  2100. }
  2101. }
  2102. this.advices = []
  2103. for (var i = 0; i < halfLen; i++) {
  2104. var item = []
  2105. item.push(leftAdvice[i])
  2106. item.push(rightAdvice[i])
  2107. this.advices.push(item)
  2108. }
  2109. this.loading = false
  2110. this.doctor_advices =
  2111. response.data.data.advices == null
  2112. ? []
  2113. : response.data.data.advices
  2114. for (let index = 0; index < this.doctor_advices.length; index++) {
  2115. this.doctor_advices[index]['isShow'] = 2
  2116. }
  2117. if (this.doctor_advices.length === 0) {
  2118. var obj = { advice_name: '', start_time: '' }
  2119. var obj1 = { advice_name: '', start_time: '' }
  2120. var obj2 = { advice_name: '', start_time: '' }
  2121. var obj3 = { advice_name: '', start_time: '' }
  2122. this.doctor_advices.push(obj)
  2123. this.doctor_advices.push(obj1)
  2124. this.doctor_advices.push(obj2)
  2125. this.doctor_advices.push(obj3)
  2126. this.doctor_advices.push(obj3)
  2127. this.doctor_advices.push(obj3)
  2128. this.doctor_advices.push(obj3)
  2129. }
  2130. if (this.doctor_advices.length === 1) {
  2131. var obj = { advice_name: '', start_time: '' }
  2132. var obj1 = { advice_name: '', start_time: '' }
  2133. var obj2 = { advice_name: '', start_time: '' }
  2134. this.doctor_advices.push(obj)
  2135. this.doctor_advices.push(obj1)
  2136. this.doctor_advices.push(obj2)
  2137. this.doctor_advices.push(obj2)
  2138. this.doctor_advices.push(obj2)
  2139. this.doctor_advices.push(obj2)
  2140. }
  2141. if (this.doctor_advices.length === 2) {
  2142. var obj = { advice_name: '', start_time: '' }
  2143. var obj1 = { advice_name: '', start_time: '' }
  2144. this.doctor_advices.push(obj)
  2145. this.doctor_advices.push(obj1)
  2146. this.doctor_advices.push(obj1)
  2147. this.doctor_advices.push(obj1)
  2148. this.doctor_advices.push(obj1)
  2149. }
  2150. if (this.doctor_advices.length === 3) {
  2151. // eslint-disable-next-line no-redeclare
  2152. var obj = { advice_name: '', start_time: '' }
  2153. this.doctor_advices.push(obj)
  2154. this.doctor_advices.push(obj)
  2155. this.doctor_advices.push(obj)
  2156. this.doctor_advices.push(obj)
  2157. }
  2158. if (this.doctor_advices.length === 4) {
  2159. // eslint-disable-next-line no-redeclare
  2160. var obj = { advice_name: '', start_time: '' }
  2161. this.doctor_advices.push(obj)
  2162. this.doctor_advices.push(obj)
  2163. this.doctor_advices.push(obj)
  2164. }
  2165. if (this.doctor_advices.length === 5) {
  2166. // eslint-disable-next-line no-redeclare
  2167. var obj = { advice_name: '', start_time: '' }
  2168. this.doctor_advices.push(obj)
  2169. this.doctor_advices.push(obj)
  2170. }
  2171. if (this.doctor_advices.length === 6) {
  2172. // eslint-disable-next-line no-redeclare
  2173. var obj = { advice_name: '', start_time: '' }
  2174. this.doctor_advices.push(obj)
  2175. }
  2176. this.adviceLength = this.doctor_advices.length + 1
  2177. if (this.doctor_advices.length > 0) {
  2178. var group = this.newAdviceGroupObject()
  2179. var initGroupBlock = function(group, advice) {
  2180. group.group_no = advice.groupno
  2181. }
  2182. for (
  2183. let index = this.doctor_advices.length - 1;
  2184. index >= 0;
  2185. index--
  2186. ) {
  2187. var new_advice_index = 0
  2188. if (
  2189. 'children' in this.doctor_advices[index] &&
  2190. this.doctor_advices[index].children.length > 0
  2191. ) {
  2192. new_advice_index =
  2193. index + this.doctor_advices[index].children.length + 1
  2194. var doctor_advice = {
  2195. delivery_way: this.doctor_advices[index].delivery_way,
  2196. execution_frequency: this.doctor_advices[index]
  2197. .execution_frequency,
  2198. groupno: this.doctor_advices[index].groupno,
  2199. id: this.doctor_advices[index].id,
  2200. parent_id: this.doctor_advices[index].parent_id,
  2201. children: this.doctor_advices[index].children,
  2202. remark: this.doctor_advices[index].remark
  2203. }
  2204. doctor_advice['isShow'] = 1
  2205. this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  2206. // this.doctor_advices.push(doctor_advice)
  2207. }
  2208. }
  2209. for (let index = 0; index < this.doctor_advices.length; index++) {
  2210. const advice = this.doctor_advices[index]
  2211. if (advice.groupno == 0) {
  2212. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  2213. if (advice.parent_id > 0) {
  2214. if (this.advice_groups.length > 0) {
  2215. var parent_group = this.advice_groups[
  2216. this.advice_groups.length - 1
  2217. ]
  2218. if (parent_group.advices.length > 0) {
  2219. if (parent_group.advices[0].id == advice.parent_id) {
  2220. parent_group.advices.push(advice)
  2221. }
  2222. }
  2223. }
  2224. continue
  2225. } else {
  2226. if (group.group_no > 0) {
  2227. this.advice_groups.push(group)
  2228. group = this.newAdviceGroupObject()
  2229. }
  2230. initGroupBlock(group, advice)
  2231. group.advices.push(advice)
  2232. this.advice_groups.push(group)
  2233. group = this.newAdviceGroupObject()
  2234. continue
  2235. }
  2236. }
  2237. if (group.group_no > 0 && group.group_no != advice.groupno) {
  2238. this.advice_groups.push(group)
  2239. group = this.newAdviceGroupObject()
  2240. }
  2241. if (group.group_no == 0) {
  2242. initGroupBlock(group, advice)
  2243. }
  2244. if (group.group_no == advice.groupno) {
  2245. group.advices.push(advice)
  2246. }
  2247. }
  2248. if (group.group_no > 0) {
  2249. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  2250. this.advice_groups.push(group)
  2251. }
  2252. }
  2253. console.log(this.advice_groups)
  2254. } else {
  2255. this.loading = false
  2256. this.$message.error('请求数据失败')
  2257. return false
  2258. }
  2259. })
  2260. },
  2261. bloodAccessParOperaName(id) {
  2262. if (id in this.bloodAccessParOpera) {
  2263. return this.bloodAccessParOpera[id].name
  2264. }
  2265. return ''
  2266. },
  2267. dialysateFormulationName(id) {
  2268. if (id in this.dialysateFormulationOptions) {
  2269. return this.dialysateFormulationOptions[id].name
  2270. }
  2271. return ''
  2272. },
  2273. getAge: function(val) {
  2274. if (val.birthday != 0) {
  2275. return jsGetAge(val.birth, '-')
  2276. }
  2277. return ''
  2278. },
  2279. newAdviceGroupObject: function() {
  2280. return Object.assign(
  2281. {},
  2282. {
  2283. group_no: 0,
  2284. // advice_doctor: 0,
  2285. // start_time: 0,
  2286. advices: []
  2287. // exec_staff: 0,
  2288. // exec_time: 0,
  2289. // checker: 0,
  2290. }
  2291. )
  2292. }
  2293. },
  2294. watch: {
  2295. 'patientInfo.gender': function() {
  2296. if (this.patientInfo.gender == 1) {
  2297. this.patientInfo_gender_1 = true
  2298. this.patientInfo_gender_2 = false
  2299. } else if (this.patientInfo.gender == 2) {
  2300. this.patientInfo_gender_2 = true
  2301. this.patientInfo_gender_1 = false
  2302. } else {
  2303. this.patientInfo_gender_2 = false
  2304. this.patientInfo_gender_1 = false
  2305. }
  2306. },
  2307. 'patientInfo.source': function() {
  2308. if (this.patientInfo.source == 1) {
  2309. this.patientInfo_source_1 = true
  2310. this.patientInfo_source_2 = false
  2311. } else if (this.patientInfo.source == 2) {
  2312. this.patientInfo_source_2 = true
  2313. this.patientInfo_source_1 = false
  2314. } else {
  2315. this.patientInfo_source_2 = false
  2316. this.patientInfo_source_1 = false
  2317. }
  2318. }
  2319. },
  2320. created() {
  2321. var xtuser = this.$store.getters.xt_user
  2322. this.orgname = xtuser.org.org_name
  2323. // this.orgname = "遂溪方济医院";
  2324. this.modeOptions = this.$store.getters.treatment_mode
  2325. this.replacementWays = this.$store.getters.replacement_ways
  2326. this.perfusionApparatus = this.$store.getters.perfusion_apparatus
  2327. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
  2328. this.way_arr = getDataConfig('hemodialysis', 'way')
  2329. this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
  2330. this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
  2331. this.posture_arr = getDataConfig('hemodialysis', 'posture')
  2332. this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
  2333. this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
  2334. this.intake_arr = getDataConfig('hemodialysis', 'intake')
  2335. this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
  2336. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  2337. var bloodAccessParOpera = getDataConfig(
  2338. 'hemodialysis',
  2339. 'vascular_access_desc'
  2340. )
  2341. for (var key in bloodAccessParOpera) {
  2342. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  2343. bloodAccessParOpera[key]
  2344. }
  2345. var dialysateFormulationOptions = getDataConfig(
  2346. 'hemodialysis',
  2347. 'dialysate_formulation'
  2348. )
  2349. for (var key in dialysateFormulationOptions) {
  2350. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  2351. dialysateFormulationOptions[key]
  2352. }
  2353. const xtdate = this.$route.query && this.$route.query.xtdate
  2354. const xtno = this.$route.query && this.$route.query.xtno
  2355. if (
  2356. typeof xtdate === 'string' &&
  2357. xtdate.length > 0 &&
  2358. typeof xtno === 'string' &&
  2359. xtno.length > 0
  2360. ) {
  2361. this.queryParams.xtdate = xtdate
  2362. this.queryParams.xtno = xtno
  2363. this.getDialysisRecord()
  2364. } else {
  2365. this.$message.error('参数不齐')
  2366. return false
  2367. }
  2368. }
  2369. }
  2370. </script>
  2371. <style>
  2372. .dialysis-print-order {
  2373. width: 960px;
  2374. margin: 0 auto;
  2375. }
  2376. .dialysis-print-order .order-yy-name {
  2377. margin: auto;
  2378. text-align: center;
  2379. font-size: 20px;
  2380. letter-spacing: 5px;
  2381. }
  2382. .dialysis-print-order .order-title {
  2383. margin: auto;
  2384. font-weight: 600;
  2385. text-align: center;
  2386. font-size: 22px;
  2387. padding: 10px 20px 0px 20px;
  2388. }
  2389. .dialysis-print-order .table-box {
  2390. width: 100%;
  2391. line-height: 23px;
  2392. font-size: 18px;
  2393. }
  2394. .dialysis-print-order .print-table {
  2395. width: 100%;
  2396. text-align: center;
  2397. border-collapse: collapse;
  2398. line-height: 40px;
  2399. font-size: 18px;
  2400. }
  2401. .dialysis-print-order .print-table-no {
  2402. width: 100%;
  2403. text-align: center;
  2404. border-collapse: collapse;
  2405. font-size: 18px;
  2406. }
  2407. .dialysis-print-order .under-line {
  2408. border-bottom: 1px solid #999;
  2409. width: 95%;
  2410. text-align: center;
  2411. margin-left: 2px;
  2412. }
  2413. .dialysis-print-order .title-box {
  2414. text-align: center;
  2415. font-size: 18px;
  2416. }
  2417. .dialysis-print-order .radio-lebel-box {
  2418. font-weight: 400;
  2419. cursor: pointer;
  2420. }
  2421. .dialysis-print-order .radio-no {
  2422. opacity: 0;
  2423. outline: none;
  2424. position: absolute;
  2425. margin: 0;
  2426. width: 0;
  2427. height: 0;
  2428. z-index: -1;
  2429. }
  2430. .dialysis-print-order .radio-inner {
  2431. white-space: nowrap;
  2432. cursor: pointer;
  2433. outline: none;
  2434. display: inline-block;
  2435. line-height: 1;
  2436. position: relative;
  2437. vertical-align: middle;
  2438. }
  2439. .dialysis-print-order .radio-fang {
  2440. display: inline-block;
  2441. position: relative;
  2442. border: 1px solid #000;
  2443. box-sizing: border-box;
  2444. width: 18px !important;
  2445. height: 18px !important;
  2446. background-color: #fff;
  2447. z-index: 1;
  2448. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  2449. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  2450. }
  2451. .dialysis-print-order .is-checked-radio::after {
  2452. content: "√";
  2453. font-size: 19px;
  2454. }
  2455. .dialysis-print-order .print-table-no tr td {
  2456. padding: 8px 5px;
  2457. line-height: 25px;
  2458. }
  2459. .dialysis-print-order .print-table tr td {
  2460. padding: 1px 1px;
  2461. /*line-height: 25px;*/
  2462. }
  2463. .es-img {
  2464. height: 25px;
  2465. }
  2466. .advice-name {
  2467. text-align: left;
  2468. }
  2469. .advice-children {
  2470. display: flex;
  2471. }
  2472. .title-box-pro {
  2473. border: 0 #fff;
  2474. line-height: 25px;
  2475. height: 25px;
  2476. text-align: left;
  2477. padding-left: 10px !important;
  2478. }
  2479. .title-box-pro-tr {
  2480. border: 0 #fff;
  2481. }
  2482. .text-align-left {
  2483. text-align: left !important;
  2484. padding-left: 10px !important;
  2485. font-size: 14px !important;
  2486. line-height: 25px;
  2487. }
  2488. .print-table-tr-new td {
  2489. line-height: 20px !important;
  2490. }
  2491. .border-top-solid {
  2492. border: solid 1px #000;
  2493. }
  2494. .print-template-two tr {
  2495. line-height: 30px;
  2496. }
  2497. </style>