DialysisPrintOrderSixtyFive.vue 155KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081
  1. <template>
  2. <div>
  3. <el-button type="primary" @click="checkData">一键核对</el-button>
  4. <div id="dialysis-print-box-1">
  5. <div
  6. id="dialysis-print-box-1"
  7. class="dialysis-print-order print-template-two print_page_main_content"
  8. >
  9. <div style="display: inline-block; width: 100%; text-align: center">
  10. <div
  11. class="order-yy-name"
  12. style="
  13. letter-spacing: 0;
  14. font-weight: 600;
  15. font-size: 22px;
  16. display: inline-block;
  17. "
  18. >
  19. {{ orgname }}
  20. </div>
  21. <div
  22. v-if="org_id!=0 && org_id!=10449 && org_id!=3877 && org_id!=9671"
  23. class="order-title"
  24. style="
  25. letter-spacing: 0;
  26. font-weight: 600;
  27. font-size: 22px;
  28. display: inline-block;
  29. "
  30. >
  31. 血液净化治疗记录单
  32. </div>
  33. <div
  34. v-if="org_id ==0 || org_id ==10449 || org_id ==3877 || org_id ==9671"
  35. class="order-title"
  36. style="
  37. letter-spacing: 0;
  38. font-weight: 600;
  39. font-size: 22px;
  40. display: inline-block;
  41. "
  42. >
  43. <span v-if="prescription.mode_id!=13">血液净化治疗记录单</span>
  44. <span v-if="prescription.mode_id==13">连续性肾脏替代治疗(CRRT)记录单</span>
  45. </div>
  46. </div>
  47. <div class="row">
  48. <div class="inline_block">
  49. 姓名:
  50. <div class="under_line" style="width: 50px; text-align: center">
  51. {{ patientInfo.name }}
  52. </div>
  53. </div>
  54. <div class="inline_block" style="margin-left: 10px">
  55. 性别:
  56. <div class="under_line" style="width: 30px; text-align: center">
  57. {{ patientInfo_gender_1 ? "男" : "女" }}
  58. </div>
  59. </div>
  60. <div class="inline_block" style="margin-left: 10px">
  61. 年龄:
  62. <div class="under_line" style="width: 30px; text-align: center">
  63. {{ getAge(patientInfo) }}
  64. </div>
  65. </div>
  66. <div class="inline_block" v-if="receiverTreatmentAccess.condition == 2 || receiverTreatmentAccess.condition == 0">
  67. 门诊:
  68. <div class="under_line" style="width: 30px; text-align: center">
  69. <check-box :checked="receiverTreatmentAccess.condition == 2 || receiverTreatmentAccess.condition == 0"></check-box>
  70. </div>
  71. </div>
  72. <div class="inline_block" v-if="receiverTreatmentAccess.condition == 1">
  73. 住院:
  74. <div class="under_line" style="width: 30px; text-align: center">
  75. <check-box :checked="receiverTreatmentAccess.condition == 1"></check-box>
  76. </div>
  77. </div>
  78. <div class="inline_block">
  79. 病区:
  80. <div class="under_line" style="width: 50px; text-align: center">
  81. <span >{{
  82. patientInfo.DialysisSchedule.device_zone.name
  83. ? patientInfo.DialysisSchedule.device_zone.name
  84. : "/"
  85. }}</span>
  86. </div>
  87. </div>
  88. <div class="inline_block">
  89. 床号:
  90. <div class="under_line" style="width: 50px; text-align: center">
  91. <span>{{
  92. dialysisOrder &&
  93. dialysisOrder.DeviceNumber &&
  94. dialysisOrder.DeviceNumber.number.length > 0
  95. ? dialysisOrder.DeviceNumber.number
  96. : patientInfo.DialysisSchedule.device_number.number
  97. }}</span>
  98. </div>
  99. </div>
  100. <div class="inline_block">
  101. 透析号:
  102. <div class="under_line" style="width: 70px; text-align: center">
  103. {{ patientInfo.dialysis_no }}
  104. </div>
  105. </div>
  106. <div class="inline_block" style="margin-left: 5px;" v-if="org_id!=9675 && org_id!=10447">
  107. 住院号/门诊号:
  108. <div class="under_line" style="width: 70px;text-align: left" v-if="receiverTreatmentAccess.admission_number">
  109. {{ receiverTreatmentAccess.admission_number }}
  110. </div>
  111. <div class="under_line" style="width: 70px;text-align: left" v-else-if="patientInfo.admission_number">
  112. {{ patientInfo.admission_number }}
  113. </div>
  114. <div class="under_line" style="width: 70px;text-align: left" v-else>
  115. {{ "/" }}
  116. </div>
  117. </div>
  118. </div>
  119. <div
  120. class="row"
  121. style="padding: 2px 0; line-height: 23px; display: flex"
  122. >
  123. <div
  124. class="inline_block"
  125. style="flex: 1; display: inline-block"
  126. >
  127. 身份证:
  128. <div
  129. class="under_line"
  130. style="
  131. width: 860px;
  132. line-height: 25px;
  133. text-align: left;
  134. margin-left: 2px;
  135. display: inline-block;
  136. white-space: normal;
  137. "
  138. >
  139. {{ patientInfo.id_card_no }}
  140. </div>
  141. </div>
  142. </div>
  143. <div class="row">
  144. <div class="inline_block">
  145. 入科方式:
  146. <div
  147. v-for="(item, index) in way_arr"
  148. class="under_line"
  149. v-if="receiverTreatmentAccess.way == item.id"
  150. style="width: 180px; text-align: left"
  151. >
  152. {{ item.name }}
  153. </div>
  154. </div>
  155. <div class="inline_block" style="margin-left: 10px">
  156. 诊断:
  157. <div
  158. class="under_line"
  159. style="
  160. width: 640px;
  161. text-align: left;
  162. word-wrap: break-word;
  163. white-space: inherit;
  164. "
  165. >
  166. {{ patientInfo.diagnose }}
  167. </div>
  168. </div>
  169. </div>
  170. <div
  171. class="row"
  172. :style="this.totollength > 13 ? 'margin-bottom:400px;' : ''"
  173. >
  174. <table class="proj_table">
  175. <tbody>
  176. <tr>
  177. <td
  178. colspan="2"
  179. style="
  180. letter-spacing: 5px;
  181. text-align: center;
  182. font-weight: 520;
  183. font-size: 16px;
  184. padding: 6px 8px;
  185. line-height: 30px;
  186. "
  187. >
  188. 透析前情况
  189. </td>
  190. </tr>
  191. <tr>
  192. <td colspan="2">
  193. <div
  194. class="row"
  195. style="padding: 2px 0; line-height: 23px; display: flex"
  196. >
  197. <div class="inline_block" style="flex: 1">
  198. 本次透析日期:
  199. <div
  200. class="under_line"
  201. style="width: 100px; text-align: center"
  202. >
  203. {{ xtdate }}
  204. </div>
  205. </div>
  206. <div class="inline_block" style="flex: 1">
  207. 透析次数:
  208. <div
  209. class="under_line"
  210. style="width: 70px; text-align: center"
  211. >
  212. {{
  213. patientInfo.total_dialysis +
  214. patientInfo.user_sys_before_count
  215. ? patientInfo.total_dialysis +
  216. patientInfo.user_sys_before_count
  217. : "/"
  218. }}
  219. </div>
  220. </div>
  221. <div class="inline_block" style="flex: 1">
  222. 透前症状:
  223. <div
  224. class="under_line"
  225. style="width: 150px; text-align: center"
  226. >
  227. {{
  228. predialysis.symptom_before_dialysis
  229. ? predialysis.symptom_before_dialysis
  230. : "/"
  231. }}
  232. </div>
  233. </div>
  234. </div>
  235. <div class="row" style="padding: 2px 0; line-height: 23px">
  236. <div class="inline_block">
  237. T:
  238. <div
  239. class="under_line"
  240. style="width: 50px; text-align: center"
  241. >
  242. {{
  243. predialysis.temperature
  244. ? predialysis.temperature
  245. : "/"
  246. }}
  247. </div>
  248. °C
  249. </div>
  250. <div class="inline_block" style="margin-left: 10px">
  251. P:
  252. <div
  253. class="under_line"
  254. style="width: 50px; text-align: center"
  255. >
  256. {{
  257. predialysis.pulse_frequency
  258. ? predialysis.pulse_frequency
  259. : "/"
  260. }}
  261. </div>
  262. 次/分
  263. </div>
  264. <div class="inline_block" style="margin-left: 10px">
  265. R:
  266. <div
  267. class="under_line"
  268. style="width: 50px; text-align: center"
  269. >
  270. {{
  271. predialysis.breathing_rate
  272. ? predialysis.breathing_rate
  273. : "/"
  274. }}
  275. </div>
  276. 次/分
  277. </div>
  278. <div class="inline_block" style="margin-left: 10px">
  279. BP:
  280. <div
  281. class="under_line"
  282. style="width: 50px; text-align: center"
  283. >
  284. {{
  285. predialysis.systolic_blood_pressure
  286. ? predialysis.systolic_blood_pressure
  287. : "/"
  288. }}
  289. </div>
  290. /
  291. <div
  292. class="under_line"
  293. style="width: 50px; text-align: center"
  294. >
  295. {{
  296. predialysis.diastolic_blood_pressure
  297. ? predialysis.diastolic_blood_pressure
  298. : "/"
  299. }}
  300. </div>
  301. mmHg
  302. </div>
  303. <div
  304. class="inline_block"
  305. style="margin-left: 10px; flex: 1"
  306. >
  307. 穿刺方式:
  308. <!-- <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 0">
  309. /
  310. </div>
  311. <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 1">
  312. 绳梯
  313. </div>
  314. <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 2">
  315. 扣眼
  316. </div>
  317. <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 3">
  318. 区域
  319. </div> -->
  320. <div
  321. class="under_line"
  322. style="width: 100px; text-align: center"
  323. v-if="predialysis.puncture_way == ''"
  324. >
  325. /
  326. </div>
  327. <div
  328. class="under_line"
  329. style="width: 100px; text-align: center"
  330. v-if="predialysis.puncture_way.indexOf('绳梯') > -1"
  331. >
  332. 绳梯
  333. </div>
  334. <div
  335. class="under_line"
  336. style="width: 100px; text-align: center"
  337. v-if="predialysis.puncture_way.indexOf('扣眼') > -1"
  338. >
  339. 扣眼
  340. </div>
  341. <div
  342. class="under_line"
  343. style="width: 100px; text-align: center"
  344. v-if="predialysis.puncture_way.indexOf('区域') > -1"
  345. >
  346. 区域
  347. </div>
  348. </div>
  349. <div
  350. class="inline_block"
  351. style="margin-left: 10px; flex: 1"
  352. >
  353. 穿刺针:
  354. <div
  355. class="under_line"
  356. style="width: 100px; text-align: center"
  357. >
  358. {{
  359. predialysis.puncture_needle
  360. ? predialysis.puncture_needle
  361. : "/"
  362. }}
  363. </div>
  364. </div>
  365. </div>
  366. <div
  367. class="row"
  368. style="padding: 2px 0; line-height: 23px; display: flex"
  369. >
  370. <div class="inline_block">
  371. 血管通路:
  372. <div
  373. class="under_line"
  374. style="width: 220px; text-align: center"
  375. >
  376. <!-- {{ QueryPartById(predialysis.blood_access_part_id) }} -->
  377. {{ predialysis.blood_access_part_id }}
  378. {{ predialysis.blood_access_part_opera_name }}
  379. </div>
  380. </div>
  381. <div class="inline_block" style="margin-left: 10px" v-if="org_id!=9675 && org_id!=10447">
  382. 内瘘:
  383. <div
  384. class="under_line"
  385. style="
  386. width: 180px;
  387. text-align: center;
  388. white-space: normal;
  389. "
  390. >
  391. {{
  392. predialysis.internal_fistula
  393. ? predialysis.internal_fistula
  394. : "/"
  395. }}
  396. </div>
  397. </div>
  398. <div
  399. class="inline_block"
  400. style="margin-left: 10px; flex: 1.4"
  401. v-if="org_id!=9675 && org_id!=10447"
  402. >
  403. 导管:
  404. <div
  405. class="under_line"
  406. style="width: 150px; text-align: center"
  407. >
  408. {{ predialysis.catheter ? predialysis.catheter : "/" }}
  409. </div>
  410. </div>
  411. <div
  412. class="inline_block"
  413. style="margin-left: 10px; flex: 1"
  414. v-if="org_id == 10223"
  415. >
  416. 导管打折:
  417. <div
  418. class="under_line"
  419. style="
  420. width: 50px;
  421. text-align: center;
  422. white-space: normal;
  423. "
  424. >
  425. <span v-if="predialysis.catheter_bend == 0">/</span>
  426. <span v-if="predialysis.catheter_bend == 1">有</span>
  427. <span v-if="predialysis.catheter_bend == 2">无</span>
  428. </div>
  429. </div>
  430. </div>
  431. <div
  432. class="row"
  433. style="padding: 2px 0; line-height: 23px; display: flex"
  434. >
  435. <div class="inline_block" style="flex: 1">
  436. <span v-if="org_id==10138">治疗模式:</span>
  437. <span v-else>透析方式:</span>
  438. <div
  439. class="under_line"
  440. style="
  441. width: 100px;
  442. text-align: center;
  443. font-weight: 600;
  444. "
  445. v-if="!prescription.mode_id"
  446. >
  447. /
  448. </div>
  449. <div
  450. class="under_line"
  451. style="
  452. width: 100px;
  453. text-align: center;
  454. font-weight: 600;
  455. "
  456. v-if="prescription.mode_id == 1"
  457. >
  458. HD
  459. </div>
  460. <div
  461. class="under_line"
  462. style="
  463. width: 100px;
  464. text-align: center;
  465. font-weight: 600;
  466. "
  467. v-if="prescription.mode_id == 2"
  468. >
  469. HDF
  470. </div>
  471. <div
  472. class="under_line"
  473. style="
  474. width: 100px;
  475. text-align: center;
  476. font-weight: 600;
  477. "
  478. v-if="prescription.mode_id == 3"
  479. >
  480. HD+HP
  481. </div>
  482. <div
  483. class="under_line"
  484. style="
  485. width: 100px;
  486. text-align: center;
  487. font-weight: 600;
  488. "
  489. v-if="prescription.mode_id == 4"
  490. >
  491. HP
  492. </div>
  493. <div
  494. class="under_line"
  495. style="
  496. width: 100px;
  497. text-align: center;
  498. font-weight: 600;
  499. "
  500. v-if="prescription.mode_id == 5"
  501. >
  502. HF
  503. </div>
  504. <div
  505. class="under_line"
  506. style="
  507. width: 100px;
  508. text-align: center;
  509. font-weight: 600;
  510. "
  511. v-if="prescription.mode_id == 6"
  512. >
  513. SCUF
  514. </div>
  515. <div
  516. class="under_line"
  517. style="
  518. width: 100px;
  519. text-align: center;
  520. font-weight: 600;
  521. "
  522. v-if="prescription.mode_id == 7"
  523. >
  524. IUF
  525. </div>
  526. <div
  527. class="under_line"
  528. style="
  529. width: 100px;
  530. text-align: center;
  531. font-weight: 600;
  532. "
  533. v-if="prescription.mode_id == 8"
  534. >
  535. HFHD
  536. </div>
  537. <div
  538. class="under_line"
  539. style="
  540. width: 100px;
  541. text-align: center;
  542. font-weight: 600;
  543. "
  544. v-if="prescription.mode_id == 9"
  545. >
  546. HFHD+HP
  547. </div>
  548. <div
  549. class="under_line"
  550. style="
  551. width: 100px;
  552. text-align: center;
  553. font-weight: 600;
  554. "
  555. v-if="prescription.mode_id == 10"
  556. >
  557. PHF
  558. </div>
  559. <div
  560. class="under_line"
  561. style="
  562. width: 100px;
  563. text-align: center;
  564. font-weight: 600;
  565. "
  566. v-if="prescription.mode_id == 11"
  567. >
  568. HFR
  569. </div>
  570. <div
  571. class="under_line"
  572. style="
  573. width: 100px;
  574. text-align: center;
  575. font-weight: 600;
  576. "
  577. v-if="prescription.mode_id == 12"
  578. >
  579. HDF+HP
  580. </div>
  581. <div
  582. class="under_line"
  583. style="
  584. width: 100px;
  585. text-align: center;
  586. font-weight: 600;
  587. "
  588. v-if="prescription.mode_id == 13"
  589. >
  590. CRRT
  591. </div>
  592. <div
  593. class="under_line"
  594. style="
  595. width: 100px;
  596. text-align: center;
  597. font-weight: 600;
  598. "
  599. v-if="prescription.mode_id == 14"
  600. >
  601. 腹水回输
  602. </div>
  603. <div
  604. class="under_line"
  605. style="
  606. width: 100px;
  607. text-align: center;
  608. font-weight: 600;
  609. "
  610. v-if="prescription.mode_id == 15"
  611. >
  612. HD前置换
  613. </div>
  614. <div
  615. class="under_line"
  616. style="
  617. width: 100px;
  618. text-align: center;
  619. font-weight: 600;
  620. "
  621. v-if="prescription.mode_id == 16"
  622. >
  623. HD后置换
  624. </div>
  625. <div
  626. class="under_line"
  627. style="
  628. width: 100px;
  629. text-align: center;
  630. font-weight: 600;
  631. "
  632. v-if="prescription.mode_id == 17"
  633. >
  634. HDF前置换
  635. </div>
  636. <div
  637. class="under_line"
  638. style="
  639. width: 100px;
  640. text-align: center;
  641. font-weight: 600;
  642. "
  643. v-if="prescription.mode_id == 18"
  644. >
  645. HDF后置换
  646. </div>
  647. <div
  648. class="under_line"
  649. style="
  650. width: 100px;
  651. text-align: center;
  652. font-weight: 600;
  653. "
  654. v-if="prescription.mode_id == 19"
  655. >
  656. IUF+HD
  657. </div>
  658. <div
  659. class="under_line"
  660. style="
  661. width: 150px;
  662. text-align: center;
  663. font-weight: 600;
  664. "
  665. v-if="prescription.mode_id == 22"
  666. >
  667. 血浆胆红素吸附+HDF
  668. </div>
  669. <div
  670. class="under_line"
  671. style="
  672. bwidth: 150px;
  673. text-align: center;
  674. font-weight: 600;
  675. "
  676. v-if="prescription.mode_id == 23"
  677. >
  678. 血浆胆红素吸附
  679. </div>
  680. <div
  681. class="under_line"
  682. style="
  683. bwidth: 150px;
  684. text-align: center;
  685. font-weight: 600;
  686. "
  687. v-if="prescription.mode_id == 24"
  688. >
  689. I-HDF
  690. </div>
  691. <div
  692. class="under_line"
  693. style="
  694. bwidth: 150px;
  695. text-align: center;
  696. font-weight: 600;
  697. "
  698. v-if="prescription.mode_id == 25"
  699. >
  700. HD高通
  701. </div>
  702. <div
  703. class="under_line"
  704. style="
  705. width: 100px;
  706. text-align: center;
  707. font-weight: 600;
  708. "
  709. v-if="prescription.mode_id == 29"
  710. >
  711. PE
  712. </div>
  713. <div
  714. class="under_line"
  715. style="
  716. width: 150px;
  717. text-align: center;
  718. font-weight: 600;
  719. "
  720. v-if="prescription.mode_id == 30"
  721. >
  722. 血浆胆红素吸附+HP
  723. </div>
  724. </div>
  725. <div
  726. class="inline_block"
  727. style="margin-left: 10px; flex: 1"
  728. >
  729. 置换方式:
  730. <div
  731. class="under_line"
  732. style="width: 100px; text-align: center"
  733. >
  734. {{
  735. getDisplaceLiquiPart(prescription.displace_liqui_part)
  736. }}
  737. </div>
  738. </div>
  739. <div
  740. class="inline_block"
  741. style="margin-left: 10px; flex: 1"
  742. >
  743. 置换量:
  744. <div
  745. class="under_line"
  746. style="width: 70px; text-align: center"
  747. >
  748. {{
  749. prescription.displace_liqui_value
  750. ? prescription.displace_liqui_value
  751. : "/"
  752. }}
  753. </div>
  754. L
  755. </div>
  756. <div
  757. class="inline_block"
  758. style="margin-left: 10px; flex: 1"
  759. >
  760. 血流量:
  761. <div
  762. class="under_line"
  763. style="width: 50px; text-align: center"
  764. >
  765. {{
  766. prescription.blood_flow_volume
  767. ? prescription.blood_flow_volume
  768. : "/"
  769. }}
  770. </div>
  771. ml/min
  772. </div>
  773. <div class="inline_block" style="margin-left: 1px; flex: 1">
  774. 透析时间:
  775. <div
  776. class="under_line"
  777. style="width: 30px; text-align: center"
  778. >
  779. {{
  780. prescription.dialysis_duration_hour
  781. ? prescription.dialysis_duration_hour
  782. : "/"
  783. }}
  784. </div>
  785. h
  786. <div
  787. class="under_line"
  788. style="width: 30px; text-align: center"
  789. >
  790. {{
  791. prescription.dialysis_duration_minute
  792. ? prescription.dialysis_duration_minute
  793. : "/"
  794. }}
  795. </div>
  796. min
  797. </div>
  798. </div>
  799. <div
  800. class="row"
  801. style="padding: 2px 0; line-height: 23px; display: flex"
  802. >
  803. <div class="inline_block" style="flex: 1" v-if="org_id!=10290">
  804. 透析(滤)器:
  805. <!-- 透析(滤)器分开取值 -->
  806. <div v-if="org_id!=10414"
  807. class="under_line"
  808. style="width: 100px; text-align: center"
  809. >
  810. {{
  811. prescription.dialyzer_perfusion_apparatus
  812. ? prescription.dialyzer_perfusion_apparatus
  813. : ""
  814. }}
  815. <span v-if="prescription.dialysis_dialyszers&&prescription.dialysis_dialyszers!=''">/</span>
  816. {{
  817. prescription.dialysis_dialyszers
  818. ? prescription.dialysis_dialyszers
  819. : ""
  820. }}
  821. </div>
  822. <!-- 透析(滤)器合并取值 -->
  823. <div v-if="org_id==10414"
  824. class="under_line"
  825. style="width: 100px; text-align: center"
  826. >
  827. {{
  828. prescription.dialyzer_perfusion_apparatus
  829. ? prescription.dialyzer_perfusion_apparatus
  830. : ""
  831. }}
  832. </div>
  833. </div>
  834. <div class="inline_block" style="flex: 1" v-if="org_id!=10290">
  835. 灌流器:
  836. <div
  837. class="under_line"
  838. style="width: 70px; text-align: center"
  839. >
  840. {{
  841. prescription.dialysis_irrigation
  842. ? prescription.dialysis_irrigation
  843. : "/"
  844. }}
  845. </div>
  846. </div>
  847. <div class="inline_block" style="flex: 1" v-if="org_id ==0 || org_id ==10440">
  848. 衣物重:
  849. <div
  850. class="under_line"
  851. style="width: 70px; text-align: center"
  852. >
  853. {{
  854. predialysis.additional_weight
  855. ? predialysis.additional_weight
  856. : "/"
  857. }}
  858. </div>
  859. </div>
  860. <div class="inline_block" style="flex: 1" v-if="org_id==10290">
  861. 透析器/灌流器:
  862. <div
  863. class="under_line"
  864. style="width: 100px; text-align: center"
  865. >
  866. {{
  867. prescription.dialyzer_perfusion_apparatus
  868. ? prescription.dialyzer_perfusion_apparatus
  869. : ""
  870. }}
  871. <span v-if="prescription.dialysis_dialyszers&&prescription.dialysis_dialyszers!=''">/</span>
  872. {{
  873. prescription.dialysis_dialyszers
  874. ? prescription.dialysis_dialyszers
  875. : ""
  876. }}
  877. </div>
  878. </div>
  879. <div
  880. class="inline_block"
  881. style="flex: 1"
  882. v-if="org_id == 9538"
  883. >
  884. 血浆分离器:
  885. <div
  886. class="under_line"
  887. style="width: 70px; text-align: center"
  888. >
  889. <span
  890. v-if="
  891. prescription.plasma_separator
  892. ? prescription.plasma_separator != 0 &&
  893. prescription.plasma_separator != '0'
  894. : false
  895. "
  896. >{{ prescription.plasma_separator }}</span
  897. >
  898. <span v-else>/</span>
  899. </div>
  900. </div>
  901. <div
  902. class="inline_block"
  903. style="flex: 1"
  904. v-if="org_id == 9538"
  905. >
  906. 胆红素吸附柱:
  907. <div
  908. class="under_line"
  909. style="width: 70px; text-align: center"
  910. >
  911. <span
  912. v-if="
  913. prescription.bilirubin_adsorption_column
  914. ? prescription.bilirubin_adsorption_column != 0 &&
  915. prescription.bilirubin_adsorption_column != '0'
  916. : false
  917. "
  918. >{{ prescription.bilirubin_adsorption_column }}</span
  919. >
  920. <span v-else>/</span>
  921. </div>
  922. </div>
  923. </div>
  924. <div
  925. class="row"
  926. style="padding: 2px 0; line-height: 23px; display: flex"
  927. >
  928. <div class="inline_block" style="flex: 1" v-if="org_id!=10440">
  929. 上次透后体重:
  930. <div
  931. class="under_line"
  932. style="width: 100px; text-align: center"
  933. >
  934. <span v-if="org_id == 10290 || org_id == 10318 || org_id== 10217 || org_id== 10188 || org_id== 9956 || org_id == 10440 || org_id == 0 || org_id == 10469 || org_id == 10478 || org_id == 10490 || org_id ==10495">{{
  935. lastafterdialysis.weight_after
  936. }}</span>
  937. <span v-if="org_id != 10290 && org_id != 10318 && org_id!= 10217 && org_id!=10188 && org_id!=9956 && org_id != 10440 && org_id!=0 && org_id!=10469 && org_id!=10478 && org_id!=10490 && org_id!=10495">{{
  938. predialysis.weight_after_last_transparency
  939. ? predialysis.weight_after_last_transparency
  940. : "未称重"
  941. }}</span>
  942. <!-- {{ predialysis.weight_after_last_transparency ? parseFloat(lastafterdialysis.weight_after - lastafterdialysis.additional_weight).toFixed(1) : "未称重" }} -->
  943. </div>
  944. kg
  945. </div>
  946. <div class="inline_block" style="flex: 1">
  947. 透前体重:
  948. <div
  949. class="under_line"
  950. style="width: 70px; text-align: center"
  951. >
  952. <span v-if="org_id !=10447 && org_id != 9675">{{
  953. predialysis.weight_before
  954. ? parseFloat(
  955. predialysis.weight_before -
  956. predialysis.additional_weight
  957. ).toFixed(1)
  958. : "/"
  959. }}
  960. </span>
  961. <span v-if="org_id==10447 || org_id == 9675">
  962. {{
  963. predialysis.weight_before
  964. ? parseFloat(
  965. predialysis.weight_before -
  966. predialysis.additional_weight
  967. ).toFixed(1)
  968. : "未称重"
  969. }}
  970. </span>
  971. </div>
  972. kg
  973. </div>
  974. <div class="inline_block" style="flex: 1" v-if="org_id!=10469 && org_id!=0">
  975. 计划超滤量:
  976. <div
  977. class="under_line"
  978. style="width: 100px; text-align: center"
  979. >
  980. {{
  981. prescription.target_ultrafiltration
  982. ? prescription.target_ultrafiltration
  983. : "/"
  984. }}
  985. </div>
  986. <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">ml</span>
  987. <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471">L</span>
  988. </div>
  989. <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 0">
  990. 处方脱水量:
  991. <div
  992. class="under_line"
  993. style="width: 100px; text-align: center"
  994. >
  995. {{
  996. prescription.prescription_water
  997. ? prescription.prescription_water
  998. : "/"
  999. }}
  1000. </div>
  1001. ml
  1002. </div>
  1003. <div class="inline_block" style="flex: 1">
  1004. 干体重:
  1005. <div
  1006. class="under_line"
  1007. style="width: 100px; text-align: center"
  1008. >
  1009. {{
  1010. predialysis.dry_weight ? predialysis.dry_weight : "/"
  1011. }}
  1012. </div>
  1013. kg
  1014. </div>
  1015. </div>
  1016. <div class="row" style="padding: 2px 0; line-height: 23px">
  1017. <div class="inline_block">
  1018. 透析液成分钾:
  1019. <div
  1020. class="under_line"
  1021. style="width: 50px; text-align: center"
  1022. >
  1023. {{ prescription.kalium ? prescription.kalium : "/" }}
  1024. </div>
  1025. mmol/L
  1026. </div>
  1027. <div class="inline_block" style="margin-left: 10px">
  1028. 钠:
  1029. <div
  1030. class="under_line"
  1031. style="width: 50px; text-align: center"
  1032. >
  1033. {{ prescription.sodium ? prescription.sodium : "/" }}
  1034. </div>
  1035. mmol/L
  1036. </div>
  1037. <div class="inline_block" style="margin-left: 10px">
  1038. 钙:
  1039. <div
  1040. class="under_line"
  1041. style="width: 50px; text-align: center"
  1042. >
  1043. {{ prescription.calcium ? prescription.calcium : "/" }}
  1044. </div>
  1045. mmol/L
  1046. </div>
  1047. <div class="inline_block" style="margin-left: 10px">
  1048. 碳酸氢根:
  1049. <div
  1050. class="under_line"
  1051. style="width: 50px; text-align: center"
  1052. >
  1053. {{
  1054. prescription.bicarbonate
  1055. ? prescription.bicarbonate
  1056. : "/"
  1057. }}
  1058. </div>
  1059. mmol/L
  1060. </div>
  1061. <div class="inline_block" style="margin-left: 10px">
  1062. 流量:
  1063. <div
  1064. class="under_line"
  1065. style="width: 50px; text-align: center"
  1066. >
  1067. {{
  1068. prescription.dialysate_flow
  1069. ? prescription.dialysate_flow
  1070. : "/"
  1071. }}
  1072. </div>
  1073. ml/min
  1074. </div>
  1075. </div>
  1076. <div class="row" style="padding: 2px 0; line-height: 23px">
  1077. <div class="inline_block">
  1078. 抗凝剂:
  1079. <div
  1080. class="under_line"
  1081. style="width: 150px; text-align: center"
  1082. >
  1083. {{
  1084. prescription.anticoagulant_name
  1085. ? prescription.anticoagulant_name
  1086. : "/"
  1087. }}
  1088. </div>
  1089. </div>
  1090. <div
  1091. class="inline_block"
  1092. style="margin-left: 20px"
  1093. v-if="prescription.anticoagulant != 5"
  1094. >
  1095. 首剂:
  1096. <div
  1097. class="under_line"
  1098. style="width: 50px; text-align: center"
  1099. >
  1100. {{
  1101. prescription.anticoagulant_shouji
  1102. ? prescription.anticoagulant_shouji
  1103. : "/"
  1104. }}
  1105. </div>
  1106. <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10495">
  1107. <span v-if="prescription.anticoagulant == 4">mg</span>
  1108. <span v-if="prescription.anticoagulant == 3">iu</span>
  1109. <span v-if="prescription.anticoagulant == 2">iu</span>
  1110. <span v-if="prescription.anticoagulant == 1">mg</span>
  1111. </span>
  1112. <span v-if="org_id==9675 || org_id==10447 || org_id==9829 || org_id==10440 || org_id==10469 || org_id == 10471 || org_id == 10495">
  1113. <span v-if="prescription.anticoagulant == 4">iu</span>
  1114. <span v-if="prescription.anticoagulant == 3">iu</span>
  1115. <span v-if="prescription.anticoagulant == 2">mg</span>
  1116. <span v-if="prescription.anticoagulant == 5">ml</span>
  1117. <span v-if="prescription.anticoagulant == 6">iu</span>
  1118. <span v-if="prescription.anticoagulant == 7">iu</span>
  1119. <span v-if="prescription.anticoagulant == 8">iu</span>
  1120. <span v-if="prescription.anticoagulant == 9">iu</span>
  1121. <span v-if="prescription.anticoagulant == 10">iu</span>
  1122. <span v-if="prescription.anticoagulant == 11">iu</span>
  1123. <span v-if="prescription.anticoagulant == 13">iu</span>
  1124. </span>
  1125. </div>
  1126. <div class="inline_block" style="margin-left: 20px">
  1127. 维持:
  1128. <div
  1129. v-if="prescription.anticoagulant == 1"
  1130. class="under_line"
  1131. style="width: 50px; text-align: center"
  1132. >
  1133. {{
  1134. prescription.anticoagulant_weichi
  1135. ? prescription.anticoagulant_weichi
  1136. : "/"
  1137. }}
  1138. </div>
  1139. <div
  1140. v-if="prescription.anticoagulant != 1"
  1141. class="under_line"
  1142. style="width: 50px; text-align: center"
  1143. >
  1144. {{
  1145. prescription.anticoagulant_weichi
  1146. ? prescription.anticoagulant_weichi
  1147. : "0"
  1148. }}
  1149. </div>
  1150. <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10495">
  1151. <span v-if="prescription.anticoagulant == 5">ml/h</span>
  1152. <span v-if="prescription.anticoagulant == 4">mg/h</span>
  1153. <span v-if="prescription.anticoagulant == 3">iu/h</span>
  1154. <span v-if="prescription.anticoagulant == 2">iu/h</span>
  1155. <span v-if="prescription.anticoagulant == 1">mg/h</span>
  1156. </span>
  1157. <span v-if="org_id==9675 || org_id==10447 || org_id== 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10495">
  1158. <span v-if="prescription.anticoagulant == 2">mg/h</span>
  1159. <span v-if="prescription.anticoagulant == 3">iu/h</span>
  1160. <span v-if="prescription.anticoagulant == 4">ml</span>
  1161. <span v-if="prescription.anticoagulant == 5">ml/h</span>
  1162. <span v-if="prescription.anticoagulant == 6">iu/h</span>
  1163. <span v-if="prescription.anticoagulant == 7">iu/h</span>
  1164. <span v-if="prescription.anticoagulant == 8">iu/h</span>
  1165. <span v-if="prescription.anticoagulant == 9">iu/h</span>
  1166. <span v-if="prescription.anticoagulant == 10">iu/h</span>
  1167. <span v-if="prescription.anticoagulant == 11">iu/h</span>
  1168. <span v-if="prescription.anticoagulant == 13">iu/h</span>
  1169. </span>
  1170. </div>
  1171. <div
  1172. class="inline_block"
  1173. style="margin-left: 20px"
  1174. v-if="prescription.anticoagulant == 5"
  1175. >
  1176. 钙名称:
  1177. <div
  1178. class="under_line"
  1179. style="width: 150px; text-align: center"
  1180. >
  1181. {{
  1182. prescription.anticoagulant_gaimingcheng
  1183. ? prescription.anticoagulant_gaimingcheng
  1184. : "/"
  1185. }}
  1186. </div>
  1187. </div>
  1188. <div
  1189. class="inline_block"
  1190. style="margin-left: 20px"
  1191. v-if="prescription.anticoagulant == 5"
  1192. >
  1193. 钙剂量:
  1194. <div
  1195. class="under_line"
  1196. style="width: 50px; text-align: center"
  1197. >
  1198. {{
  1199. prescription.anticoagulant_gaijiliang
  1200. ? prescription.anticoagulant_gaijiliang
  1201. : "/"
  1202. }}
  1203. </div>
  1204. ml
  1205. </div>
  1206. <div
  1207. class="inline_block"
  1208. style="margin-left: 20px"
  1209. v-if="prescription.anticoagulant != 5"
  1210. >
  1211. 总量:
  1212. <div
  1213. class="under_line"
  1214. style="width: 50px; text-align: center"
  1215. >
  1216. {{
  1217. prescription.anticoagulant_zongliang
  1218. ? prescription.anticoagulant_zongliang
  1219. : "/"
  1220. }}
  1221. </div>
  1222. <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10495">
  1223. <span v-if="prescription.anticoagulant == 4">mg</span>
  1224. <span v-if="prescription.anticoagulant == 3">iu</span>
  1225. <span v-if="prescription.anticoagulant == 2">iu</span>
  1226. <span v-if="prescription.anticoagulant == 1">mg</span>
  1227. </span>
  1228. <span v-if="org_id==9675 || org_id==10447 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10495">
  1229. <span v-if="prescription.anticoagulant == 2">mg</span>
  1230. <span v-if="prescription.anticoagulant == 3">iu</span>
  1231. <span v-if="prescription.anticoagulant == 4">ml</span>
  1232. <span v-if="prescription.anticoagulant == 5">ml</span>
  1233. <span v-if="prescription.anticoagulant == 6">iu</span>
  1234. <span v-if="prescription.anticoagulant == 7">iu</span>
  1235. <span v-if="prescription.anticoagulant == 8">iu</span>
  1236. <span v-if="prescription.anticoagulant == 9">iu</span>
  1237. <span v-if="prescription.anticoagulant == 10">iu</span>
  1238. <span v-if="prescription.anticoagulant == 11">iu</span>
  1239. <span v-if="prescription.anticoagulant == 13">iu</span>
  1240. </span>
  1241. </div>
  1242. <div class="inline_block" style="margin-left: 20px" v-if="org_id!=9675 && org_id!=10447">
  1243. 透析机号:
  1244. <div
  1245. class="under_line"
  1246. style="width: 50px; text-align: center"
  1247. >
  1248. {{
  1249. dialysisOrder &&
  1250. dialysisOrder.DeviceNumber &&
  1251. dialysisOrder.DeviceNumber.number.length > 0
  1252. ? dialysisOrder.DeviceNumber.number
  1253. : patientInfo.DialysisSchedule.device_number.number
  1254. }}
  1255. </div>
  1256. </div>
  1257. </div>
  1258. <div class="row" style="padding: 2px 0; line-height: 23px" v-if="org_id ==0 || org_id == 3877 || org_id ==10449 || org_id == 9671">
  1259. <div
  1260. class="inline_block"
  1261. style="margin-left: 20px"
  1262. v-if="prescription.anticoagulant != 5"
  1263. >
  1264. 置换速度:
  1265. <div
  1266. class="under_line"
  1267. style="width: 50px; text-align: center"
  1268. >
  1269. {{
  1270. prescription.displace_speed
  1271. ? prescription.displace_speed
  1272. : ""
  1273. }}
  1274. </div>
  1275. <span>ml/h</span>
  1276. </div>
  1277. <div
  1278. class="inline_block"
  1279. style="margin-left: 20px"
  1280. v-if="prescription.anticoagulant != 5"
  1281. >
  1282. 透析液流速:
  1283. <div
  1284. class="under_line"
  1285. style="width: 50px; text-align: center"
  1286. >
  1287. {{
  1288. prescription.dialysis_fluid_flow
  1289. ? prescription.dialysis_fluid_flow
  1290. : ""
  1291. }}
  1292. </div>
  1293. <span>ml/h</span>
  1294. </div>
  1295. <div class="inline_block" style="margin-left: 20px">
  1296. 碳酸氢钠流速:
  1297. <div
  1298. class="under_line"
  1299. style="width: 50px; text-align: center"
  1300. >
  1301. {{
  1302. prescription.sodium_bicarbonate_flow
  1303. ? prescription.sodium_bicarbonate_flow
  1304. : ""
  1305. }}
  1306. </div>
  1307. </div>
  1308. <span>ml/h</span>
  1309. </div>
  1310. <div class="row" style="padding: 2px 0; line-height: 23px" v-if="org_id ==10469 || org_id == 9671">
  1311. <div
  1312. class="inline_block"
  1313. style="margin-left: 20px"
  1314. >
  1315. 透析机型号:
  1316. <div
  1317. class="under_line"
  1318. style="width: 50px; text-align: center"
  1319. >
  1320. {{predialysis.machine_type ? predialysis.machine_type : ""}}
  1321. </div>
  1322. </div>
  1323. <div
  1324. class="inline_block"
  1325. style="margin-left: 20px"
  1326. >
  1327. 跌倒风险评估评分:
  1328. <div
  1329. class="under_line"
  1330. style="width: 50px; text-align: center"
  1331. >
  1332. {{ receiverTreatmentAccess.score }}
  1333. </div>
  1334. </div>
  1335. </div>
  1336. <div
  1337. class="row"
  1338. style="padding: 2px 0; line-height: 23px; display: flex"
  1339. v-if="org_id != 10223"
  1340. >
  1341. <div
  1342. class="inline_block"
  1343. style="flex: 1; display: inline-block"
  1344. v-if="org_id!=9675 && org_id!=10447"
  1345. >
  1346. 备注:
  1347. <div
  1348. class="under_line"
  1349. style="
  1350. width: 860px;
  1351. line-height: 25px;
  1352. text-align: left;
  1353. margin-left: 2px;
  1354. display: inline-block;
  1355. white-space: normal;
  1356. "
  1357. >
  1358. {{ predialysis.remark ? predialysis.remark : "/" }}
  1359. </div>
  1360. </div>
  1361. </div>
  1362. </td>
  1363. </tr>
  1364. <tr>
  1365. <td style="padding: 0; position: relative" colspan="2">
  1366. <table class="inside_table">
  1367. <tbody>
  1368. <tr>
  1369. <td
  1370. :colspan="14"
  1371. style="
  1372. letter-spacing: 5px;
  1373. text-align: center;
  1374. font-weight: 520;
  1375. font-size: 16px;
  1376. padding: 6px 8px;
  1377. line-height: 30px;
  1378. "
  1379. >
  1380. 治疗记录
  1381. </td>
  1382. </tr>
  1383. <tr>
  1384. <td width="50">时间</td>
  1385. <td width="65">收缩压<br />(mmHg)</td>
  1386. <td width="65">舒张压<br />(mmHg)</td>
  1387. <td width="50">脉搏<br />(次/分)</td>
  1388. <td width="50">血流量<br />(ml/min)</td>
  1389. <td width="50">动脉压<br />(次/分)</td>
  1390. <td width="50">静脉压<br />({{monitors[0] &&monitors[0]["venous_pressure_type"] == 2? "kpa": "mmHg"}})</td>
  1391. <td width="50">跨膜压<br />({{monitors[0] &&monitors[0]["transmembrane_pressure_type"] == 2? "kpa" : "mmHg"}})
  1392. </td>
  1393. <td width="50">
  1394. <span> 电导度<br />(ms/cm)</span>
  1395. </td>
  1396. <td width="50">超滤率<br />(ml/h)</td>
  1397. <td width="50">超滤量<br />(ml/h)</td>
  1398. <td width="50">1:9肝素盐水剩余量<br />(ml/h)</td>
  1399. <td width="50">体温<br />(ml/h)</td>
  1400. <td width="50">签名<br /></td>
  1401. </tr>
  1402. <tr v-for="(monitor, monindex) in monitors" :key="monindex">
  1403. <td width="50">{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
  1404. <td width="65">{{monitor.systolic_blood_pressure}}<br /></td>
  1405. <td width="65">{{monitor.diastolic_blood_pressure}}<br /></td>
  1406. <td width="50">{{monitor.pulse_frequency}}<br /></td>
  1407. <td width="50">{{monitor.blood_flow_volume }}<br /></td>
  1408. <td width="50">{{monitor.arterial_pressure }}<br /></td>
  1409. <td width="50">{{monitor.venous_pressure }}<br /></td>
  1410. <td width="50">{{monitor.transmembrane_pressure }}<br />
  1411. </td>
  1412. <td width="50">
  1413. <span>{{monitor.conductivity }} <br /></span>
  1414. </td>
  1415. <td width="50">{{monitor.ultrafiltration_rate}}<br /></td>
  1416. <td width="50">{{monitor.ultrafiltration_volume }}<br /></td>
  1417. <td width="50">{{monitor.heparin }}<br /></td>
  1418. <td width="50">{{monitor.temperature }}<br /></td>
  1419. <td width="50">
  1420. <span v-if="monitor.creator == 0">
  1421. <span
  1422. v-if="setAdminUserES(monitor.modify) == ''"
  1423. >{{ getAdminUser(monitor.modify) }}</span
  1424. >
  1425. <img
  1426. style="height: 30px"
  1427. :src="setAdminUserES(monitor.modify)"
  1428. alt=""
  1429. srcset=""
  1430. v-else
  1431. />
  1432. </span>
  1433. <span v-if="monitor.creator > 0">
  1434. <span
  1435. v-if="setAdminUserES(monitor.creator) == ''"
  1436. >{{ getAdminUser(monitor.creator) }}</span
  1437. >
  1438. <img
  1439. style="height: 30px"
  1440. :src="setAdminUserES(monitor.creator)"
  1441. alt=""
  1442. srcset=""
  1443. v-else
  1444. />
  1445. </span>
  1446. <br />
  1447. </td>
  1448. </tr>
  1449. <tr
  1450. v-for="(monitor, monindex) in monitors2"
  1451. :key="monindex"
  1452. >
  1453. <td width="50"></td>
  1454. <td width="65"><br /></td>
  1455. <td width="65"><br /></td>
  1456. <td width="50"><br /></td>
  1457. <td width="50"><br /></td>
  1458. <td width="50"><br /></td>
  1459. <td width="50"><br /></td>
  1460. <td width="50"><br /> </td>
  1461. <td width="50"></td>
  1462. <td width="50"></td>
  1463. <td width="50"></td>
  1464. <td width="50"></td>
  1465. <td width="50"></td>
  1466. <td width="50"></td>
  1467. </tr>
  1468. </tbody>
  1469. </table>
  1470. </td>
  1471. </tr>
  1472. <tr>
  1473. <td style="padding: 0; position: relative" colspan="2">
  1474. <table class="inside_table">
  1475. <tbody>
  1476. <tr style="line-height: 35px; padding: 8px 5px">
  1477. <td
  1478. colspan="7"
  1479. style="
  1480. letter-spacing: 5px;
  1481. text-align: center;
  1482. font-weight: 520;
  1483. font-size: 16px;
  1484. padding: 6px 8px;
  1485. line-height: 30px;
  1486. "
  1487. >
  1488. 医嘱内容
  1489. </td>
  1490. </tr>
  1491. <!-- <tr style="line-height:35px;padding:8px 5px;">
  1492. <td colspan="4" style="font-size: 16px">开医嘱</td>
  1493. <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
  1494. </tr> -->
  1495. <tr style="line-height: 35px; padding: 8px 5px">
  1496. <td style="font-size: 16px" width="10%">时间</td>
  1497. <td style="font-size: 16px" colspan="2" width="45%">
  1498. 医嘱内容
  1499. </td>
  1500. <td style="font-size: 16px" width="10%">医生签名</td>
  1501. <!-- <td style="font-size: 16px" width="10%">核对人签名</td> -->
  1502. <td style="font-size: 16px" width="10%">执行人签名</td>
  1503. <td style="font-size: 16px" width="10%">时间</td>
  1504. <td
  1505. style="font-size: 16px"
  1506. width="10%"
  1507. >
  1508. 核对护士
  1509. </td>
  1510. </tr>
  1511. <!-- <template v-for="group in doctor_advices" > -->
  1512. <tr
  1513. v-for="(advice, advice_index) in doctor_advices"
  1514. :key="advice_index"
  1515. >
  1516. <td height="32px">
  1517. <span v-if="advice.start_time">
  1518. {{ getTime(advice.start_time, "{h}:{i}") }}
  1519. </span>
  1520. <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
  1521. </td>
  1522. <td
  1523. height="32px"
  1524. colspan="2"
  1525. class="advice-name"
  1526. style="padding-left: 7px"
  1527. >
  1528. <span v-if="advice.parent_id > 0">---></span>
  1529. <span>{{ advice.advice_name }}</span>
  1530. <span v-if="advice && advice.advice_desc"
  1531. >({{ advice.advice_desc
  1532. }}{{ advice.drug_spec_unit }})</span
  1533. >
  1534. <span v-if="advice.prescribing_number"
  1535. >&nbsp;&nbsp; {{ advice.prescribing_number
  1536. }}{{ advice.prescribing_number_unit }}</span
  1537. >
  1538. <span v-if="advice.single_dose != 0"
  1539. >{{ advice.single_dose
  1540. }}{{ advice.single_dose_unit }}</span
  1541. >
  1542. <span v-if="advice.parent_id == 0">{{
  1543. advice.delivery_way
  1544. }}</span>
  1545. <span v-if="advice.parent_id == 0">{{
  1546. advice.execution_frequency
  1547. }}</span>
  1548. <span
  1549. v-if="
  1550. advice.parent_id == 0 && advice.remark.length > 0
  1551. "
  1552. >({{ advice.remark }})</span
  1553. >
  1554. </td>
  1555. <!-- <td colspan="2" height="60px" style="text-align: center" v-else >
  1556. <span>{{advice.delivery_way}}</span>
  1557. <span>{{advice.execution_frequency}}</span>
  1558. <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
  1559. </td> -->
  1560. <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
  1561. <td height="32px">
  1562. <span
  1563. v-if="setAdminUserES(advice.advice_doctor) == ''"
  1564. >{{ getAdminUser(advice.advice_doctor) }}</span
  1565. >
  1566. <img
  1567. style="height: 30px"
  1568. :src="setAdminUserES(advice.advice_doctor)"
  1569. alt=""
  1570. srcset=""
  1571. v-else
  1572. />
  1573. </td>
  1574. <!-- <td height="35px">
  1575. <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
  1576. <img style="height:20px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
  1577. </td> -->
  1578. <td height="32px">
  1579. <span
  1580. v-if="setAdminUserES(advice.execution_staff) == ''"
  1581. >{{ getAdminUser(advice.execution_staff) }}</span
  1582. >
  1583. <img
  1584. style="height: 30px"
  1585. :src="setAdminUserES(advice.execution_staff)"
  1586. alt=""
  1587. srcset=""
  1588. v-else
  1589. />
  1590. </td>
  1591. <td height="32px">
  1592. <span v-if="advice.execution_time">{{
  1593. getTime(advice.execution_time, "{h}:{i}")
  1594. }}</span>
  1595. </td>
  1596. <td height="32px" >
  1597. <span v-if="setAdminUserES(advice.checker) == ''">{{
  1598. getAdminUser(advice.checker)
  1599. }}</span>
  1600. <img
  1601. style="height: 30px"
  1602. :src="setAdminUserES(advice.checker)"
  1603. alt=""
  1604. srcset=""
  1605. v-else
  1606. />
  1607. </td>
  1608. </tr>
  1609. <!-- </template> -->
  1610. </tbody>
  1611. </table>
  1612. </td>
  1613. </tr>
  1614. </tbody>
  1615. </table>
  1616. </div>
  1617. <template v-if="this.totollength > 13">
  1618. <div style="display: inline-block; width: 100%; text-align: center">
  1619. <div
  1620. class="order-yy-name"
  1621. style="
  1622. letter-spacing: 0;
  1623. font-weight: 600;
  1624. font-size: 22px;
  1625. display: inline-block;
  1626. "
  1627. >
  1628. {{ orgname }}
  1629. </div>
  1630. <div
  1631. class="order-title"
  1632. style="
  1633. letter-spacing: 0;
  1634. font-weight: 600;
  1635. font-size: 22px;
  1636. display: inline-block;
  1637. "
  1638. >
  1639. <span v-if="org_id!=3877 && org_id!=0 && org_id!=10449">血液净化治疗记录单</span>
  1640. <span v-if="org_id == 3877 || org_id == 0 || org_id == 10449">
  1641. <span v-if="prescription.mode_id!=13">血液净化治疗记录单</span>
  1642. <span v-if="prescription.mode_id==13">连续性肾脏替代治疗(CRRT)记录单</span>
  1643. </span>
  1644. </div>
  1645. </div>
  1646. <div class="row">
  1647. <div class="inline_block">
  1648. 姓名:
  1649. <div class="under_line" style="width: 50px; text-align: center">
  1650. {{ patientInfo.name }}
  1651. </div>
  1652. </div>
  1653. <div class="inline_block" style="margin-left: 10px">
  1654. 性别:
  1655. <div class="under_line" style="width: 30px; text-align: center">
  1656. {{ patientInfo_gender_1 ? "男" : "女" }}
  1657. </div>
  1658. </div>
  1659. <div class="inline_block" style="margin-left: 10px">
  1660. 年龄:
  1661. <div class="under_line" style="width: 30px; text-align: center">
  1662. {{ getAge(patientInfo) }}
  1663. </div>
  1664. </div>
  1665. <div class="inline_block" v-if="receiverTreatmentAccess.condition == 2 || receiverTreatmentAccess.condition == 0">
  1666. 门诊:
  1667. <div class="under_line" style="width: 30px; text-align: center">
  1668. <check-box :checked="receiverTreatmentAccess.condition == 2 || receiverTreatmentAccess.condition == 0"></check-box>
  1669. </div>
  1670. </div>
  1671. <div class="inline_block" v-if="receiverTreatmentAccess.condition == 1">
  1672. 住院:
  1673. <div class="under_line" style="width: 30px; text-align: center">
  1674. <check-box :checked="receiverTreatmentAccess.condition == 1"></check-box>
  1675. </div>
  1676. </div>
  1677. <div class="inline_block">
  1678. 病区:
  1679. <div class="under_line" style="width: 50px; text-align: center">
  1680. <span v-if="org_id == 10121||org_id == 10138 || org_id == 9675 || org_id == 10447">{{
  1681. patientInfo.DialysisSchedule.device_zone.name
  1682. ? patientInfo.DialysisSchedule.device_zone.name
  1683. : ""
  1684. }}</span>
  1685. <span v-else>{{ "/" }}</span>
  1686. </div>
  1687. </div>
  1688. <div class="inline_block">
  1689. 床号:
  1690. <div class="under_line" style="width: 50px; text-align: center">
  1691. <span v-if="org_id == 10121 || org_id == 9675 || org_id == 10447">{{
  1692. dialysisOrder &&
  1693. dialysisOrder.DeviceNumber &&
  1694. dialysisOrder.DeviceNumber.number.length > 0
  1695. ? dialysisOrder.DeviceNumber.number
  1696. : patientInfo.DialysisSchedule.device_number.number
  1697. }}</span>
  1698. <span v-else>{{ "/" }}</span>
  1699. </div>
  1700. </div>
  1701. <div class="inline_block">
  1702. 透析号:
  1703. <div class="under_line" style="width: 70px; text-align: center">
  1704. {{ patientInfo.dialysis_no }}
  1705. </div>
  1706. </div>
  1707. <div class="inline_block" style="margin-left: 5px"
  1708. v-if="org_id!=9675 && org_id!=10447">
  1709. 住院号/门诊号:
  1710. <div
  1711. class="under_line"
  1712. style="width: 70px; text-align: left"
  1713. v-if="receiverTreatmentAccess.admission_number"
  1714. >
  1715. {{ receiverTreatmentAccess.admission_number }}
  1716. </div>
  1717. <div
  1718. class="under_line"
  1719. style="width: 70px; text-align: left"
  1720. v-else
  1721. >
  1722. {{ "/" }}
  1723. </div>
  1724. </div>
  1725. </div>
  1726. <div class="row" style="margin-bottom: 10px">
  1727. <div class="inline_block">
  1728. 入科方式:
  1729. <!--<check-box v-for="item, index in nutrition_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.nutrition == item.id?true:false"></check-box>-->
  1730. <div
  1731. v-for="(item, index) in way_arr"
  1732. class="under_line"
  1733. v-if="receiverTreatmentAccess.way == item.id"
  1734. style="width: 180px; text-align: left"
  1735. >
  1736. {{ item.name }}
  1737. </div>
  1738. <!--<div-->
  1739. <!--class="under_line"-->
  1740. <!--v-if="receiverTreatmentAccess.way == 0"-->
  1741. <!--style="width: 180px;text-align: left"-->
  1742. <!--&gt;</div>-->
  1743. <!--<div-->
  1744. <!--class="under_line"-->
  1745. <!--v-if="receiverTreatmentAccess.way == 1"-->
  1746. <!--style="width: 180px;text-align: left"-->
  1747. <!--&gt;-->
  1748. <!--步行-->
  1749. <!--</div>-->
  1750. <!--<div-->
  1751. <!--class="under_line"-->
  1752. <!--v-if="receiverTreatmentAccess.way == 2"-->
  1753. <!--style="width: 180px;text-align: left"-->
  1754. <!--&gt;-->
  1755. <!--扶行-->
  1756. <!--</div>-->
  1757. <!--<div-->
  1758. <!--class="under_line"-->
  1759. <!--v-if="receiverTreatmentAccess.way == 3"-->
  1760. <!--style="width: 180px;text-align: left"-->
  1761. <!--&gt;-->
  1762. <!--轮椅-->
  1763. <!--</div>-->
  1764. <!--<div-->
  1765. <!--class="under_line"-->
  1766. <!--v-if="receiverTreatmentAccess.way == 4"-->
  1767. <!--style="width: 180px;text-align: left"-->
  1768. <!--&gt;-->
  1769. <!--平车-->
  1770. <!--</div>-->
  1771. </div>
  1772. <div class="inline_block" style="margin-left: 10px">
  1773. 诊断:
  1774. <div
  1775. class="under_line"
  1776. style="
  1777. width: 640px;
  1778. text-align: left;
  1779. word-break: break-all;
  1780. word-wrap: break-word;
  1781. display: inline-block;
  1782. "
  1783. >
  1784. {{ patientInfo.diagnose }}
  1785. </div>
  1786. </div>
  1787. </div>
  1788. </template>
  1789. <div class="row" style="margin-top: -11px; position: relative">
  1790. <table class="proj_table">
  1791. <tbody>
  1792. <template v-if="doctor_advices_2.length > 0">
  1793. <tr style="line-height: 35px; padding: 8px 5px">
  1794. <td
  1795. colspan="7"
  1796. style="
  1797. letter-spacing: 5px;
  1798. text-align: center;
  1799. font-weight: 520;
  1800. font-size: 16px;
  1801. padding: 6px 8px;
  1802. line-height: 30px;
  1803. "
  1804. >
  1805. 医嘱内容
  1806. </td>
  1807. </tr>
  1808. <!-- <tr style="line-height:35px;padding:8px 5px;">
  1809. <td colspan="4" style="font-size: 16px">开医嘱</td>
  1810. <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
  1811. </tr> -->
  1812. <tr style="line-height: 35px; padding: 8px 5px">
  1813. <td style="font-size: 16px" width="10%">时间</td>
  1814. <td style="font-size: 16px" colspan="2" width="45%">
  1815. 医嘱内容
  1816. </td>
  1817. <td style="font-size: 16px" width="10%">医生签名</td>
  1818. <!-- <td style="font-size: 16px" width="10%">核对人签名</td> -->
  1819. <td style="font-size: 16px" width="10%">执行人签名</td>
  1820. <td style="font-size: 16px" width="10%">时间</td>
  1821. <td
  1822. style="font-size: 16px"
  1823. width="10%"
  1824. >
  1825. 核对护士
  1826. </td>
  1827. </tr>
  1828. <!-- <template v-for="group in doctor_advices" > -->
  1829. <tr
  1830. v-for="(advice, advice_index) in doctor_advices_2"
  1831. :key="advice_index"
  1832. >
  1833. <td height="32px">
  1834. <span v-if="advice.start_time">
  1835. {{ getTime(advice.start_time, "{h}:{i}") }}
  1836. </span>
  1837. <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
  1838. </td>
  1839. <td
  1840. height="32px"
  1841. colspan="2"
  1842. class="advice-name"
  1843. style="padding-left: 7px"
  1844. >
  1845. <span v-if="advice.parent_id > 0">---></span>
  1846. <span>{{ advice.advice_name }}</span>
  1847. <span v-if="advice && advice.advice_desc"
  1848. >({{ advice.advice_desc
  1849. }}{{ advice.drug_spec_unit }})</span
  1850. >
  1851. <span v-if="advice.prescribing_number"
  1852. >&nbsp;&nbsp; {{ advice.prescribing_number
  1853. }}{{ advice.prescribing_number_unit }}</span
  1854. >
  1855. <span v-if="advice.single_dose != 0"
  1856. >{{ advice.single_dose
  1857. }}{{ advice.single_dose_unit }}</span
  1858. >
  1859. <span v-if="advice.parent_id == 0">{{
  1860. advice.delivery_way
  1861. }}</span>
  1862. <span v-if="advice.parent_id == 0">{{
  1863. advice.execution_frequency
  1864. }}</span>
  1865. <span
  1866. v-if="advice.parent_id == 0 && advice.remark.length > 0"
  1867. >({{ advice.remark }})</span
  1868. >
  1869. </td>
  1870. <!-- <td colspan="2" height="60px" style="text-align: center" v-else >
  1871. <span>{{advice.delivery_way}}</span>
  1872. <span>{{advice.execution_frequency}}</span>
  1873. <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
  1874. </td> -->
  1875. <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
  1876. <td height="32px">
  1877. <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{
  1878. getAdminUser(advice.advice_doctor)
  1879. }}</span>
  1880. <img
  1881. style="height: 30px"
  1882. :src="setAdminUserES(advice.advice_doctor)"
  1883. alt=""
  1884. srcset=""
  1885. v-else
  1886. />
  1887. </td>
  1888. <!-- <td height="35px">
  1889. <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
  1890. <img style="height:20px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
  1891. </td> -->
  1892. <td height="32px">
  1893. <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
  1894. getAdminUser(advice.execution_staff)
  1895. }}</span>
  1896. <img
  1897. style="height: 30px"
  1898. :src="setAdminUserES(advice.execution_staff)"
  1899. alt=""
  1900. srcset=""
  1901. v-else
  1902. />
  1903. </td>
  1904. <td height="32px">
  1905. <span v-if="advice.execution_time">{{
  1906. getTime(advice.execution_time, "{h}:{i}")
  1907. }}</span>
  1908. </td>
  1909. <td height="32px" >
  1910. <span v-if="setAdminUserES(advice.checker) == ''">{{
  1911. getAdminUser(advice.checker)
  1912. }}</span>
  1913. <img
  1914. style="height: 30px"
  1915. :src="setAdminUserES(advice.checker)"
  1916. alt=""
  1917. srcset=""
  1918. v-else
  1919. />
  1920. </td>
  1921. </tr>
  1922. </template>
  1923. <tr>
  1924. <td
  1925. colspan="7"
  1926. style="
  1927. letter-spacing: 5px;
  1928. text-align: center;
  1929. font-weight: 520;
  1930. font-size: 16px;
  1931. padding: 6px 8px;
  1932. line-height: 30px;
  1933. "
  1934. >
  1935. 透析后情况
  1936. </td>
  1937. </tr>
  1938. <tr>
  1939. <td colspan="7">
  1940. <div
  1941. class="row"
  1942. style="padding: 2px 0; line-height: 23px; display: flex"
  1943. >
  1944. <div class="inline_block" style="flex: 1">
  1945. T:
  1946. <div
  1947. class="under_line"
  1948. style="width: 50px; text-align: center"
  1949. >
  1950. {{
  1951. afterdialysis.temperature
  1952. ? afterdialysis.temperature
  1953. : "/"
  1954. }}
  1955. </div>
  1956. °C
  1957. </div>
  1958. <div
  1959. class="inline_block"
  1960. style="margin-left: 10px; flex: 1"
  1961. >
  1962. P:
  1963. <div
  1964. class="under_line"
  1965. style="width: 50px; text-align: center"
  1966. >
  1967. {{
  1968. afterdialysis.pulse_frequency
  1969. ? afterdialysis.pulse_frequency
  1970. : "/"
  1971. }}
  1972. </div>
  1973. 次/分
  1974. </div>
  1975. <div
  1976. class="inline_block"
  1977. style="margin-left: 10px; flex: 1"
  1978. >
  1979. R:
  1980. <div
  1981. class="under_line"
  1982. style="width: 50px; text-align: center"
  1983. >
  1984. {{
  1985. afterdialysis.breathing_rate
  1986. ? afterdialysis.breathing_rate
  1987. : "/"
  1988. }}
  1989. </div>
  1990. 次/分
  1991. </div>
  1992. <div
  1993. class="inline_block"
  1994. style="margin-left: 10px; flex: 1.5"
  1995. >
  1996. BP:
  1997. <div
  1998. class="under_line"
  1999. style="width: 50px; text-align: center"
  2000. >
  2001. {{
  2002. afterdialysis.systolic_blood_pressure
  2003. ? afterdialysis.systolic_blood_pressure
  2004. : "/"
  2005. }}
  2006. </div>
  2007. /
  2008. <div
  2009. class="under_line"
  2010. style="width: 50px; text-align: center"
  2011. >
  2012. {{
  2013. afterdialysis.diastolic_blood_pressure
  2014. ? afterdialysis.diastolic_blood_pressure
  2015. : "/"
  2016. }}
  2017. </div>
  2018. mmHg
  2019. </div>
  2020. <div class="inline_block" style="flex: 1.5">
  2021. 实际治疗时间:
  2022. <div
  2023. class="under_line"
  2024. style="width: 30px; text-align: center"
  2025. >
  2026. {{
  2027. afterdialysis.actual_treatment_hour
  2028. ? afterdialysis.actual_treatment_hour
  2029. : "/"
  2030. }}
  2031. </div>
  2032. h
  2033. <div
  2034. class="under_line"
  2035. style="width: 30px; text-align: center"
  2036. >
  2037. {{
  2038. afterdialysis.actual_treatment_minute
  2039. ? afterdialysis.actual_treatment_minute
  2040. : 0
  2041. }}
  2042. </div>
  2043. min
  2044. </div>
  2045. </div>
  2046. <!-- <div
  2047. class="row"
  2048. style="padding: 2px 0; line-height: 23px; display: flex"
  2049. v-if="org_id==9538 || org_id==9675"
  2050. >
  2051. <div class="inline_block" style="flex: 2.5">
  2052. KT/V:
  2053. <div
  2054. class="under_line"
  2055. style="
  2056. width: 170px;
  2057. text-align: center;
  2058. white-space: normal;
  2059. "
  2060. >
  2061. {{ afterdialysis.ktv ? afterdialysis.ktv : "/" }}
  2062. </div>
  2063. </div>
  2064. <div class="inline_block" style="flex: 2.5">
  2065. 累积血容量:
  2066. <div
  2067. class="under_line"
  2068. style="
  2069. width: 170px;
  2070. text-align: center;
  2071. white-space: normal;
  2072. "
  2073. >
  2074. {{ afterdialysis.accumulated_blood_volume ? afterdialysis.accumulated_blood_volume : "/" }}
  2075. </div>
  2076. </div>
  2077. </div> -->
  2078. <div
  2079. class="row"
  2080. style="padding: 2px 0; line-height: 23px; display: flex"
  2081. >
  2082. <div class="inline_block" style="flex: 2.5">
  2083. 透析器凝血:
  2084. <div
  2085. class="under_line"
  2086. style="
  2087. width: 170px;
  2088. text-align: center;
  2089. white-space: normal;
  2090. "
  2091. >
  2092. {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
  2093. </div>
  2094. </div>
  2095. <div class="inline_block" style="flex: 2"
  2096. v-if="org_id!=9675 && org_id!=10447">
  2097. 内瘘:
  2098. <div
  2099. class="under_line"
  2100. style="
  2101. width: 170px;
  2102. text-align: center;
  2103. white-space: normal;
  2104. "
  2105. >
  2106. {{
  2107. afterdialysis.internal_fistula
  2108. ? afterdialysis.internal_fistula
  2109. : "/"
  2110. }}
  2111. </div>
  2112. </div>
  2113. <div class="inline_block" style="flex: 4"
  2114. v-if="org_id!=9675 && org_id!=10447">
  2115. 导管:
  2116. <div
  2117. class="under_line"
  2118. style="min-width: 120px; text-align: center"
  2119. >
  2120. {{
  2121. afterdialysis.catheter ? afterdialysis.catheter : "/"
  2122. }}
  2123. </div>
  2124. </div>
  2125. </div>
  2126. <div
  2127. class="row"
  2128. style="padding: 2px 0; line-height: 23px; display: flex"
  2129. >
  2130. <div class="inline_block" style="flex: 1">
  2131. 透后体重:
  2132. <div
  2133. class="under_line"
  2134. style="width: 70px; text-align: center"
  2135. >
  2136. <span v-if="org_id!=9675&&org_id!=10447">
  2137. {{
  2138. afterdialysis.weight_after
  2139. ? parseFloat(
  2140. afterdialysis.weight_after -
  2141. afterdialysis.additional_weight
  2142. ).toFixed(1)
  2143. : "/"
  2144. }}
  2145. </span>
  2146. <span v-if="org_id ==9675 || org_id==10447">
  2147. {{
  2148. afterdialysis.weight_after
  2149. ? parseFloat(
  2150. afterdialysis.weight_after -
  2151. afterdialysis.additional_weight
  2152. ).toFixed(1)
  2153. : "未称重"
  2154. }}
  2155. </span>
  2156. </div>
  2157. kg
  2158. </div>
  2159. <div class="inline_block" style="flex: 1">
  2160. 体重减少:
  2161. <div
  2162. class="under_line"
  2163. style="width: 70px; text-align: center"
  2164. >
  2165. {{
  2166. afterdialysis.weight_loss
  2167. ? afterdialysis.weight_loss
  2168. : "/"
  2169. }}
  2170. </div>
  2171. kg
  2172. </div>
  2173. <div
  2174. class="inline_block"
  2175. style="flex: 1"
  2176. v-if="org_id != 10223"
  2177. >
  2178. 透析中入量(L):
  2179. <div
  2180. class="under_line"
  2181. style="width: 70px; text-align: center"
  2182. >
  2183. {{
  2184. afterdialysis.dialysis_intakes
  2185. ? afterdialysis.dialysis_intakes
  2186. : "/"
  2187. }}
  2188. </div>
  2189. {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
  2190. </div>
  2191. <div class="inline_block" style="flex: 1">
  2192. 实际超滤量:
  2193. <div
  2194. class="under_line"
  2195. style="width: 70px; text-align: center"
  2196. >
  2197. {{
  2198. afterdialysis.actual_ultrafiltration
  2199. ? afterdialysis.actual_ultrafiltration
  2200. : "/"
  2201. }}
  2202. </div>
  2203. <span v-if="org_id!=9675&&org_id!=10447"> ml</span>
  2204. <span v-if="org_id ==9675||org_id==10447">L</span>
  2205. </div>
  2206. </div>
  2207. <div
  2208. class="row"
  2209. style="padding: 2px 0; line-height: 23px; display: flex"
  2210. v-if="org_id == 10223"
  2211. >
  2212. <div class="inline_block" style="flex: 1">
  2213. 动脉管道:
  2214. <div
  2215. class="under_line"
  2216. style="width: 100px; text-align: center"
  2217. >
  2218. <span v-if="afterdialysis.arterial_tube == 0">/</span>
  2219. <span v-if="afterdialysis.arterial_tube == 1"
  2220. >动脉管道0</span
  2221. >
  2222. <span v-if="afterdialysis.arterial_tube == 2"
  2223. >动脉管道+</span
  2224. >
  2225. <span v-if="afterdialysis.arterial_tube == 3"
  2226. >动脉管道++</span
  2227. >
  2228. <span v-if="afterdialysis.arterial_tube == 4"
  2229. >动脉管道+++</span
  2230. >
  2231. </div>
  2232. </div>
  2233. <div class="inline_block" style="flex: 1">
  2234. 静脉管道:
  2235. <div
  2236. class="under_line"
  2237. style="width: 100px; text-align: center"
  2238. >
  2239. <span v-if="afterdialysis.intravenous_tube == 0"
  2240. >/</span
  2241. >
  2242. <span v-if="afterdialysis.intravenous_tube == 1"
  2243. >静脉管道0</span
  2244. >
  2245. <span v-if="afterdialysis.intravenous_tube == 2"
  2246. >静脉管道+</span
  2247. >
  2248. <span v-if="afterdialysis.intravenous_tube == 3"
  2249. >静脉管道++</span
  2250. >
  2251. <span v-if="afterdialysis.intravenous_tube == 4"
  2252. >静脉管道+++</span
  2253. >
  2254. </div>
  2255. </div>
  2256. <div class="inline_block" style="flex: 1">
  2257. 并发症:
  2258. <div
  2259. class="under_line"
  2260. style="width: 170px; text-align: center"
  2261. >
  2262. {{
  2263. afterdialysis.complication
  2264. ? afterdialysis.complication
  2265. : "/"
  2266. }}
  2267. </div>
  2268. </div>
  2269. </div>
  2270. <div
  2271. class="row"
  2272. style="padding: 2px 0; line-height: 23px; display: flex"
  2273. v-if="org_id == 10223"
  2274. >
  2275. <div class="inline_block" style="flex: 1">
  2276. 穿刺处血肿:
  2277. <div
  2278. class="under_line"
  2279. style="width: 50px; text-align: center"
  2280. >
  2281. <span v-if="afterdialysis.puncture_point_haematoma == 0"
  2282. >/</span
  2283. >
  2284. <span v-if="afterdialysis.puncture_point_haematoma == 1"
  2285. >有</span
  2286. >
  2287. <span v-if="afterdialysis.puncture_point_haematoma == 2"
  2288. >无</span
  2289. >
  2290. </div>
  2291. </div>
  2292. <div class="inline_block" style="flex: 1">
  2293. 中心静脉封管(肝素-A端):
  2294. <div
  2295. class="under_line"
  2296. style="width: 70px; text-align: center"
  2297. >
  2298. {{ afterdialysis.cvc_a ? afterdialysis.cvc_a : "/" }}
  2299. </div>
  2300. </div>
  2301. <div class="inline_block" style="flex: 1">
  2302. 中心静脉封管(肝素-V端):
  2303. <div
  2304. class="under_line"
  2305. style="width: 70px; text-align: center"
  2306. >
  2307. {{ afterdialysis.cvc_v ? afterdialysis.cvc_v : "/" }}
  2308. </div>
  2309. </div>
  2310. </div>
  2311. <div
  2312. v-if="org_id == 10440 || org_id == 0"
  2313. class="row"
  2314. style="padding: 2px 0; line-height: 23px; display: flex"
  2315. >
  2316. <div
  2317. class="inline_block"
  2318. style="flex: 1; display: inline-block"
  2319. >
  2320. 衣物重:
  2321. <div
  2322. class="under_line"
  2323. style="
  2324. width: 100px;
  2325. line-height: 25px;
  2326. text-align: left;
  2327. margin-left: 2px;
  2328. display: inline-block;
  2329. white-space: normal;
  2330. "
  2331. >
  2332. {{
  2333. afterdialysis.additional_weight
  2334. ? afterdialysis.additional_weight
  2335. : "/"
  2336. }}
  2337. </div>
  2338. </div>
  2339. </div>
  2340. <div
  2341. class="row"
  2342. style="padding: 2px 0; line-height: 23px; display: flex"
  2343. >
  2344. <div
  2345. class="inline_block"
  2346. style="flex: 1; display: inline-block"
  2347. >
  2348. 治疗小结:
  2349. <div
  2350. class="under_line"
  2351. style="
  2352. width: 860px;
  2353. line-height: 25px;
  2354. text-align: left;
  2355. margin-left: 2px;
  2356. display: inline-block;
  2357. white-space: normal;
  2358. "
  2359. >
  2360. {{
  2361. summary.dialysis_summary
  2362. ? summary.dialysis_summary
  2363. : "/"
  2364. }}
  2365. </div>
  2366. </div>
  2367. </div>
  2368. <div
  2369. class="row"
  2370. style="padding: 2px 0; line-height: 23px; display: flex"
  2371. v-if="org_id != 10223&&org_id!=9538&&org_id!=9675"
  2372. >
  2373. <div
  2374. class="inline_block"
  2375. style="flex: 1; display: inline-block"
  2376. v-if="org_id!=9675 && org_id!=10447"
  2377. >
  2378. 备注:
  2379. <div
  2380. class="under_line"
  2381. style="
  2382. width: 860px;
  2383. line-height: 25px;
  2384. text-align: left;
  2385. margin-left: 2px;
  2386. display: inline-block;
  2387. white-space: normal;
  2388. "
  2389. >
  2390. {{ afterdialysis.remark ? afterdialysis.remark : "/" }}
  2391. </div>
  2392. </div>
  2393. </div>
  2394. <div
  2395. class="row"
  2396. style="padding: 2px 0; line-height: 23px; display: flex"
  2397. v-if="org_id == 9538||org_id == 9675"
  2398. >
  2399. <div
  2400. class="inline_block"
  2401. style="flex: 1; display: inline-block"
  2402. >
  2403. 中心静脉导管封管:A端<div
  2404. class="under_line"
  2405. style="
  2406. width: 60px;
  2407. line-height: 25px;
  2408. text-align: center;
  2409. margin-left: 2px;
  2410. display: inline-block;
  2411. white-space: normal;
  2412. "
  2413. >
  2414. {{ lastafterdialysis.cvc_a ? lastafterdialysis.cvc_a : "/" }}
  2415. </div>ml,V端<div
  2416. class="under_line"
  2417. style="
  2418. width: 60px;
  2419. line-height: 25px;
  2420. text-align: center;
  2421. margin-left: 2px;
  2422. display: inline-block;
  2423. white-space: normal;
  2424. "
  2425. >
  2426. {{ lastafterdialysis.cvc_v ? lastafterdialysis.cvc_v : "/" }}
  2427. </div>ml
  2428. </div>
  2429. </div>
  2430. </td>
  2431. </tr>
  2432. <tr>
  2433. <td colspan="7">
  2434. <div
  2435. class="row"
  2436. style="padding: 2px 0; line-height: 23px; display: flex"
  2437. >
  2438. <div v-if="org_id == 0 || org_id == 10440">
  2439. <div class="inline_block" style="flex: 1">
  2440. 上机护士:
  2441. <div
  2442. class="under_line"
  2443. style="width: 80px; text-align: center"
  2444. >
  2445. <span
  2446. style="height: 30px; display: inline-block"
  2447. v-if="
  2448. setAdminUserES(
  2449. dialysisOrder == null
  2450. ? 0
  2451. : dialysisOrder.start_nurse
  2452. ) == ''
  2453. "
  2454. >
  2455. {{
  2456. getAdminUser(
  2457. dialysisOrder == null
  2458. ? 0
  2459. : dialysisOrder.start_nurse
  2460. )
  2461. }}</span
  2462. >
  2463. <img
  2464. style="height: 40px"
  2465. :src="
  2466. setAdminUserES(
  2467. dialysisOrder == null
  2468. ? 0
  2469. : dialysisOrder.start_nurse
  2470. )
  2471. "
  2472. alt=""
  2473. srcset=""
  2474. v-else
  2475. />
  2476. </div>
  2477. </div>
  2478. </div>
  2479. <div v-if="org_id!=0 && org_id!=10440">
  2480. <div class="inline_block" style="flex: 1">
  2481. 穿刺护士:
  2482. <div
  2483. class="under_line"
  2484. style="width: 80px; text-align: center"
  2485. >
  2486. <span
  2487. style="height: 30px; display: inline-block"
  2488. v-if="
  2489. setAdminUserES(
  2490. dialysisOrder == null
  2491. ? 0
  2492. : dialysisOrder.puncture_nurse
  2493. ) == ''
  2494. "
  2495. >
  2496. {{
  2497. getAdminUser(
  2498. dialysisOrder == null
  2499. ? 0
  2500. : dialysisOrder.puncture_nurse
  2501. )
  2502. }}</span
  2503. >
  2504. <img
  2505. style="height: 40px"
  2506. :src="
  2507. setAdminUserES(
  2508. dialysisOrder == null
  2509. ? 0
  2510. : dialysisOrder.puncture_nurse
  2511. )
  2512. "
  2513. alt=""
  2514. srcset=""
  2515. v-else
  2516. />
  2517. </div>
  2518. </div>
  2519. </div>
  2520. <div v-if="org_id==0||org_id==10440">
  2521. <div class="inline_block" style="flex: 1">
  2522. <div>
  2523. <span>责任护士:</span>
  2524. <div
  2525. class="under_line"
  2526. style="width: 80px; text-align: center"
  2527. >
  2528. <span
  2529. style="height: 40px; display: inline-block"
  2530. v-if="
  2531. setAdminUserES(
  2532. dialysisOrder == null
  2533. ? 0
  2534. : dialysisOrder.start_nurse
  2535. ) == ''
  2536. "
  2537. >
  2538. {{
  2539. getAdminUser(
  2540. dialysisOrder == null
  2541. ? 0
  2542. : dialysisOrder.start_nurse
  2543. )
  2544. }}</span
  2545. >
  2546. <img
  2547. style="height: 40px"
  2548. :src="
  2549. setAdminUserES(
  2550. dialysisOrder == null
  2551. ? 0
  2552. : dialysisOrder.start_nurse
  2553. )
  2554. "
  2555. alt=""
  2556. srcset=""
  2557. v-else
  2558. />
  2559. </div>
  2560. </div>
  2561. </div>
  2562. </div>
  2563. <div v-if="org_id!=0&&org_id!=10440">
  2564. <div class="inline_block" style="flex: 1">
  2565. <span v-if="org_id==10414">责任护士:</span>
  2566. <span v-else>治疗护士:</span>
  2567. <div
  2568. class="under_line"
  2569. style="width: 80px; text-align: center"
  2570. >
  2571. <span
  2572. style="height: 30px; display: inline-block"
  2573. v-if="
  2574. setAdminUserES(
  2575. dialysisOrder == null
  2576. ? 0
  2577. : dialysisOrder.start_nurse
  2578. ) == ''
  2579. "
  2580. >
  2581. {{
  2582. getAdminUser(
  2583. dialysisOrder == null
  2584. ? 0
  2585. : dialysisOrder.start_nurse
  2586. )
  2587. }}</span
  2588. >
  2589. <img
  2590. style="height: 40px"
  2591. :src="
  2592. setAdminUserES(
  2593. dialysisOrder == null
  2594. ? 0
  2595. : dialysisOrder.start_nurse
  2596. )
  2597. "
  2598. alt=""
  2599. srcset=""
  2600. v-else
  2601. />
  2602. </div>
  2603. </div>
  2604. </div>
  2605. <div class="inline_block" style="flex: 1">
  2606. <span v-if="org_id==10387" >核对护士:</span>
  2607. <span v-else >核对人员:</span>
  2608. <div
  2609. class="under_line"
  2610. style="width: 80px; text-align: center"
  2611. v-if="dialysisOrder == null"
  2612. >
  2613. <span
  2614. style="height: 30px; display: inline-block"
  2615. v-if="
  2616. setAdminUserES(check == null ? 0 : check.creater) ==
  2617. ''
  2618. "
  2619. >
  2620. {{ getAdminUser(check == null ? 0 : check.creater) }}
  2621. </span>
  2622. <img
  2623. style="height: 40px"
  2624. :src="
  2625. setAdminUserES(check == null ? 0 : check.creater)
  2626. "
  2627. alt=""
  2628. srcset=""
  2629. v-else
  2630. />
  2631. </div>
  2632. <div
  2633. class="under_line"
  2634. style="width: 80px; text-align: center"
  2635. v-if="
  2636. dialysisOrder != null &&
  2637. dialysisOrder.start_nurse == check.modifier
  2638. "
  2639. >
  2640. <span
  2641. style="height: 30px; display: inline-block"
  2642. v-if="
  2643. setAdminUserES(check == null ? 0 : check.creater) ==
  2644. ''
  2645. "
  2646. >
  2647. {{ getAdminUser(check == null ? 0 : check.creater) }}
  2648. </span>
  2649. <img
  2650. style="height: 40px"
  2651. :src="
  2652. setAdminUserES(check == null ? 0 : check.creater)
  2653. "
  2654. alt=""
  2655. srcset=""
  2656. v-else
  2657. />
  2658. </div>
  2659. <div
  2660. class="under_line"
  2661. style="width: 80px; text-align: center"
  2662. v-if="
  2663. dialysisOrder != null &&
  2664. dialysisOrder.start_nurse == check.creater
  2665. "
  2666. >
  2667. <span
  2668. style="height: 30px; display: inline-block"
  2669. v-if="
  2670. setAdminUserES(
  2671. check == null ? 0 : check.modifier
  2672. ) == ''
  2673. "
  2674. >
  2675. {{ getAdminUser(check == null ? 0 : check.modifier) }}
  2676. </span>
  2677. <img
  2678. style="height: 40px"
  2679. :src="
  2680. setAdminUserES(check == null ? 0 : check.modifier)
  2681. "
  2682. alt=""
  2683. srcset=""
  2684. v-else
  2685. />
  2686. </div>
  2687. <div
  2688. class="under_line"
  2689. style="width: 80px; text-align: center"
  2690. v-if="
  2691. dialysisOrder != null &&
  2692. dialysisOrder.start_nurse != check.creater &&
  2693. dialysisOrder.start_nurse != check.modifier
  2694. "
  2695. >
  2696. <span
  2697. style="height: 30px; display: inline-block"
  2698. v-if="
  2699. setAdminUserES(check == null ? 0 : check.creater) ==
  2700. ''
  2701. "
  2702. >
  2703. {{ getAdminUser(check == null ? 0 : check.creater) }}
  2704. </span>
  2705. <img
  2706. style="height: 40px"
  2707. :src="
  2708. setAdminUserES(check == null ? 0 : check.creater)
  2709. "
  2710. alt=""
  2711. srcset=""
  2712. v-else
  2713. />
  2714. </div>
  2715. </div>
  2716. <div class="inline_block" style="flex: 1">
  2717. 下机护士:
  2718. <div
  2719. class="under_line"
  2720. style="width: 80px; text-align: center"
  2721. >
  2722. <span
  2723. style="height: 30px; display: inline-block"
  2724. v-if="
  2725. setAdminUserES(
  2726. dialysisOrder == null
  2727. ? 0
  2728. : dialysisOrder.finish_nurse
  2729. ) == ''
  2730. "
  2731. >
  2732. {{
  2733. getAdminUser(
  2734. dialysisOrder == null
  2735. ? 0
  2736. : dialysisOrder.finish_nurse
  2737. )
  2738. }}
  2739. </span>
  2740. <img
  2741. style="height: 40px"
  2742. :src="
  2743. setAdminUserES(
  2744. dialysisOrder == null
  2745. ? 0
  2746. : dialysisOrder.finish_nurse
  2747. )
  2748. "
  2749. alt=""
  2750. srcset=""
  2751. v-else
  2752. />
  2753. </div>
  2754. </div>
  2755. <div class="inline_block" style="flex: 1">
  2756. 治疗医生:
  2757. <div
  2758. class="under_line"
  2759. style="width: 80px; text-align: center"
  2760. >
  2761. <span
  2762. style="height: 30px; display: inline-block"
  2763. v-if="setAdminUserES(prescription.creater) == ''"
  2764. >
  2765. {{ getAdminUser(prescription.creater) }}
  2766. </span>
  2767. <img
  2768. style="height: 40px"
  2769. :src="setAdminUserES(prescription.creater)"
  2770. alt=""
  2771. srcset=""
  2772. v-else
  2773. />
  2774. </div>
  2775. </div>
  2776. </div>
  2777. </td>
  2778. </tr>
  2779. </tbody>
  2780. </table>
  2781. <!-- <div class="print-yema">1</div> -->
  2782. </div>
  2783. </div>
  2784. </div>
  2785. </div>
  2786. </template>
  2787. <script>
  2788. import CheckBox from "../batch_print/option_check_box";
  2789. import { getDialysisRecord } from "@/api/dialysis";
  2790. import { getDataConfig } from "@/utils/data";
  2791. import { jsGetAge, uParseTime } from "@/utils/tools";
  2792. import LabelBox from "../printItem/LabelBox";
  2793. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  2794. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  2795. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  2796. import print from "print-js";
  2797. export default {
  2798. name: "dialysisPrintOrderSix",
  2799. props: ["childResponse"],
  2800. components: {
  2801. // DialysisPrintOrderOne,
  2802. // DialysisPrintOrderTwo,
  2803. CheckBox,
  2804. LabelBox,
  2805. BreadCrumb,
  2806. },
  2807. data() {
  2808. return {
  2809. way_arr: [],
  2810. consciousness_arr: [],
  2811. appetite_arr: [],
  2812. posture_arr: [],
  2813. sick_condition_arr: [],
  2814. precaution_arr: [],
  2815. intake_arr: [],
  2816. nutrition_arr: [],
  2817. crumbs: [
  2818. { path: false, name: "透析管理" },
  2819. { path: false, name: "打印单" },
  2820. ],
  2821. operators: [],
  2822. adminUser: [],
  2823. check: {},
  2824. xtdate: "",
  2825. dialysisOrder: {
  2826. DeviceNumber: [],
  2827. },
  2828. displaceLiquiPartOptions: [],
  2829. operatorMaps: {},
  2830. complications: [
  2831. "低血压",
  2832. "高血压",
  2833. "心律失常",
  2834. "头晕",
  2835. "头痛",
  2836. "呕吐",
  2837. "抽搐",
  2838. "出血",
  2839. "心衰",
  2840. "腹痛",
  2841. ],
  2842. jilurow: 0,
  2843. advice_jilurow: 0,
  2844. loading: false,
  2845. orgname: "",
  2846. patientInfo_gender_1: false,
  2847. patientInfo_gender_2: false,
  2848. patientInfo_source_2: false,
  2849. patientInfo_source_1: false,
  2850. modeOptions: {},
  2851. replacementWays: [],
  2852. perfusionApparatus: [],
  2853. anticoagulantsConfit: {},
  2854. bloodAccessParOpera: {},
  2855. dialysateFormulationOptions: {},
  2856. totollength: 0,
  2857. queryParams: {
  2858. xtdate: "",
  2859. xtno: "",
  2860. patient_id:0,
  2861. },
  2862. patientInfo: {
  2863. birth: "",
  2864. age: "",
  2865. DialysisSchedule: {
  2866. device_number: { number: "" },
  2867. device_zone: { name: "" },
  2868. },
  2869. gender: 0,
  2870. },
  2871. predialysis: {
  2872. score: "",
  2873. internal_fistula: "",
  2874. internal_fistula_skin: "",
  2875. catheter: "",
  2876. blood_access_part_opera_name: "",
  2877. },
  2878. afterdialysis: {
  2879. complications_index: "",
  2880. },
  2881. lastafterdialysis: {},
  2882. prescription: {
  2883. dialysate_formulation_name: "",
  2884. device: {},
  2885. },
  2886. advices: [],
  2887. users: [],
  2888. monitors: [],
  2889. monitors2: [],
  2890. summary: {},
  2891. receiverTreatmentAccess: {},
  2892. org_template_info: {},
  2893. doctor_advices: [],
  2894. doctor_advices_2: [],
  2895. advice_groups: [],
  2896. advice_groups_2: [],
  2897. print_length: 0,
  2898. blood_access_part: [],
  2899. blood_access_part_opera: [],
  2900. AlPanel: {
  2901. id: 0,
  2902. name: "",
  2903. type: 1,
  2904. shouji: 2,
  2905. weichi: 2,
  2906. zongliang: 2,
  2907. gaimingcheng: -1,
  2908. gaijiliang: -1,
  2909. shouji_unit: "mg",
  2910. weichi_unit: "mg/h",
  2911. zongliang_unit: "mg",
  2912. gaimingcheng_unit: "",
  2913. gaijiliang_unit: "",
  2914. },
  2915. org_id: 0,
  2916. };
  2917. },
  2918. methods: {
  2919. // 获取当前年份,用于年龄计算
  2920. getoldAge() {
  2921. let date = new Date();
  2922. let year = date.getFullYear();
  2923. let year_d =
  2924. this.xtdate.split("-")[0] - this.patientInfo.birth.split("-")[0];
  2925. let year_m = this.xtdate.split("-")[1];
  2926. let birth_m = this.patientInfo.birth.split("-")[1];
  2927. let year_date = this.xtdate.split("-")[2];
  2928. let birth_date = this.patientInfo.birth.split("-")[2];
  2929. // console.log(year,'今年年月')
  2930. // console.log(this.xtdate.split('-'),'病人就诊年月')
  2931. console.log(this.patientInfo.birth, "病人生日");
  2932. // console.log(year_d,'year_d')
  2933. if (year_m < birth_m) {
  2934. return year_d - 1;
  2935. } else if (year_m == birth_m) {
  2936. if (year_date < birth_date) {
  2937. return year_d - 1;
  2938. } else {
  2939. return year_d;
  2940. }
  2941. } else {
  2942. return year_d;
  2943. }
  2944. },
  2945. checkData() {
  2946. if (this.receiverTreatmentAccess.way == 0) {
  2947. this.$message.error("入科方式未填");
  2948. } else if (this.predialysis.symptom_before_dialysis == "") {
  2949. this.$message.error("透前症状未填");
  2950. } else if (this.predialysis.temperature == "") {
  2951. this.$message.error("透前体温未填");
  2952. } else if (this.predialysis.pulse_frequency == "") {
  2953. this.$message.error("透前脉搏未填");
  2954. } else if (this.predialysis.breathing_rate == "") {
  2955. this.$message.error("透前呼吸频率未填");
  2956. } else if (
  2957. this.predialysis.systolic_blood_pressure == 0 ||
  2958. this.predialysis.diastolic_blood_pressure == 0
  2959. ) {
  2960. this.$message.error("透前血压未填完整");
  2961. } else if (this.predialysis.puncture_way == "") {
  2962. this.$message.error("穿刺方式未填");
  2963. } else if (this.predialysis.puncture_needle == "") {
  2964. this.$message.error("穿刺针未填");
  2965. } else if (
  2966. this.predialysis.blood_access_part_id == "" &&
  2967. this.predialysis.blood_access_part_opera_name == ""
  2968. ) {
  2969. this.$message.error("血管通路未填");
  2970. } else if (this.predialysis.internal_fistula == "") {
  2971. this.$message.error("透前内瘘未填");
  2972. } else if (this.predialysis.catheter == "") {
  2973. this.$message.error("透前导管未填");
  2974. } else if (this.prescription.mode_id == "") {
  2975. this.$message.error("透析方式未填");
  2976. } else if (
  2977. this.prescription.displace_liqui_part == 0 &&
  2978. this.prescription.mode_id == 2
  2979. ) {
  2980. this.$message.error("置换方式未填");
  2981. } else if (
  2982. this.prescription.displace_liqui_value == 0 &&
  2983. this.prescription.mode_id == 2
  2984. ) {
  2985. this.$message.error("置换量未填");
  2986. } else if (this.prescription.blood_flow_volume == 0) {
  2987. this.$message.error("血流量未填");
  2988. } else if (
  2989. this.prescription.dialysis_duration_hour == 0 &&
  2990. this.prescription.dialysis_duration_minute == 0
  2991. ) {
  2992. this.$message.error("透析时间未填");
  2993. } else if (
  2994. this.prescription.dialyzer_perfusion_apparatus == "" &&
  2995. this.prescription.dialysis_dialyszers == ""
  2996. ) {
  2997. this.$message.error("透析器未填");
  2998. } else if (this.prescription.dialysis_irrigation == "") {
  2999. this.$message.error("灌流器未填");
  3000. } else if (
  3001. this.prescription.plasma_separator == "" &&
  3002. this.org_id == 9538
  3003. ) {
  3004. this.$message.error("血浆分离器未填");
  3005. } else if (
  3006. this.prescription.bilirubin_adsorption_column == "" &&
  3007. this.org_id == 9538
  3008. ) {
  3009. this.$message.error("胆红素吸附柱未填");
  3010. } else if (this.predialysis.weight_before == 0) {
  3011. this.$message.error("透前体重未填");
  3012. } else if (this.predialysis.dry_weight == 0) {
  3013. this.$message.error("干体重未填");
  3014. } else if (this.prescription.target_ultrafiltration == 0) {
  3015. this.$message.error("计划超滤量未填");
  3016. } else if (this.prescription.calcium == 0) {
  3017. this.$message.error("钙未填");
  3018. } else if (this.prescription.sodium == 0) {
  3019. this.$message.error("钠未填");
  3020. } else if (this.prescription.kalium == 0) {
  3021. this.$message.error("钾未填");
  3022. } else if (this.prescription.bicarbonate == 0) {
  3023. this.$message.error("碳酸氢根未填");
  3024. } else if (this.prescription.dialysate_flow == 0) {
  3025. this.$message.error("透析液流量未填");
  3026. } else if (this.prescription.anticoagulant == 0) {
  3027. this.$message.error("抗凝剂未填");
  3028. } else if (
  3029. this.prescription.anticoagulant_gaimingcheng == "" &&
  3030. this.prescription.anticoagulant == 5
  3031. ) {
  3032. this.$message.error("钙名称未填");
  3033. } else if (
  3034. this.prescription.anticoagulant_gaijiliang == "" &&
  3035. this.prescription.anticoagulant == 5
  3036. ) {
  3037. this.$message.error("钙剂量未填");
  3038. } else if (this.afterdialysis.temperature == 0) {
  3039. this.$message.error("透后体温未填");
  3040. } else if (this.afterdialysis.pulse_frequency == 0) {
  3041. this.$message.error("透后脉搏未填");
  3042. } else if (this.afterdialysis.breathing_rate == 0) {
  3043. this.$message.error("透后呼吸频率未填");
  3044. } else if (
  3045. this.afterdialysis.systolic_blood_pressure == 0 ||
  3046. this.afterdialysis.diastolic_blood_pressure == 0
  3047. ) {
  3048. this.$message.error("透后血压未填完整");
  3049. } else if (
  3050. this.afterdialysis.actual_treatment_hour == 0 &&
  3051. this.afterdialysis.actual_treatment_minute == 0
  3052. ) {
  3053. this.$message.error("实际治疗时间未填");
  3054. } else if (this.afterdialysis.cruor == "") {
  3055. this.$message.error("透析器凝血未填");
  3056. } else if (this.afterdialysis.internal_fistula == "") {
  3057. this.$message.error("透后内瘘未填");
  3058. } else if (this.afterdialysis.catheter == "") {
  3059. this.$message.error("透后导管未填");
  3060. } else if (this.afterdialysis.weight_after == 0) {
  3061. this.$message.error("透后体重未填");
  3062. } else if (this.afterdialysis.weight_loss == 0) {
  3063. this.$message.error("透后体重减少未填");
  3064. } else if (this.afterdialysis.dialysis_intakes == 0) {
  3065. this.$message.error("透析中入量未填");
  3066. } else if (this.afterdialysis.actual_ultrafiltration == 0) {
  3067. this.$message.error("实际超滤量未填");
  3068. } else if (this.summary.dialysis_summary == "") {
  3069. this.$message.error("透析小结未填");
  3070. } else if (
  3071. this.dialysisOrder == null ||
  3072. this.dialysisOrder.puncture_nurse == 0
  3073. ) {
  3074. this.$message.error("穿刺护士未填");
  3075. } else if (
  3076. this.dialysisOrder == null ||
  3077. this.dialysisOrder.start_nurse == 0
  3078. ) {
  3079. this.$message.error("治疗护士未填");
  3080. } else if (this.dialysisOrder == null && this.check.creater == 0) {
  3081. this.$message.error("核对人员未填");
  3082. } else if (
  3083. this.dialysisOrder != null &&
  3084. this.dialysisOrder.start_nurse == this.check.modifier &&
  3085. this.check.creater == 0
  3086. ) {
  3087. this.$message.error("核对人员未填");
  3088. } else if (
  3089. this.dialysisOrder != null &&
  3090. this.dialysisOrder.start_nurse == this.check.creater &&
  3091. this.check.modifier == 0
  3092. ) {
  3093. this.$message.error("核对人员未填");
  3094. } else if (
  3095. this.dialysisOrder != null &&
  3096. this.dialysisOrder.start_nurse != this.check.creater &&
  3097. this.dialysisOrder.start_nurse != this.check.modifier &&
  3098. this.check.creater == 0
  3099. ) {
  3100. this.$message.error("核对人员未填");
  3101. } else if (
  3102. this.dialysisOrder == null ||
  3103. this.dialysisOrder.finish_nurse == 0
  3104. ) {
  3105. this.$message.error("下机护士未填");
  3106. } else if (this.prescription.creater == 0) {
  3107. this.$message.error("医生签名未填");
  3108. } else if (this.tableAdvice.length > 0) {
  3109. let num = 0;
  3110. this.tableAdvice.map((item) => {
  3111. if (item.id > 0 && (item.created_time || item.start_time)) {
  3112. this.users.map((it) => {
  3113. if (it.id == item.advice_doctor) {
  3114. if (it.user_type == 3) {
  3115. num++;
  3116. this.$message.closeAll();
  3117. this.$message.error("存在不是医生保存的医嘱");
  3118. } else if (
  3119. it.id == item.execution_staff &&
  3120. item.execution_staff > 0
  3121. ) {
  3122. if (it.user_type == 2) {
  3123. num++;
  3124. this.$message.closeAll();
  3125. this.$message.error("存在不是护士执行的医嘱");
  3126. }
  3127. } else if (it.id == item.checker && item.checker > 0) {
  3128. if (it.user_type == 2) {
  3129. num++;
  3130. this.$message.closeAll();
  3131. this.$message.error("存在不是护士核对的医嘱");
  3132. }
  3133. }
  3134. } else if (
  3135. it.id == item.execution_staff &&
  3136. item.execution_staff > 0
  3137. ) {
  3138. if (it.user_type == 2) {
  3139. num++;
  3140. this.$message.closeAll();
  3141. this.$message.error("存在不是护士执行的医嘱");
  3142. }
  3143. } else if (it.id == item.checker && item.checker > 0) {
  3144. if (it.user_type == 2) {
  3145. num++;
  3146. this.$message.closeAll();
  3147. this.$message.error("存在不是护士核对的医嘱");
  3148. }
  3149. }
  3150. });
  3151. }
  3152. });
  3153. if (num == 0) {
  3154. this.$message.success("核对完成");
  3155. }
  3156. } else {
  3157. this.$message.success("核对完成");
  3158. }
  3159. },
  3160. getDisplaceLiquiPart: function (val) {
  3161. let displace_liqui_part_name = "/";
  3162. const displace_liqui_part = this.displaceLiquiPartOptions;
  3163. for (let i = 0; i < displace_liqui_part.length; i++) {
  3164. if (displace_liqui_part[i].id == val) {
  3165. displace_liqui_part_name = displace_liqui_part[i].name;
  3166. }
  3167. }
  3168. return displace_liqui_part_name;
  3169. },
  3170. replacementWaysById: function (val) {
  3171. let replacementWaysname = "/";
  3172. // let vascular_access = getDataConfig('hemodialysis', 'vascular_access')
  3173. for (let i = 0; i < this.replacementWays.length; i++) {
  3174. if (this.replacementWays[i].id == val) {
  3175. replacementWaysname = this.replacementWays[i].name;
  3176. }
  3177. }
  3178. return replacementWaysname;
  3179. },
  3180. QueryPartById: function (val) {
  3181. let vascular_access_part_name = "/";
  3182. const vascular_access = getDataConfig("hemodialysis", "vascular_access");
  3183. for (let i = 0; i < vascular_access.length; i++) {
  3184. if (vascular_access[i].id == val) {
  3185. vascular_access_part_name = vascular_access[i].name;
  3186. }
  3187. }
  3188. return vascular_access_part_name;
  3189. },
  3190. getAdminUser(id) {
  3191. if (id == 0) {
  3192. return "";
  3193. }
  3194. if (id == undefined) {
  3195. return "";
  3196. }
  3197. for (let i = 0; i < this.adminUser.length; i++) {
  3198. if (this.adminUser[i].id == id) {
  3199. return this.adminUser[i].name;
  3200. }
  3201. }
  3202. },
  3203. getTime(value, temp) {
  3204. if (value == 0) {
  3205. return "";
  3206. }
  3207. if (value != undefined) {
  3208. return uParseTime(value, temp);
  3209. }
  3210. return "";
  3211. },
  3212. getUnit: function (val) {
  3213. switch (val) {
  3214. case 1:
  3215. return "g";
  3216. break;
  3217. case 2:
  3218. return "ml";
  3219. break;
  3220. }
  3221. },
  3222. printThisPage() {
  3223. var ptime = Math.round(new Date().getTime() / 1000);
  3224. this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
  3225. const style =
  3226. '@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}.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:left;border-collapse:collapse;font-size:14px} .dialysis-print-order .under_line {display: inline-block;border-bottom: 1px solid #999;text-align:left;white-space: nowrap;width: 50%;} .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;}';
  3227. if (this.org_template_info.template_id == 1) {
  3228. printJS({
  3229. printable: "dialysis-print-box",
  3230. type: "html",
  3231. style: style,
  3232. scanStyles: false,
  3233. });
  3234. } else if (
  3235. this.org_template_info.template_id == 2 ||
  3236. this.org_template_info.template_id == 0
  3237. ) {
  3238. printJS({
  3239. printable: "dialysis-print-box-1",
  3240. type: "html",
  3241. style: style,
  3242. scanStyles: false,
  3243. });
  3244. }
  3245. },
  3246. getNumber() {
  3247. if (this.dialysisOrder != null) {
  3248. return (
  3249. this.patientInfo.DialysisSchedule.device_zone.name +
  3250. this.dialysisOrder.DeviceNumber.number
  3251. );
  3252. } else {
  3253. return (
  3254. this.patientInfo.DialysisSchedule.device_zone.name +
  3255. this.patientInfo.DialysisSchedule.device_number.number
  3256. );
  3257. }
  3258. },
  3259. getXuserName(id) {
  3260. if (id <= 0) {
  3261. return "";
  3262. }
  3263. var name = "";
  3264. if (this.users == null || typeof this.users.length === "undefined") {
  3265. return name;
  3266. }
  3267. var leng = this.users.length;
  3268. if (leng == 0) {
  3269. return name;
  3270. }
  3271. for (let index = 0; index < leng; index++) {
  3272. if (this.users[index].id == id) {
  3273. name = this.users[index].name;
  3274. break;
  3275. }
  3276. }
  3277. return name;
  3278. },
  3279. setAdminUserES(id) {
  3280. if (id == 0) {
  3281. return "";
  3282. }
  3283. if (id in this.operatorMaps) {
  3284. return this.operatorMaps[id].url;
  3285. } else {
  3286. return "";
  3287. }
  3288. },
  3289. modeName(mode_id) {
  3290. return typeof this.modeOptions[mode_id] !== "undefined" &&
  3291. typeof this.modeOptions[mode_id].name !== "undefined"
  3292. ? this.modeOptions[mode_id].name
  3293. : "";
  3294. },
  3295. getDialysisRecord() {
  3296. this.loading = true;
  3297. // getDialysisRecord(this.queryParams).then(response => {
  3298. var response = this.childResponse;
  3299. if (response.data.state == 1) {
  3300. this.adminUser = response.data.data.users;
  3301. this.users = response.data.data.users;
  3302. this.patientInfo = response.data.data.patientInfo;
  3303. this.patientInfo.birth = uParseTime(
  3304. this.patientInfo.birthday,
  3305. "{y}-{m}-{d}"
  3306. );
  3307. // console.log(this.patientInfo.birth,'测试生日')
  3308. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  3309. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  3310. this.patientInfo.first_dialysis_date = uParseTime(
  3311. response.data.data.patientInfo.first_dialysis_date,
  3312. "{y}-{m}-{d}"
  3313. );
  3314. } else {
  3315. this.patientInfo.first_dialysis_date = "";
  3316. }
  3317. this.check = response.data.data.check;
  3318. this.xtdate = response.data.data.xtdate;
  3319. this.predialysis = response.data.data.PredialysisEvaluation;
  3320. // console.log('透前评估', this.predialysis)
  3321. this.predialysis.blood_access_part_opera_name =
  3322. this.bloodAccessParOperaName(
  3323. this.predialysis.blood_access_part_opera_id
  3324. );
  3325. this.afterdialysis = response.data.data.AssessmentAfterDislysis;
  3326. // console.log('透后体重', this.afterdialysis)
  3327. this.lastafterdialysis = response.data.data.assessmentAfterDislysis;
  3328. // console.log("上次透后体重", this.lastafterdialysis.weight_after);
  3329. this.operators = response.data.data.operators;
  3330. // console.log("operators", this.operators);
  3331. this.dialysisOrder =
  3332. response.data.data.dialysisOrder === null
  3333. ? null
  3334. : response.data.data.dialysisOrder;
  3335. // console.log("上机233232323232", this.dialysisOrder);
  3336. if (this.operators.length > 0) {
  3337. var operatorsLen = this.operators.length;
  3338. for (var index = 0; index < operatorsLen; index++) {
  3339. this.$set(
  3340. this.operatorMaps,
  3341. this.operators[index].creator,
  3342. this.operators[index]
  3343. );
  3344. }
  3345. }
  3346. this.afterdialysis.txqnx = -1;
  3347. if (this.afterdialysis.cruor.indexOf("0度") > -1) {
  3348. this.afterdialysis.txqnx = 0;
  3349. }
  3350. if (this.afterdialysis.cruor.indexOf("Ⅰ度") > -1) {
  3351. this.afterdialysis.txqnx = 1;
  3352. }
  3353. if (this.afterdialysis.cruor.indexOf("Ⅱ度") > -1) {
  3354. this.afterdialysis.txqnx = 2;
  3355. }
  3356. if (this.afterdialysis.cruor.indexOf("Ⅲ度") > -1) {
  3357. this.afterdialysis.txqnx = 3;
  3358. }
  3359. this.afterdialysis.complications =
  3360. this.afterdialysis.complication.split(",");
  3361. this.afterdialysis.complications_other = [];
  3362. this.afterdialysis.complications_index = [];
  3363. var acllen = this.afterdialysis.complications.length;
  3364. for (let index = 0; index < acllen; index++) {
  3365. if (
  3366. this.complications.indexOf(
  3367. this.afterdialysis.complications[index]
  3368. ) >= 0
  3369. ) {
  3370. this.afterdialysis.complications_index.push(
  3371. this.afterdialysis.complications[index]
  3372. );
  3373. } else if (
  3374. this.complications.indexOf(
  3375. this.afterdialysis.complications[index]
  3376. ) < 0 &&
  3377. this.afterdialysis.complications_other.indexOf(
  3378. this.afterdialysis.complications[index]
  3379. ) < 0
  3380. ) {
  3381. this.afterdialysis.complications_other.push(
  3382. this.afterdialysis.complications[index]
  3383. );
  3384. }
  3385. }
  3386. this.afterdialysis.complications_other =
  3387. this.afterdialysis.complications_other.join(",");
  3388. this.prescription = response.data.data.dialysisPrescription;
  3389. // console.log("透析处方", this.prescription);
  3390. this.receiverTreatmentAccess =
  3391. response.data.data.receiverTreatmentAccess;
  3392. this.prescription.mode = this.modeName(this.prescription.mode_id);
  3393. var rwLen = this.replacementWays.length;
  3394. this.prescription.replacement = "";
  3395. for (let index = 0; index < rwLen; index++) {
  3396. if (
  3397. this.replacementWays[index].id == this.prescription.replacement_way
  3398. ) {
  3399. this.prescription.replacement = this.replacementWays[index].name;
  3400. break;
  3401. }
  3402. }
  3403. this.prescription.dialysate_formulation_name =
  3404. this.dialysateFormulationName(
  3405. this.prescription.dialysate_formulation
  3406. );
  3407. var paLen = this.perfusionApparatus.length;
  3408. this.prescription.perfusion_apparatus_name = "";
  3409. for (let index = 0; index < paLen; index++) {
  3410. if (
  3411. this.perfusionApparatus[index].id ==
  3412. this.prescription.perfusion_apparatus
  3413. ) {
  3414. this.prescription.perfusion_apparatus_name =
  3415. this.perfusionApparatus[index].name;
  3416. break;
  3417. }
  3418. }
  3419. var acLen = this.anticoagulantsConfit.length;
  3420. var thisALID = this.prescription.anticoagulant;
  3421. this.prescription.anticoagulant_name = "";
  3422. if (
  3423. typeof this.anticoagulantsConfit[thisALID] !== "undefined" &&
  3424. this.anticoagulantsConfit[thisALID] != null
  3425. ) {
  3426. this.prescription.anticoagulant_name =
  3427. this.anticoagulantsConfit[thisALID].name;
  3428. this.AlPanel = this.anticoagulantsConfit[thisALID];
  3429. }
  3430. this.advices = response.data.data.advices;
  3431. this.tableAdvice = response.data.data.advices;
  3432. // console.log("医嘱数据2222222222", this.advices);
  3433. this.monitors = response.data.data.monitors;
  3434. this.summary = response.data.data.summary;
  3435. this.org_template_info = response.data.data.org_template_info;
  3436. if (this.monitors.length <= 6) {
  3437. var nl = 6;
  3438. this.print_length = 6;
  3439. for (let index = 0; index < nl; index++) {
  3440. if (
  3441. this.monitors[index] == undefined ||
  3442. this.monitors[index].length <= 0
  3443. ) {
  3444. this.monitors2.push([]);
  3445. } else {
  3446. continue;
  3447. }
  3448. }
  3449. }
  3450. var tempmonitorflag = true;
  3451. for (let index = 0; index < this.monitors.length; index++) {
  3452. const monitor = this.monitors[index];
  3453. this.monitors[index].end = "";
  3454. if (Object.keys(monitor).length > 0 && index > 1) {
  3455. if (
  3456. (this.dialysisOrder &&
  3457. monitor.operate_time == this.dialysisOrder.end_time)&&(this.org_id!=10414)
  3458. ) {
  3459. this.monitors[index].end = "【结束透析】";
  3460. tempmonitorflag = false;
  3461. }
  3462. if ((tempmonitorflag && index == this.monitors.length - 1)&&(this.org_id!=10414)) {
  3463. this.monitors[index].end = "【结束透析】";
  3464. }
  3465. }
  3466. }
  3467. this.jilurow = this.monitors.length + 1;
  3468. this.advice_jilurow = this.advices.length + 1;
  3469. var childMap = {};
  3470. for (const index in this.advices) {
  3471. if (this.advices[index].parent_id == 0) {
  3472. continue;
  3473. }
  3474. if (!(this.advices[index].parent_id in childMap)) {
  3475. childMap[this.advices[index].parent_id] = [];
  3476. }
  3477. childMap[this.advices[index].parent_id].push(this.advices[index]);
  3478. }
  3479. var advices = [];
  3480. for (const index in this.advices) {
  3481. if (this.advices[index].parent_id > 0) {
  3482. continue;
  3483. }
  3484. var item = this.advices[index];
  3485. if (item.id in childMap) {
  3486. item.children = childMap[item.id];
  3487. } else {
  3488. item.children = [];
  3489. }
  3490. advices.push(item);
  3491. }
  3492. var leftAdvice = [];
  3493. var rightAdvice = [];
  3494. var adlen = advices.length;
  3495. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
  3496. for (var i = 0; i < halfLen; i++) {
  3497. leftAdvice.push(advices[i]);
  3498. rightAdvice.push(advices[i + halfLen]);
  3499. }
  3500. if (halfLen < 5) {
  3501. var nl = 5 - leftAdvice.length;
  3502. for (let index = 0; index < nl; index++) {
  3503. leftAdvice.push([]);
  3504. }
  3505. var nl = 5 - rightAdvice.length;
  3506. for (let index = 0; index < nl; index++) {
  3507. rightAdvice.push([]);
  3508. }
  3509. }
  3510. this.advices = [];
  3511. for (var i = 0; i < halfLen; i++) {
  3512. var item = [];
  3513. item.push(leftAdvice[i]);
  3514. item.push(rightAdvice[i]);
  3515. this.advices.push(item);
  3516. }
  3517. this.loading = false;
  3518. this.doctor_advices =
  3519. response.data.data.advices == null ? [] : response.data.data.advices;
  3520. for (let index = 0; index < this.doctor_advices.length; index++) {
  3521. this.doctor_advices[index]["isShow"] = 2;
  3522. }
  3523. // if (this.doctor_advices.length > 0) {
  3524. // var group = this.newAdviceGroupObject()
  3525. // var initGroupBlock = function(group, advice) {
  3526. // group.group_no = advice.groupno
  3527. // }
  3528. // for (let index = this.doctor_advices.length - 1; index >= 0; index--) {
  3529. // var new_advice_index = 0
  3530. // if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
  3531. // new_advice_index = index + this.doctor_advices[index].children.length + 1
  3532. // var doctor_advice = {
  3533. // delivery_way: this.doctor_advices[index].delivery_way,
  3534. // execution_frequency: this.doctor_advices[index].execution_frequency,
  3535. // groupno: this.doctor_advices[index].groupno,
  3536. // id: this.doctor_advices[index].id,
  3537. // parent_id: this.doctor_advices[index].parent_id,
  3538. // children: this.doctor_advices[index].children,
  3539. // remark: this.doctor_advices[index].remark,
  3540. // execution_staff: this.doctor_advices[index].execution_staff,
  3541. // checker: this.doctor_advices[index].checker,
  3542. // execution_time: this.doctor_advices[index].execution_time,
  3543. // advice_doctor: this.doctor_advices[index].advice_doctor
  3544. // }
  3545. // doctor_advice['isShow'] = 1
  3546. // this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  3547. // // this.doctor_advices.push(doctor_advice)
  3548. // }
  3549. // }
  3550. // for (let index = 0; index < this.doctor_advices.length; index++) {
  3551. // const advice = this.doctor_advices[index]
  3552. // if (advice.groupno == 0) {
  3553. // // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  3554. // if (advice.parent_id > 0) {
  3555. // if (this.advice_groups.length > 0) {
  3556. // var parent_group = this.advice_groups[
  3557. // this.advice_groups.length - 1
  3558. // ]
  3559. // if (parent_group.advices.length > 0) {
  3560. // if (parent_group.advices[0].id == advice.parent_id) {
  3561. // parent_group.advices.push(advice)
  3562. // }
  3563. // }
  3564. // }
  3565. // continue
  3566. // } else {
  3567. // if (group.group_no > 0) {
  3568. // this.advice_groups.push(group)
  3569. // group = this.newAdviceGroupObject()
  3570. // }
  3571. // initGroupBlock(group, advice)
  3572. // group.advices.push(advice)
  3573. // this.advice_groups.push(group)
  3574. // group = this.newAdviceGroupObject()
  3575. // continue
  3576. // }
  3577. // }
  3578. // if (group.group_no > 0 && group.group_no != advice.groupno) {
  3579. // this.advice_groups.push(group)
  3580. // group = this.newAdviceGroupObject()
  3581. // }
  3582. // if (group.group_no == 0) {
  3583. // initGroupBlock(group, advice)
  3584. // }
  3585. // if (group.group_no == advice.groupno) {
  3586. // group.advices.push(advice)
  3587. // }
  3588. // }
  3589. // if (group.group_no > 0) {
  3590. // // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  3591. // this.advice_groups.push(group)
  3592. // }
  3593. // }
  3594. if (this.doctor_advices.length <= 6) {
  3595. var nl = 6;
  3596. this.print_length = 6;
  3597. for (let index = 0; index < nl; index++) {
  3598. if (
  3599. this.doctor_advices[index] == undefined ||
  3600. this.doctor_advices[index].length <= 0
  3601. ) {
  3602. this.doctor_advices.push([]);
  3603. } else {
  3604. continue;
  3605. }
  3606. }
  3607. }
  3608. this.totollength = this.doctor_advices.length + this.monitors.length;
  3609. console.log("this.totollength",this.totollength)
  3610. if (this.totollength > 18) {
  3611. var temp_advice_length = 17 - this.monitors.length;
  3612. var doctor_advices_1 = [];
  3613. var doctor_advices_2 = [];
  3614. for (let index = 0; index < this.doctor_advices.length; index++) {
  3615. const element = this.doctor_advices[index];
  3616. if (temp_advice_length > index) {
  3617. doctor_advices_1.push(element);
  3618. } else {
  3619. doctor_advices_2.push(element);
  3620. }
  3621. }
  3622. this.doctor_advices = doctor_advices_1;
  3623. this.doctor_advices_2 = doctor_advices_2;
  3624. }
  3625. // console.log(this.advice_groups);
  3626. } else {
  3627. this.loading = false;
  3628. this.$message.error("请求数据失败");
  3629. return false;
  3630. }
  3631. // })
  3632. },
  3633. bloodAccessParOperaName(id) {
  3634. if (id in this.bloodAccessParOpera) {
  3635. return this.bloodAccessParOpera[id].name;
  3636. }
  3637. return "";
  3638. },
  3639. dialysateFormulationName(id) {
  3640. if (id in this.dialysateFormulationOptions) {
  3641. return this.dialysateFormulationOptions[id].name;
  3642. }
  3643. return "";
  3644. },
  3645. getAge: function (val) {
  3646. if (
  3647. this.org_template_info.template_id == 2 ||
  3648. this.org_template_info.template_id == 0
  3649. ) {
  3650. if (val.age == 0) {
  3651. return jsGetAge(val.birth, "-");
  3652. } else {
  3653. return val.age;
  3654. }
  3655. } else {
  3656. return this.getoldAge();
  3657. }
  3658. },
  3659. newAdviceGroupObject: function () {
  3660. return Object.assign(
  3661. {},
  3662. {
  3663. group_no: 0,
  3664. // advice_doctor: 0,
  3665. // start_time: 0,
  3666. advices: [],
  3667. // exec_staff: 0,
  3668. // exec_time: 0,
  3669. // checker: 0,
  3670. }
  3671. );
  3672. },
  3673. getFloat: function (x) {
  3674. if (x == 0) {
  3675. return "/";
  3676. }
  3677. if (x != ".") {
  3678. var f = Math.round(x * 100) / 100;
  3679. var s = f.toString();
  3680. var rs = s.indexOf(".");
  3681. if (rs <= 0) {
  3682. rs = s.length;
  3683. s += ".";
  3684. }
  3685. while (s.length <= rs + 1) {
  3686. s += "0";
  3687. }
  3688. return s;
  3689. } else {
  3690. return "0.0";
  3691. }
  3692. },
  3693. },
  3694. watch: {
  3695. "patientInfo.gender": function () {
  3696. if (this.patientInfo.gender == 1) {
  3697. this.patientInfo_gender_1 = true;
  3698. this.patientInfo_gender_2 = false;
  3699. } else if (this.patientInfo.gender == 2) {
  3700. this.patientInfo_gender_2 = true;
  3701. this.patientInfo_gender_1 = false;
  3702. } else {
  3703. this.patientInfo_gender_2 = false;
  3704. this.patientInfo_gender_1 = false;
  3705. }
  3706. },
  3707. "patientInfo.source": function () {
  3708. if (this.patientInfo.source == 1) {
  3709. this.patientInfo_source_1 = true;
  3710. this.patientInfo_source_2 = false;
  3711. } else if (this.patientInfo.source == 2) {
  3712. this.patientInfo_source_2 = true;
  3713. this.patientInfo_source_1 = false;
  3714. } else {
  3715. this.patientInfo_source_2 = false;
  3716. this.patientInfo_source_1 = false;
  3717. }
  3718. },
  3719. },
  3720. created() {
  3721. this.way_arr = getDataConfig("hemodialysis", "way");
  3722. this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
  3723. this.appetite_arr = getDataConfig("hemodialysis", "appetite");
  3724. this.posture_arr = getDataConfig("hemodialysis", "posture");
  3725. this.sick_condition_arr = getDataConfig("hemodialysis", "sick_condition");
  3726. this.precaution_arr = getDataConfig("hemodialysis", "precaution");
  3727. this.intake_arr = getDataConfig("hemodialysis", "intake");
  3728. this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
  3729. var xtuser = this.$store.getters.xt_user;
  3730. this.orgname = xtuser.org.org_name;
  3731. // this.orgname = "遂溪方济医院";
  3732. this.modeOptions = this.$store.getters.treatment_mode;
  3733. this.replacementWays = this.$store.getters.replacement_ways;
  3734. this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  3735. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  3736. this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
  3737. this.blood_access_part = getDataConfig("hemodialysis", "vascular_access");
  3738. this.blood_access_part_opera = getDataConfig(
  3739. "hemodialysis",
  3740. "vascular_access_desc"
  3741. );
  3742. this.org_id = this.$store.getters.xt_user.org.id;
  3743. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  3744. var bloodAccessParOpera = getDataConfig(
  3745. "hemodialysis",
  3746. "vascular_access_desc"
  3747. );
  3748. for (var key in bloodAccessParOpera) {
  3749. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  3750. bloodAccessParOpera[key];
  3751. }
  3752. var dialysateFormulationOptions = getDataConfig(
  3753. "hemodialysis",
  3754. "dialysate_formulation"
  3755. );
  3756. for (var key in dialysateFormulationOptions) {
  3757. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  3758. dialysateFormulationOptions[key];
  3759. }
  3760. const xtdate = this.$route.query && this.$route.query.xtdate;
  3761. // console.log("xtdate", xtdate);
  3762. const xtno = this.$route.query && this.$route.query.xtno;
  3763. // console.log("xtno", xtno);
  3764. if (
  3765. typeof xtdate === "string" &&
  3766. xtdate.length > 0 &&
  3767. typeof xtno === "string" &&
  3768. xtno.length > 0
  3769. ) {
  3770. this.queryParams.xtdate = xtdate;
  3771. this.queryParams.xtno = xtno;
  3772. this.getDialysisRecord();
  3773. } else {
  3774. this.$message.error("参数不齐");
  3775. return false;
  3776. }
  3777. },
  3778. };
  3779. </script>
  3780. <style>
  3781. .print_page_main_content {
  3782. background-color: white;
  3783. width: 960px;
  3784. margin: 0 auto 50px;
  3785. padding: 0 0 0 0;
  3786. page-break-after: always;
  3787. }
  3788. .print_page_main_content .order-yy-name {
  3789. margin: auto;
  3790. text-align: center;
  3791. font-size: 20px;
  3792. letter-spacing: 5px;
  3793. }
  3794. .dialysis-print-order .order-title {
  3795. margin: auto;
  3796. font-weight: 600;
  3797. text-align: center;
  3798. font-size: 22px;
  3799. padding: 10px;
  3800. }
  3801. .print_page_main_content .order_title {
  3802. text-align: center;
  3803. font-size: 23px;
  3804. line-height: 50px;
  3805. font-weight: 500;
  3806. }
  3807. .row {
  3808. font-size: 14px;
  3809. line-height: 20px;
  3810. padding: 5px 0;
  3811. }
  3812. .inline_block {
  3813. display: inline-block;
  3814. }
  3815. .under_line_two {
  3816. display: inline-block;
  3817. border-bottom: 1px solid #999;
  3818. text-align: left;
  3819. white-space: nowrap;
  3820. width: 50%;
  3821. }
  3822. .under_line_two::before {
  3823. content: "\00A0";
  3824. }
  3825. .under_line_two::after {
  3826. content: "\00A0";
  3827. }
  3828. .under_line {
  3829. display: inline-block;
  3830. border-bottom: 1px solid #999;
  3831. text-align: center;
  3832. white-space: nowrap;
  3833. width: 50%;
  3834. }
  3835. .under_line::before {
  3836. content: "\00A0";
  3837. }
  3838. .under_line::after {
  3839. content: "\00A0";
  3840. }
  3841. .flex {
  3842. display: -webkit-box;
  3843. display: -moz-box;
  3844. display: -ms-flexbox;
  3845. display: -webkit-flex;
  3846. display: flex;
  3847. align-items: center;
  3848. -webkit-align-items: center;
  3849. box-align: center;
  3850. -moz-box-align: center;
  3851. -webkit-box-align: center;
  3852. text-align: center;
  3853. -webkit-justify-content: space-between;
  3854. justify-content: space-between;
  3855. -moz-box-pack: space-between;
  3856. -webkit--moz-box-pack: space-between;
  3857. box-pack: space-between;
  3858. }
  3859. .print_page_main_content .proj_table {
  3860. width: 100%;
  3861. border: 1px solid;
  3862. border-collapse: collapse;
  3863. padding: 2px;
  3864. }
  3865. .print_page_main_content .proj_table tbody tr td {
  3866. border: 1px solid;
  3867. /* text-align: center; */
  3868. font-size: 16px;
  3869. padding: 5px 8px;
  3870. line-height: 30px;
  3871. }
  3872. .print_page_main_content .proj_table .inside_table {
  3873. width: 100%;
  3874. border: hidden; /* 解决边框冲突 */
  3875. border-collapse: collapse;
  3876. }
  3877. .print_page_main_content .proj_table .inside_table tr td {
  3878. border: 1px solid;
  3879. text-align: center;
  3880. font-size: 14px;
  3881. padding: 6px 5px;
  3882. line-height: 16px;
  3883. }
  3884. .print-table-no {
  3885. width: 100%;
  3886. text-align: center;
  3887. border-collapse: collapse;
  3888. font-size: 14px;
  3889. }
  3890. .es-img {
  3891. height: 20px;
  3892. }
  3893. .advice-name {
  3894. text-align: left !important;
  3895. line-height: 16px !important;
  3896. }
  3897. .advice-children {
  3898. display: flex;
  3899. }
  3900. .margin-bottom-50 {
  3901. }
  3902. .margin-bottom-300 {
  3903. margin-bottom: 450px;
  3904. }
  3905. .margin-bottom-600 {
  3906. margin-bottom: 600px;
  3907. }
  3908. .margin-bottom-900 {
  3909. margin-bottom: 900px;
  3910. }
  3911. .print-yema {
  3912. position: absolute;
  3913. left: 50%;
  3914. }
  3915. .print-yema2 {
  3916. position: absolute;
  3917. left: 50%;
  3918. }
  3919. .print-yema3 {
  3920. position: absolute;
  3921. left: 50%;
  3922. }
  3923. .print-yema4 {
  3924. position: absolute;
  3925. left: 50%;
  3926. }
  3927. .check_box_panel .did_checke::after {
  3928. font-size: 8px;
  3929. margin-left: 2px;
  3930. margin-top: 2px;
  3931. position: absolute;
  3932. }
  3933. </style>