DialysisPrintOrderSix.vue 236KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076
  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>
  1370. <span v-if="org_id==9675 || org_id==10447 || org_id==9829 || org_id==10440 || org_id==10469 || org_id == 10471 || org_id == 10460">
  1371. <span v-if="prescription.anticoagulant == 4">iu</span>
  1372. <span v-if="prescription.anticoagulant == 3">iu</span>
  1373. <span v-if="prescription.anticoagulant == 2">mg</span>
  1374. <span v-if="prescription.anticoagulant == 5">ml</span>
  1375. <span v-if="prescription.anticoagulant == 6">iu</span>
  1376. <span v-if="prescription.anticoagulant == 7">iu</span>
  1377. <span v-if="prescription.anticoagulant == 8">iu</span>
  1378. <span v-if="prescription.anticoagulant == 9">iu</span>
  1379. <span v-if="prescription.anticoagulant == 10">iu</span>
  1380. <span v-if="prescription.anticoagulant == 11">iu</span>
  1381. <span v-if="prescription.anticoagulant == 13">iu</span>
  1382. </span>
  1383. </div>
  1384. <div class="inline_block" style="margin-left: 20px">
  1385. 维持:
  1386. <div
  1387. v-if="prescription.anticoagulant == 1"
  1388. class="under_line"
  1389. style="width: 50px; text-align: center"
  1390. >
  1391. {{
  1392. prescription.anticoagulant_weichi
  1393. ? prescription.anticoagulant_weichi
  1394. : "/"
  1395. }}
  1396. </div>
  1397. <div
  1398. v-if="prescription.anticoagulant != 1"
  1399. class="under_line"
  1400. style="width: 50px; text-align: center"
  1401. >
  1402. {{
  1403. prescription.anticoagulant_weichi
  1404. ? prescription.anticoagulant_weichi
  1405. : "0"
  1406. }}
  1407. </div>
  1408. <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10460">
  1409. <span v-if="prescription.anticoagulant == 6">iu/h</span>
  1410. <span v-if="prescription.anticoagulant == 7">iu/h</span>
  1411. <span v-if="prescription.anticoagulant == 8">iu/h</span>
  1412. <span v-if="prescription.anticoagulant == 9">iu/h</span>
  1413. <span v-if="prescription.anticoagulant == 10">iu/h</span>
  1414. <span v-if="prescription.anticoagulant == 11">iu/h</span>
  1415. <span v-if="prescription.anticoagulant == 13">iu/h</span>
  1416. <span v-if="prescription.anticoagulant == 5">ml/h</span>
  1417. <span v-if="prescription.anticoagulant == 4">mg/h</span>
  1418. <span v-if="prescription.anticoagulant == 3">iu/h</span>
  1419. <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg/h</span>
  1420. <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
  1421. <span v-if="prescription.anticoagulant == 1">mg/h</span>
  1422. </span>
  1423. <span v-if="org_id==9675 || org_id==10447 || org_id== 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10460">
  1424. <span v-if="prescription.anticoagulant == 2">mg/h</span>
  1425. <span v-if="prescription.anticoagulant == 3">iu/h</span>
  1426. <span v-if="prescription.anticoagulant == 4">ml</span>
  1427. <span v-if="prescription.anticoagulant == 5">ml/h</span>
  1428. <span v-if="prescription.anticoagulant == 6">iu/h</span>
  1429. <span v-if="prescription.anticoagulant == 7">iu/h</span>
  1430. <span v-if="prescription.anticoagulant == 8">iu/h</span>
  1431. <span v-if="prescription.anticoagulant == 9">iu/h</span>
  1432. <span v-if="prescription.anticoagulant == 10">iu/h</span>
  1433. <span v-if="prescription.anticoagulant == 11">iu/h</span>
  1434. <span v-if="prescription.anticoagulant == 13">iu/h</span>
  1435. </span>
  1436. </div>
  1437. <div
  1438. class="inline_block"
  1439. style="margin-left: 20px"
  1440. v-if="prescription.anticoagulant == 5"
  1441. >
  1442. 钙名称:
  1443. <div
  1444. class="under_line"
  1445. style="width: 150px; text-align: center"
  1446. >
  1447. {{
  1448. prescription.anticoagulant_gaimingcheng
  1449. ? prescription.anticoagulant_gaimingcheng
  1450. : "/"
  1451. }}
  1452. </div>
  1453. </div>
  1454. <div
  1455. class="inline_block"
  1456. style="margin-left: 20px"
  1457. v-if="prescription.anticoagulant == 5"
  1458. >
  1459. 钙剂量:
  1460. <div
  1461. class="under_line"
  1462. style="width: 50px; text-align: center"
  1463. >
  1464. {{
  1465. prescription.anticoagulant_gaijiliang
  1466. ? prescription.anticoagulant_gaijiliang
  1467. : "/"
  1468. }}
  1469. </div>
  1470. ml
  1471. </div>
  1472. <div
  1473. class="inline_block"
  1474. style="margin-left: 20px"
  1475. v-if="prescription.anticoagulant != 5"
  1476. >
  1477. 总量:
  1478. <div
  1479. class="under_line"
  1480. style="width: 50px; text-align: center"
  1481. >
  1482. {{
  1483. prescription.anticoagulant_zongliang
  1484. ? prescription.anticoagulant_zongliang
  1485. : "/"
  1486. }}
  1487. </div>
  1488. <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10460">
  1489. <span v-if="prescription.anticoagulant == 5">ml</span>
  1490. <span v-if="prescription.anticoagulant == 6">iu</span>
  1491. <span v-if="prescription.anticoagulant == 7">iu</span>
  1492. <span v-if="prescription.anticoagulant == 8">iu</span>
  1493. <span v-if="prescription.anticoagulant == 9">iu</span>
  1494. <span v-if="prescription.anticoagulant == 10">iu</span>
  1495. <span v-if="prescription.anticoagulant == 11">iu</span>
  1496. <span v-if="prescription.anticoagulant == 13">iu</span>
  1497. <span v-if="prescription.anticoagulant == 4">mg</span>
  1498. <span v-if="prescription.anticoagulant == 3">iu</span>
  1499. <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg</span>
  1500. <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
  1501. <span v-if="prescription.anticoagulant == 1">mg</span>
  1502. </span>
  1503. <span v-if="org_id==9675 || org_id==10447 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471|| org_id == 10460">
  1504. <span v-if="prescription.anticoagulant == 2">mg</span>
  1505. <span v-if="prescription.anticoagulant == 3">iu</span>
  1506. <span v-if="prescription.anticoagulant == 4">ml</span>
  1507. <span v-if="prescription.anticoagulant == 5">ml</span>
  1508. <span v-if="prescription.anticoagulant == 6">iu</span>
  1509. <span v-if="prescription.anticoagulant == 7">iu</span>
  1510. <span v-if="prescription.anticoagulant == 8">iu</span>
  1511. <span v-if="prescription.anticoagulant == 9">iu</span>
  1512. <span v-if="prescription.anticoagulant == 10">iu</span>
  1513. <span v-if="prescription.anticoagulant == 11">iu</span>
  1514. <span v-if="prescription.anticoagulant == 13">iu</span>
  1515. </span>
  1516. </div>
  1517. <div class="inline_block" style="margin-left: 20px" v-if="org_id!=9675 && org_id!=10447">
  1518. 透析机号:
  1519. <div
  1520. class="under_line"
  1521. style="width: 50px; text-align: center"
  1522. >
  1523. {{
  1524. dialysisOrder &&
  1525. dialysisOrder.DeviceNumber &&
  1526. dialysisOrder.DeviceNumber.number.length > 0
  1527. ? dialysisOrder.DeviceNumber.number
  1528. : patientInfo.DialysisSchedule.device_number.number
  1529. }}
  1530. </div>
  1531. </div>
  1532. <div class="inline_block" style="margin-left: 20px" v-if="org_id ==10683">
  1533. 上机时间:
  1534. <div
  1535. class="under_line"
  1536. style="width: 50px; text-align: center"
  1537. >
  1538. {{getTime(dialysisOrder.start_time, "{h}:{i}")}}
  1539. </div>
  1540. </div>
  1541. </div>
  1542. <div class="row" style="padding: 2px 0; line-height: 23px" v-if=" org_id == 10598">
  1543. 在线Kt/V监测:
  1544. <div class="under_line" style="width: 30px; text-align: center">
  1545. <check-box :checked="true"></check-box>
  1546. </div>
  1547. </div>
  1548. <div class="row" style="padding: 2px 0; line-height: 23px" v-if=" org_id == 3877 || org_id == 9671">
  1549. <div
  1550. class="inline_block"
  1551. style="margin-left: 20px"
  1552. v-if="prescription.anticoagulant != 5"
  1553. >
  1554. 置换速度:
  1555. <div
  1556. class="under_line"
  1557. style="width: 50px; text-align: center"
  1558. >
  1559. {{
  1560. prescription.displace_speed
  1561. ? prescription.displace_speed
  1562. : ""
  1563. }}
  1564. </div>
  1565. <span>ml/h</span>
  1566. </div>
  1567. <div
  1568. class="inline_block"
  1569. style="margin-left: 20px"
  1570. v-if="prescription.anticoagulant != 5"
  1571. >
  1572. 透析液流速:
  1573. <div
  1574. class="under_line"
  1575. style="width: 50px; text-align: center"
  1576. >
  1577. {{
  1578. prescription.dialysis_fluid_flow
  1579. ? prescription.dialysis_fluid_flow
  1580. : ""
  1581. }}
  1582. </div>
  1583. <span>ml/h</span>
  1584. </div>
  1585. <div class="inline_block" style="margin-left: 20px">
  1586. 碳酸氢钠流速:
  1587. <div
  1588. class="under_line"
  1589. style="width: 50px; text-align: center"
  1590. >
  1591. {{
  1592. prescription.sodium_bicarbonate_flow
  1593. ? prescription.sodium_bicarbonate_flow
  1594. : ""
  1595. }}
  1596. </div>
  1597. </div>
  1598. <span>ml/h</span>
  1599. </div>
  1600. <div class="row" style="padding: 2px 0; line-height: 23px" v-if="org_id ==10469 || org_id == 9671">
  1601. <div
  1602. class="inline_block"
  1603. style="margin-left: 20px"
  1604. >
  1605. 透析机型号:
  1606. <div
  1607. class="under_line"
  1608. style="width: 50px; text-align: center"
  1609. >
  1610. {{predialysis.machine_type ? predialysis.machine_type : ""}}
  1611. </div>
  1612. </div>
  1613. <div
  1614. class="inline_block"
  1615. style="margin-left: 20px"
  1616. >
  1617. 跌倒风险评估评分:
  1618. <div
  1619. class="under_line"
  1620. style="width: 50px; text-align: center"
  1621. >
  1622. {{ receiverTreatmentAccess.score }}
  1623. </div>
  1624. </div>
  1625. </div>
  1626. <div
  1627. class="row"
  1628. style="padding: 2px 0; line-height: 23px; display: flex"
  1629. v-if="org_id != 10223"
  1630. >
  1631. <div
  1632. class="inline_block"
  1633. style="flex: 1; display: inline-block"
  1634. v-if="org_id!=9675 && org_id!=10447"
  1635. >
  1636. 备注:
  1637. <div
  1638. class="under_line"
  1639. style="
  1640. width: 860px;
  1641. line-height: 25px;
  1642. text-align: left;
  1643. margin-left: 2px;
  1644. display: inline-block;
  1645. white-space: normal;
  1646. "
  1647. >
  1648. {{ predialysis.remark ? predialysis.remark : "/" }}
  1649. </div>
  1650. </div>
  1651. </div>
  1652. </td>
  1653. </tr>
  1654. <tr>
  1655. <td style="padding: 0; position: relative" colspan="2">
  1656. <table class="inside_table">
  1657. <tbody>
  1658. <tr>
  1659. <td
  1660. :colspan="
  1661. prescription.mode_id == 2 ||
  1662. prescription.mode_id == 5
  1663. ? 14
  1664. : 13
  1665. "
  1666. style="
  1667. letter-spacing: 5px;
  1668. text-align: center;
  1669. font-weight: 520;
  1670. font-size: 16px;
  1671. padding: 0px 8px;
  1672. line-height: 30px;
  1673. "
  1674. >
  1675. 治疗记录
  1676. </td>
  1677. </tr>
  1678. <tr>
  1679. <td width="50">时间</td>
  1680. <td width="65">血压<br />(mmHg)</td>
  1681. <td width="50">脉搏<br />(次/分)</td>
  1682. <td width="50" v-if="org_id!=10489">呼吸<br />(次/分)</td>
  1683. <td width="50">血流量<br />(ml/min)</td>
  1684. <td width="50" v-if="org_id==10478 || org_id == 10598 || org_id ==10510">
  1685. 动脉压<br />({{
  1686. monitors[0] &&
  1687. monitors[0]["venous_pressure_type"] == 2
  1688. ? "kpa"
  1689. : "mmHg"
  1690. }})
  1691. </td>
  1692. <td width="50">
  1693. 静脉压<br />({{
  1694. monitors[0] &&
  1695. monitors[0]["venous_pressure_type"] == 2
  1696. ? "kpa"
  1697. : "mmHg"
  1698. }})
  1699. </td>
  1700. <td width="50">
  1701. 跨膜压<br />({{
  1702. monitors[0] &&
  1703. monitors[0]["transmembrane_pressure_type"] == 2
  1704. ? "kpa"
  1705. : "mmHg"
  1706. }})
  1707. </td>
  1708. <td width="60" v-if="org_id == 9836">体温(°C)</td>
  1709. <td width="60" v-if="org_id == 9919">血温(°C)</td>
  1710. <td width="60" v-if="org_id == 9671">血温(°C)</td>
  1711. <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671 && org_id!=10644">透析液温度(°C)</td>
  1712. <td width="50" v-if="org_id != 10121 && org_id!=10600 && org_id!=10644">
  1713. <span v-if="org_id != 0 && org_id !=10469 && org_id!=10490 "> 电导度<br />(ms/cm)</span>
  1714. <span v-if="org_id ==10469"> 钠浓度<br />(mmol/L)</span>
  1715. <span v-if="org_id == 10490"> 置换液的速度<br />(ml/h)</span>
  1716. </td>
  1717. <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
  1718. <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
  1719. <td width="50" v-if="org_id ==10489">超滤率<br/>(ml/h)</td>
  1720. <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 10600&& org_id != 10683">超滤量<br />(ml)</td>
  1721. <td width="50" v-if="org_id == 10600 || org_id ==10598 || org_id ==10683">超滤率<br/>(ml/h)</td>
  1722. <td width="50" v-if="org_id ==3877 || org_id == 10449 ">累计超滤量<br />(ml)</td>
  1723. <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">
  1724. <span v-if="org_id == 10683">置换液速度</span>
  1725. <span v-if="org_id!=0&&org_id!=10683">置换量</span>
  1726. <br />
  1727. <span v-if="org_id!=10598 && org_id!=10567">
  1728. <span v-if="org_id!=0&&org_id!=10683">(ml)</span>
  1729. <span v-if="org_id==10683">(ml/h)</span>
  1730. </span>
  1731. <span v-if="org_id==10598 || org_id == 10567">(L)</span>
  1732. </td>
  1733. <td width="50" v-if="org_id == 3877 || org_id == 10449">滤前压(mmHg)</td>
  1734. <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>
  1735. <td width="50" v-if="org_id == 9919">在线尿素监测</td>
  1736. <td width="50" v-if="org_id == 9671">在线尿素监测</td>
  1737. <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
  1738. <td width="50" v-if="org_id == 10490 ">碳酸氢钠<br />(ml)</td>
  1739. <td width="50" v-if="org_id == 10598">护士签名</td>
  1740. <td width="50" v-if="org_id == 9829 || org_id == 0">SpO₂<br />(%)</td>
  1741. <td width="200">病情变化及处理</td>
  1742. </tr>
  1743. <tr v-for="(monitor, monindex) in monitors" :key="monindex">
  1744. <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
  1745. <td>{{monitor.systolic_blood_pressure? monitor.systolic_blood_pressure + "/": ""}}
  1746. {{monitor.diastolic_blood_pressure? monitor.diastolic_blood_pressure: ""}}</td>
  1747. <td>{{ monitor.pulse_frequency? monitor.pulse_frequency: ""}}</td>
  1748. <td v-if="org_id!=10489">{{monitor.breathing_rate ? monitor.breathing_rate : ""}}</td>
  1749. <td>{{monitor.blood_flow_volume? monitor.blood_flow_volume: ""}}</td>
  1750. <td v-if="org_id ==10478 || org_id == 10598 || org_id ==10510">
  1751. {{
  1752. monitor.arterial_pressure
  1753. ? monitor.arterial_pressure
  1754. : "/"
  1755. }}
  1756. </td>
  1757. <td>
  1758. <span v-if="org_id ==10551">
  1759. {{
  1760. monitor.venous_pressure
  1761. ? monitor.venous_pressure
  1762. : "/"
  1763. }}
  1764. </span>
  1765. <span v-if="org_id!=10551">
  1766. {{
  1767. monitor.venous_pressure
  1768. ? monitor.venous_pressure
  1769. : ""
  1770. }}
  1771. </span>
  1772. </td>
  1773. <td>
  1774. <span
  1775. v-if="
  1776. (dialysisOrder &&
  1777. monitor.operate_time >
  1778. dialysisOrder.end_time) ||
  1779. (dialysisOrder &&
  1780. monitor.operate_time < dialysisOrder.start_time)
  1781. "
  1782. >
  1783. {{
  1784. monitor.transmembrane_pressure
  1785. ? monitor.transmembrane_pressure
  1786. : ""
  1787. }}
  1788. </span>
  1789. <span
  1790. v-if="
  1791. dialysisOrder &&
  1792. monitor.operate_time <= dialysisOrder.end_time &&
  1793. dialysisOrder &&
  1794. monitor.operate_time >= dialysisOrder.start_time
  1795. "
  1796. >
  1797. {{
  1798. monitor.transmembrane_pressure
  1799. ? monitor.transmembrane_pressure
  1800. : ""
  1801. }}
  1802. </span>
  1803. </td>
  1804. <td v-if="org_id == 9919">
  1805. {{monitor.dialysate_temperature? monitor.dialysate_temperature: ""}}
  1806. </td>
  1807. <td v-if="org_id == 9671">
  1808. {{monitor.dialysate_temperature? monitor.dialysate_temperature: ""}}
  1809. </td>
  1810. <td v-if="org_id == 9836">
  1811. {{ monitor.temperature ? monitor.temperature : "" }}
  1812. </td>
  1813. <td v-if="org_id!=9919 && org_id!=9671 && org_id!=9836 && org_id!=10644">
  1814. {{monitor.dialysate_temperature? monitor.dialysate_temperature: ""}}
  1815. </td>
  1816. <td v-if="org_id == 10121">
  1817. {{monitor.blood_oxygen_saturation? monitor.blood_oxygen_saturation: ""}}
  1818. </td>
  1819. <td v-if="org_id == 9538">
  1820. {{monitor.sodium_concentration? monitor.sodium_concentration: ""}}
  1821. </td>
  1822. <td v-if="org_id != 9538 &&org_id != 10121 &&org_id!=10600 && org_id!=10644">
  1823. <span v-if="org_id!=0&&org_id!=10469 && org_id!=10490"> {{ monitor.conductivity ? monitor.conductivity : "" }}</span>
  1824. <span v-if="org_id==10469"> {{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</span>
  1825. <span v-if="org_id==10490"> {{ monitor.replacement_speed ? monitor.replacement_speed : "" }}</span>
  1826. </td>
  1827. <td v-if="org_id == 10375"><br />
  1828. {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
  1829. </td>
  1830. <td v-if="org_id == 10489 "><br />
  1831. {{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}
  1832. </td>
  1833. <td v-if="org_id!=10600 && org_id!=10644 && org_id!=10683">
  1834. <span v-if="org_id!=9671 && org_id!=10440 && org_id!=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
  1835. <span v-if="org_id==9671 || org_id==10440 || org_id ==10617">
  1836. <span v-if="org_id ==10617 && monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
  1837. <span v-if="org_id ==10617 && monindex == monitors.length-1">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
  1838. <span v-if="org_id ==10617 && (monindex != monitors.length-1 && monindex != 0)">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
  1839. <span v-if="org_id !=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
  1840. </span>
  1841. </td>
  1842. <td width="50" v-if="org_id == 10600 || org_id == 10598 || org_id==10644 || org_id == 10683 "><br/>
  1843. <span v-if="org_id!=10644 && org_id!=0">{{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}</span>
  1844. <span v-if="org_id==10644 ">
  1845. <span v-if="monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
  1846. <span v-if="monindex == monitors.length-1">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
  1847. <span v-if="(monindex != monitors.length-1 && monindex != 0)">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
  1848. </span>
  1849. </td>
  1850. <td
  1851. v-if="
  1852. (prescription.mode_id == 2 ||
  1853. prescription.mode_id == 5 ||
  1854. prescription.mode_id == 12)
  1855. && org_id!=0 && org_id!=10478 && org_id!=10206
  1856. "
  1857. style="width: 50px"
  1858. >
  1859. <span>
  1860. <span v-if="org_id!=0&&org_id!=10683">
  1861. {{
  1862. monitor.displacement_quantity
  1863. ? monitor.displacement_quantity
  1864. : ""
  1865. }}
  1866. </span>
  1867. <span v-if="org_id == 10683">
  1868. {{
  1869. monitor.replacement_speed
  1870. ? monitor.replacement_speed
  1871. : ""
  1872. }}
  1873. </span>
  1874. </span>
  1875. </td>
  1876. <td width="50" v-if="org_id == 3877 || org_id == 10449">{{ monitor.filter_pressure?monitor.filter_pressure:""}}</td>
  1877. <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">
  1878. {{ monitor.ktv?monitor.ktv:"" }}
  1879. </td>
  1880. <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id == 9671">
  1881. {{ monitor.accumulated_blood_volume? monitor.accumulated_blood_volume:"" }}
  1882. </td>
  1883. <td width="50" v-if="org_id ==10490 ">
  1884. {{ monitor.dicarbonate?monitor.dicarbonate:"" }}
  1885. </td>
  1886. <td width="50" v-if="org_id == 10598 ">
  1887. <span v-if="monitor.creator == 0">
  1888. <span
  1889. v-if="setAdminUserES(monitor.modify) == ''"
  1890. >{{ getAdminUser(monitor.modify) }}</span
  1891. >
  1892. <img
  1893. style="height: 30px"
  1894. :src="setAdminUserES(monitor.modify)"
  1895. alt=""
  1896. srcset=""
  1897. v-else
  1898. />
  1899. </span>
  1900. <span v-if="monitor.creator > 0">
  1901. <span
  1902. v-if="setAdminUserES(monitor.creator) == ''"
  1903. >{{ getAdminUser(monitor.creator) }}</span
  1904. >
  1905. <img
  1906. style="height: 30px"
  1907. :src="setAdminUserES(monitor.creator)"
  1908. alt=""
  1909. srcset=""
  1910. v-else
  1911. />
  1912. </span>
  1913. </td>
  1914. <td v-if="org_id == 0||org_id == 9829">
  1915. {{monitor.blood_oxygen_saturation? monitor.blood_oxygen_saturation: ""}}
  1916. </td>
  1917. <td style="line-height: 16px; padding: 0px">
  1918. <div
  1919. style="
  1920. min-height: 35px;
  1921. line-height: 35px;
  1922. overflow: hidden;
  1923. "
  1924. >
  1925. <span
  1926. style="
  1927. word-break: break-all;
  1928. margin: 0;
  1929. line-height: 16px;
  1930. -webkit-line-clamp: 3;
  1931. overflow: visible;
  1932. display: inline-block;
  1933. vertical-align: middle;
  1934. height: auto;
  1935. "
  1936. >
  1937. <template
  1938. v-if="
  1939. (dialysisOrder &&
  1940. monitor.operate_time ==
  1941. dialysisOrder.start_time)&&(org_id!=10414) && (org_id!=10683)
  1942. "
  1943. >【开始透析】 <span v-if="org_id ==10598">引血100ml/min</span>
  1944. </template>
  1945. {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{
  1946. monitor.dispose
  1947. }}
  1948. &nbsp;{{ monitor.result }}
  1949. </span>
  1950. </div>
  1951. </td>
  1952. </tr>
  1953. <!-- <tr
  1954. v-for="(monitor, monindex) in monitors2"
  1955. :key="monindex"
  1956. >
  1957. <td></td>
  1958. <td></td>
  1959. <td></td>
  1960. <td></td>
  1961. <td v-if=" org_id ==10478"></td>
  1962. <td></td>
  1963. <td></td>
  1964. <td></td>
  1965. <td></td>
  1966. <td v-if="org_id!=10644"></td>
  1967. <td v-if="org_id!=10644"></td>
  1968. <td v-if="org_id == 10375 "><br /></td>
  1969. <td v-if="org_id == 9671 || org_id == 9919"></td>
  1970. <td
  1971. v-if="
  1972. (prescription.mode_id == 2 ||
  1973. prescription.mode_id == 5 ||
  1974. prescription.mode_id == 12) && org_id!=10478
  1975. "
  1976. width="50"
  1977. ></td>
  1978. <td v-if="org_id == 9919||org_id == 9538 || org_id == 9671 "></td>
  1979. <td v-if="org_id == 9538"></td>
  1980. <td v-if="org_id == 10598 "></td>
  1981. <td v-if="org_id == 10490 "></td>
  1982. <td style="line-height: 16px; padding: 0px">
  1983. <div
  1984. style="
  1985. height: 40px;
  1986. line-height: 20px;
  1987. overflow: hidden;
  1988. "
  1989. >
  1990. <span
  1991. style="
  1992. word-break: break-all;
  1993. margin: 0;
  1994. line-height: 16px;
  1995. -webkit-line-clamp: 3;
  1996. overflow: visible;
  1997. display: inline-block;
  1998. vertical-align: middle;
  1999. height: auto;
  2000. "
  2001. >
  2002. </span>
  2003. </div>
  2004. </td>
  2005. </tr> -->
  2006. </tbody>
  2007. </table>
  2008. </td>
  2009. </tr>
  2010. <tr v-if="org_id!=10206">
  2011. <td style="padding: 0; position: relative" colspan="2">
  2012. <table class="inside_table">
  2013. <tbody>
  2014. <tr style="line-height: 35px; padding: 8px 5px">
  2015. <td
  2016. colspan="7"
  2017. style="
  2018. letter-spacing: 5px;
  2019. text-align: center;
  2020. font-weight: 520;
  2021. font-size: 16px;
  2022. padding: 0px 8px;
  2023. line-height: 30px;
  2024. "
  2025. >
  2026. 医嘱内容
  2027. </td>
  2028. </tr>
  2029. <tr style="line-height: 35px; padding: 8px 5px">
  2030. <td style="font-size: 16px" width="10%">时间</td>
  2031. <td style="font-size: 16px" colspan="2" width="45%">
  2032. 医嘱内容
  2033. </td>
  2034. <td style="font-size: 16px" width="10%">医生签名</td>
  2035. <!-- <td style="font-size: 16px" width="10%">核对人签名</td> -->
  2036. <td style="font-size: 16px" width="10%">执行人签名</td>
  2037. <td style="font-size: 16px" width="10%" v-if="org_id == 10598 || org_id == 10489 || org_id == 0 || org_id == 10402">核对护士</td>
  2038. <td style="font-size: 16px" width="10%">时间</td>
  2039. <td
  2040. style="font-size: 16px"
  2041. width="10%"
  2042. v-if="org_id == 10223 || org_id == 9538 ||
  2043. org_id ==10375 || org_id ==10571 || org_id ==10600"
  2044. >
  2045. 核对护士
  2046. </td>
  2047. </tr>
  2048. <!-- <template v-for="group in doctor_advices" > -->
  2049. <tr
  2050. v-for="(advice, advice_index) in doctor_advices"
  2051. :key="advice_index"
  2052. >
  2053. <td height="32px">
  2054. <span v-if="advice.start_time">
  2055. {{ getTime(advice.start_time, "{h}:{i}") }}
  2056. </span>
  2057. <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
  2058. </td>
  2059. <td
  2060. height="32px"
  2061. colspan="2"
  2062. class="advice-name"
  2063. style="padding-left: 7px"
  2064. >
  2065. <span v-if="advice.parent_id > 0">---></span>
  2066. <span>{{ advice.advice_name }}</span>
  2067. <span v-if="advice && advice.advice_desc"
  2068. >({{ advice.advice_desc
  2069. }}{{ advice.drug_spec_unit }})</span
  2070. >
  2071. <span v-if="advice.prescribing_number"
  2072. >&nbsp;&nbsp; {{ advice.prescribing_number
  2073. }}{{ advice.prescribing_number_unit }}</span
  2074. >
  2075. <span v-if="advice.single_dose != 0"
  2076. >{{ advice.single_dose
  2077. }}{{ advice.single_dose_unit }}</span
  2078. >
  2079. <span v-if="advice.parent_id == 0">{{
  2080. advice.delivery_way
  2081. }}</span>
  2082. <span v-if="advice.parent_id == 0">{{
  2083. advice.execution_frequency
  2084. }}</span>
  2085. <span
  2086. v-if="
  2087. advice.parent_id == 0 && advice.remark.length > 0
  2088. "
  2089. >({{ advice.remark }})</span
  2090. >
  2091. </td>
  2092. <td height="32px">
  2093. <span v-if="advice!=null && advice.advice_doctor>0">
  2094. <span
  2095. v-if="setAdminUserES(advice.advice_doctor) == ''"
  2096. >{{ getAdminUser(advice.advice_doctor) }}
  2097. </span>
  2098. <img
  2099. style="height: 30px"
  2100. :src="setAdminUserES(advice.advice_doctor)"
  2101. alt=""
  2102. srcset=""
  2103. v-else
  2104. />
  2105. </span>
  2106. </td>
  2107. <td height="32px">
  2108. <span v-if="advice!=null && advice.execution_staff>0">
  2109. <span
  2110. v-if="setAdminUserES(advice.execution_staff) == ''"
  2111. >{{ getAdminUser(advice.execution_staff) }}</span
  2112. >
  2113. <img
  2114. style="height: 30px"
  2115. :src="setAdminUserES(advice.execution_staff)"
  2116. alt=""
  2117. srcset=""
  2118. v-else
  2119. />
  2120. </span>
  2121. </td>
  2122. <td v-if="org_id == 10598 || org_id==10489 || org_id == 0 || org_id == 10402 ">
  2123. <span v-if="org_id!=10489">
  2124. <span v-if="advice!=null && advice.checker>0">
  2125. <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)}}</span>
  2126. <img
  2127. style="height: 30px"
  2128. :src="setAdminUserES(advice.checker)"
  2129. alt=""
  2130. srcset=""
  2131. v-else
  2132. />
  2133. </span>
  2134. </span>
  2135. <span v-if="org_id == 10489">
  2136. <span v-if="advice.execution_time">{{
  2137. getTime(advice.execution_time, "{h}:{i}")
  2138. }}</span>
  2139. </span>
  2140. </td>
  2141. <td height="32px">
  2142. <span v-if="org_id!=10489">
  2143. <span v-if="advice.execution_time">{{
  2144. getTime(advice.execution_time, "{h}:{i}")
  2145. }}</span>
  2146. </span>
  2147. <span v-if="org_id == 10489">
  2148. <span v-if="advice!=null && advice.checker>0">
  2149. <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)}}</span>
  2150. <img
  2151. style="height: 30px"
  2152. :src="setAdminUserES(advice.checker)"
  2153. alt=""
  2154. srcset=""
  2155. v-else
  2156. />
  2157. </span>
  2158. </span>
  2159. </td>
  2160. <td height="32px" v-if="org_id == 10223 || org_id == 9538 ||
  2161. org_id ==10375 || org_id ==10571 || org_id ==10600">
  2162. <span v-if="advice!=null && advice.checker>0">
  2163. <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)}}</span>
  2164. <img
  2165. style="height: 30px"
  2166. :src="setAdminUserES(advice.checker)"
  2167. alt=""
  2168. srcset=""
  2169. v-else
  2170. />
  2171. </span>
  2172. </td>
  2173. </tr>
  2174. <!-- </template> -->
  2175. <tr
  2176. v-if="org_id ==10206 || org_id ==10489"
  2177. v-for="(advice, advice_index) in projectsOne"
  2178. :key="advice_index"
  2179. >
  2180. <td height="32px;padding:1px 1px" width="10%">
  2181. <span v-if="advice.start_time">
  2182. {{ getTime(advice.start_time, "{h}:{i}") }}
  2183. </span>
  2184. </td>
  2185. <td
  2186. colspan="2"
  2187. class="advice-name"
  2188. style="
  2189. letter-spacing: 5px;
  2190. text-align: center;
  2191. font-weight: 520;
  2192. font-size: 14px;
  2193. padding: 0px 8px;
  2194. line-height: 30px;
  2195. width: 200px;
  2196. "
  2197. >
  2198. <span v-if="advice.type == 2"> {{advice && advice.project? advice.project.project_name: ""}} {{ advice.count }} {{ advice.unit }}</span>
  2199. <span v-if="advice.type == 3"> {{advice && advice.good_info? advice.good_info.good_name: ""}} {{ advice.count }} {{ advice.unit }}</span>
  2200. </td>
  2201. <td height="32px">
  2202. <span
  2203. v-if="setAdminUserES(advice.doctor) == ''"
  2204. >{{ getAdminUser(advice.doctor) }}</span
  2205. >
  2206. <img
  2207. style="height: 30px"
  2208. :src="setAdminUserES(advice.doctor)"
  2209. alt=""
  2210. srcset=""
  2211. v-else
  2212. />
  2213. </td>
  2214. <td height="32px">
  2215. <span
  2216. v-if="
  2217. setAdminUserES(advice.execution_staff) == ''
  2218. "
  2219. >{{
  2220. getAdminUser(advice.execution_staff)
  2221. }}</span
  2222. >
  2223. <img
  2224. style="height: 30px"
  2225. :src="setAdminUserES(advice.execution_staff)"
  2226. alt=""
  2227. srcset=""
  2228. v-else
  2229. />
  2230. </td>
  2231. <td height="32px">
  2232. <span v-if="advice.execution_time">{{
  2233. getTime(advice.execution_time, "{h}:{i}")
  2234. }}</span>
  2235. </td>
  2236. <td height="32px" v-if="org_id!=0 && org_id!=10644">
  2237. <span v-if="setAdminUserES(advice.checker) == ''">{{
  2238. getAdminUser(advice.checker)
  2239. }}</span>
  2240. <img
  2241. style="height: 30px"
  2242. :src="setAdminUserES(advice.checker)"
  2243. alt=""
  2244. srcset=""
  2245. v-else
  2246. />
  2247. </td>
  2248. </tr>
  2249. </tbody>
  2250. </table>
  2251. </td>
  2252. </tr>
  2253. <tr v-if="org_id ==10206">
  2254. <td style="padding: 0; position: relative" colspan="2">
  2255. <table class="inside_table">
  2256. <tbody>
  2257. <tr style="line-height: 35px; padding: 8px 5px">
  2258. <td
  2259. colspan="7"
  2260. style="
  2261. letter-spacing: 5px;
  2262. text-align: center;
  2263. font-weight: 520;
  2264. font-size: 16px;
  2265. padding: 0px 8px;
  2266. line-height: 30px;
  2267. "
  2268. >
  2269. 医嘱内容
  2270. </td>
  2271. </tr>
  2272. <tr style="line-height: 35px; padding: 8px 5px">
  2273. <td style="font-size: 16px" width="10%">时间</td>
  2274. <td style="font-size: 16px" colspan="2" width="45%">
  2275. 医嘱内容
  2276. </td>
  2277. <td style="font-size: 16px" width="10%">医生签名</td>
  2278. <td style="font-size: 16px" width="10%">执行人签名</td>
  2279. <td style="font-size: 16px" width="10%" v-if="org_id == 10598 || org_id == 0 || org_id == 10489">核对护士</td>
  2280. <td style="font-size: 16px" width="10%">时间</td>
  2281. <td
  2282. style="font-size: 16px"
  2283. width="10%"
  2284. v-if="org_id == 10223 || org_id == 9538 || org_id == 0 ||
  2285. org_id ==10375 || org_id ==10571 || org_id ==10600 || org_id==10206"
  2286. >
  2287. 核对护士
  2288. </td>
  2289. </tr>
  2290. <tr
  2291. v-for="(advice, advice_index) in new_doctor_advice_list"
  2292. :key="advice_index"
  2293. >
  2294. <td height="32px">
  2295. <span v-if="advice.start_time">
  2296. {{ getTime(advice.start_time, "{h}:{i}") }}
  2297. </span>
  2298. </td>
  2299. <td
  2300. height="32px"
  2301. colspan="2"
  2302. class="advice-name"
  2303. style="padding-left: 7px"
  2304. >
  2305. <span v-for="(it,i) in advice.child" :key="i">
  2306. <span v-if="it && it.advice_name">{{ it.advice_name}}</span>
  2307. <span v-if="it && it.advice_desc">({{ it.advice_desc}}{{ it.drug_spec_unit }})</span>
  2308. <span v-if="it.prescribing_number">{{ it.prescribing_number}}{{ it.prescribing_number_unit }}</span>
  2309. <span v-if="it.single_dose != 0">{{ it.single_dose}}{{ it.single_dose_unit }}</span>
  2310. <span v-if="it && it.delivery_way">{{ it.delivery_way }}</span>
  2311. <span v-if="it && it.execution_frequency">{{ it.execution_frequency }}</span>
  2312. <span v-if="it&& it.remark">{{ it.remark }}</span>&nbsp;&nbsp;&nbsp;
  2313. </span>
  2314. </td>
  2315. <td height="32px">
  2316. <span v-if="advice!=null && advice.advice_doctor>0">
  2317. <span
  2318. v-if="setAdminUserES(advice.advice_doctor) == ''"
  2319. >{{ getAdminUser(advice.advice_doctor) }}
  2320. </span>
  2321. <img
  2322. style="height: 30px"
  2323. :src="setAdminUserES(advice.advice_doctor)"
  2324. alt=""
  2325. srcset=""
  2326. v-else
  2327. />
  2328. </span>
  2329. </td>
  2330. <td height="32px">
  2331. <span v-if="advice!=null && advice.execution_staff>0">
  2332. <span
  2333. v-if="setAdminUserES(advice.execution_staff) == ''"
  2334. >{{ getAdminUser(advice.execution_staff) }}</span
  2335. >
  2336. <img
  2337. style="height: 30px"
  2338. :src="setAdminUserES(advice.execution_staff)"
  2339. alt=""
  2340. srcset=""
  2341. v-else
  2342. />
  2343. </span>
  2344. </td>
  2345. <td v-if="org_id == 10598 || org_id == 10489 || org_id == 0">
  2346. <span v-if="advice!=null && advice.checker>0">
  2347. <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)}}</span>
  2348. <img
  2349. style="height: 30px"
  2350. :src="setAdminUserES(advice.checker)"
  2351. alt=""
  2352. srcset=""
  2353. v-else
  2354. />
  2355. </span>
  2356. </td>
  2357. <td height="32px">
  2358. <span v-if="advice.execution_time">{{
  2359. getTime(advice.execution_time, "{h}:{i}")
  2360. }}</span>
  2361. </td>
  2362. <td height="32px" v-if="org_id == 10223 || org_id == 9538 || org_id == 0 ||
  2363. org_id ==10375 || org_id ==10571 || org_id ==10600 ">
  2364. <span v-if="advice!=null && advice.checker>0">
  2365. <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)}}</span>
  2366. <img
  2367. style="height: 30px"
  2368. :src="setAdminUserES(advice.checker)"
  2369. alt=""
  2370. srcset=""
  2371. v-else
  2372. />
  2373. </span>
  2374. </td>
  2375. </tr>
  2376. <tr
  2377. v-if="org_id == 0 || org_id ==10206 || org_id ==10633 || org_id == 10489"
  2378. v-for="(advice, advice_index) in projectsOne"
  2379. :key="advice_index"
  2380. >
  2381. <td height="32px;padding:1px 1px" width="10%">
  2382. <span v-if="advice.start_time">
  2383. {{ getTime(advice.start_time, "{h}:{i}") }}
  2384. </span>
  2385. </td>
  2386. <td
  2387. colspan="2"
  2388. class="advice-name"
  2389. style="
  2390. letter-spacing: 5px;
  2391. text-align: center;
  2392. font-weight: 520;
  2393. font-size: 14px;
  2394. padding: 0px 8px;
  2395. line-height: 30px;
  2396. width: 200px;
  2397. "
  2398. >
  2399. <span v-if="advice.type == 2"> {{advice && advice.project? advice.project.project_name: ""}} {{ advice.count }} {{ advice.unit }}</span>
  2400. <span v-if="advice.type == 3"> {{advice && advice.good_info? advice.good_info.good_name: ""}} {{ advice.count }} {{ advice.unit }}</span>
  2401. </td>
  2402. <td height="32px">
  2403. <span
  2404. v-if="setAdminUserES(advice.doctor) == ''"
  2405. >{{ getAdminUser(advice.doctor) }}</span
  2406. >
  2407. <img
  2408. style="height: 30px"
  2409. :src="setAdminUserES(advice.doctor)"
  2410. alt=""
  2411. srcset=""
  2412. v-else
  2413. />
  2414. </td>
  2415. <td height="32px">
  2416. <span
  2417. v-if="
  2418. setAdminUserES(advice.execution_staff) == ''
  2419. "
  2420. >{{
  2421. getAdminUser(advice.execution_staff)
  2422. }}</span
  2423. >
  2424. <img
  2425. style="height: 30px"
  2426. :src="setAdminUserES(advice.execution_staff)"
  2427. alt=""
  2428. srcset=""
  2429. v-else
  2430. />
  2431. </td>
  2432. <td height="32px">
  2433. <span v-if="advice.execution_time">{{
  2434. getTime(advice.execution_time, "{h}:{i}")
  2435. }}</span>
  2436. </td>
  2437. <td height="32px">
  2438. <span v-if="setAdminUserES(advice.checker) == ''">{{
  2439. getAdminUser(advice.checker)
  2440. }}</span>
  2441. <img
  2442. style="height: 30px"
  2443. :src="setAdminUserES(advice.checker)"
  2444. alt=""
  2445. srcset=""
  2446. v-else
  2447. />
  2448. </td>
  2449. </tr>
  2450. </tbody>
  2451. </table>
  2452. </td>
  2453. </tr>
  2454. </tbody>
  2455. </table>
  2456. </div>
  2457. <div class="row" style="margin-top: -11px; position: relative">
  2458. <table class="proj_table">
  2459. <tbody>
  2460. <tr>
  2461. <td
  2462. colspan="7"
  2463. style="
  2464. letter-spacing: 5px;
  2465. text-align: center;
  2466. font-weight: 520;
  2467. font-size: 16px;
  2468. padding: 6px 8px;
  2469. line-height: 30px;
  2470. "
  2471. >
  2472. 透析后情况
  2473. </td>
  2474. </tr>
  2475. <tr>
  2476. <td colspan="7">
  2477. <div
  2478. class="row"
  2479. style="padding: 2px 0; line-height: 23px; display: flex"
  2480. >
  2481. <div class="inline_block" style="flex: 1" v-if="org_id!=10624">
  2482. T:
  2483. <div
  2484. class="under_line"
  2485. style="width: 50px; text-align: center"
  2486. >
  2487. {{
  2488. afterdialysis.temperature
  2489. ? afterdialysis.temperature
  2490. : "/"
  2491. }}
  2492. </div>
  2493. °C
  2494. </div>
  2495. <div
  2496. class="inline_block"
  2497. style="margin-left: 10px; flex: 1"
  2498. >
  2499. P:
  2500. <div
  2501. class="under_line"
  2502. style="width: 50px; text-align: center"
  2503. >
  2504. {{
  2505. afterdialysis.pulse_frequency
  2506. ? afterdialysis.pulse_frequency
  2507. : "/"
  2508. }}
  2509. </div>
  2510. 次/分
  2511. </div>
  2512. <div
  2513. class="inline_block"
  2514. style="margin-left: 10px; flex: 1"
  2515. >
  2516. R:
  2517. <div
  2518. class="under_line"
  2519. style="width: 50px; text-align: center"
  2520. >
  2521. {{
  2522. afterdialysis.breathing_rate
  2523. ? afterdialysis.breathing_rate
  2524. : "/"
  2525. }}
  2526. </div>
  2527. 次/分
  2528. </div>
  2529. <div
  2530. class="inline_block"
  2531. style="margin-left: 10px; flex: 1.5"
  2532. >
  2533. BP:
  2534. <div
  2535. class="under_line"
  2536. style="width: 50px; text-align: center"
  2537. >
  2538. {{
  2539. afterdialysis.systolic_blood_pressure
  2540. ? afterdialysis.systolic_blood_pressure
  2541. : "/"
  2542. }}
  2543. </div>
  2544. /
  2545. <div
  2546. class="under_line"
  2547. style="width: 50px; text-align: center"
  2548. >
  2549. {{
  2550. afterdialysis.diastolic_blood_pressure
  2551. ? afterdialysis.diastolic_blood_pressure
  2552. : "/"
  2553. }}
  2554. </div>
  2555. mmHg
  2556. </div>
  2557. <div class="inline_block" style="flex: 1.5">
  2558. 实际治疗时间:
  2559. <div
  2560. class="under_line"
  2561. style="width: 30px; text-align: center"
  2562. >
  2563. {{
  2564. afterdialysis.actual_treatment_hour
  2565. ? afterdialysis.actual_treatment_hour
  2566. : "/"
  2567. }}
  2568. </div>
  2569. h
  2570. <div
  2571. class="under_line"
  2572. style="width: 30px; text-align: center"
  2573. >
  2574. {{
  2575. afterdialysis.actual_treatment_minute
  2576. ? afterdialysis.actual_treatment_minute
  2577. : 0
  2578. }}
  2579. </div>
  2580. min
  2581. </div>
  2582. </div>
  2583. <div
  2584. class="row"
  2585. style="padding: 2px 0; line-height: 23px; display: flex"
  2586. >
  2587. <div class="inline_block" style="flex: 2.5">
  2588. 透析器凝血:
  2589. <div
  2590. class="under_line"
  2591. style="
  2592. width: 170px;
  2593. text-align: center;
  2594. white-space: normal;
  2595. "
  2596. >
  2597. {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
  2598. </div>
  2599. </div>
  2600. <div class="inline_block" style="flex: 2"
  2601. v-if="org_id!=9675 && org_id!=10447 && org_id!=10598">
  2602. 内瘘:
  2603. <div
  2604. class="under_line"
  2605. style="
  2606. width: 170px;
  2607. text-align: center;
  2608. white-space: normal;
  2609. "
  2610. >
  2611. {{
  2612. afterdialysis.internal_fistula
  2613. ? afterdialysis.internal_fistula
  2614. : "/"
  2615. }}
  2616. </div>
  2617. </div>
  2618. <div class="inline_block" style="flex: 4"
  2619. v-if="org_id!=9675 && org_id!=10447&& org_id!=10598">
  2620. 导管:
  2621. <div
  2622. class="under_line"
  2623. style="min-width: 120px; text-align: center"
  2624. >
  2625. {{
  2626. afterdialysis.catheter ? afterdialysis.catheter : "/"
  2627. }}
  2628. </div>
  2629. </div>
  2630. </div>
  2631. <div
  2632. class="row"
  2633. style="padding: 2px 0; line-height: 23px; display: flex"
  2634. >
  2635. <div class="inline_block" style="flex: 1">
  2636. 透后体重:
  2637. <div
  2638. class="under_line"
  2639. style="width: 70px; text-align: center"
  2640. >
  2641. <span v-if="org_id!=9675&&org_id!=10447">
  2642. {{
  2643. afterdialysis.weight_after
  2644. ? parseFloat(
  2645. afterdialysis.weight_after -
  2646. afterdialysis.additional_weight
  2647. ).toFixed(1)
  2648. : "/"
  2649. }}
  2650. </span>
  2651. <span v-if="org_id ==9675 || org_id==10447">
  2652. {{
  2653. afterdialysis.weight_after
  2654. ? parseFloat(
  2655. afterdialysis.weight_after -
  2656. afterdialysis.additional_weight
  2657. ).toFixed(1)
  2658. : "未称重"
  2659. }}
  2660. </span>
  2661. </div>
  2662. kg
  2663. </div>
  2664. <div class="inline_block" style="flex: 1">
  2665. 体重减少:
  2666. <div
  2667. class="under_line"
  2668. style="width: 70px; text-align: center"
  2669. >
  2670. <!-- <span v-if="org_id!=10598 && org_id!=10551">{{
  2671. afterdialysis.weight_loss
  2672. ? afterdialysis.weight_loss
  2673. : "/"
  2674. }}
  2675. </span> -->
  2676. <span>
  2677. {{(predialysis.weight_before - afterdialysis.weight_after).toFixed(2)}}
  2678. </span>
  2679. </div>
  2680. kg
  2681. </div>
  2682. <div
  2683. class="inline_block"
  2684. style="flex: 1"
  2685. v-if="org_id != 10223 && org_id!=10375 && org_id!=10598"
  2686. >
  2687. <span v-if="org_id!=10460">
  2688. 透析中入量(L):
  2689. </span>
  2690. <span v-if="org_id==10460">
  2691. 透析中入量(ml):
  2692. </span>
  2693. <div
  2694. class="under_line"
  2695. style="width: 70px; text-align: center"
  2696. >
  2697. {{
  2698. afterdialysis.dialysis_intakes
  2699. ? afterdialysis.dialysis_intakes
  2700. : "/"
  2701. }}
  2702. </div>
  2703. {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
  2704. </div>
  2705. <div class="inline_block" style="flex: 1">
  2706. 实际超滤量:
  2707. <div
  2708. class="under_line"
  2709. style="width: 70px; text-align: center"
  2710. >
  2711. {{
  2712. afterdialysis.actual_ultrafiltration
  2713. ? afterdialysis.actual_ultrafiltration
  2714. : "/"
  2715. }}
  2716. </div>
  2717. <span v-if="org_id!=9675&&org_id!=10447 &&org_id!=10624"> ml</span>
  2718. <span v-if="org_id ==9675||org_id==10447 || org_id==10624">L</span>
  2719. </div>
  2720. <div class="inline_block" style="flex: 1" v-if="org_id ==10598 || org_id == 0">
  2721. 在线Kt/V:
  2722. <div
  2723. class="under_line"
  2724. style="width: 100px; text-align: center"
  2725. >
  2726. {{
  2727. afterdialysis &&
  2728. afterdialysis.ktv
  2729. ? afterdialysis.ktv
  2730. : "/"
  2731. }}
  2732. </div>
  2733. </div>
  2734. </div>
  2735. <div
  2736. class="row"
  2737. style="padding: 2px 0; line-height: 23px; display: flex"
  2738. v-if="org_id == 10223"
  2739. >
  2740. <div class="inline_block" style="flex: 1">
  2741. 动脉管道:
  2742. <div
  2743. class="under_line"
  2744. style="width: 100px; text-align: center"
  2745. >
  2746. <span v-if="afterdialysis.arterial_tube == 0">/</span>
  2747. <span v-if="afterdialysis.arterial_tube == 1"
  2748. >动脉管道0</span
  2749. >
  2750. <span v-if="afterdialysis.arterial_tube == 2"
  2751. >动脉管道+</span
  2752. >
  2753. <span v-if="afterdialysis.arterial_tube == 3"
  2754. >动脉管道++</span
  2755. >
  2756. <span v-if="afterdialysis.arterial_tube == 4"
  2757. >动脉管道+++</span
  2758. >
  2759. </div>
  2760. </div>
  2761. <div class="inline_block" style="flex: 1">
  2762. 静脉管道:
  2763. <div
  2764. class="under_line"
  2765. style="width: 100px; text-align: center"
  2766. >
  2767. <span v-if="afterdialysis.intravenous_tube == 0"
  2768. >/</span
  2769. >
  2770. <span v-if="afterdialysis.intravenous_tube == 1"
  2771. >静脉管道0</span
  2772. >
  2773. <span v-if="afterdialysis.intravenous_tube == 2"
  2774. >静脉管道+</span
  2775. >
  2776. <span v-if="afterdialysis.intravenous_tube == 3"
  2777. >静脉管道++</span
  2778. >
  2779. <span v-if="afterdialysis.intravenous_tube == 4"
  2780. >静脉管道+++</span
  2781. >
  2782. </div>
  2783. </div>
  2784. <div class="inline_block" style="flex: 1">
  2785. 并发症:
  2786. <div
  2787. class="under_line"
  2788. style="width: 170px; text-align: center"
  2789. >
  2790. {{
  2791. afterdialysis.complication
  2792. ? afterdialysis.complication
  2793. : "/"
  2794. }}
  2795. </div>
  2796. </div>
  2797. </div>
  2798. <div
  2799. class="row"
  2800. style="padding: 2px 0; line-height: 23px; display: flex"
  2801. v-if="org_id == 10223"
  2802. >
  2803. <div class="inline_block" style="flex: 1">
  2804. 穿刺处血肿:
  2805. <div
  2806. class="under_line"
  2807. style="width: 50px; text-align: center"
  2808. >
  2809. <span v-if="afterdialysis.puncture_point_haematoma == 0"
  2810. >/</span
  2811. >
  2812. <span v-if="afterdialysis.puncture_point_haematoma == 1"
  2813. >有</span
  2814. >
  2815. <span v-if="afterdialysis.puncture_point_haematoma == 2"
  2816. >无</span
  2817. >
  2818. </div>
  2819. </div>
  2820. <div class="inline_block" style="flex: 1">
  2821. 中心静脉封管(肝素-A端):
  2822. <div
  2823. class="under_line"
  2824. style="width: 70px; text-align: center"
  2825. >
  2826. {{ afterdialysis.cvc_a ? afterdialysis.cvc_a : "/" }}
  2827. </div>
  2828. </div>
  2829. <div class="inline_block" style="flex: 1">
  2830. 中心静脉封管(肝素-V端):
  2831. <div
  2832. class="under_line"
  2833. style="width: 70px; text-align: center"
  2834. >
  2835. {{ afterdialysis.cvc_v ? afterdialysis.cvc_v : "/" }}
  2836. </div>
  2837. </div>
  2838. </div>
  2839. <div
  2840. v-if="org_id == 10440 || org_id == 0"
  2841. class="row"
  2842. style="padding: 2px 0; line-height: 23px; display: flex"
  2843. >
  2844. <div
  2845. class="inline_block"
  2846. style="flex: 1; display: inline-block"
  2847. >
  2848. 衣物重:
  2849. <div
  2850. class="under_line"
  2851. style="
  2852. width: 100px;
  2853. line-height: 25px;
  2854. text-align: left;
  2855. margin-left: 2px;
  2856. display: inline-block;
  2857. white-space: normal;
  2858. "
  2859. >
  2860. {{
  2861. afterdialysis.additional_weight
  2862. ? afterdialysis.additional_weight
  2863. : "/"
  2864. }}
  2865. </div>
  2866. </div>
  2867. </div>
  2868. <div
  2869. class="row"
  2870. style="padding: 2px 0; line-height: 23px; display: flex"
  2871. >
  2872. <div
  2873. class="inline_block"
  2874. style="flex: 1; display: inline-block"
  2875. >
  2876. 治疗小结:
  2877. <div
  2878. class="under_line"
  2879. style="
  2880. width: 860px;
  2881. line-height: 25px;
  2882. text-align: left;
  2883. margin-left: 2px;
  2884. display: inline-block;
  2885. white-space: normal;
  2886. "
  2887. >
  2888. {{
  2889. summary.dialysis_summary
  2890. ? summary.dialysis_summary
  2891. : "/"
  2892. }}
  2893. </div>
  2894. </div>
  2895. </div>
  2896. <div
  2897. v-if="org_id!=10460 &&org_id!=10624"
  2898. class="row"
  2899. style="padding: 2px 0; line-height: 23px; display: flex"
  2900. >
  2901. <div
  2902. class="inline_block"
  2903. style="flex: 1; display: inline-block"
  2904. >
  2905. 宣教知识:
  2906. <div
  2907. class="under_line"
  2908. style="
  2909. width: 860px;
  2910. line-height: 25px;
  2911. text-align: left;
  2912. margin-left: 2px;
  2913. display: inline-block;
  2914. white-space: normal;
  2915. "
  2916. >
  2917. {{
  2918. summary.mission
  2919. ? summary.mission
  2920. : "/"
  2921. }}
  2922. </div>
  2923. </div>
  2924. </div>
  2925. <div
  2926. class="row"
  2927. style="padding: 2px 0; line-height: 23px; display: flex"
  2928. v-if="org_id != 10223&&org_id!=9538&&org_id!=9675"
  2929. >
  2930. <div
  2931. class="inline_block"
  2932. style="flex: 1; display: inline-block"
  2933. v-if="org_id!=9675 && org_id!=10447"
  2934. >
  2935. 备注:
  2936. <div
  2937. class="under_line"
  2938. style="
  2939. width: 860px;
  2940. line-height: 25px;
  2941. text-align: left;
  2942. margin-left: 2px;
  2943. display: inline-block;
  2944. white-space: normal;
  2945. "
  2946. >
  2947. {{ afterdialysis.remark ? afterdialysis.remark : "/" }}
  2948. </div>
  2949. </div>
  2950. </div>
  2951. <div
  2952. class="row"
  2953. style="padding: 2px 0; line-height: 23px; display: flex"
  2954. v-if="org_id == 9538||org_id == 9675 || org_id == 0"
  2955. >
  2956. <div
  2957. class="inline_block"
  2958. style="flex: 1; display: inline-block"
  2959. >
  2960. 中心静脉导管封管:A端<div
  2961. class="under_line"
  2962. style="
  2963. width: 60px;
  2964. line-height: 25px;
  2965. text-align: center;
  2966. margin-left: 2px;
  2967. display: inline-block;
  2968. white-space: normal;
  2969. "
  2970. >
  2971. {{ afterdialysis.cvc_a ? afterdialysis.cvc_a : "/" }}
  2972. </div>ml,V端<div
  2973. class="under_line"
  2974. style="
  2975. width: 60px;
  2976. line-height: 25px;
  2977. text-align: center;
  2978. margin-left: 2px;
  2979. display: inline-block;
  2980. white-space: normal;
  2981. "
  2982. >
  2983. {{ afterdialysis.cvc_v ? afterdialysis.cvc_v : "/" }}
  2984. </div>ml
  2985. </div>
  2986. </div>
  2987. </td>
  2988. </tr>
  2989. <tr>
  2990. <td colspan="7">
  2991. <div
  2992. class="row"
  2993. style="padding: 2px 0; line-height: 23px; display: flex"
  2994. >
  2995. <div v-if="org_id == 0 || org_id == 10440">
  2996. <div class="inline_block" style="flex: 1">
  2997. 上机护士:
  2998. <div
  2999. class="under_line"
  3000. style="width: 90px; text-align: center"
  3001. >
  3002. <span
  3003. style="height: 30px; display: inline-block"
  3004. v-if="
  3005. setAdminUserES(
  3006. dialysisOrder == null
  3007. ? 0
  3008. : dialysisOrder.start_nurse
  3009. ) == ''
  3010. "
  3011. >
  3012. {{
  3013. getAdminUser(
  3014. dialysisOrder == null
  3015. ? 0
  3016. : dialysisOrder.start_nurse
  3017. )
  3018. }}</span
  3019. >
  3020. <img
  3021. style="height: 35px"
  3022. :src="
  3023. setAdminUserES(
  3024. dialysisOrder == null
  3025. ? 0
  3026. : dialysisOrder.start_nurse
  3027. )
  3028. "
  3029. alt=""
  3030. srcset=""
  3031. v-else
  3032. />
  3033. </div>
  3034. </div>
  3035. </div>
  3036. <div v-if="org_id ==10644">
  3037. <div class="inline_block" style="flex: 1" v-if="predialysis.catheter == ''">
  3038. 穿刺护士:
  3039. <div
  3040. class="under_line"
  3041. style="width: 90px; text-align: center"
  3042. >
  3043. <span
  3044. style="height: 30px; display: inline-block"
  3045. v-if="
  3046. setAdminUserES(
  3047. dialysisOrder == null
  3048. ? 0
  3049. : dialysisOrder.puncture_nurse
  3050. ) == ''
  3051. "
  3052. >
  3053. {{
  3054. getAdminUser(
  3055. dialysisOrder == null
  3056. ? 0
  3057. : dialysisOrder.puncture_nurse
  3058. )
  3059. }}</span
  3060. >
  3061. <img
  3062. style="height: 35px"
  3063. :src="
  3064. setAdminUserES(
  3065. dialysisOrder == null
  3066. ? 0
  3067. : dialysisOrder.puncture_nurse
  3068. )
  3069. "
  3070. alt=""
  3071. srcset=""
  3072. v-else
  3073. />
  3074. </div>
  3075. </div>
  3076. <div class="inline_block" style="flex: 1" v-if="predialysis.catheter != ''">
  3077. 换药护士:
  3078. <div
  3079. class="under_line"
  3080. style="width: 90px; text-align: center"
  3081. v-if="org_id==10644"
  3082. >
  3083. <span
  3084. style="height: 30px; display: inline-block"
  3085. v-if="
  3086. setAdminUserES(
  3087. dialysisOrder == null
  3088. ? 0
  3089. : dialysisOrder.change_nurse
  3090. ) == ''
  3091. "
  3092. >
  3093. {{
  3094. getAdminUser(
  3095. dialysisOrder == null
  3096. ? 0
  3097. : dialysisOrder.change_nurse
  3098. )
  3099. }}</span
  3100. >
  3101. <img
  3102. style="height: 35px"
  3103. :src="
  3104. setAdminUserES(
  3105. dialysisOrder == null
  3106. ? 0
  3107. : dialysisOrder.change_nurse
  3108. )
  3109. "
  3110. alt=""
  3111. srcset=""
  3112. v-else
  3113. />
  3114. </div>
  3115. <div
  3116. class="under_line"
  3117. style="width: 90px; text-align: center"
  3118. v-if="org_id!=10644"
  3119. >
  3120. <span
  3121. style="height: 30px; display: inline-block"
  3122. v-if="
  3123. setAdminUserES(
  3124. dialysisOrder == null
  3125. ? 0
  3126. : dialysisOrder.puncture_nurse
  3127. ) == ''
  3128. "
  3129. >
  3130. {{
  3131. getAdminUser(
  3132. dialysisOrder == null
  3133. ? 0
  3134. : dialysisOrder.puncture_nurse
  3135. )
  3136. }}</span
  3137. >
  3138. <img
  3139. style="height: 35px"
  3140. :src="
  3141. setAdminUserES(
  3142. dialysisOrder == null
  3143. ? 0
  3144. : dialysisOrder.puncture_nurse
  3145. )
  3146. "
  3147. alt=""
  3148. srcset=""
  3149. v-else
  3150. />
  3151. </div>
  3152. </div>
  3153. </div>
  3154. <div v-if="org_id !=10644 && org_id!=10440">
  3155. <div class="inline_block" style="flex: 1" v-if="predialysis.catheter == ''">
  3156. 穿刺护士:
  3157. <div
  3158. class="under_line"
  3159. style="width: 90px; text-align: center"
  3160. >
  3161. <span
  3162. style="height: 30px; display: inline-block"
  3163. v-if="
  3164. setAdminUserES(
  3165. dialysisOrder == null
  3166. ? 0
  3167. : dialysisOrder.puncture_nurse
  3168. ) == ''
  3169. "
  3170. >
  3171. {{
  3172. getAdminUser(
  3173. dialysisOrder == null
  3174. ? 0
  3175. : dialysisOrder.puncture_nurse
  3176. )
  3177. }}</span
  3178. >
  3179. <img
  3180. style="height: 35px"
  3181. :src="
  3182. setAdminUserES(
  3183. dialysisOrder == null
  3184. ? 0
  3185. : dialysisOrder.puncture_nurse
  3186. )
  3187. "
  3188. alt=""
  3189. srcset=""
  3190. v-else
  3191. />
  3192. </div>
  3193. </div>
  3194. <div class="inline_block" style="flex: 1" v-if="predialysis.catheter != ''">
  3195. 穿刺护士:
  3196. <div
  3197. class="under_line"
  3198. style="width: 90px; text-align: center"
  3199. v-if="org_id==10644"
  3200. >
  3201. <span
  3202. style="height: 30px; display: inline-block"
  3203. v-if="
  3204. setAdminUserES(
  3205. dialysisOrder == null
  3206. ? 0
  3207. : dialysisOrder.puncture_nurse
  3208. ) == ''
  3209. "
  3210. >
  3211. {{
  3212. getAdminUser(
  3213. dialysisOrder == null
  3214. ? 0
  3215. : dialysisOrder.puncture_nurse
  3216. )
  3217. }}</span
  3218. >
  3219. <img
  3220. style="height: 35px"
  3221. :src="
  3222. setAdminUserES(
  3223. dialysisOrder == null
  3224. ? 0
  3225. : dialysisOrder.puncture_nurse
  3226. )
  3227. "
  3228. alt=""
  3229. srcset=""
  3230. v-else
  3231. />
  3232. </div>
  3233. <div
  3234. class="under_line"
  3235. style="width: 90px; text-align: center"
  3236. v-if="org_id!=10644"
  3237. >
  3238. <span
  3239. style="height: 30px; display: inline-block"
  3240. v-if="
  3241. setAdminUserES(
  3242. dialysisOrder == null
  3243. ? 0
  3244. : dialysisOrder.puncture_nurse
  3245. ) == ''
  3246. "
  3247. >
  3248. {{
  3249. getAdminUser(
  3250. dialysisOrder == null
  3251. ? 0
  3252. : dialysisOrder.puncture_nurse
  3253. )
  3254. }}</span
  3255. >
  3256. <img
  3257. style="height: 35px"
  3258. :src="
  3259. setAdminUserES(
  3260. dialysisOrder == null
  3261. ? 0
  3262. : dialysisOrder.puncture_nurse
  3263. )
  3264. "
  3265. alt=""
  3266. srcset=""
  3267. v-else
  3268. />
  3269. </div>
  3270. </div>
  3271. </div>
  3272. <div v-if="org_id==10440">
  3273. <div class="inline_block" style="flex: 1">
  3274. <div>
  3275. <span>责任护士:</span>
  3276. <div
  3277. class="under_line"
  3278. style="width: 80px; text-align: center"
  3279. >
  3280. <span
  3281. style="height: 35px; display: inline-block"
  3282. v-if="
  3283. setAdminUserES(
  3284. dialysisOrder == null
  3285. ? 0
  3286. : dialysisOrder.start_nurse
  3287. ) == ''
  3288. "
  3289. >
  3290. {{
  3291. getAdminUser(
  3292. dialysisOrder == null
  3293. ? 0
  3294. : dialysisOrder.start_nurse
  3295. )
  3296. }}</span
  3297. >
  3298. <img
  3299. style="height: 30px"
  3300. :src="
  3301. setAdminUserES(
  3302. dialysisOrder == null
  3303. ? 0
  3304. : dialysisOrder.start_nurse
  3305. )
  3306. "
  3307. alt=""
  3308. srcset=""
  3309. v-else
  3310. />
  3311. </div>
  3312. </div>
  3313. </div>
  3314. </div>
  3315. <div v-if="org_id!=0&&org_id!=10440&&org_id!= 10206">
  3316. <div class="inline_block" style="flex: 1">
  3317. <span v-if="org_id==10414">责任护士:</span>
  3318. <span v-else>治疗护士:</span>
  3319. <div
  3320. class="under_line"
  3321. style="width: 80px; text-align: center"
  3322. >
  3323. <span
  3324. style="height: 30px; display: inline-block"
  3325. v-if="
  3326. setAdminUserES(
  3327. dialysisOrder == null
  3328. ? 0
  3329. : dialysisOrder.start_nurse
  3330. ) == ''
  3331. "
  3332. >
  3333. {{
  3334. getAdminUser(
  3335. dialysisOrder == null
  3336. ? 0
  3337. : dialysisOrder.start_nurse
  3338. )
  3339. }}</span
  3340. >
  3341. <img
  3342. style="height: 30px"
  3343. :src="
  3344. setAdminUserES(
  3345. dialysisOrder == null
  3346. ? 0
  3347. : dialysisOrder.start_nurse
  3348. )
  3349. "
  3350. alt=""
  3351. srcset=""
  3352. v-else
  3353. />
  3354. </div>
  3355. </div>
  3356. </div>
  3357. <div class="inline_block" style="flex: 1">
  3358. <span v-if="org_id==10387 || org_id ==10206 || org_id == 0" >核对护士:</span>
  3359. <span v-else >核对人员:</span>
  3360. <div
  3361. class="under_line"
  3362. style="width: 80px; text-align: center"
  3363. v-if="dialysisOrder == null"
  3364. >
  3365. <span
  3366. style="height: 30px; display: inline-block"
  3367. v-if="
  3368. setAdminUserES(check == null ? 0 : check.creater) ==
  3369. ''
  3370. "
  3371. >
  3372. {{ getAdminUser(check == null ? 0 : check.creater) }}
  3373. </span>
  3374. <img
  3375. style="height: 30px"
  3376. :src="
  3377. setAdminUserES(check == null ? 0 : check.creater)
  3378. "
  3379. alt=""
  3380. srcset=""
  3381. v-else
  3382. />
  3383. </div>
  3384. <div
  3385. class="under_line"
  3386. style="width: 80px; text-align: center"
  3387. v-if="
  3388. dialysisOrder != null &&
  3389. dialysisOrder.start_nurse == check.modifier
  3390. "
  3391. >
  3392. <span
  3393. style="height: 30px; display: inline-block"
  3394. v-if="
  3395. setAdminUserES(check == null ? 0 : check.creater) ==
  3396. ''
  3397. "
  3398. >
  3399. {{ getAdminUser(check == null ? 0 : check.creater) }}
  3400. </span>
  3401. <img
  3402. style="height: 30px"
  3403. :src="
  3404. setAdminUserES(check == null ? 0 : check.creater)
  3405. "
  3406. alt=""
  3407. srcset=""
  3408. v-else
  3409. />
  3410. </div>
  3411. <div
  3412. class="under_line"
  3413. style="width: 80px; text-align: center"
  3414. v-if="
  3415. dialysisOrder != null &&
  3416. dialysisOrder.start_nurse == check.creater
  3417. "
  3418. >
  3419. <span
  3420. style="height: 30px; display: inline-block"
  3421. v-if="
  3422. setAdminUserES(
  3423. check == null ? 0 : check.modifier
  3424. ) == ''
  3425. "
  3426. >
  3427. {{ getAdminUser(check == null ? 0 : check.modifier) }}
  3428. </span>
  3429. <img
  3430. style="height: 30px"
  3431. :src="
  3432. setAdminUserES(check == null ? 0 : check.modifier)
  3433. "
  3434. alt=""
  3435. srcset=""
  3436. v-else
  3437. />
  3438. </div>
  3439. <div
  3440. class="under_line"
  3441. style="width: 80px; text-align: center"
  3442. v-if="
  3443. dialysisOrder != null &&
  3444. dialysisOrder.start_nurse != check.creater &&
  3445. dialysisOrder.start_nurse != check.modifier
  3446. "
  3447. >
  3448. <span
  3449. style="height: 30px; display: inline-block"
  3450. v-if="
  3451. setAdminUserES(check == null ? 0 : check.creater) ==
  3452. ''
  3453. "
  3454. >
  3455. {{ getAdminUser(check == null ? 0 : check.creater) }}
  3456. </span>
  3457. <img
  3458. style="height: 30px"
  3459. :src="
  3460. setAdminUserES(check == null ? 0 : check.creater)
  3461. "
  3462. alt=""
  3463. srcset=""
  3464. v-else
  3465. />
  3466. </div>
  3467. </div>
  3468. <div class="inline_block" style="flex: 1" v-if="org_id!=10579">
  3469. 下机护士:
  3470. <div
  3471. class="under_line"
  3472. style="width: 80px; text-align: center"
  3473. >
  3474. <span
  3475. style="height: 30px; display: inline-block"
  3476. v-if="
  3477. setAdminUserES(
  3478. dialysisOrder == null
  3479. ? 0
  3480. : dialysisOrder.finish_nurse
  3481. ) == ''
  3482. "
  3483. >
  3484. {{
  3485. getAdminUser(
  3486. dialysisOrder == null
  3487. ? 0
  3488. : dialysisOrder.finish_nurse
  3489. )
  3490. }}
  3491. </span>
  3492. <img
  3493. style="height: 30px"
  3494. :src="
  3495. setAdminUserES(
  3496. dialysisOrder == null
  3497. ? 0
  3498. : dialysisOrder.finish_nurse
  3499. )
  3500. "
  3501. alt=""
  3502. srcset=""
  3503. v-else
  3504. />
  3505. </div>
  3506. </div>
  3507. <div class="inline_block" style="flex: 1" v-if="org_id==10579">
  3508. 患者签名
  3509. <div
  3510. class="under_line"
  3511. style="width: 80px; text-align: center"
  3512. >
  3513. </div>
  3514. </div>
  3515. <div class="inline_block" style="flex: 1">
  3516. 治疗医生:
  3517. <div
  3518. v-if="org_id ==10191"
  3519. class="under_line"
  3520. style="width: 80px; text-align: center"
  3521. >
  3522. <span
  3523. style="height: 30px; display: inline-block"
  3524. v-if="setAdminUserES(prescription.creater) == ''"
  3525. >
  3526. {{ getAdminUser(prescription.creater) }}
  3527. </span>
  3528. <img
  3529. style="height: 40px"
  3530. :src="setAdminUserES(prescription.creater)"
  3531. alt=""
  3532. srcset=""
  3533. v-else
  3534. />
  3535. </div>
  3536. <div
  3537. v-if="org_id!=10191"
  3538. class="under_line"
  3539. style="width: 80px; text-align: center"
  3540. >
  3541. <span v-if="doctor_advices[0]!=null && doctor_advices[0].advice_doctor>0">
  3542. <span
  3543. style="height: 30px; display: inline-block"
  3544. v-if="setAdminUserES(doctor_advices[0].advice_doctor) == ''"
  3545. >
  3546. {{ getAdminUser(doctor_advices[0].advice_doctor) }}
  3547. </span>
  3548. <img
  3549. style="height: 40px"
  3550. :src="setAdminUserES(doctor_advices[0].advice_doctor)"
  3551. alt=""
  3552. srcset=""
  3553. v-else
  3554. />
  3555. </span>
  3556. </div>
  3557. </div>
  3558. </div>
  3559. </td>
  3560. </tr>
  3561. </tbody>
  3562. </table>
  3563. </div>
  3564. </div>
  3565. </div>
  3566. <div id="dialysis-print-box-1-2" class="dialysis-print-order print-template-two print_page_main_content" style="position: relative;">
  3567. <div class="order-yy-name">{{ orgname }}</div>
  3568. <div class="order_title" v-if="org_id!=0&&org_id!=10579">血液净化科医嘱及执行单</div>
  3569. <div class="order_title" v-if=" org_id==10579">血液净化治疗记录单</div>
  3570. <div class="row" style="margin-top: 15px">
  3571. <div class="inline_block">
  3572. 科室:
  3573. <check-box text="门诊透析" :checked="patientInfo_source_1"></check-box>
  3574. &nbsp;
  3575. <check-box text="住院" :checked="patientInfo_source_2"></check-box>
  3576. </div>
  3577. <div class="inline_block" style="margin-left: 5px;">
  3578. 住院号:
  3579. <div class="under_line" style="width: 70px;text-align: left" v-if="patientInfo.admission_number">
  3580. {{ patientInfo.admission_number }}
  3581. </div>
  3582. <div class="under_line" style="width: 70px;text-align: left" v-else>
  3583. {{ "/" }}
  3584. </div>
  3585. </div>
  3586. <div class="inline_block" style="margin-left:10px;">
  3587. 姓名:
  3588. <div class="under_line" style="width: 50px;text-align: left">
  3589. {{ patientInfo.name }}
  3590. </div>
  3591. </div>
  3592. <div class="inline_block" style="margin-left: 10px;">
  3593. 性别:
  3594. <check-box text="男" :checked="patientInfo_gender_1"></check-box>
  3595. &nbsp;
  3596. <check-box text="女" :checked="patientInfo_gender_2"></check-box>
  3597. </div>
  3598. <div class="inline_block" style="margin-left: 10px;">
  3599. 年龄:
  3600. <div class="under_line" style="width: 30px;text-align: left">
  3601. {{ getAge(patientInfo) }}
  3602. </div>
  3603. </div>
  3604. <div class="inline_block" style="margin-left: 10px;">
  3605. 透析日期:
  3606. <div class="under_line" style="width: 100px;text-align: left">
  3607. {{ xtdate }}
  3608. </div>
  3609. </div>
  3610. </div>
  3611. <div class="row" style="margin-top: 15px">
  3612. <div class="inline_block" style="">
  3613. 诊断:
  3614. <div class="under_line" style="width:180px;text-align: left;white-space: normal;">
  3615. {{ patientInfo.diagnose }}
  3616. </div>
  3617. </div>
  3618. </div>
  3619. <table class="print-table-no">
  3620. <tbody>
  3621. <tr style="line-height: 35px; padding: 8px 5px">
  3622. <td
  3623. colspan="7"
  3624. style="
  3625. letter-spacing: 5px;
  3626. text-align: center;
  3627. font-weight: 520;
  3628. font-size: 16px;
  3629. padding: 6px 8px;
  3630. line-height: 30px;
  3631. "
  3632. >
  3633. 医嘱内容
  3634. </td>
  3635. </tr>
  3636. <tr style="line-height: 35px; padding: 8px 5px">
  3637. <td style="font-size: 16px" width="10%">时间</td>
  3638. <td style="font-size: 16px" colspan="2" width="45%">
  3639. 医嘱内容
  3640. </td>
  3641. <td style="font-size: 16px" width="10%">医生签名</td>
  3642. <td style="font-size: 16px" width="10%">执行人签名</td>
  3643. <td style="font-size: 16px" width="10%">时间</td>
  3644. <td
  3645. style="font-size: 16px"
  3646. width="10%"
  3647. v-if="org_id == 10223 || org_id == 9538 || org_id == 0 || org_id ==10375"
  3648. >
  3649. 核对护士
  3650. </td>
  3651. </tr>
  3652. <tr
  3653. v-for="(advice, advice_index) in doctor_advices"
  3654. :key="advice_index"
  3655. >
  3656. <td height="32px">
  3657. <span v-if="advice.start_time">
  3658. {{ getTime(advice.start_time, "{h}:{i}") }}
  3659. </span>
  3660. </td>
  3661. <td
  3662. height="32px"
  3663. colspan="2"
  3664. class="advice-name"
  3665. style="padding-left: 7px"
  3666. >
  3667. <span v-if="advice.parent_id > 0">---></span>
  3668. <span>{{ advice.advice_name }}</span>
  3669. <span v-if="advice && advice.advice_desc"
  3670. >({{ advice.advice_desc
  3671. }}{{ advice.drug_spec_unit }})</span
  3672. >
  3673. <span v-if="advice.prescribing_number"
  3674. >&nbsp;&nbsp; {{ advice.prescribing_number
  3675. }}{{ advice.prescribing_number_unit }}</span
  3676. >
  3677. <span v-if="advice.single_dose != 0"
  3678. >{{ advice.single_dose
  3679. }}{{ advice.single_dose_unit }}</span
  3680. >
  3681. <span v-if="advice.parent_id == 0">{{
  3682. advice.delivery_way
  3683. }}</span>
  3684. <span v-if="advice.parent_id == 0">{{
  3685. advice.execution_frequency
  3686. }}</span>
  3687. <span
  3688. v-if="
  3689. advice.parent_id == 0 && advice.remark.length > 0
  3690. "
  3691. >({{ advice.remark }})</span
  3692. >
  3693. </td>
  3694. <td height="32px">
  3695. <span
  3696. v-if="setAdminUserES(advice.advice_doctor) == ''"
  3697. >{{ getAdminUser(advice.advice_doctor) }}</span
  3698. >
  3699. <img
  3700. style="height: 30px"
  3701. :src="setAdminUserES(advice.advice_doctor)"
  3702. alt=""
  3703. srcset=""
  3704. v-else
  3705. />
  3706. </td>
  3707. <td height="32px">
  3708. <span
  3709. v-if="setAdminUserES(advice.execution_staff) == ''"
  3710. >{{ getAdminUser(advice.execution_staff) }}</span
  3711. >
  3712. <img
  3713. style="height: 30px"
  3714. :src="setAdminUserES(advice.execution_staff)"
  3715. alt=""
  3716. srcset=""
  3717. v-else
  3718. />
  3719. </td>
  3720. <td height="32px">
  3721. <span v-if="advice.execution_time">{{
  3722. getTime(advice.execution_time, "{h}:{i}")
  3723. }}</span>
  3724. </td>
  3725. <td height="32px" v-if="org_id == 10223 || org_id == 9538 || org_id == 0 || org_id ==10375">
  3726. <span v-if="setAdminUserES(advice.checker) == ''">{{
  3727. getAdminUser(advice.checker)
  3728. }}</span>
  3729. <img
  3730. style="height: 30px"
  3731. :src="setAdminUserES(advice.checker)"
  3732. alt=""
  3733. srcset=""
  3734. v-else
  3735. />
  3736. </td>
  3737. </tr>
  3738. <tr v-if="org_id == 0 || org_id == 10579">
  3739. <td colspan="7">
  3740. <div
  3741. class="row"
  3742. style="padding: 2px 0; line-height: 23px; display: flex"
  3743. >
  3744. <div v-if="org_id == 0 || org_id == 10440">
  3745. <div class="inline_block" style="flex: 1">
  3746. 上机护士:
  3747. <div
  3748. class="under_line"
  3749. style="width: 90px; text-align: center"
  3750. >
  3751. <span
  3752. style="height: 30px; display: inline-block"
  3753. v-if="
  3754. setAdminUserES(
  3755. dialysisOrder == null
  3756. ? 0
  3757. : dialysisOrder.start_nurse
  3758. ) == ''
  3759. "
  3760. >
  3761. {{
  3762. getAdminUser(
  3763. dialysisOrder == null
  3764. ? 0
  3765. : dialysisOrder.start_nurse
  3766. )
  3767. }}</span
  3768. >
  3769. <img
  3770. style="height: 35px"
  3771. :src="
  3772. setAdminUserES(
  3773. dialysisOrder == null
  3774. ? 0
  3775. : dialysisOrder.start_nurse
  3776. )
  3777. "
  3778. alt=""
  3779. srcset=""
  3780. v-else
  3781. />
  3782. </div>
  3783. </div>
  3784. </div>
  3785. <div v-if="org_id ==10644">
  3786. <div class="inline_block" style="flex: 1" v-if="predialysis.catheter == ''">
  3787. 穿刺护士:
  3788. <div
  3789. class="under_line"
  3790. style="width: 90px; text-align: center"
  3791. >
  3792. <span
  3793. style="height: 30px; display: inline-block"
  3794. v-if="
  3795. setAdminUserES(
  3796. dialysisOrder == null
  3797. ? 0
  3798. : dialysisOrder.puncture_nurse
  3799. ) == ''
  3800. "
  3801. >
  3802. {{
  3803. getAdminUser(
  3804. dialysisOrder == null
  3805. ? 0
  3806. : dialysisOrder.puncture_nurse
  3807. )
  3808. }}</span
  3809. >
  3810. <img
  3811. style="height: 35px"
  3812. :src="
  3813. setAdminUserES(
  3814. dialysisOrder == null
  3815. ? 0
  3816. : dialysisOrder.puncture_nurse
  3817. )
  3818. "
  3819. alt=""
  3820. srcset=""
  3821. v-else
  3822. />
  3823. </div>
  3824. </div>
  3825. <div class="inline_block" style="flex: 1" v-if="predialysis.catheter != ''">
  3826. 换药护士:
  3827. <div
  3828. class="under_line"
  3829. style="width: 90px; text-align: center"
  3830. v-if="org_id==10644"
  3831. >
  3832. <span
  3833. style="height: 30px; display: inline-block"
  3834. v-if="
  3835. setAdminUserES(
  3836. dialysisOrder == null
  3837. ? 0
  3838. : dialysisOrder.change_nurse
  3839. ) == ''
  3840. "
  3841. >
  3842. {{
  3843. getAdminUser(
  3844. dialysisOrder == null
  3845. ? 0
  3846. : dialysisOrder.change_nurse
  3847. )
  3848. }}</span
  3849. >
  3850. <img
  3851. style="height: 35px"
  3852. :src="
  3853. setAdminUserES(
  3854. dialysisOrder == null
  3855. ? 0
  3856. : dialysisOrder.change_nurse
  3857. )
  3858. "
  3859. alt=""
  3860. srcset=""
  3861. v-else
  3862. />
  3863. </div>
  3864. <div
  3865. class="under_line"
  3866. style="width: 90px; text-align: center"
  3867. v-if="org_id!=10644"
  3868. >
  3869. <span
  3870. style="height: 30px; display: inline-block"
  3871. v-if="
  3872. setAdminUserES(
  3873. dialysisOrder == null
  3874. ? 0
  3875. : dialysisOrder.puncture_nurse
  3876. ) == ''
  3877. "
  3878. >
  3879. {{
  3880. getAdminUser(
  3881. dialysisOrder == null
  3882. ? 0
  3883. : dialysisOrder.puncture_nurse
  3884. )
  3885. }}</span
  3886. >
  3887. <img
  3888. style="height: 35px"
  3889. :src="
  3890. setAdminUserES(
  3891. dialysisOrder == null
  3892. ? 0
  3893. : dialysisOrder.puncture_nurse
  3894. )
  3895. "
  3896. alt=""
  3897. srcset=""
  3898. v-else
  3899. />
  3900. </div>
  3901. </div>
  3902. </div>
  3903. <div v-if="org_id !=10644 && org_id!=10440">
  3904. <div class="inline_block" style="flex: 1" v-if="predialysis.catheter == ''">
  3905. 穿刺护士:
  3906. <div
  3907. class="under_line"
  3908. style="width: 90px; text-align: center"
  3909. >
  3910. <span
  3911. style="height: 30px; display: inline-block"
  3912. v-if="
  3913. setAdminUserES(
  3914. dialysisOrder == null
  3915. ? 0
  3916. : dialysisOrder.puncture_nurse
  3917. ) == ''
  3918. "
  3919. >
  3920. {{
  3921. getAdminUser(
  3922. dialysisOrder == null
  3923. ? 0
  3924. : dialysisOrder.puncture_nurse
  3925. )
  3926. }}</span
  3927. >
  3928. <img
  3929. style="height: 35px"
  3930. :src="
  3931. setAdminUserES(
  3932. dialysisOrder == null
  3933. ? 0
  3934. : dialysisOrder.puncture_nurse
  3935. )
  3936. "
  3937. alt=""
  3938. srcset=""
  3939. v-else
  3940. />
  3941. </div>
  3942. </div>
  3943. <div class="inline_block" style="flex: 1" v-if="predialysis.catheter != ''">
  3944. 穿刺护士:
  3945. <div
  3946. class="under_line"
  3947. style="width: 90px; text-align: center"
  3948. v-if="org_id==10644"
  3949. >
  3950. <span
  3951. style="height: 30px; display: inline-block"
  3952. v-if="
  3953. setAdminUserES(
  3954. dialysisOrder == null
  3955. ? 0
  3956. : dialysisOrder.puncture_nurse
  3957. ) == ''
  3958. "
  3959. >
  3960. {{
  3961. getAdminUser(
  3962. dialysisOrder == null
  3963. ? 0
  3964. : dialysisOrder.puncture_nurse
  3965. )
  3966. }}</span
  3967. >
  3968. <img
  3969. style="height: 35px"
  3970. :src="
  3971. setAdminUserES(
  3972. dialysisOrder == null
  3973. ? 0
  3974. : dialysisOrder.puncture_nurse
  3975. )
  3976. "
  3977. alt=""
  3978. srcset=""
  3979. v-else
  3980. />
  3981. </div>
  3982. <div
  3983. class="under_line"
  3984. style="width: 90px; text-align: center"
  3985. v-if="org_id!=10644"
  3986. >
  3987. <span
  3988. style="height: 30px; display: inline-block"
  3989. v-if="
  3990. setAdminUserES(
  3991. dialysisOrder == null
  3992. ? 0
  3993. : dialysisOrder.puncture_nurse
  3994. ) == ''
  3995. "
  3996. >
  3997. {{
  3998. getAdminUser(
  3999. dialysisOrder == null
  4000. ? 0
  4001. : dialysisOrder.puncture_nurse
  4002. )
  4003. }}</span
  4004. >
  4005. <img
  4006. style="height: 35px"
  4007. :src="
  4008. setAdminUserES(
  4009. dialysisOrder == null
  4010. ? 0
  4011. : dialysisOrder.puncture_nurse
  4012. )
  4013. "
  4014. alt=""
  4015. srcset=""
  4016. v-else
  4017. />
  4018. </div>
  4019. </div>
  4020. </div>
  4021. <div v-if="org_id==10440">
  4022. <div class="inline_block" style="flex: 1">
  4023. <div>
  4024. <span>责任护士:</span>
  4025. <div
  4026. class="under_line"
  4027. style="width: 80px; text-align: center"
  4028. >
  4029. <span
  4030. style="height: 35px; display: inline-block"
  4031. v-if="
  4032. setAdminUserES(
  4033. dialysisOrder == null
  4034. ? 0
  4035. : dialysisOrder.start_nurse
  4036. ) == ''
  4037. "
  4038. >
  4039. {{
  4040. getAdminUser(
  4041. dialysisOrder == null
  4042. ? 0
  4043. : dialysisOrder.start_nurse
  4044. )
  4045. }}</span
  4046. >
  4047. <img
  4048. style="height: 30px"
  4049. :src="
  4050. setAdminUserES(
  4051. dialysisOrder == null
  4052. ? 0
  4053. : dialysisOrder.start_nurse
  4054. )
  4055. "
  4056. alt=""
  4057. srcset=""
  4058. v-else
  4059. />
  4060. </div>
  4061. </div>
  4062. </div>
  4063. </div>
  4064. <div v-if="org_id!=0&&org_id!=10440&&org_id!= 10206">
  4065. <div class="inline_block" style="flex: 1">
  4066. <span v-if="org_id==10414">责任护士:</span>
  4067. <span v-else>治疗护士:</span>
  4068. <div
  4069. class="under_line"
  4070. style="width: 80px; text-align: center"
  4071. >
  4072. <span
  4073. style="height: 30px; display: inline-block"
  4074. v-if="
  4075. setAdminUserES(
  4076. dialysisOrder == null
  4077. ? 0
  4078. : dialysisOrder.start_nurse
  4079. ) == ''
  4080. "
  4081. >
  4082. {{
  4083. getAdminUser(
  4084. dialysisOrder == null
  4085. ? 0
  4086. : dialysisOrder.start_nurse
  4087. )
  4088. }}</span
  4089. >
  4090. <img
  4091. style="height: 30px"
  4092. :src="
  4093. setAdminUserES(
  4094. dialysisOrder == null
  4095. ? 0
  4096. : dialysisOrder.start_nurse
  4097. )
  4098. "
  4099. alt=""
  4100. srcset=""
  4101. v-else
  4102. />
  4103. </div>
  4104. </div>
  4105. </div>
  4106. <div class="inline_block" style="flex: 1">
  4107. <span v-if="org_id==10387 || org_id ==10206 || org_id == 0" >核对护士:</span>
  4108. <span v-else >核对人员:</span>
  4109. <div
  4110. class="under_line"
  4111. style="width: 80px; text-align: center"
  4112. v-if="dialysisOrder == null"
  4113. >
  4114. <span
  4115. style="height: 30px; display: inline-block"
  4116. v-if="
  4117. setAdminUserES(check == null ? 0 : check.creater) ==
  4118. ''
  4119. "
  4120. >
  4121. {{ getAdminUser(check == null ? 0 : check.creater) }}
  4122. </span>
  4123. <img
  4124. style="height: 30px"
  4125. :src="
  4126. setAdminUserES(check == null ? 0 : check.creater)
  4127. "
  4128. alt=""
  4129. srcset=""
  4130. v-else
  4131. />
  4132. </div>
  4133. <div
  4134. class="under_line"
  4135. style="width: 80px; text-align: center"
  4136. v-if="
  4137. dialysisOrder != null &&
  4138. dialysisOrder.start_nurse == check.modifier
  4139. "
  4140. >
  4141. <span
  4142. style="height: 30px; display: inline-block"
  4143. v-if="
  4144. setAdminUserES(check == null ? 0 : check.creater) ==
  4145. ''
  4146. "
  4147. >
  4148. {{ getAdminUser(check == null ? 0 : check.creater) }}
  4149. </span>
  4150. <img
  4151. style="height: 30px"
  4152. :src="
  4153. setAdminUserES(check == null ? 0 : check.creater)
  4154. "
  4155. alt=""
  4156. srcset=""
  4157. v-else
  4158. />
  4159. </div>
  4160. <div
  4161. class="under_line"
  4162. style="width: 80px; text-align: center"
  4163. v-if="
  4164. dialysisOrder != null &&
  4165. dialysisOrder.start_nurse == check.creater
  4166. "
  4167. >
  4168. <span
  4169. style="height: 30px; display: inline-block"
  4170. v-if="
  4171. setAdminUserES(
  4172. check == null ? 0 : check.modifier
  4173. ) == ''
  4174. "
  4175. >
  4176. {{ getAdminUser(check == null ? 0 : check.modifier) }}
  4177. </span>
  4178. <img
  4179. style="height: 30px"
  4180. :src="
  4181. setAdminUserES(check == null ? 0 : check.modifier)
  4182. "
  4183. alt=""
  4184. srcset=""
  4185. v-else
  4186. />
  4187. </div>
  4188. <div
  4189. class="under_line"
  4190. style="width: 80px; text-align: center"
  4191. v-if="
  4192. dialysisOrder != null &&
  4193. dialysisOrder.start_nurse != check.creater &&
  4194. dialysisOrder.start_nurse != check.modifier
  4195. "
  4196. >
  4197. <span
  4198. style="height: 30px; display: inline-block"
  4199. v-if="
  4200. setAdminUserES(check == null ? 0 : check.creater) ==
  4201. ''
  4202. "
  4203. >
  4204. {{ getAdminUser(check == null ? 0 : check.creater) }}
  4205. </span>
  4206. <img
  4207. style="height: 30px"
  4208. :src="
  4209. setAdminUserES(check == null ? 0 : check.creater)
  4210. "
  4211. alt=""
  4212. srcset=""
  4213. v-else
  4214. />
  4215. </div>
  4216. </div>
  4217. <div class="inline_block" style="flex: 1" v-if="org_id!=10579 && org_id!=0">
  4218. 下机护士:
  4219. <div
  4220. class="under_line"
  4221. style="width: 80px; text-align: center"
  4222. >
  4223. <span
  4224. style="height: 30px; display: inline-block"
  4225. v-if="
  4226. setAdminUserES(
  4227. dialysisOrder == null
  4228. ? 0
  4229. : dialysisOrder.finish_nurse
  4230. ) == ''
  4231. "
  4232. >
  4233. {{
  4234. getAdminUser(
  4235. dialysisOrder == null
  4236. ? 0
  4237. : dialysisOrder.finish_nurse
  4238. )
  4239. }}
  4240. </span>
  4241. <img
  4242. style="height: 30px"
  4243. :src="
  4244. setAdminUserES(
  4245. dialysisOrder == null
  4246. ? 0
  4247. : dialysisOrder.finish_nurse
  4248. )
  4249. "
  4250. alt=""
  4251. srcset=""
  4252. v-else
  4253. />
  4254. </div>
  4255. </div>
  4256. <div class="inline_block" style="flex: 1" v-if="org_id==10579 || org_id == 0">
  4257. 患者签名
  4258. <div
  4259. class="under_line"
  4260. style="width: 80px; text-align: center"
  4261. >
  4262. </div>
  4263. </div>
  4264. <div class="inline_block" style="flex: 1">
  4265. 治疗医生:
  4266. <div
  4267. v-if="org_id ==10191"
  4268. class="under_line"
  4269. style="width: 80px; text-align: center"
  4270. >
  4271. <span
  4272. style="height: 30px; display: inline-block"
  4273. v-if="setAdminUserES(prescription.creater) == ''"
  4274. >
  4275. {{ getAdminUser(prescription.creater) }}
  4276. </span>
  4277. <img
  4278. style="height: 40px"
  4279. :src="setAdminUserES(prescription.creater)"
  4280. alt=""
  4281. srcset=""
  4282. v-else
  4283. />
  4284. </div>
  4285. <div
  4286. v-if="org_id!=10191"
  4287. class="under_line"
  4288. style="width: 80px; text-align: center"
  4289. >
  4290. <span v-if="doctor_advices[0]!=null && doctor_advices[0].advice_doctor>0">
  4291. <span
  4292. style="height: 30px; display: inline-block"
  4293. v-if="setAdminUserES(doctor_advices[0].advice_doctor) == ''"
  4294. >
  4295. {{ getAdminUser(doctor_advices[0].advice_doctor) }}
  4296. </span>
  4297. <img
  4298. style="height: 40px"
  4299. :src="setAdminUserES(doctor_advices[0].advice_doctor)"
  4300. alt=""
  4301. srcset=""
  4302. v-else
  4303. />
  4304. </span>
  4305. </div>
  4306. </div>
  4307. </div>
  4308. </td>
  4309. </tr>
  4310. </tbody>
  4311. </table>
  4312. </div>
  4313. </div>
  4314. </template>
  4315. <script>
  4316. import CheckBox from "../batch_print/option_check_box";
  4317. import { getDialysisRecord } from "@/api/dialysis";
  4318. import { getDataConfig } from "@/utils/data";
  4319. import { jsGetAge, uParseTime,jsGetAgeOne } from "@/utils/tools";
  4320. import LabelBox from "../printItem/LabelBox";
  4321. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  4322. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  4323. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  4324. import print from "print-js";
  4325. import html2pdf from 'html2pdf.js'
  4326. import { UploadPrintOrder } from "@/api/role/admin"
  4327. import { HTML5_FMT } from "moment";
  4328. import html2canvas from 'html2canvas'
  4329. import { jsPDF } from 'jspdf';
  4330. export default {
  4331. name: "dialysisPrintOrderSix",
  4332. props: ["childResponse"],
  4333. components: {
  4334. // DialysisPrintOrderOne,
  4335. // DialysisPrintOrderTwo,
  4336. CheckBox,
  4337. LabelBox,
  4338. BreadCrumb,
  4339. },
  4340. data() {
  4341. return {
  4342. way_arr: [],
  4343. consciousness_arr: [],
  4344. appetite_arr: [],
  4345. posture_arr: [],
  4346. sick_condition_arr: [],
  4347. precaution_arr: [],
  4348. intake_arr: [],
  4349. nutrition_arr: [],
  4350. crumbs: [
  4351. { path: false, name: "透析管理" },
  4352. { path: false, name: "打印单" },
  4353. ],
  4354. operators: [],
  4355. adminUser: [],
  4356. check: {},
  4357. xtdate: "",
  4358. dialysisOrder: {
  4359. DeviceNumber: [],
  4360. },
  4361. displaceLiquiPartOptions: [],
  4362. operatorMaps: {},
  4363. complications: [
  4364. "低血压",
  4365. "高血压",
  4366. "心律失常",
  4367. "头晕",
  4368. "头痛",
  4369. "呕吐",
  4370. "抽搐",
  4371. "出血",
  4372. "心衰",
  4373. "腹痛",
  4374. ],
  4375. jilurow: 0,
  4376. advice_jilurow: 0,
  4377. loading: false,
  4378. orgname: "",
  4379. patientInfo_gender_1: false,
  4380. patientInfo_gender_2: false,
  4381. patientInfo_source_2: false,
  4382. patientInfo_source_1: false,
  4383. modeOptions: {},
  4384. replacementWays: [],
  4385. perfusionApparatus: [],
  4386. anticoagulantsConfit: {},
  4387. bloodAccessParOpera: {},
  4388. dialysateFormulationOptions: {},
  4389. totollength: 0,
  4390. queryParams: {
  4391. xtdate: "",
  4392. xtno: "",
  4393. patient_id:0,
  4394. },
  4395. patientInfo: {
  4396. birth: "",
  4397. age: "",
  4398. DialysisSchedule: {
  4399. device_number: { number: "" },
  4400. device_zone: { name: "" },
  4401. },
  4402. gender: 0,
  4403. },
  4404. predialysis: {
  4405. score: "",
  4406. internal_fistula: "",
  4407. internal_fistula_skin: "",
  4408. catheter: "",
  4409. blood_access_part_opera_name: "",
  4410. },
  4411. afterdialysis: {
  4412. complications_index: "",
  4413. },
  4414. lastafterdialysis: {},
  4415. prescription: {
  4416. dialysate_formulation_name: "",
  4417. device: {},
  4418. },
  4419. advices: [],
  4420. users: [],
  4421. monitors: [],
  4422. monitors2: [],
  4423. summary: {},
  4424. receiverTreatmentAccess: {},
  4425. org_template_info: {},
  4426. doctor_advices: [],
  4427. doctor_advices_2: [],
  4428. advice_groups: [],
  4429. advice_groups_2: [],
  4430. print_length: 0,
  4431. blood_access_part: [],
  4432. blood_access_part_opera: [],
  4433. AlPanel: {
  4434. id: 0,
  4435. name: "",
  4436. type: 1,
  4437. shouji: 2,
  4438. weichi: 2,
  4439. zongliang: 2,
  4440. gaimingcheng: -1,
  4441. gaijiliang: -1,
  4442. shouji_unit: "mg",
  4443. weichi_unit: "mg/h",
  4444. zongliang_unit: "mg",
  4445. gaimingcheng_unit: "",
  4446. gaijiliang_unit: "",
  4447. },
  4448. org_id: 0,
  4449. projectsOne: [],
  4450. schedule_date_one:"",
  4451. new_doctor_advice_list:[]
  4452. };
  4453. },
  4454. methods: {
  4455. toUpload() {
  4456. let dom = document.getElementById("dialysis-print-box-1")
  4457. //调用方法下载
  4458. html2canvas(dom, {
  4459. useCORS: true, //允许跨域
  4460. allowTaint: false,
  4461. logging: false,
  4462. letterRendering: true,
  4463. ddpi: window.devicePixelRatio * 4, //将分辨率提高到特定的DPI 提高四倍
  4464. scale: 4, //按比例增加分辨率
  4465. background: '#fff',//pdf背景色为白色,默认是黑色的
  4466. }).then((canvas) => {
  4467. //返回图片dataURL,参数:图片格式和清晰度(0-1)
  4468. var pageData = canvas.toDataURL('image/jpeg', 1.0);
  4469. //方向默认竖直,尺寸ponits,格式a4[595.28,841.89]
  4470. var pdf = new jsPDF('', 'pt', 'a4');
  4471. //addImage后两个参数控制添加图片的尺寸,此处将页面高度按照a4纸宽高比列进行压缩
  4472. // pdf.addImage(pageData, 'JPEG', 0, 0, 595.28, 592.28 / canvas.width * canvas.height);
  4473. pdf.addImage(pageData, 'JPEG', 0, 0, 555.28, 592.28 / canvas.width * canvas.height);
  4474. console.log("pdf222222222222222222",pdf)
  4475. var newBase64Data = pdf.output("dataurlstring").split("base64,")[1]
  4476. // console.log("base63",newBase64Data)
  4477. const blob = this.base64ToBlob(newBase64Data, 'application/pdf');
  4478. console.log("blobwoowowowwo",blob)
  4479. this.openPdf(blob);
  4480. // var data = {
  4481. // name:newBase64Data,
  4482. // }
  4483. // UploadPrintOrder(data).then(response=>{
  4484. // if(response.data.state == 1){
  4485. // var sign = response.data.data.sign
  4486. // console.log("SIGNWWOOWWO")
  4487. // var pdfBase64 = response.data.data.pdfBase64
  4488. // console.log("pdfBase64",pdfBase64)
  4489. // this.$message.success("保存成功!")
  4490. // const blob = this.base64ToBlob(pdfBase64, 'application/pdf');
  4491. // this.openPdf(blob);
  4492. // }
  4493. // })
  4494. // this.viewPdf(newBase64Data)
  4495. //保存到pdf,名字是stone
  4496. // pdf.save('stone.pdf');
  4497. });
  4498. },
  4499. viewPdf(content) {
  4500. console.log("content",content);
  4501. const blob = this.base64ToBlob(content);
  4502. if (window.navigator && window.navigator.msSaveOrOpenBlob) {
  4503. window.navigator.msSaveOrOpenBlob(blob);
  4504. } else {
  4505. const fileURL = URL.createObjectURL(blob);
  4506. console.log("fileUlrwowowoow",fileURL)
  4507. window.open(fileURL);//打开ppf文件
  4508. }
  4509. },
  4510. compare (property) {
  4511. return function (a, b) {
  4512. var value1 = a[property]
  4513. var value2 = b[property]
  4514. return value1 - value2
  4515. }
  4516. },
  4517. openPdf(blob) {
  4518. const objectUrl = URL.createObjectURL(blob);
  4519. const a = document.createElement('a');
  4520. a.href = objectUrl;
  4521. a.target = '_blank';
  4522. a.click();
  4523. URL.revokeObjectURL(objectUrl);
  4524. },
  4525. base64ToBlob(base64Data, contentType) {
  4526. contentType = contentType || '';
  4527. const sliceSize = 1024;
  4528. const byteCharacters = window.atob(base64Data);
  4529. const bytesLength = byteCharacters.length;
  4530. const slicesCount = Math.ceil(bytesLength / sliceSize);
  4531. const byteArrays = new Array(slicesCount);
  4532. for (let sliceIndex = 0; sliceIndex < slicesCount; ++sliceIndex) {
  4533. const begin = sliceIndex * sliceSize;
  4534. const end = Math.min(begin + sliceSize, bytesLength);
  4535. const bytes = new Array(end - begin);
  4536. for (let offset = begin, i = 0; offset < end; ++i, ++offset) {
  4537. bytes[i] = byteCharacters[offset].charCodeAt(0);
  4538. }
  4539. byteArrays[sliceIndex] = new Uint8Array(bytes);
  4540. }
  4541. return new Blob(byteArrays, {
  4542. type: contentType
  4543. });
  4544. },
  4545. UploadPdf(res) {
  4546. let pdfBase64Str = res;
  4547. let title = "上传给后端的个人报告";
  4548. var myfile = this.dataURLtoFile(pdfBase64Str, title + ".pdf")
  4549. console.log("myfile",myfile)
  4550. },
  4551. // 获取当前年份,用于年龄计算
  4552. getoldAge() {
  4553. let date = new Date();
  4554. let year = date.getFullYear();
  4555. let year_d =
  4556. this.xtdate.split("-")[0] - this.patientInfo.birth.split("-")[0];
  4557. let year_m = this.xtdate.split("-")[1];
  4558. let birth_m = this.patientInfo.birth.split("-")[1];
  4559. let year_date = this.xtdate.split("-")[2];
  4560. let birth_date = this.patientInfo.birth.split("-")[2];
  4561. // console.log(year,'今年年月')
  4562. // console.log(this.xtdate.split('-'),'病人就诊年月')
  4563. console.log(this.patientInfo.birth, "病人生日");
  4564. // console.log(year_d,'year_d')
  4565. if (year_m < birth_m) {
  4566. return year_d - 1;
  4567. } else if (year_m == birth_m) {
  4568. if (year_date < birth_date) {
  4569. return year_d - 1;
  4570. } else {
  4571. return year_d;
  4572. }
  4573. } else {
  4574. return year_d;
  4575. }
  4576. },
  4577. checkData() {
  4578. if (this.receiverTreatmentAccess.way == 0) {
  4579. this.$message.error("入科方式未填");
  4580. } else if (this.predialysis.symptom_before_dialysis == "") {
  4581. this.$message.error("透前症状未填");
  4582. } else if (this.predialysis.temperature == "") {
  4583. this.$message.error("透前体温未填");
  4584. } else if (this.predialysis.pulse_frequency == "") {
  4585. this.$message.error("透前脉搏未填");
  4586. } else if (this.predialysis.breathing_rate == "") {
  4587. this.$message.error("透前呼吸频率未填");
  4588. } else if (
  4589. this.predialysis.systolic_blood_pressure == 0 ||
  4590. this.predialysis.diastolic_blood_pressure == 0
  4591. ) {
  4592. this.$message.error("透前血压未填完整");
  4593. } else if (this.predialysis.puncture_way == "") {
  4594. this.$message.error("穿刺方式未填");
  4595. } else if (this.predialysis.puncture_needle == "") {
  4596. this.$message.error("穿刺针未填");
  4597. } else if (
  4598. this.predialysis.blood_access_part_id == "" &&
  4599. this.predialysis.blood_access_part_opera_name == ""
  4600. ) {
  4601. this.$message.error("血管通路未填");
  4602. } else if (this.predialysis.internal_fistula == "") {
  4603. this.$message.error("透前内瘘未填");
  4604. } else if (this.predialysis.catheter == "") {
  4605. this.$message.error("透前导管未填");
  4606. } else if (this.prescription.mode_id == "") {
  4607. this.$message.error("透析方式未填");
  4608. } else if (
  4609. this.prescription.displace_liqui_part == 0 &&
  4610. this.prescription.mode_id == 2
  4611. ) {
  4612. this.$message.error("置换方式未填");
  4613. } else if (
  4614. this.prescription.displace_liqui_value == 0 &&
  4615. this.prescription.mode_id == 2
  4616. ) {
  4617. this.$message.error("置换量未填");
  4618. } else if (this.prescription.blood_flow_volume == 0) {
  4619. this.$message.error("血流量未填");
  4620. } else if (
  4621. this.prescription.dialysis_duration_hour == 0 &&
  4622. this.prescription.dialysis_duration_minute == 0
  4623. ) {
  4624. this.$message.error("透析时间未填");
  4625. } else if (
  4626. this.prescription.dialyzer_perfusion_apparatus == "" &&
  4627. this.prescription.dialysis_dialyszers == ""
  4628. ) {
  4629. this.$message.error("透析器未填");
  4630. } else if (this.prescription.dialysis_irrigation == "") {
  4631. this.$message.error("灌流器未填");
  4632. } else if (
  4633. this.prescription.plasma_separator == "" &&
  4634. this.org_id == 9538
  4635. ) {
  4636. this.$message.error("血浆分离器未填");
  4637. } else if (
  4638. this.prescription.bilirubin_adsorption_column == "" &&
  4639. this.org_id == 9538
  4640. ) {
  4641. this.$message.error("胆红素吸附柱未填");
  4642. } else if (this.predialysis.weight_before == 0) {
  4643. this.$message.error("透前体重未填");
  4644. } else if (this.predialysis.dry_weight == 0) {
  4645. this.$message.error("干体重未填");
  4646. } else if (this.prescription.target_ultrafiltration == 0) {
  4647. this.$message.error("计划超滤量未填");
  4648. } else if (this.prescription.calcium == 0) {
  4649. this.$message.error("钙未填");
  4650. } else if (this.prescription.sodium == 0) {
  4651. this.$message.error("钠未填");
  4652. } else if (this.prescription.kalium == 0) {
  4653. this.$message.error("钾未填");
  4654. } else if (this.prescription.bicarbonate == 0) {
  4655. this.$message.error("碳酸氢根未填");
  4656. } else if (this.prescription.dialysate_flow == 0) {
  4657. this.$message.error("透析液流量未填");
  4658. } else if (this.prescription.anticoagulant == 0) {
  4659. this.$message.error("抗凝剂未填");
  4660. } else if (
  4661. this.prescription.anticoagulant_gaimingcheng == "" &&
  4662. this.prescription.anticoagulant == 5
  4663. ) {
  4664. this.$message.error("钙名称未填");
  4665. } else if (
  4666. this.prescription.anticoagulant_gaijiliang == "" &&
  4667. this.prescription.anticoagulant == 5
  4668. ) {
  4669. this.$message.error("钙剂量未填");
  4670. } else if (this.afterdialysis.temperature == 0) {
  4671. this.$message.error("透后体温未填");
  4672. } else if (this.afterdialysis.pulse_frequency == 0) {
  4673. this.$message.error("透后脉搏未填");
  4674. } else if (this.afterdialysis.breathing_rate == 0) {
  4675. this.$message.error("透后呼吸频率未填");
  4676. } else if (
  4677. this.afterdialysis.systolic_blood_pressure == 0 ||
  4678. this.afterdialysis.diastolic_blood_pressure == 0
  4679. ) {
  4680. this.$message.error("透后血压未填完整");
  4681. } else if (
  4682. this.afterdialysis.actual_treatment_hour == 0 &&
  4683. this.afterdialysis.actual_treatment_minute == 0
  4684. ) {
  4685. this.$message.error("实际治疗时间未填");
  4686. } else if (this.afterdialysis.cruor == "") {
  4687. this.$message.error("透析器凝血未填");
  4688. } else if (this.afterdialysis.internal_fistula == "") {
  4689. this.$message.error("透后内瘘未填");
  4690. } else if (this.afterdialysis.catheter == "") {
  4691. this.$message.error("透后导管未填");
  4692. } else if (this.afterdialysis.weight_after == 0) {
  4693. this.$message.error("透后体重未填");
  4694. } else if (this.afterdialysis.weight_loss == 0) {
  4695. this.$message.error("透后体重减少未填");
  4696. } else if (this.afterdialysis.dialysis_intakes == 0) {
  4697. this.$message.error("透析中入量未填");
  4698. } else if (this.afterdialysis.actual_ultrafiltration == 0) {
  4699. this.$message.error("实际超滤量未填");
  4700. } else if (this.summary.dialysis_summary == "") {
  4701. this.$message.error("透析小结未填");
  4702. } else if (
  4703. this.dialysisOrder == null ||
  4704. this.dialysisOrder.puncture_nurse == 0
  4705. ) {
  4706. this.$message.error("穿刺护士未填");
  4707. } else if (
  4708. this.dialysisOrder == null ||
  4709. this.dialysisOrder.start_nurse == 0
  4710. ) {
  4711. this.$message.error("治疗护士未填");
  4712. } else if (this.dialysisOrder == null && this.check.creater == 0) {
  4713. this.$message.error("核对人员未填");
  4714. } else if (
  4715. this.dialysisOrder != null &&
  4716. this.dialysisOrder.start_nurse == this.check.modifier &&
  4717. this.check.creater == 0
  4718. ) {
  4719. this.$message.error("核对人员未填");
  4720. } else if (
  4721. this.dialysisOrder != null &&
  4722. this.dialysisOrder.start_nurse == this.check.creater &&
  4723. this.check.modifier == 0
  4724. ) {
  4725. this.$message.error("核对人员未填");
  4726. } else if (
  4727. this.dialysisOrder != null &&
  4728. this.dialysisOrder.start_nurse != this.check.creater &&
  4729. this.dialysisOrder.start_nurse != this.check.modifier &&
  4730. this.check.creater == 0
  4731. ) {
  4732. this.$message.error("核对人员未填");
  4733. } else if (
  4734. this.dialysisOrder == null ||
  4735. this.dialysisOrder.finish_nurse == 0
  4736. ) {
  4737. this.$message.error("下机护士未填");
  4738. } else if (this.prescription.creater == 0) {
  4739. this.$message.error("医生签名未填");
  4740. } else if (this.tableAdvice.length > 0) {
  4741. let num = 0;
  4742. this.tableAdvice.map((item) => {
  4743. if (item.id > 0 && (item.created_time || item.start_time)) {
  4744. this.users.map((it) => {
  4745. if (it.id == item.advice_doctor) {
  4746. if (it.user_type == 3) {
  4747. num++;
  4748. this.$message.closeAll();
  4749. this.$message.error("存在不是医生保存的医嘱");
  4750. } else if (
  4751. it.id == item.execution_staff &&
  4752. item.execution_staff > 0
  4753. ) {
  4754. if (it.user_type == 2) {
  4755. num++;
  4756. this.$message.closeAll();
  4757. this.$message.error("存在不是护士执行的医嘱");
  4758. }
  4759. } else if (it.id == item.checker && item.checker > 0) {
  4760. if (it.user_type == 2) {
  4761. num++;
  4762. this.$message.closeAll();
  4763. this.$message.error("存在不是护士核对的医嘱");
  4764. }
  4765. }
  4766. } else if (
  4767. it.id == item.execution_staff &&
  4768. item.execution_staff > 0
  4769. ) {
  4770. if (it.user_type == 2) {
  4771. num++;
  4772. this.$message.closeAll();
  4773. this.$message.error("存在不是护士执行的医嘱");
  4774. }
  4775. } else if (it.id == item.checker && item.checker > 0) {
  4776. if (it.user_type == 2) {
  4777. num++;
  4778. this.$message.closeAll();
  4779. this.$message.error("存在不是护士核对的医嘱");
  4780. }
  4781. }
  4782. });
  4783. }
  4784. });
  4785. if (num == 0) {
  4786. this.$message.success("核对完成");
  4787. }
  4788. } else {
  4789. this.$message.success("核对完成");
  4790. }
  4791. },
  4792. getDisplaceLiquiPart: function (val) {
  4793. let displace_liqui_part_name = "/";
  4794. const displace_liqui_part = this.displaceLiquiPartOptions;
  4795. for (let i = 0; i < displace_liqui_part.length; i++) {
  4796. if (displace_liqui_part[i].id == val) {
  4797. displace_liqui_part_name = displace_liqui_part[i].name;
  4798. }
  4799. }
  4800. return displace_liqui_part_name;
  4801. },
  4802. replacementWaysById: function (val) {
  4803. let replacementWaysname = "/";
  4804. // let vascular_access = getDataConfig('hemodialysis', 'vascular_access')
  4805. for (let i = 0; i < this.replacementWays.length; i++) {
  4806. if (this.replacementWays[i].id == val) {
  4807. replacementWaysname = this.replacementWays[i].name;
  4808. }
  4809. }
  4810. return replacementWaysname;
  4811. },
  4812. QueryPartById: function (val) {
  4813. let vascular_access_part_name = "/";
  4814. const vascular_access = getDataConfig("hemodialysis", "vascular_access");
  4815. for (let i = 0; i < vascular_access.length; i++) {
  4816. if (vascular_access[i].id == val) {
  4817. vascular_access_part_name = vascular_access[i].name;
  4818. }
  4819. }
  4820. return vascular_access_part_name;
  4821. },
  4822. getAdminUser(id) {
  4823. if (id == 0) {
  4824. return "";
  4825. }
  4826. if (id == undefined) {
  4827. return "";
  4828. }
  4829. for (let i = 0; i < this.adminUser.length; i++) {
  4830. if (this.adminUser[i].id == id) {
  4831. return this.adminUser[i].name;
  4832. }
  4833. }
  4834. },
  4835. getTime(value, temp) {
  4836. if (value == 0) {
  4837. return "";
  4838. }
  4839. if (value != undefined) {
  4840. return uParseTime(value, temp);
  4841. }
  4842. return "";
  4843. },
  4844. getUnit: function (val) {
  4845. switch (val) {
  4846. case 1:
  4847. return "g";
  4848. break;
  4849. case 2:
  4850. return "ml";
  4851. break;
  4852. }
  4853. },
  4854. printThisPage() {
  4855. var ptime = Math.round(new Date().getTime() / 1000);
  4856. this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
  4857. const style =
  4858. '@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;}';
  4859. if (this.org_template_info.template_id == 1) {
  4860. printJS({
  4861. printable: "dialysis-print-box",
  4862. type: "html",
  4863. style: style,
  4864. scanStyles: false,
  4865. });
  4866. } else if (
  4867. this.org_template_info.template_id == 2 ||
  4868. this.org_template_info.template_id == 0
  4869. ) {
  4870. printJS({
  4871. printable: "dialysis-print-box-1",
  4872. type: "html",
  4873. style: style,
  4874. scanStyles: false,
  4875. });
  4876. }
  4877. },
  4878. getNumber() {
  4879. if (this.dialysisOrder != null) {
  4880. return (
  4881. this.patientInfo.DialysisSchedule.device_zone.name +
  4882. this.dialysisOrder.DeviceNumber.number
  4883. );
  4884. } else {
  4885. return (
  4886. this.patientInfo.DialysisSchedule.device_zone.name +
  4887. this.patientInfo.DialysisSchedule.device_number.number
  4888. );
  4889. }
  4890. },
  4891. getXuserName(id) {
  4892. if (id <= 0) {
  4893. return "";
  4894. }
  4895. var name = "";
  4896. if (this.users == null || typeof this.users.length === "undefined") {
  4897. return name;
  4898. }
  4899. var leng = this.users.length;
  4900. if (leng == 0) {
  4901. return name;
  4902. }
  4903. for (let index = 0; index < leng; index++) {
  4904. if (this.users[index].id == id) {
  4905. name = this.users[index].name;
  4906. break;
  4907. }
  4908. }
  4909. return name;
  4910. },
  4911. setAdminUserES(id) {
  4912. if (id == 0) {
  4913. return "";
  4914. }
  4915. if (id in this.operatorMaps) {
  4916. return this.operatorMaps[id].url;
  4917. } else {
  4918. return "";
  4919. }
  4920. },
  4921. modeName(mode_id) {
  4922. return typeof this.modeOptions[mode_id] !== "undefined" &&
  4923. typeof this.modeOptions[mode_id].name !== "undefined"
  4924. ? this.modeOptions[mode_id].name
  4925. : "";
  4926. },
  4927. getDialysisRecord() {
  4928. this.loading = true;
  4929. // getDialysisRecord(this.queryParams).then(response => {
  4930. var response = this.childResponse;
  4931. if (response.data.state == 1) {
  4932. this.adminUser = response.data.data.users;
  4933. console.log('3333333wwwwww',response.data.data);
  4934. var schedule_date = response.data.data.schedule.schedule_date
  4935. this.schedule_date_one = uParseTime(
  4936. schedule_date,
  4937. "{y}-{m}-{d}"
  4938. );
  4939. this.users = response.data.data.users;
  4940. this.patientInfo = response.data.data.patientInfo;
  4941. this.patientInfo.birth = uParseTime(
  4942. this.patientInfo.birthday,
  4943. "{y}-{m}-{d}"
  4944. );
  4945. // console.log(this.patientInfo.birth,'测试生日')
  4946. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  4947. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  4948. this.patientInfo.first_dialysis_date = uParseTime(
  4949. response.data.data.patientInfo.first_dialysis_date,
  4950. "{y}-{m}-{d}"
  4951. );
  4952. } else {
  4953. this.patientInfo.first_dialysis_date = "";
  4954. }
  4955. this.check = response.data.data.check;
  4956. this.xtdate = response.data.data.xtdate;
  4957. this.predialysis = response.data.data.PredialysisEvaluation;
  4958. console.log('透前评估', this.predialysis)
  4959. this.predialysis.blood_access_part_opera_name =this.bloodAccessParOperaName(this.predialysis.blood_access_part_opera_id);
  4960. this.afterdialysis = response.data.data.AssessmentAfterDislysis;
  4961. // console.log('透后体重', this.afterdialysis)
  4962. this.lastafterdialysis = response.data.data.assessmentAfterDislysis;
  4963. // console.log("上次透后体重", this.lastafterdialysis.weight_after);
  4964. this.operators = response.data.data.operators;
  4965. // console.log("operators", this.operators);
  4966. this.dialysisOrder =
  4967. response.data.data.dialysisOrder === null
  4968. ? null
  4969. : response.data.data.dialysisOrder;
  4970. // console.log("上机233232323232", this.dialysisOrder);
  4971. if (this.operators.length > 0) {
  4972. var operatorsLen = this.operators.length;
  4973. for (var index = 0; index < operatorsLen; index++) {
  4974. this.$set(
  4975. this.operatorMaps,
  4976. this.operators[index].creator,
  4977. this.operators[index]
  4978. );
  4979. }
  4980. }
  4981. this.afterdialysis.txqnx = -1;
  4982. if (this.afterdialysis.cruor.indexOf("0度") > -1) {
  4983. this.afterdialysis.txqnx = 0;
  4984. }
  4985. if (this.afterdialysis.cruor.indexOf("Ⅰ度") > -1) {
  4986. this.afterdialysis.txqnx = 1;
  4987. }
  4988. if (this.afterdialysis.cruor.indexOf("Ⅱ度") > -1) {
  4989. this.afterdialysis.txqnx = 2;
  4990. }
  4991. if (this.afterdialysis.cruor.indexOf("Ⅲ度") > -1) {
  4992. this.afterdialysis.txqnx = 3;
  4993. }
  4994. this.afterdialysis.complications =
  4995. this.afterdialysis.complication.split(",");
  4996. this.afterdialysis.complications_other = [];
  4997. this.afterdialysis.complications_index = [];
  4998. var acllen = this.afterdialysis.complications.length;
  4999. for (let index = 0; index < acllen; index++) {
  5000. if (
  5001. this.complications.indexOf(
  5002. this.afterdialysis.complications[index]
  5003. ) >= 0
  5004. ) {
  5005. this.afterdialysis.complications_index.push(
  5006. this.afterdialysis.complications[index]
  5007. );
  5008. } else if (
  5009. this.complications.indexOf(
  5010. this.afterdialysis.complications[index]
  5011. ) < 0 &&
  5012. this.afterdialysis.complications_other.indexOf(
  5013. this.afterdialysis.complications[index]
  5014. ) < 0
  5015. ) {
  5016. this.afterdialysis.complications_other.push(
  5017. this.afterdialysis.complications[index]
  5018. );
  5019. }
  5020. }
  5021. this.afterdialysis.complications_other =
  5022. this.afterdialysis.complications_other.join(",");
  5023. this.prescription = response.data.data.dialysisPrescription;
  5024. // console.log("透析处方", this.prescription);
  5025. this.receiverTreatmentAccess =
  5026. response.data.data.receiverTreatmentAccess;
  5027. this.prescription.mode = this.modeName(this.prescription.mode_id);
  5028. var rwLen = this.replacementWays.length;
  5029. this.prescription.replacement = "";
  5030. for (let index = 0; index < rwLen; index++) {
  5031. if (
  5032. this.replacementWays[index].id == this.prescription.replacement_way
  5033. ) {
  5034. this.prescription.replacement = this.replacementWays[index].name;
  5035. break;
  5036. }
  5037. }
  5038. this.prescription.dialysate_formulation_name =
  5039. this.dialysateFormulationName(
  5040. this.prescription.dialysate_formulation
  5041. );
  5042. var paLen = this.perfusionApparatus.length;
  5043. this.prescription.perfusion_apparatus_name = "";
  5044. for (let index = 0; index < paLen; index++) {
  5045. if (
  5046. this.perfusionApparatus[index].id ==
  5047. this.prescription.perfusion_apparatus
  5048. ) {
  5049. this.prescription.perfusion_apparatus_name =
  5050. this.perfusionApparatus[index].name;
  5051. break;
  5052. }
  5053. }
  5054. var acLen = this.anticoagulantsConfit.length;
  5055. var thisALID = this.prescription.anticoagulant;
  5056. this.prescription.anticoagulant_name = "";
  5057. if (
  5058. typeof this.anticoagulantsConfit[thisALID] !== "undefined" &&
  5059. this.anticoagulantsConfit[thisALID] != null
  5060. ) {
  5061. this.prescription.anticoagulant_name =
  5062. this.anticoagulantsConfit[thisALID].name;
  5063. this.AlPanel = this.anticoagulantsConfit[thisALID];
  5064. }
  5065. this.advices = response.data.data.advices;
  5066. this.tableAdvice = response.data.data.advices;
  5067. // console.log("医嘱数据2222222222", this.advices);
  5068. this.monitors = response.data.data.monitors;
  5069. this.summary = response.data.data.summary;
  5070. this.org_template_info = response.data.data.org_template_info;
  5071. if (this.monitors.length <= 3) {
  5072. var nl = 3;
  5073. this.print_length = 3;
  5074. for (let index = 0; index < nl; index++) {
  5075. if (
  5076. this.monitors[index] == undefined ||
  5077. this.monitors[index].length <= 0
  5078. ) {
  5079. this.monitors2.push([]);
  5080. } else {
  5081. continue;
  5082. }
  5083. }
  5084. }
  5085. var tempmonitorflag = true;
  5086. for (let index = 0; index < this.monitors.length; index++) {
  5087. const monitor = this.monitors[index];
  5088. this.monitors[index].end = "";
  5089. if (Object.keys(monitor).length > 0 && index > 1) {
  5090. if ((this.dialysisOrder &&monitor.operate_time == this.dialysisOrder.end_time)&&(this.org_id!=10414)) {
  5091. if(this.org_id!=10683){
  5092. this.monitors[index].end = "【结束透析】";
  5093. }
  5094. tempmonitorflag = false;
  5095. }
  5096. if ((tempmonitorflag && index == this.monitors.length - 1)&&(this.org_id!=10414)) {
  5097. if(this.org_id!=10683){
  5098. this.monitors[index].end = "【结束透析】";
  5099. }
  5100. }
  5101. }
  5102. }
  5103. this.jilurow = this.monitors.length + 1;
  5104. this.advice_jilurow = this.advices.length + 1;
  5105. var childMap = {};
  5106. for (const index in this.advices) {
  5107. if (this.advices[index].parent_id == 0) {
  5108. continue;
  5109. }
  5110. if (!(this.advices[index].parent_id in childMap)) {
  5111. childMap[this.advices[index].parent_id] = [];
  5112. }
  5113. childMap[this.advices[index].parent_id].push(this.advices[index]);
  5114. }
  5115. var advices = [];
  5116. for (const index in this.advices) {
  5117. if (this.advices[index].parent_id > 0) {
  5118. continue;
  5119. }
  5120. var item = this.advices[index];
  5121. if (item.id in childMap) {
  5122. item.children = childMap[item.id];
  5123. } else {
  5124. item.children = [];
  5125. }
  5126. advices.push(item);
  5127. }
  5128. var leftAdvice = [];
  5129. var rightAdvice = [];
  5130. var adlen = advices.length;
  5131. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
  5132. for (var i = 0; i < halfLen; i++) {
  5133. leftAdvice.push(advices[i]);
  5134. rightAdvice.push(advices[i + halfLen]);
  5135. }
  5136. if (halfLen < 5) {
  5137. var nl = 5 - leftAdvice.length;
  5138. for (let index = 0; index < nl; index++) {
  5139. leftAdvice.push([]);
  5140. }
  5141. var nl = 5 - rightAdvice.length;
  5142. for (let index = 0; index < nl; index++) {
  5143. rightAdvice.push([]);
  5144. }
  5145. }
  5146. this.advices = [];
  5147. for (var i = 0; i < halfLen; i++) {
  5148. var item = [];
  5149. item.push(leftAdvice[i]);
  5150. item.push(rightAdvice[i]);
  5151. this.advices.push(item);
  5152. }
  5153. this.loading = false;
  5154. this.doctor_advices =
  5155. response.data.data.advices == null ? [] : response.data.data.advices;
  5156. for (let index = 0; index < this.doctor_advices.length; index++) {
  5157. this.doctor_advices[index]["isShow"] = 2;
  5158. }
  5159. console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",this.doctor_advices)
  5160. if(this.org_id ==10206 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 10489 || this.org_id == 0){
  5161. let projectsOne = [];
  5162. response.data.data.projects.map((item) => {
  5163. projectsOne.push(item);
  5164. });
  5165. this.projectsOne = projectsOne;
  5166. console.log("this.projectsOne", this.projectsOne);
  5167. }
  5168. console.log("RESWOOWOWWOOW",response.data.data.doctorAdevieInfo)
  5169. //华池
  5170. if(this.org_id == 10440){
  5171. var parint_id =0
  5172. var newArr = []
  5173. if(this.doctor_advices!=null&&this.doctor_advices.length>0){
  5174. for(let i=0;i<this.doctor_advices.length;i++){
  5175. if(this.doctor_advices[i].advice_name.indexOf("低分子")!=-1){
  5176. parint_id = this.doctor_advices[i].id
  5177. }
  5178. }
  5179. for(let i=0;i<this.doctor_advices.length;i++){
  5180. if(this.doctor_advices[i].id != parint_id && this.doctor_advices[i].parent_id!=parint_id){
  5181. newArr.push(this.doctor_advices[i])
  5182. }
  5183. }
  5184. this.doctor_advices =[]
  5185. this.doctor_advices = newArr
  5186. }
  5187. }
  5188. //HIS客户显示临时医嘱的地方
  5189. if(this.org_id == 10510 || this.org_id ==10567 || this.org_id == 10489 || this.org_id ==10644 || this.org_id == 0){
  5190. if(response.data.data.doctorAdevieInfo!=null && response.data.data.doctorAdevieInfo.length>0){
  5191. for(let i=0;i<response.data.data.doctorAdevieInfo.length;i++){
  5192. this.doctor_advices.push(response.data.data.doctorAdevieInfo[i])
  5193. console.log("寄哪里 222")
  5194. }
  5195. }
  5196. let projects = [];
  5197. response.data.data.projects.map((item) => {
  5198. if (item.type == 2) {
  5199. projects.push(item);
  5200. }
  5201. });
  5202. this.projects = projects;
  5203. // console.log("this.projects=========================================", this.projects);
  5204. if(this.org_id!=10510 &&this.org_id!=10206 && this.org_id!=10478 && this.org_id!=10489){
  5205. console.log("列表===================================",this.projects)
  5206. var newHisArr = []
  5207. if(this.projects!=null && this.projects.length >0){
  5208. for(let i=0;i<this.projects.length;i++){
  5209. if(this.projects[i].type== 2){
  5210. this.projects[i].project_team_name = ""
  5211. this.projects[i].project_team_id = 0
  5212. if(this.projects[i].team!= "undefined" && this.projects[i].team.id >0){
  5213. this.projects[i].project_team = this.projects[i].team.project_team
  5214. this.projects[i].project_team_id = this.projects[i].team.id
  5215. this.projects[i].start_time = this.projects[i].start_time
  5216. this.projects[i].single_dose = this.projects[i].single_dose
  5217. this.projects[i].single_dose_unit = this.projects[i].unit
  5218. this.projects[i].execution_time = this.projects[i].execution_time
  5219. this.projects[i].execution_staff= this.projects[i].execution_staff
  5220. this.projects[i].advice_name = this.projects[i].team.project_team
  5221. this.projects[i].advice_doctor = this.projects[i].doctor
  5222. newHisArr.push(this.projects[i])
  5223. // this.doctor_advices_2.push(this.project[i])
  5224. }else{
  5225. this.projects[i].project_team = this.projects[i].project.project_name
  5226. this.projects[i].advice_name = this.projects[i].project.project_name
  5227. this.projects[i].start_time = this.projects[i].start_time
  5228. this.projects[i].single_dose = this.projects[i].single_dose
  5229. this.projects[i].single_dose_unit = this.projects[i].unit
  5230. this.projects[i].execution_time = this.projects[i].execution_time
  5231. this.projects[i].execution_staff= this.projects[i].execution_staff
  5232. this.projects[i].advice_doctor = this.projects[i].doctor
  5233. newHisArr.push(this.projects[i])
  5234. // this.doctor_advices_2.push(this.projects[i])
  5235. }
  5236. }
  5237. }
  5238. }
  5239. for(let i=0;i<newHisArr.length;i++){
  5240. newHisArr[i].advice_name_str = ""
  5241. newHisArr[i].advice_name_str = newHisArr[i].project_team + (newHisArr[i].prescription_id).toString()
  5242. }
  5243. console.log("newHisArr===================================",newHisArr)
  5244. var ordHisArr = this.getQuChong(newHisArr)
  5245. this.doctor_advices.push(...ordHisArr)
  5246. }
  5247. }
  5248. //针对内蒙古阿拉善
  5249. if(this.org_id ==10206){
  5250. if(this.doctor_advices!=null && this.doctor_advices.length > 0){
  5251. for(let i=0;i<this.doctor_advices.length;i++){
  5252. this.doctor_advices[i].new_groupno = ""
  5253. this.doctor_advices[i].new_groupno = this.doctor_advices[i].prescription_id + "_" + this.doctor_advices[i].groupno
  5254. let objInfo = {}
  5255. this.doctor_advices.forEach((item,index)=>{
  5256. let { new_groupno } = item
  5257. if(!objInfo[new_groupno]){
  5258. objInfo[new_groupno] = {
  5259. new_groupno,
  5260. child:[],
  5261. start_time:item.start_time,
  5262. advice_doctor:item.advice_doctor,
  5263. advice_name:item.advice_name,
  5264. check_time:item.check_time,
  5265. checker:item.checker,
  5266. delivery_way:item.delivery_way,
  5267. execution_frequency:item.execution_frequency,
  5268. execution_staff:item.execution_staff,
  5269. execution_state:item.execution_state,
  5270. execution_time:item.execution_time,
  5271. frequency_type:item.frequency_type,
  5272. new_groupno:item.new_groupno,
  5273. advice_desc:item.advice_desc,
  5274. drug_spec_unit:item.drug_spec_unit,
  5275. prescribing_number:item.prescribing_number,
  5276. prescribing_number_unit:item.prescribing_number_unit,
  5277. single_dose:item.single_dose,
  5278. single_dose_unit:item.single_dose_unit,
  5279. parent_id:item.parent_id,
  5280. remark:item.remark,
  5281. }
  5282. }
  5283. })
  5284. let newArr = Object.values(objInfo);
  5285. if(newArr!=null && newArr.length >0){
  5286. for(let i=0;i<newArr.length;i++){
  5287. for(let j=0;j<this.doctor_advices.length;j++){
  5288. if(newArr[i].new_groupno == this.doctor_advices[j].new_groupno){
  5289. newArr[i].child.push(this.doctor_advices[j])
  5290. }
  5291. }
  5292. }
  5293. }
  5294. console.log("newArrwowoow",newArr)
  5295. this.new_doctor_advice_list = []
  5296. this.new_doctor_advice_list.push(...newArr)
  5297. console.log("newArrwowoow",this.new_doctor_advice_list)
  5298. }
  5299. }
  5300. }
  5301. console.log("新时间我哦我哦",this.doctor_advices)
  5302. //过滤口服药
  5303. if(this.org_id == 10265){
  5304. var docArr = []
  5305. if(this.doctor_advices!=null && this.doctor_advices.length>0){
  5306. for(let i=0;i<this.doctor_advices.length;i++){
  5307. if(this.doctor_advices[i].delivery_way!='口服' && this.doctor_advices[i].delivery_way!='中药口服'){
  5308. docArr.push(this.doctor_advices[i])
  5309. }
  5310. }
  5311. }
  5312. this.doctor_advices = []
  5313. this.doctor_advices = docArr
  5314. }
  5315. if (this.doctor_advices.length + this.projectsOne.length <= 6) {
  5316. var nl = 6 - (this.doctor_advices.length + this.projectsOne.length);
  5317. this.print_length = 6;
  5318. for (let index = 0; index < nl; index++) {
  5319. if (
  5320. this.projectsOne[index] == undefined ||
  5321. this.projectsOne[index].length <= 0
  5322. ) {
  5323. this.projectsOne.push([]);
  5324. } else {
  5325. continue;
  5326. }
  5327. }
  5328. }
  5329. this.totollength = this.doctor_advices.length + this.monitors.length;
  5330. console.log("this.totollength",this.totollength)
  5331. if (this.totollength > 18) {
  5332. var temp_advice_length = this.doctor_advices.length
  5333. var doctor_advices_1 = [];
  5334. var doctor_advices_2 = [];
  5335. for (let index = 0; index < this.doctor_advices.length; index++) {
  5336. const element = this.doctor_advices[index];
  5337. if (temp_advice_length > index) {
  5338. doctor_advices_1.push(element);
  5339. } else {
  5340. doctor_advices_2.push(element);
  5341. }
  5342. }
  5343. this.doctor_advices = doctor_advices_1;
  5344. this.doctor_advices_2 = doctor_advices_2;
  5345. }
  5346. // console.log(this.advice_groups);
  5347. console.log("医嘱列表=--=----------------------------------------------",this.doctor_advices)
  5348. } else {
  5349. this.loading = false;
  5350. this.$message.error("请求数据失败");
  5351. return false;
  5352. }
  5353. // })
  5354. },
  5355. getQuChong(tempArr) {
  5356. let result = [];
  5357. let obj = {};
  5358. for (let i = 0; i < tempArr.length; i++) {
  5359. if (!obj[tempArr[i].advice_name_str]) {
  5360. result.push(tempArr[i]);
  5361. obj[tempArr[i].advice_name_str] = true;
  5362. };
  5363. };
  5364. return result;
  5365. },
  5366. bloodAccessParOperaName(id) {
  5367. if (id in this.bloodAccessParOpera) {
  5368. return this.bloodAccessParOpera[id].name;
  5369. }
  5370. return "";
  5371. },
  5372. dialysateFormulationName(id) {
  5373. if (id in this.dialysateFormulationOptions) {
  5374. return this.dialysateFormulationOptions[id].name;
  5375. }
  5376. return "";
  5377. },
  5378. // getAge: function (val) {
  5379. // if (
  5380. // this.org_template_info.template_id == 2 ||
  5381. // this.org_template_info.template_id == 0
  5382. // ) {
  5383. // if (val.age == 0) {
  5384. // return jsGetAge(val.birth, "-");
  5385. // } else {
  5386. // return val.age;
  5387. // }
  5388. // } else {
  5389. // return this.getoldAge();
  5390. // }
  5391. // },
  5392. getAge: function(val) {
  5393. if (val.id_card_no) {
  5394. var thisLen = val.id_card_no.length
  5395. var birth = ''
  5396. if (thisLen == 15) {
  5397. birth = '19' + val.id_card_no.substr(6, 6)
  5398. } else {
  5399. birth = val.id_card_no.substr(6, 8)
  5400. }
  5401. var birthtwo =
  5402. birth.substr(0, 4) +
  5403. '-' +
  5404. birth.substr(4, 2) +
  5405. '-' +
  5406. birth.substr(6, 2)
  5407. if(this.org_id!=0&& this.org_id!=10460){
  5408. var age = jsGetAge(birthtwo, '-')
  5409. return age
  5410. }
  5411. if(this.org_id == 0 || this.org_id ==10460){
  5412. console.log("日期搜哦",this.schedule_date_one)
  5413. var strBirthdayArr = this.schedule_date_one.split("-")
  5414. console.log("strBirthdayArr",strBirthdayArr)
  5415. var yeaer = strBirthdayArr[0]
  5416. var month = strBirthdayArr[1]
  5417. var day = strBirthdayArr[2]
  5418. var age = jsGetAgeOne(birthtwo, '-',yeaer,month,day)
  5419. // console.log("agesssss",age)
  5420. return age
  5421. }
  5422. }
  5423. },
  5424. newAdviceGroupObject: function () {
  5425. return Object.assign(
  5426. {},
  5427. {
  5428. group_no: 0,
  5429. // advice_doctor: 0,
  5430. // start_time: 0,
  5431. advices: [],
  5432. // exec_staff: 0,
  5433. // exec_time: 0,
  5434. // checker: 0,
  5435. }
  5436. );
  5437. },
  5438. getFloat: function (x) {
  5439. if (x == 0) {
  5440. return "/";
  5441. }
  5442. if (x != ".") {
  5443. var f = Math.round(x * 100) / 100;
  5444. var s = f.toString();
  5445. var rs = s.indexOf(".");
  5446. if (rs <= 0) {
  5447. rs = s.length;
  5448. s += ".";
  5449. }
  5450. while (s.length <= rs + 1) {
  5451. s += "0";
  5452. }
  5453. return s;
  5454. } else {
  5455. return "0.0";
  5456. }
  5457. },
  5458. },
  5459. watch: {
  5460. "patientInfo.gender": function () {
  5461. if (this.patientInfo.gender == 1) {
  5462. this.patientInfo_gender_1 = true;
  5463. this.patientInfo_gender_2 = false;
  5464. } else if (this.patientInfo.gender == 2) {
  5465. this.patientInfo_gender_2 = true;
  5466. this.patientInfo_gender_1 = false;
  5467. } else {
  5468. this.patientInfo_gender_2 = false;
  5469. this.patientInfo_gender_1 = false;
  5470. }
  5471. },
  5472. "patientInfo.source": function () {
  5473. if (this.patientInfo.source == 1) {
  5474. this.patientInfo_source_1 = true;
  5475. this.patientInfo_source_2 = false;
  5476. } else if (this.patientInfo.source == 2) {
  5477. this.patientInfo_source_2 = true;
  5478. this.patientInfo_source_1 = false;
  5479. } else {
  5480. this.patientInfo_source_2 = false;
  5481. this.patientInfo_source_1 = false;
  5482. }
  5483. },
  5484. },
  5485. created() {
  5486. this.way_arr = getDataConfig("hemodialysis", "way");
  5487. this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
  5488. this.appetite_arr = getDataConfig("hemodialysis", "appetite");
  5489. this.posture_arr = getDataConfig("hemodialysis", "posture");
  5490. this.sick_condition_arr = getDataConfig("hemodialysis", "sick_condition");
  5491. this.precaution_arr = getDataConfig("hemodialysis", "precaution");
  5492. this.intake_arr = getDataConfig("hemodialysis", "intake");
  5493. this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
  5494. var xtuser = this.$store.getters.xt_user;
  5495. this.orgname = xtuser.org.org_name;
  5496. // this.orgname = "遂溪方济医院";
  5497. this.modeOptions = this.$store.getters.treatment_mode;
  5498. this.replacementWays = this.$store.getters.replacement_ways;
  5499. this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  5500. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  5501. this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
  5502. this.blood_access_part = getDataConfig("hemodialysis", "vascular_access");
  5503. this.blood_access_part_opera = getDataConfig(
  5504. "hemodialysis",
  5505. "vascular_access_desc"
  5506. );
  5507. this.org_id = this.$store.getters.xt_user.org.id;
  5508. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  5509. var bloodAccessParOpera = getDataConfig(
  5510. "hemodialysis",
  5511. "vascular_access_desc"
  5512. );
  5513. for (var key in bloodAccessParOpera) {
  5514. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  5515. bloodAccessParOpera[key];
  5516. }
  5517. var dialysateFormulationOptions = getDataConfig(
  5518. "hemodialysis",
  5519. "dialysate_formulation"
  5520. );
  5521. for (var key in dialysateFormulationOptions) {
  5522. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  5523. dialysateFormulationOptions[key];
  5524. }
  5525. const xtdate = this.$route.query && this.$route.query.xtdate;
  5526. // console.log("xtdate", xtdate);
  5527. const xtno = this.$route.query && this.$route.query.xtno;
  5528. // console.log("xtno", xtno);
  5529. if (
  5530. typeof xtdate === "string" &&
  5531. xtdate.length > 0 &&
  5532. typeof xtno === "string" &&
  5533. xtno.length > 0
  5534. ) {
  5535. this.queryParams.xtdate = xtdate;
  5536. this.queryParams.xtno = xtno;
  5537. this.getDialysisRecord();
  5538. } else {
  5539. this.$message.error("参数不齐");
  5540. return false;
  5541. }
  5542. },
  5543. };
  5544. </script>
  5545. <style>
  5546. .print_page_main_content {
  5547. background-color: white;
  5548. width: 960px;
  5549. margin: 0 auto 50px;
  5550. padding: 0 0 0 0;
  5551. page-break-after: always;
  5552. }
  5553. .print_page_main_content .order-yy-name {
  5554. margin: auto;
  5555. text-align: center;
  5556. font-size: 20px;
  5557. letter-spacing: 5px;
  5558. }
  5559. .dialysis-print-order .order-title {
  5560. margin: auto;
  5561. font-weight: 600;
  5562. text-align: center;
  5563. font-size: 22px;
  5564. padding: 10px;
  5565. }
  5566. .print_page_main_content .order_title {
  5567. text-align: center;
  5568. font-size: 23px;
  5569. line-height: 50px;
  5570. font-weight: 500;
  5571. }
  5572. .row {
  5573. font-size: 14px;
  5574. line-height: 20px;
  5575. padding: 5px 0;
  5576. }
  5577. .inline_block {
  5578. display: inline-block;
  5579. }
  5580. .under_line_two {
  5581. display: inline-block;
  5582. border-bottom: 1px solid #999;
  5583. text-align: left;
  5584. white-space: nowrap;
  5585. width: 50%;
  5586. }
  5587. .under_line_two::before {
  5588. content: "\00A0";
  5589. }
  5590. .under_line_two::after {
  5591. content: "\00A0";
  5592. }
  5593. .under_line {
  5594. display: inline-block;
  5595. border-bottom: 1px solid #999;
  5596. text-align: center;
  5597. white-space: nowrap;
  5598. width: 50%;
  5599. }
  5600. .under_line::before {
  5601. content: "\00A0";
  5602. }
  5603. .under_line::after {
  5604. content: "\00A0";
  5605. }
  5606. .flex {
  5607. display: -webkit-box;
  5608. display: -moz-box;
  5609. display: -ms-flexbox;
  5610. display: -webkit-flex;
  5611. display: flex;
  5612. align-items: center;
  5613. -webkit-align-items: center;
  5614. box-align: center;
  5615. -moz-box-align: center;
  5616. -webkit-box-align: center;
  5617. text-align: center;
  5618. -webkit-justify-content: space-between;
  5619. justify-content: space-between;
  5620. -moz-box-pack: space-between;
  5621. -webkit--moz-box-pack: space-between;
  5622. box-pack: space-between;
  5623. }
  5624. .print_page_main_content .proj_table {
  5625. width: 100%;
  5626. border: 1px solid;
  5627. border-collapse: collapse;
  5628. padding: 2px;
  5629. }
  5630. .print_page_main_content .proj_table tbody tr td {
  5631. border: 1px solid;
  5632. /* text-align: center; */
  5633. font-size: 16px;
  5634. padding: 5px 8px;
  5635. line-height: 30px;
  5636. }
  5637. .print_page_main_content .proj_table .inside_table {
  5638. width: 100%;
  5639. border: hidden; /* 解决边框冲突 */
  5640. border-collapse: collapse;
  5641. }
  5642. .print_page_main_content .proj_table .inside_table tr td {
  5643. border: 1px solid;
  5644. text-align: center;
  5645. font-size: 14px;
  5646. padding: 0px 5px;
  5647. line-height: 16px;
  5648. }
  5649. .print-table-no {
  5650. width: 100%;
  5651. text-align: center;
  5652. border-collapse: collapse;
  5653. font-size: 14px;
  5654. }
  5655. .es-img {
  5656. height: 20px;
  5657. }
  5658. .advice-name {
  5659. text-align: left !important;
  5660. line-height: 16px !important;
  5661. }
  5662. .advice-children {
  5663. display: flex;
  5664. }
  5665. .margin-bottom-50 {
  5666. }
  5667. .margin-bottom-300 {
  5668. margin-bottom: 450px;
  5669. }
  5670. .margin-bottom-600 {
  5671. margin-bottom: 600px;
  5672. }
  5673. .margin-bottom-900 {
  5674. margin-bottom: 900px;
  5675. }
  5676. .print-yema {
  5677. position: absolute;
  5678. left: 50%;
  5679. }
  5680. .print-yema2 {
  5681. position: absolute;
  5682. left: 50%;
  5683. }
  5684. .print-yema3 {
  5685. position: absolute;
  5686. left: 50%;
  5687. }
  5688. .print-yema4 {
  5689. position: absolute;
  5690. left: 50%;
  5691. }
  5692. .check_box_panel .did_checke::after {
  5693. font-size: 8px;
  5694. margin-left: 2px;
  5695. margin-top: 2px;
  5696. position: absolute;
  5697. }
  5698. </style>