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

DialysisPrintOrderZero.vue 186KB

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