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

DialysisPrintOrderSix.vue 190KB

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