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

DialysisPrintOrderSix.vue 189KB

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