DialysisPrintOrderSix.vue 238KB

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