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

DialysisPrintOrderForty.vue 117KB

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