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

DialysisPrintOrderSix.vue 190KB

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