DialysisPrintOrderSix.vue 190KB

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