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

DialysisPrintOrderSix.vue 179KB

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