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

DialysisPrintOrderSix.vue 179KB

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