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

DialysisPrintOrderSix.vue 166KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322
  1. <template>
  2. <div>
  3. <el-button type="primary" @click="checkData">一键核对</el-button>
  4. <div id="dialysis-print-box-1">
  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">{{
  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">
  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">{{
  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">
  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">
  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.dialysis_dialyszers&&prescription.dialysis_dialyszers!=''">/</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">
  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">{{
  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">{{
  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">ml</span>
  993. <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471">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">
  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">
  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">
  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">
  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">
  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">
  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">
  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 ==10449 || 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">呼吸<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>{{monitor.breathing_rate ? monitor.breathing_rate : ""}}</td>
  1454. <td>{{monitor.blood_flow_volume? monitor.blood_flow_volume: ""}}</td>
  1455. <td v-if="org_id == 0 ||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. : 0
  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 }}
  1558. </td>
  1559. <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id == 9671">
  1560. {{ monitor.accumulated_blood_volume }}
  1561. </td>
  1562. <td width="50" v-if="org_id ==10490 || org_id == 0">
  1563. {{ 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">
  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">{{
  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">
  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">{{
  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">
  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">
  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. 透析中入量(L):
  2366. <div
  2367. class="under_line"
  2368. style="width: 70px; text-align: center"
  2369. >
  2370. {{
  2371. afterdialysis.dialysis_intakes
  2372. ? afterdialysis.dialysis_intakes
  2373. : "/"
  2374. }}
  2375. </div>
  2376. {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
  2377. </div>
  2378. <div class="inline_block" style="flex: 1">
  2379. 实际超滤量:
  2380. <div
  2381. class="under_line"
  2382. style="width: 70px; text-align: center"
  2383. >
  2384. {{
  2385. afterdialysis.actual_ultrafiltration
  2386. ? afterdialysis.actual_ultrafiltration
  2387. : "/"
  2388. }}
  2389. </div>
  2390. <span v-if="org_id!=9675&&org_id!=10447"> ml</span>
  2391. <span v-if="org_id ==9675||org_id==10447">L</span>
  2392. </div>
  2393. </div>
  2394. <div
  2395. class="row"
  2396. style="padding: 2px 0; line-height: 23px; display: flex"
  2397. v-if="org_id == 10223"
  2398. >
  2399. <div class="inline_block" style="flex: 1">
  2400. 动脉管道:
  2401. <div
  2402. class="under_line"
  2403. style="width: 100px; text-align: center"
  2404. >
  2405. <span v-if="afterdialysis.arterial_tube == 0">/</span>
  2406. <span v-if="afterdialysis.arterial_tube == 1"
  2407. >动脉管道0</span
  2408. >
  2409. <span v-if="afterdialysis.arterial_tube == 2"
  2410. >动脉管道+</span
  2411. >
  2412. <span v-if="afterdialysis.arterial_tube == 3"
  2413. >动脉管道++</span
  2414. >
  2415. <span v-if="afterdialysis.arterial_tube == 4"
  2416. >动脉管道+++</span
  2417. >
  2418. </div>
  2419. </div>
  2420. <div class="inline_block" style="flex: 1">
  2421. 静脉管道:
  2422. <div
  2423. class="under_line"
  2424. style="width: 100px; text-align: center"
  2425. >
  2426. <span v-if="afterdialysis.intravenous_tube == 0"
  2427. >/</span
  2428. >
  2429. <span v-if="afterdialysis.intravenous_tube == 1"
  2430. >静脉管道0</span
  2431. >
  2432. <span v-if="afterdialysis.intravenous_tube == 2"
  2433. >静脉管道+</span
  2434. >
  2435. <span v-if="afterdialysis.intravenous_tube == 3"
  2436. >静脉管道++</span
  2437. >
  2438. <span v-if="afterdialysis.intravenous_tube == 4"
  2439. >静脉管道+++</span
  2440. >
  2441. </div>
  2442. </div>
  2443. <div class="inline_block" style="flex: 1">
  2444. 并发症:
  2445. <div
  2446. class="under_line"
  2447. style="width: 170px; text-align: center"
  2448. >
  2449. {{
  2450. afterdialysis.complication
  2451. ? afterdialysis.complication
  2452. : "/"
  2453. }}
  2454. </div>
  2455. </div>
  2456. </div>
  2457. <div
  2458. class="row"
  2459. style="padding: 2px 0; line-height: 23px; display: flex"
  2460. v-if="org_id == 10223"
  2461. >
  2462. <div class="inline_block" style="flex: 1">
  2463. 穿刺处血肿:
  2464. <div
  2465. class="under_line"
  2466. style="width: 50px; text-align: center"
  2467. >
  2468. <span v-if="afterdialysis.puncture_point_haematoma == 0"
  2469. >/</span
  2470. >
  2471. <span v-if="afterdialysis.puncture_point_haematoma == 1"
  2472. >有</span
  2473. >
  2474. <span v-if="afterdialysis.puncture_point_haematoma == 2"
  2475. >无</span
  2476. >
  2477. </div>
  2478. </div>
  2479. <div class="inline_block" style="flex: 1">
  2480. 中心静脉封管(肝素-A端):
  2481. <div
  2482. class="under_line"
  2483. style="width: 70px; text-align: center"
  2484. >
  2485. {{ afterdialysis.cvc_a ? afterdialysis.cvc_a : "/" }}
  2486. </div>
  2487. </div>
  2488. <div class="inline_block" style="flex: 1">
  2489. 中心静脉封管(肝素-V端):
  2490. <div
  2491. class="under_line"
  2492. style="width: 70px; text-align: center"
  2493. >
  2494. {{ afterdialysis.cvc_v ? afterdialysis.cvc_v : "/" }}
  2495. </div>
  2496. </div>
  2497. </div>
  2498. <div
  2499. v-if="org_id == 10440 || org_id == 0"
  2500. class="row"
  2501. style="padding: 2px 0; line-height: 23px; display: flex"
  2502. >
  2503. <div
  2504. class="inline_block"
  2505. style="flex: 1; display: inline-block"
  2506. >
  2507. 衣物重:
  2508. <div
  2509. class="under_line"
  2510. style="
  2511. width: 100px;
  2512. line-height: 25px;
  2513. text-align: left;
  2514. margin-left: 2px;
  2515. display: inline-block;
  2516. white-space: normal;
  2517. "
  2518. >
  2519. {{
  2520. afterdialysis.additional_weight
  2521. ? afterdialysis.additional_weight
  2522. : "/"
  2523. }}
  2524. </div>
  2525. </div>
  2526. </div>
  2527. <div
  2528. class="row"
  2529. style="padding: 2px 0; line-height: 23px; display: flex"
  2530. >
  2531. <div
  2532. class="inline_block"
  2533. style="flex: 1; display: inline-block"
  2534. >
  2535. 治疗小结:
  2536. <div
  2537. class="under_line"
  2538. style="
  2539. width: 860px;
  2540. line-height: 25px;
  2541. text-align: left;
  2542. margin-left: 2px;
  2543. display: inline-block;
  2544. white-space: normal;
  2545. "
  2546. >
  2547. {{
  2548. summary.dialysis_summary
  2549. ? summary.dialysis_summary
  2550. : "/"
  2551. }}
  2552. </div>
  2553. </div>
  2554. </div>
  2555. <div
  2556. class="row"
  2557. style="padding: 2px 0; line-height: 23px; display: flex"
  2558. >
  2559. <div
  2560. class="inline_block"
  2561. style="flex: 1; display: inline-block"
  2562. >
  2563. 宣教知识:
  2564. <div
  2565. class="under_line"
  2566. style="
  2567. width: 860px;
  2568. line-height: 25px;
  2569. text-align: left;
  2570. margin-left: 2px;
  2571. display: inline-block;
  2572. white-space: normal;
  2573. "
  2574. >
  2575. {{
  2576. summary.mission
  2577. ? summary.mission
  2578. : "/"
  2579. }}
  2580. </div>
  2581. </div>
  2582. </div>
  2583. <div
  2584. class="row"
  2585. style="padding: 2px 0; line-height: 23px; display: flex"
  2586. v-if="org_id != 10223&&org_id!=9538&&org_id!=9675"
  2587. >
  2588. <div
  2589. class="inline_block"
  2590. style="flex: 1; display: inline-block"
  2591. v-if="org_id!=9675 && org_id!=10447"
  2592. >
  2593. 备注:
  2594. <div
  2595. class="under_line"
  2596. style="
  2597. width: 860px;
  2598. line-height: 25px;
  2599. text-align: left;
  2600. margin-left: 2px;
  2601. display: inline-block;
  2602. white-space: normal;
  2603. "
  2604. >
  2605. {{ afterdialysis.remark ? afterdialysis.remark : "/" }}
  2606. </div>
  2607. </div>
  2608. </div>
  2609. <div
  2610. class="row"
  2611. style="padding: 2px 0; line-height: 23px; display: flex"
  2612. v-if="org_id == 9538||org_id == 9675"
  2613. >
  2614. <div
  2615. class="inline_block"
  2616. style="flex: 1; display: inline-block"
  2617. >
  2618. 中心静脉导管封管:A端<div
  2619. class="under_line"
  2620. style="
  2621. width: 60px;
  2622. line-height: 25px;
  2623. text-align: center;
  2624. margin-left: 2px;
  2625. display: inline-block;
  2626. white-space: normal;
  2627. "
  2628. >
  2629. {{ lastafterdialysis.cvc_a ? lastafterdialysis.cvc_a : "/" }}
  2630. </div>ml,V端<div
  2631. class="under_line"
  2632. style="
  2633. width: 60px;
  2634. line-height: 25px;
  2635. text-align: center;
  2636. margin-left: 2px;
  2637. display: inline-block;
  2638. white-space: normal;
  2639. "
  2640. >
  2641. {{ lastafterdialysis.cvc_v ? lastafterdialysis.cvc_v : "/" }}
  2642. </div>ml
  2643. </div>
  2644. </div>
  2645. </td>
  2646. </tr>
  2647. <tr>
  2648. <td colspan="7">
  2649. <div
  2650. class="row"
  2651. style="padding: 2px 0; line-height: 23px; display: flex"
  2652. >
  2653. <div v-if="org_id == 0 || org_id == 10440">
  2654. <div class="inline_block" style="flex: 1">
  2655. 上机护士:
  2656. <div
  2657. class="under_line"
  2658. style="width: 80px; text-align: center"
  2659. >
  2660. <span
  2661. style="height: 30px; display: inline-block"
  2662. v-if="
  2663. setAdminUserES(
  2664. dialysisOrder == null
  2665. ? 0
  2666. : dialysisOrder.start_nurse
  2667. ) == ''
  2668. "
  2669. >
  2670. {{
  2671. getAdminUser(
  2672. dialysisOrder == null
  2673. ? 0
  2674. : dialysisOrder.start_nurse
  2675. )
  2676. }}</span
  2677. >
  2678. <img
  2679. style="height: 40px"
  2680. :src="
  2681. setAdminUserES(
  2682. dialysisOrder == null
  2683. ? 0
  2684. : dialysisOrder.start_nurse
  2685. )
  2686. "
  2687. alt=""
  2688. srcset=""
  2689. v-else
  2690. />
  2691. </div>
  2692. </div>
  2693. </div>
  2694. <div v-if="org_id!=0 && org_id!=10440">
  2695. <div class="inline_block" style="flex: 1">
  2696. 穿刺护士:
  2697. <div
  2698. class="under_line"
  2699. style="width: 80px; text-align: center"
  2700. >
  2701. <span
  2702. style="height: 30px; display: inline-block"
  2703. v-if="
  2704. setAdminUserES(
  2705. dialysisOrder == null
  2706. ? 0
  2707. : dialysisOrder.puncture_nurse
  2708. ) == ''
  2709. "
  2710. >
  2711. {{
  2712. getAdminUser(
  2713. dialysisOrder == null
  2714. ? 0
  2715. : dialysisOrder.puncture_nurse
  2716. )
  2717. }}</span
  2718. >
  2719. <img
  2720. style="height: 40px"
  2721. :src="
  2722. setAdminUserES(
  2723. dialysisOrder == null
  2724. ? 0
  2725. : dialysisOrder.puncture_nurse
  2726. )
  2727. "
  2728. alt=""
  2729. srcset=""
  2730. v-else
  2731. />
  2732. </div>
  2733. </div>
  2734. </div>
  2735. <div v-if="org_id==0||org_id==10440">
  2736. <div class="inline_block" style="flex: 1">
  2737. <div>
  2738. <span>责任护士:</span>
  2739. <div
  2740. class="under_line"
  2741. style="width: 80px; text-align: center"
  2742. >
  2743. <span
  2744. style="height: 40px; display: inline-block"
  2745. v-if="
  2746. setAdminUserES(
  2747. dialysisOrder == null
  2748. ? 0
  2749. : dialysisOrder.start_nurse
  2750. ) == ''
  2751. "
  2752. >
  2753. {{
  2754. getAdminUser(
  2755. dialysisOrder == null
  2756. ? 0
  2757. : dialysisOrder.start_nurse
  2758. )
  2759. }}</span
  2760. >
  2761. <img
  2762. style="height: 40px"
  2763. :src="
  2764. setAdminUserES(
  2765. dialysisOrder == null
  2766. ? 0
  2767. : dialysisOrder.start_nurse
  2768. )
  2769. "
  2770. alt=""
  2771. srcset=""
  2772. v-else
  2773. />
  2774. </div>
  2775. </div>
  2776. </div>
  2777. </div>
  2778. <div v-if="org_id!=0&&org_id!=10440">
  2779. <div class="inline_block" style="flex: 1">
  2780. <span v-if="org_id==10414">责任护士:</span>
  2781. <span v-else>治疗护士:</span>
  2782. <div
  2783. class="under_line"
  2784. style="width: 80px; text-align: center"
  2785. >
  2786. <span
  2787. style="height: 30px; display: inline-block"
  2788. v-if="
  2789. setAdminUserES(
  2790. dialysisOrder == null
  2791. ? 0
  2792. : dialysisOrder.start_nurse
  2793. ) == ''
  2794. "
  2795. >
  2796. {{
  2797. getAdminUser(
  2798. dialysisOrder == null
  2799. ? 0
  2800. : dialysisOrder.start_nurse
  2801. )
  2802. }}</span
  2803. >
  2804. <img
  2805. style="height: 40px"
  2806. :src="
  2807. setAdminUserES(
  2808. dialysisOrder == null
  2809. ? 0
  2810. : dialysisOrder.start_nurse
  2811. )
  2812. "
  2813. alt=""
  2814. srcset=""
  2815. v-else
  2816. />
  2817. </div>
  2818. </div>
  2819. </div>
  2820. <div class="inline_block" style="flex: 1">
  2821. <span v-if="org_id==10387" >核对护士:</span>
  2822. <span v-else >核对人员:</span>
  2823. <div
  2824. class="under_line"
  2825. style="width: 80px; text-align: center"
  2826. v-if="dialysisOrder == null"
  2827. >
  2828. <span
  2829. style="height: 30px; display: inline-block"
  2830. v-if="
  2831. setAdminUserES(check == null ? 0 : check.creater) ==
  2832. ''
  2833. "
  2834. >
  2835. {{ getAdminUser(check == null ? 0 : check.creater) }}
  2836. </span>
  2837. <img
  2838. style="height: 40px"
  2839. :src="
  2840. setAdminUserES(check == null ? 0 : check.creater)
  2841. "
  2842. alt=""
  2843. srcset=""
  2844. v-else
  2845. />
  2846. </div>
  2847. <div
  2848. class="under_line"
  2849. style="width: 80px; text-align: center"
  2850. v-if="
  2851. dialysisOrder != null &&
  2852. dialysisOrder.start_nurse == check.modifier
  2853. "
  2854. >
  2855. <span
  2856. style="height: 30px; display: inline-block"
  2857. v-if="
  2858. setAdminUserES(check == null ? 0 : check.creater) ==
  2859. ''
  2860. "
  2861. >
  2862. {{ getAdminUser(check == null ? 0 : check.creater) }}
  2863. </span>
  2864. <img
  2865. style="height: 40px"
  2866. :src="
  2867. setAdminUserES(check == null ? 0 : check.creater)
  2868. "
  2869. alt=""
  2870. srcset=""
  2871. v-else
  2872. />
  2873. </div>
  2874. <div
  2875. class="under_line"
  2876. style="width: 80px; text-align: center"
  2877. v-if="
  2878. dialysisOrder != null &&
  2879. dialysisOrder.start_nurse == check.creater
  2880. "
  2881. >
  2882. <span
  2883. style="height: 30px; display: inline-block"
  2884. v-if="
  2885. setAdminUserES(
  2886. check == null ? 0 : check.modifier
  2887. ) == ''
  2888. "
  2889. >
  2890. {{ getAdminUser(check == null ? 0 : check.modifier) }}
  2891. </span>
  2892. <img
  2893. style="height: 40px"
  2894. :src="
  2895. setAdminUserES(check == null ? 0 : check.modifier)
  2896. "
  2897. alt=""
  2898. srcset=""
  2899. v-else
  2900. />
  2901. </div>
  2902. <div
  2903. class="under_line"
  2904. style="width: 80px; text-align: center"
  2905. v-if="
  2906. dialysisOrder != null &&
  2907. dialysisOrder.start_nurse != check.creater &&
  2908. dialysisOrder.start_nurse != check.modifier
  2909. "
  2910. >
  2911. <span
  2912. style="height: 30px; display: inline-block"
  2913. v-if="
  2914. setAdminUserES(check == null ? 0 : check.creater) ==
  2915. ''
  2916. "
  2917. >
  2918. {{ getAdminUser(check == null ? 0 : check.creater) }}
  2919. </span>
  2920. <img
  2921. style="height: 40px"
  2922. :src="
  2923. setAdminUserES(check == null ? 0 : check.creater)
  2924. "
  2925. alt=""
  2926. srcset=""
  2927. v-else
  2928. />
  2929. </div>
  2930. </div>
  2931. <div class="inline_block" style="flex: 1">
  2932. 下机护士:
  2933. <div
  2934. class="under_line"
  2935. style="width: 80px; text-align: center"
  2936. >
  2937. <span
  2938. style="height: 30px; display: inline-block"
  2939. v-if="
  2940. setAdminUserES(
  2941. dialysisOrder == null
  2942. ? 0
  2943. : dialysisOrder.finish_nurse
  2944. ) == ''
  2945. "
  2946. >
  2947. {{
  2948. getAdminUser(
  2949. dialysisOrder == null
  2950. ? 0
  2951. : dialysisOrder.finish_nurse
  2952. )
  2953. }}
  2954. </span>
  2955. <img
  2956. style="height: 40px"
  2957. :src="
  2958. setAdminUserES(
  2959. dialysisOrder == null
  2960. ? 0
  2961. : dialysisOrder.finish_nurse
  2962. )
  2963. "
  2964. alt=""
  2965. srcset=""
  2966. v-else
  2967. />
  2968. </div>
  2969. </div>
  2970. <div class="inline_block" style="flex: 1">
  2971. 治疗医生:
  2972. <div
  2973. class="under_line"
  2974. style="width: 80px; text-align: center"
  2975. >
  2976. <span
  2977. style="height: 30px; display: inline-block"
  2978. v-if="setAdminUserES(doctor_advices[0].advice_doctor) == ''"
  2979. >
  2980. {{ getAdminUser(doctor_advices[0].advice_doctor) }}
  2981. </span>
  2982. <img
  2983. style="height: 40px"
  2984. :src="setAdminUserES(doctor_advices[0].advice_doctor)"
  2985. alt=""
  2986. srcset=""
  2987. v-else
  2988. />
  2989. </div>
  2990. </div>
  2991. </div>
  2992. </td>
  2993. </tr>
  2994. </tbody>
  2995. </table>
  2996. <!-- <div class="print-yema">1</div> -->
  2997. </div>
  2998. </div>
  2999. </div>
  3000. </div>
  3001. </template>
  3002. <script>
  3003. import CheckBox from "../batch_print/option_check_box";
  3004. import { getDialysisRecord } from "@/api/dialysis";
  3005. import { getDataConfig } from "@/utils/data";
  3006. import { jsGetAge, uParseTime } from "@/utils/tools";
  3007. import LabelBox from "../printItem/LabelBox";
  3008. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  3009. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  3010. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  3011. import print from "print-js";
  3012. export default {
  3013. name: "dialysisPrintOrderSix",
  3014. props: ["childResponse"],
  3015. components: {
  3016. // DialysisPrintOrderOne,
  3017. // DialysisPrintOrderTwo,
  3018. CheckBox,
  3019. LabelBox,
  3020. BreadCrumb,
  3021. },
  3022. data() {
  3023. return {
  3024. way_arr: [],
  3025. consciousness_arr: [],
  3026. appetite_arr: [],
  3027. posture_arr: [],
  3028. sick_condition_arr: [],
  3029. precaution_arr: [],
  3030. intake_arr: [],
  3031. nutrition_arr: [],
  3032. crumbs: [
  3033. { path: false, name: "透析管理" },
  3034. { path: false, name: "打印单" },
  3035. ],
  3036. operators: [],
  3037. adminUser: [],
  3038. check: {},
  3039. xtdate: "",
  3040. dialysisOrder: {
  3041. DeviceNumber: [],
  3042. },
  3043. displaceLiquiPartOptions: [],
  3044. operatorMaps: {},
  3045. complications: [
  3046. "低血压",
  3047. "高血压",
  3048. "心律失常",
  3049. "头晕",
  3050. "头痛",
  3051. "呕吐",
  3052. "抽搐",
  3053. "出血",
  3054. "心衰",
  3055. "腹痛",
  3056. ],
  3057. jilurow: 0,
  3058. advice_jilurow: 0,
  3059. loading: false,
  3060. orgname: "",
  3061. patientInfo_gender_1: false,
  3062. patientInfo_gender_2: false,
  3063. patientInfo_source_2: false,
  3064. patientInfo_source_1: false,
  3065. modeOptions: {},
  3066. replacementWays: [],
  3067. perfusionApparatus: [],
  3068. anticoagulantsConfit: {},
  3069. bloodAccessParOpera: {},
  3070. dialysateFormulationOptions: {},
  3071. totollength: 0,
  3072. queryParams: {
  3073. xtdate: "",
  3074. xtno: "",
  3075. patient_id:0,
  3076. },
  3077. patientInfo: {
  3078. birth: "",
  3079. age: "",
  3080. DialysisSchedule: {
  3081. device_number: { number: "" },
  3082. device_zone: { name: "" },
  3083. },
  3084. gender: 0,
  3085. },
  3086. predialysis: {
  3087. score: "",
  3088. internal_fistula: "",
  3089. internal_fistula_skin: "",
  3090. catheter: "",
  3091. blood_access_part_opera_name: "",
  3092. },
  3093. afterdialysis: {
  3094. complications_index: "",
  3095. },
  3096. lastafterdialysis: {},
  3097. prescription: {
  3098. dialysate_formulation_name: "",
  3099. device: {},
  3100. },
  3101. advices: [],
  3102. users: [],
  3103. monitors: [],
  3104. monitors2: [],
  3105. summary: {},
  3106. receiverTreatmentAccess: {},
  3107. org_template_info: {},
  3108. doctor_advices: [],
  3109. doctor_advices_2: [],
  3110. advice_groups: [],
  3111. advice_groups_2: [],
  3112. print_length: 0,
  3113. blood_access_part: [],
  3114. blood_access_part_opera: [],
  3115. AlPanel: {
  3116. id: 0,
  3117. name: "",
  3118. type: 1,
  3119. shouji: 2,
  3120. weichi: 2,
  3121. zongliang: 2,
  3122. gaimingcheng: -1,
  3123. gaijiliang: -1,
  3124. shouji_unit: "mg",
  3125. weichi_unit: "mg/h",
  3126. zongliang_unit: "mg",
  3127. gaimingcheng_unit: "",
  3128. gaijiliang_unit: "",
  3129. },
  3130. org_id: 0,
  3131. };
  3132. },
  3133. methods: {
  3134. // 获取当前年份,用于年龄计算
  3135. getoldAge() {
  3136. let date = new Date();
  3137. let year = date.getFullYear();
  3138. let year_d =
  3139. this.xtdate.split("-")[0] - this.patientInfo.birth.split("-")[0];
  3140. let year_m = this.xtdate.split("-")[1];
  3141. let birth_m = this.patientInfo.birth.split("-")[1];
  3142. let year_date = this.xtdate.split("-")[2];
  3143. let birth_date = this.patientInfo.birth.split("-")[2];
  3144. // console.log(year,'今年年月')
  3145. // console.log(this.xtdate.split('-'),'病人就诊年月')
  3146. console.log(this.patientInfo.birth, "病人生日");
  3147. // console.log(year_d,'year_d')
  3148. if (year_m < birth_m) {
  3149. return year_d - 1;
  3150. } else if (year_m == birth_m) {
  3151. if (year_date < birth_date) {
  3152. return year_d - 1;
  3153. } else {
  3154. return year_d;
  3155. }
  3156. } else {
  3157. return year_d;
  3158. }
  3159. },
  3160. checkData() {
  3161. if (this.receiverTreatmentAccess.way == 0) {
  3162. this.$message.error("入科方式未填");
  3163. } else if (this.predialysis.symptom_before_dialysis == "") {
  3164. this.$message.error("透前症状未填");
  3165. } else if (this.predialysis.temperature == "") {
  3166. this.$message.error("透前体温未填");
  3167. } else if (this.predialysis.pulse_frequency == "") {
  3168. this.$message.error("透前脉搏未填");
  3169. } else if (this.predialysis.breathing_rate == "") {
  3170. this.$message.error("透前呼吸频率未填");
  3171. } else if (
  3172. this.predialysis.systolic_blood_pressure == 0 ||
  3173. this.predialysis.diastolic_blood_pressure == 0
  3174. ) {
  3175. this.$message.error("透前血压未填完整");
  3176. } else if (this.predialysis.puncture_way == "") {
  3177. this.$message.error("穿刺方式未填");
  3178. } else if (this.predialysis.puncture_needle == "") {
  3179. this.$message.error("穿刺针未填");
  3180. } else if (
  3181. this.predialysis.blood_access_part_id == "" &&
  3182. this.predialysis.blood_access_part_opera_name == ""
  3183. ) {
  3184. this.$message.error("血管通路未填");
  3185. } else if (this.predialysis.internal_fistula == "") {
  3186. this.$message.error("透前内瘘未填");
  3187. } else if (this.predialysis.catheter == "") {
  3188. this.$message.error("透前导管未填");
  3189. } else if (this.prescription.mode_id == "") {
  3190. this.$message.error("透析方式未填");
  3191. } else if (
  3192. this.prescription.displace_liqui_part == 0 &&
  3193. this.prescription.mode_id == 2
  3194. ) {
  3195. this.$message.error("置换方式未填");
  3196. } else if (
  3197. this.prescription.displace_liqui_value == 0 &&
  3198. this.prescription.mode_id == 2
  3199. ) {
  3200. this.$message.error("置换量未填");
  3201. } else if (this.prescription.blood_flow_volume == 0) {
  3202. this.$message.error("血流量未填");
  3203. } else if (
  3204. this.prescription.dialysis_duration_hour == 0 &&
  3205. this.prescription.dialysis_duration_minute == 0
  3206. ) {
  3207. this.$message.error("透析时间未填");
  3208. } else if (
  3209. this.prescription.dialyzer_perfusion_apparatus == "" &&
  3210. this.prescription.dialysis_dialyszers == ""
  3211. ) {
  3212. this.$message.error("透析器未填");
  3213. } else if (this.prescription.dialysis_irrigation == "") {
  3214. this.$message.error("灌流器未填");
  3215. } else if (
  3216. this.prescription.plasma_separator == "" &&
  3217. this.org_id == 9538
  3218. ) {
  3219. this.$message.error("血浆分离器未填");
  3220. } else if (
  3221. this.prescription.bilirubin_adsorption_column == "" &&
  3222. this.org_id == 9538
  3223. ) {
  3224. this.$message.error("胆红素吸附柱未填");
  3225. } else if (this.predialysis.weight_before == 0) {
  3226. this.$message.error("透前体重未填");
  3227. } else if (this.predialysis.dry_weight == 0) {
  3228. this.$message.error("干体重未填");
  3229. } else if (this.prescription.target_ultrafiltration == 0) {
  3230. this.$message.error("计划超滤量未填");
  3231. } else if (this.prescription.calcium == 0) {
  3232. this.$message.error("钙未填");
  3233. } else if (this.prescription.sodium == 0) {
  3234. this.$message.error("钠未填");
  3235. } else if (this.prescription.kalium == 0) {
  3236. this.$message.error("钾未填");
  3237. } else if (this.prescription.bicarbonate == 0) {
  3238. this.$message.error("碳酸氢根未填");
  3239. } else if (this.prescription.dialysate_flow == 0) {
  3240. this.$message.error("透析液流量未填");
  3241. } else if (this.prescription.anticoagulant == 0) {
  3242. this.$message.error("抗凝剂未填");
  3243. } else if (
  3244. this.prescription.anticoagulant_gaimingcheng == "" &&
  3245. this.prescription.anticoagulant == 5
  3246. ) {
  3247. this.$message.error("钙名称未填");
  3248. } else if (
  3249. this.prescription.anticoagulant_gaijiliang == "" &&
  3250. this.prescription.anticoagulant == 5
  3251. ) {
  3252. this.$message.error("钙剂量未填");
  3253. } else if (this.afterdialysis.temperature == 0) {
  3254. this.$message.error("透后体温未填");
  3255. } else if (this.afterdialysis.pulse_frequency == 0) {
  3256. this.$message.error("透后脉搏未填");
  3257. } else if (this.afterdialysis.breathing_rate == 0) {
  3258. this.$message.error("透后呼吸频率未填");
  3259. } else if (
  3260. this.afterdialysis.systolic_blood_pressure == 0 ||
  3261. this.afterdialysis.diastolic_blood_pressure == 0
  3262. ) {
  3263. this.$message.error("透后血压未填完整");
  3264. } else if (
  3265. this.afterdialysis.actual_treatment_hour == 0 &&
  3266. this.afterdialysis.actual_treatment_minute == 0
  3267. ) {
  3268. this.$message.error("实际治疗时间未填");
  3269. } else if (this.afterdialysis.cruor == "") {
  3270. this.$message.error("透析器凝血未填");
  3271. } else if (this.afterdialysis.internal_fistula == "") {
  3272. this.$message.error("透后内瘘未填");
  3273. } else if (this.afterdialysis.catheter == "") {
  3274. this.$message.error("透后导管未填");
  3275. } else if (this.afterdialysis.weight_after == 0) {
  3276. this.$message.error("透后体重未填");
  3277. } else if (this.afterdialysis.weight_loss == 0) {
  3278. this.$message.error("透后体重减少未填");
  3279. } else if (this.afterdialysis.dialysis_intakes == 0) {
  3280. this.$message.error("透析中入量未填");
  3281. } else if (this.afterdialysis.actual_ultrafiltration == 0) {
  3282. this.$message.error("实际超滤量未填");
  3283. } else if (this.summary.dialysis_summary == "") {
  3284. this.$message.error("透析小结未填");
  3285. } else if (
  3286. this.dialysisOrder == null ||
  3287. this.dialysisOrder.puncture_nurse == 0
  3288. ) {
  3289. this.$message.error("穿刺护士未填");
  3290. } else if (
  3291. this.dialysisOrder == null ||
  3292. this.dialysisOrder.start_nurse == 0
  3293. ) {
  3294. this.$message.error("治疗护士未填");
  3295. } else if (this.dialysisOrder == null && this.check.creater == 0) {
  3296. this.$message.error("核对人员未填");
  3297. } else if (
  3298. this.dialysisOrder != null &&
  3299. this.dialysisOrder.start_nurse == this.check.modifier &&
  3300. this.check.creater == 0
  3301. ) {
  3302. this.$message.error("核对人员未填");
  3303. } else if (
  3304. this.dialysisOrder != null &&
  3305. this.dialysisOrder.start_nurse == this.check.creater &&
  3306. this.check.modifier == 0
  3307. ) {
  3308. this.$message.error("核对人员未填");
  3309. } else if (
  3310. this.dialysisOrder != null &&
  3311. this.dialysisOrder.start_nurse != this.check.creater &&
  3312. this.dialysisOrder.start_nurse != this.check.modifier &&
  3313. this.check.creater == 0
  3314. ) {
  3315. this.$message.error("核对人员未填");
  3316. } else if (
  3317. this.dialysisOrder == null ||
  3318. this.dialysisOrder.finish_nurse == 0
  3319. ) {
  3320. this.$message.error("下机护士未填");
  3321. } else if (this.prescription.creater == 0) {
  3322. this.$message.error("医生签名未填");
  3323. } else if (this.tableAdvice.length > 0) {
  3324. let num = 0;
  3325. this.tableAdvice.map((item) => {
  3326. if (item.id > 0 && (item.created_time || item.start_time)) {
  3327. this.users.map((it) => {
  3328. if (it.id == item.advice_doctor) {
  3329. if (it.user_type == 3) {
  3330. num++;
  3331. this.$message.closeAll();
  3332. this.$message.error("存在不是医生保存的医嘱");
  3333. } else if (
  3334. it.id == item.execution_staff &&
  3335. item.execution_staff > 0
  3336. ) {
  3337. if (it.user_type == 2) {
  3338. num++;
  3339. this.$message.closeAll();
  3340. this.$message.error("存在不是护士执行的医嘱");
  3341. }
  3342. } else if (it.id == item.checker && item.checker > 0) {
  3343. if (it.user_type == 2) {
  3344. num++;
  3345. this.$message.closeAll();
  3346. this.$message.error("存在不是护士核对的医嘱");
  3347. }
  3348. }
  3349. } else if (
  3350. it.id == item.execution_staff &&
  3351. item.execution_staff > 0
  3352. ) {
  3353. if (it.user_type == 2) {
  3354. num++;
  3355. this.$message.closeAll();
  3356. this.$message.error("存在不是护士执行的医嘱");
  3357. }
  3358. } else if (it.id == item.checker && item.checker > 0) {
  3359. if (it.user_type == 2) {
  3360. num++;
  3361. this.$message.closeAll();
  3362. this.$message.error("存在不是护士核对的医嘱");
  3363. }
  3364. }
  3365. });
  3366. }
  3367. });
  3368. if (num == 0) {
  3369. this.$message.success("核对完成");
  3370. }
  3371. } else {
  3372. this.$message.success("核对完成");
  3373. }
  3374. },
  3375. getDisplaceLiquiPart: function (val) {
  3376. let displace_liqui_part_name = "/";
  3377. const displace_liqui_part = this.displaceLiquiPartOptions;
  3378. for (let i = 0; i < displace_liqui_part.length; i++) {
  3379. if (displace_liqui_part[i].id == val) {
  3380. displace_liqui_part_name = displace_liqui_part[i].name;
  3381. }
  3382. }
  3383. return displace_liqui_part_name;
  3384. },
  3385. replacementWaysById: function (val) {
  3386. let replacementWaysname = "/";
  3387. // let vascular_access = getDataConfig('hemodialysis', 'vascular_access')
  3388. for (let i = 0; i < this.replacementWays.length; i++) {
  3389. if (this.replacementWays[i].id == val) {
  3390. replacementWaysname = this.replacementWays[i].name;
  3391. }
  3392. }
  3393. return replacementWaysname;
  3394. },
  3395. QueryPartById: function (val) {
  3396. let vascular_access_part_name = "/";
  3397. const vascular_access = getDataConfig("hemodialysis", "vascular_access");
  3398. for (let i = 0; i < vascular_access.length; i++) {
  3399. if (vascular_access[i].id == val) {
  3400. vascular_access_part_name = vascular_access[i].name;
  3401. }
  3402. }
  3403. return vascular_access_part_name;
  3404. },
  3405. getAdminUser(id) {
  3406. if (id == 0) {
  3407. return "";
  3408. }
  3409. if (id == undefined) {
  3410. return "";
  3411. }
  3412. for (let i = 0; i < this.adminUser.length; i++) {
  3413. if (this.adminUser[i].id == id) {
  3414. return this.adminUser[i].name;
  3415. }
  3416. }
  3417. },
  3418. getTime(value, temp) {
  3419. if (value == 0) {
  3420. return "";
  3421. }
  3422. if (value != undefined) {
  3423. return uParseTime(value, temp);
  3424. }
  3425. return "";
  3426. },
  3427. getUnit: function (val) {
  3428. switch (val) {
  3429. case 1:
  3430. return "g";
  3431. break;
  3432. case 2:
  3433. return "ml";
  3434. break;
  3435. }
  3436. },
  3437. printThisPage() {
  3438. var ptime = Math.round(new Date().getTime() / 1000);
  3439. this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
  3440. const style =
  3441. '@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;}';
  3442. if (this.org_template_info.template_id == 1) {
  3443. printJS({
  3444. printable: "dialysis-print-box",
  3445. type: "html",
  3446. style: style,
  3447. scanStyles: false,
  3448. });
  3449. } else if (
  3450. this.org_template_info.template_id == 2 ||
  3451. this.org_template_info.template_id == 0
  3452. ) {
  3453. printJS({
  3454. printable: "dialysis-print-box-1",
  3455. type: "html",
  3456. style: style,
  3457. scanStyles: false,
  3458. });
  3459. }
  3460. },
  3461. getNumber() {
  3462. if (this.dialysisOrder != null) {
  3463. return (
  3464. this.patientInfo.DialysisSchedule.device_zone.name +
  3465. this.dialysisOrder.DeviceNumber.number
  3466. );
  3467. } else {
  3468. return (
  3469. this.patientInfo.DialysisSchedule.device_zone.name +
  3470. this.patientInfo.DialysisSchedule.device_number.number
  3471. );
  3472. }
  3473. },
  3474. getXuserName(id) {
  3475. if (id <= 0) {
  3476. return "";
  3477. }
  3478. var name = "";
  3479. if (this.users == null || typeof this.users.length === "undefined") {
  3480. return name;
  3481. }
  3482. var leng = this.users.length;
  3483. if (leng == 0) {
  3484. return name;
  3485. }
  3486. for (let index = 0; index < leng; index++) {
  3487. if (this.users[index].id == id) {
  3488. name = this.users[index].name;
  3489. break;
  3490. }
  3491. }
  3492. return name;
  3493. },
  3494. setAdminUserES(id) {
  3495. if (id == 0) {
  3496. return "";
  3497. }
  3498. if (id in this.operatorMaps) {
  3499. return this.operatorMaps[id].url;
  3500. } else {
  3501. return "";
  3502. }
  3503. },
  3504. modeName(mode_id) {
  3505. return typeof this.modeOptions[mode_id] !== "undefined" &&
  3506. typeof this.modeOptions[mode_id].name !== "undefined"
  3507. ? this.modeOptions[mode_id].name
  3508. : "";
  3509. },
  3510. getDialysisRecord() {
  3511. this.loading = true;
  3512. // getDialysisRecord(this.queryParams).then(response => {
  3513. var response = this.childResponse;
  3514. if (response.data.state == 1) {
  3515. this.adminUser = response.data.data.users;
  3516. this.users = response.data.data.users;
  3517. this.patientInfo = response.data.data.patientInfo;
  3518. this.patientInfo.birth = uParseTime(
  3519. this.patientInfo.birthday,
  3520. "{y}-{m}-{d}"
  3521. );
  3522. // console.log(this.patientInfo.birth,'测试生日')
  3523. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  3524. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  3525. this.patientInfo.first_dialysis_date = uParseTime(
  3526. response.data.data.patientInfo.first_dialysis_date,
  3527. "{y}-{m}-{d}"
  3528. );
  3529. } else {
  3530. this.patientInfo.first_dialysis_date = "";
  3531. }
  3532. this.check = response.data.data.check;
  3533. this.xtdate = response.data.data.xtdate;
  3534. this.predialysis = response.data.data.PredialysisEvaluation;
  3535. // console.log('透前评估', this.predialysis)
  3536. this.predialysis.blood_access_part_opera_name =
  3537. this.bloodAccessParOperaName(
  3538. this.predialysis.blood_access_part_opera_id
  3539. );
  3540. this.afterdialysis = response.data.data.AssessmentAfterDislysis;
  3541. // console.log('透后体重', this.afterdialysis)
  3542. this.lastafterdialysis = response.data.data.assessmentAfterDislysis;
  3543. // console.log("上次透后体重", this.lastafterdialysis.weight_after);
  3544. this.operators = response.data.data.operators;
  3545. // console.log("operators", this.operators);
  3546. this.dialysisOrder =
  3547. response.data.data.dialysisOrder === null
  3548. ? null
  3549. : response.data.data.dialysisOrder;
  3550. // console.log("上机233232323232", this.dialysisOrder);
  3551. if (this.operators.length > 0) {
  3552. var operatorsLen = this.operators.length;
  3553. for (var index = 0; index < operatorsLen; index++) {
  3554. this.$set(
  3555. this.operatorMaps,
  3556. this.operators[index].creator,
  3557. this.operators[index]
  3558. );
  3559. }
  3560. }
  3561. this.afterdialysis.txqnx = -1;
  3562. if (this.afterdialysis.cruor.indexOf("0度") > -1) {
  3563. this.afterdialysis.txqnx = 0;
  3564. }
  3565. if (this.afterdialysis.cruor.indexOf("Ⅰ度") > -1) {
  3566. this.afterdialysis.txqnx = 1;
  3567. }
  3568. if (this.afterdialysis.cruor.indexOf("Ⅱ度") > -1) {
  3569. this.afterdialysis.txqnx = 2;
  3570. }
  3571. if (this.afterdialysis.cruor.indexOf("Ⅲ度") > -1) {
  3572. this.afterdialysis.txqnx = 3;
  3573. }
  3574. this.afterdialysis.complications =
  3575. this.afterdialysis.complication.split(",");
  3576. this.afterdialysis.complications_other = [];
  3577. this.afterdialysis.complications_index = [];
  3578. var acllen = this.afterdialysis.complications.length;
  3579. for (let index = 0; index < acllen; index++) {
  3580. if (
  3581. this.complications.indexOf(
  3582. this.afterdialysis.complications[index]
  3583. ) >= 0
  3584. ) {
  3585. this.afterdialysis.complications_index.push(
  3586. this.afterdialysis.complications[index]
  3587. );
  3588. } else if (
  3589. this.complications.indexOf(
  3590. this.afterdialysis.complications[index]
  3591. ) < 0 &&
  3592. this.afterdialysis.complications_other.indexOf(
  3593. this.afterdialysis.complications[index]
  3594. ) < 0
  3595. ) {
  3596. this.afterdialysis.complications_other.push(
  3597. this.afterdialysis.complications[index]
  3598. );
  3599. }
  3600. }
  3601. this.afterdialysis.complications_other =
  3602. this.afterdialysis.complications_other.join(",");
  3603. this.prescription = response.data.data.dialysisPrescription;
  3604. // console.log("透析处方", this.prescription);
  3605. this.receiverTreatmentAccess =
  3606. response.data.data.receiverTreatmentAccess;
  3607. this.prescription.mode = this.modeName(this.prescription.mode_id);
  3608. var rwLen = this.replacementWays.length;
  3609. this.prescription.replacement = "";
  3610. for (let index = 0; index < rwLen; index++) {
  3611. if (
  3612. this.replacementWays[index].id == this.prescription.replacement_way
  3613. ) {
  3614. this.prescription.replacement = this.replacementWays[index].name;
  3615. break;
  3616. }
  3617. }
  3618. this.prescription.dialysate_formulation_name =
  3619. this.dialysateFormulationName(
  3620. this.prescription.dialysate_formulation
  3621. );
  3622. var paLen = this.perfusionApparatus.length;
  3623. this.prescription.perfusion_apparatus_name = "";
  3624. for (let index = 0; index < paLen; index++) {
  3625. if (
  3626. this.perfusionApparatus[index].id ==
  3627. this.prescription.perfusion_apparatus
  3628. ) {
  3629. this.prescription.perfusion_apparatus_name =
  3630. this.perfusionApparatus[index].name;
  3631. break;
  3632. }
  3633. }
  3634. var acLen = this.anticoagulantsConfit.length;
  3635. var thisALID = this.prescription.anticoagulant;
  3636. this.prescription.anticoagulant_name = "";
  3637. if (
  3638. typeof this.anticoagulantsConfit[thisALID] !== "undefined" &&
  3639. this.anticoagulantsConfit[thisALID] != null
  3640. ) {
  3641. this.prescription.anticoagulant_name =
  3642. this.anticoagulantsConfit[thisALID].name;
  3643. this.AlPanel = this.anticoagulantsConfit[thisALID];
  3644. }
  3645. this.advices = response.data.data.advices;
  3646. this.tableAdvice = response.data.data.advices;
  3647. // console.log("医嘱数据2222222222", this.advices);
  3648. this.monitors = response.data.data.monitors;
  3649. this.summary = response.data.data.summary;
  3650. this.org_template_info = response.data.data.org_template_info;
  3651. if (this.monitors.length <= 6) {
  3652. var nl = 6;
  3653. this.print_length = 6;
  3654. for (let index = 0; index < nl; index++) {
  3655. if (
  3656. this.monitors[index] == undefined ||
  3657. this.monitors[index].length <= 0
  3658. ) {
  3659. this.monitors2.push([]);
  3660. } else {
  3661. continue;
  3662. }
  3663. }
  3664. }
  3665. var tempmonitorflag = true;
  3666. for (let index = 0; index < this.monitors.length; index++) {
  3667. const monitor = this.monitors[index];
  3668. this.monitors[index].end = "";
  3669. if (Object.keys(monitor).length > 0 && index > 1) {
  3670. if (
  3671. (this.dialysisOrder &&
  3672. monitor.operate_time == this.dialysisOrder.end_time)&&(this.org_id!=10414)
  3673. ) {
  3674. this.monitors[index].end = "【结束透析】";
  3675. tempmonitorflag = false;
  3676. }
  3677. if ((tempmonitorflag && index == this.monitors.length - 1)&&(this.org_id!=10414)) {
  3678. this.monitors[index].end = "【结束透析】";
  3679. }
  3680. }
  3681. }
  3682. this.jilurow = this.monitors.length + 1;
  3683. this.advice_jilurow = this.advices.length + 1;
  3684. var childMap = {};
  3685. for (const index in this.advices) {
  3686. if (this.advices[index].parent_id == 0) {
  3687. continue;
  3688. }
  3689. if (!(this.advices[index].parent_id in childMap)) {
  3690. childMap[this.advices[index].parent_id] = [];
  3691. }
  3692. childMap[this.advices[index].parent_id].push(this.advices[index]);
  3693. }
  3694. var advices = [];
  3695. for (const index in this.advices) {
  3696. if (this.advices[index].parent_id > 0) {
  3697. continue;
  3698. }
  3699. var item = this.advices[index];
  3700. if (item.id in childMap) {
  3701. item.children = childMap[item.id];
  3702. } else {
  3703. item.children = [];
  3704. }
  3705. advices.push(item);
  3706. }
  3707. var leftAdvice = [];
  3708. var rightAdvice = [];
  3709. var adlen = advices.length;
  3710. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
  3711. for (var i = 0; i < halfLen; i++) {
  3712. leftAdvice.push(advices[i]);
  3713. rightAdvice.push(advices[i + halfLen]);
  3714. }
  3715. if (halfLen < 5) {
  3716. var nl = 5 - leftAdvice.length;
  3717. for (let index = 0; index < nl; index++) {
  3718. leftAdvice.push([]);
  3719. }
  3720. var nl = 5 - rightAdvice.length;
  3721. for (let index = 0; index < nl; index++) {
  3722. rightAdvice.push([]);
  3723. }
  3724. }
  3725. this.advices = [];
  3726. for (var i = 0; i < halfLen; i++) {
  3727. var item = [];
  3728. item.push(leftAdvice[i]);
  3729. item.push(rightAdvice[i]);
  3730. this.advices.push(item);
  3731. }
  3732. this.loading = false;
  3733. this.doctor_advices =
  3734. response.data.data.advices == null ? [] : response.data.data.advices;
  3735. for (let index = 0; index < this.doctor_advices.length; index++) {
  3736. this.doctor_advices[index]["isShow"] = 2;
  3737. }
  3738. // if (this.doctor_advices.length > 0) {
  3739. // var group = this.newAdviceGroupObject()
  3740. // var initGroupBlock = function(group, advice) {
  3741. // group.group_no = advice.groupno
  3742. // }
  3743. // for (let index = this.doctor_advices.length - 1; index >= 0; index--) {
  3744. // var new_advice_index = 0
  3745. // if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
  3746. // new_advice_index = index + this.doctor_advices[index].children.length + 1
  3747. // var doctor_advice = {
  3748. // delivery_way: this.doctor_advices[index].delivery_way,
  3749. // execution_frequency: this.doctor_advices[index].execution_frequency,
  3750. // groupno: this.doctor_advices[index].groupno,
  3751. // id: this.doctor_advices[index].id,
  3752. // parent_id: this.doctor_advices[index].parent_id,
  3753. // children: this.doctor_advices[index].children,
  3754. // remark: this.doctor_advices[index].remark,
  3755. // execution_staff: this.doctor_advices[index].execution_staff,
  3756. // checker: this.doctor_advices[index].checker,
  3757. // execution_time: this.doctor_advices[index].execution_time,
  3758. // advice_doctor: this.doctor_advices[index].advice_doctor
  3759. // }
  3760. // doctor_advice['isShow'] = 1
  3761. // this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  3762. // // this.doctor_advices.push(doctor_advice)
  3763. // }
  3764. // }
  3765. // for (let index = 0; index < this.doctor_advices.length; index++) {
  3766. // const advice = this.doctor_advices[index]
  3767. // if (advice.groupno == 0) {
  3768. // // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  3769. // if (advice.parent_id > 0) {
  3770. // if (this.advice_groups.length > 0) {
  3771. // var parent_group = this.advice_groups[
  3772. // this.advice_groups.length - 1
  3773. // ]
  3774. // if (parent_group.advices.length > 0) {
  3775. // if (parent_group.advices[0].id == advice.parent_id) {
  3776. // parent_group.advices.push(advice)
  3777. // }
  3778. // }
  3779. // }
  3780. // continue
  3781. // } else {
  3782. // if (group.group_no > 0) {
  3783. // this.advice_groups.push(group)
  3784. // group = this.newAdviceGroupObject()
  3785. // }
  3786. // initGroupBlock(group, advice)
  3787. // group.advices.push(advice)
  3788. // this.advice_groups.push(group)
  3789. // group = this.newAdviceGroupObject()
  3790. // continue
  3791. // }
  3792. // }
  3793. // if (group.group_no > 0 && group.group_no != advice.groupno) {
  3794. // this.advice_groups.push(group)
  3795. // group = this.newAdviceGroupObject()
  3796. // }
  3797. // if (group.group_no == 0) {
  3798. // initGroupBlock(group, advice)
  3799. // }
  3800. // if (group.group_no == advice.groupno) {
  3801. // group.advices.push(advice)
  3802. // }
  3803. // }
  3804. // if (group.group_no > 0) {
  3805. // // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  3806. // this.advice_groups.push(group)
  3807. // }
  3808. // }
  3809. if (this.doctor_advices.length <= 6) {
  3810. var nl = 6;
  3811. this.print_length = 6;
  3812. for (let index = 0; index < nl; index++) {
  3813. if (
  3814. this.doctor_advices[index] == undefined ||
  3815. this.doctor_advices[index].length <= 0
  3816. ) {
  3817. this.doctor_advices.push([]);
  3818. } else {
  3819. continue;
  3820. }
  3821. }
  3822. }
  3823. this.totollength = this.doctor_advices.length + this.monitors.length;
  3824. console.log("this.totollength",this.totollength)
  3825. if (this.totollength > 18) {
  3826. var temp_advice_length = 17 - this.monitors.length;
  3827. var doctor_advices_1 = [];
  3828. var doctor_advices_2 = [];
  3829. for (let index = 0; index < this.doctor_advices.length; index++) {
  3830. const element = this.doctor_advices[index];
  3831. if (temp_advice_length > index) {
  3832. doctor_advices_1.push(element);
  3833. } else {
  3834. doctor_advices_2.push(element);
  3835. }
  3836. }
  3837. this.doctor_advices = doctor_advices_1;
  3838. this.doctor_advices_2 = doctor_advices_2;
  3839. }
  3840. // console.log(this.advice_groups);
  3841. } else {
  3842. this.loading = false;
  3843. this.$message.error("请求数据失败");
  3844. return false;
  3845. }
  3846. // })
  3847. },
  3848. bloodAccessParOperaName(id) {
  3849. if (id in this.bloodAccessParOpera) {
  3850. return this.bloodAccessParOpera[id].name;
  3851. }
  3852. return "";
  3853. },
  3854. dialysateFormulationName(id) {
  3855. if (id in this.dialysateFormulationOptions) {
  3856. return this.dialysateFormulationOptions[id].name;
  3857. }
  3858. return "";
  3859. },
  3860. // getAge: function (val) {
  3861. // if (
  3862. // this.org_template_info.template_id == 2 ||
  3863. // this.org_template_info.template_id == 0
  3864. // ) {
  3865. // if (val.age == 0) {
  3866. // return jsGetAge(val.birth, "-");
  3867. // } else {
  3868. // return val.age;
  3869. // }
  3870. // } else {
  3871. // return this.getoldAge();
  3872. // }
  3873. // },
  3874. getAge: function(val) {
  3875. if (val.id_card_no) {
  3876. var thisLen = val.id_card_no.length
  3877. var birth = ''
  3878. if (thisLen == 15) {
  3879. birth = '19' + val.id_card_no.substr(6, 6)
  3880. } else {
  3881. birth = val.id_card_no.substr(6, 8)
  3882. }
  3883. var birthtwo =
  3884. birth.substr(0, 4) +
  3885. '-' +
  3886. birth.substr(4, 2) +
  3887. '-' +
  3888. birth.substr(6, 2)
  3889. var age = jsGetAge(birthtwo, '-')
  3890. return age
  3891. }
  3892. },
  3893. newAdviceGroupObject: function () {
  3894. return Object.assign(
  3895. {},
  3896. {
  3897. group_no: 0,
  3898. // advice_doctor: 0,
  3899. // start_time: 0,
  3900. advices: [],
  3901. // exec_staff: 0,
  3902. // exec_time: 0,
  3903. // checker: 0,
  3904. }
  3905. );
  3906. },
  3907. getFloat: function (x) {
  3908. if (x == 0) {
  3909. return "/";
  3910. }
  3911. if (x != ".") {
  3912. var f = Math.round(x * 100) / 100;
  3913. var s = f.toString();
  3914. var rs = s.indexOf(".");
  3915. if (rs <= 0) {
  3916. rs = s.length;
  3917. s += ".";
  3918. }
  3919. while (s.length <= rs + 1) {
  3920. s += "0";
  3921. }
  3922. return s;
  3923. } else {
  3924. return "0.0";
  3925. }
  3926. },
  3927. },
  3928. watch: {
  3929. "patientInfo.gender": function () {
  3930. if (this.patientInfo.gender == 1) {
  3931. this.patientInfo_gender_1 = true;
  3932. this.patientInfo_gender_2 = false;
  3933. } else if (this.patientInfo.gender == 2) {
  3934. this.patientInfo_gender_2 = true;
  3935. this.patientInfo_gender_1 = false;
  3936. } else {
  3937. this.patientInfo_gender_2 = false;
  3938. this.patientInfo_gender_1 = false;
  3939. }
  3940. },
  3941. "patientInfo.source": function () {
  3942. if (this.patientInfo.source == 1) {
  3943. this.patientInfo_source_1 = true;
  3944. this.patientInfo_source_2 = false;
  3945. } else if (this.patientInfo.source == 2) {
  3946. this.patientInfo_source_2 = true;
  3947. this.patientInfo_source_1 = false;
  3948. } else {
  3949. this.patientInfo_source_2 = false;
  3950. this.patientInfo_source_1 = false;
  3951. }
  3952. },
  3953. },
  3954. created() {
  3955. this.way_arr = getDataConfig("hemodialysis", "way");
  3956. this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
  3957. this.appetite_arr = getDataConfig("hemodialysis", "appetite");
  3958. this.posture_arr = getDataConfig("hemodialysis", "posture");
  3959. this.sick_condition_arr = getDataConfig("hemodialysis", "sick_condition");
  3960. this.precaution_arr = getDataConfig("hemodialysis", "precaution");
  3961. this.intake_arr = getDataConfig("hemodialysis", "intake");
  3962. this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
  3963. var xtuser = this.$store.getters.xt_user;
  3964. this.orgname = xtuser.org.org_name;
  3965. // this.orgname = "遂溪方济医院";
  3966. this.modeOptions = this.$store.getters.treatment_mode;
  3967. this.replacementWays = this.$store.getters.replacement_ways;
  3968. this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  3969. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  3970. this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
  3971. this.blood_access_part = getDataConfig("hemodialysis", "vascular_access");
  3972. this.blood_access_part_opera = getDataConfig(
  3973. "hemodialysis",
  3974. "vascular_access_desc"
  3975. );
  3976. this.org_id = this.$store.getters.xt_user.org.id;
  3977. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  3978. var bloodAccessParOpera = getDataConfig(
  3979. "hemodialysis",
  3980. "vascular_access_desc"
  3981. );
  3982. for (var key in bloodAccessParOpera) {
  3983. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  3984. bloodAccessParOpera[key];
  3985. }
  3986. var dialysateFormulationOptions = getDataConfig(
  3987. "hemodialysis",
  3988. "dialysate_formulation"
  3989. );
  3990. for (var key in dialysateFormulationOptions) {
  3991. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  3992. dialysateFormulationOptions[key];
  3993. }
  3994. const xtdate = this.$route.query && this.$route.query.xtdate;
  3995. // console.log("xtdate", xtdate);
  3996. const xtno = this.$route.query && this.$route.query.xtno;
  3997. // console.log("xtno", xtno);
  3998. if (
  3999. typeof xtdate === "string" &&
  4000. xtdate.length > 0 &&
  4001. typeof xtno === "string" &&
  4002. xtno.length > 0
  4003. ) {
  4004. this.queryParams.xtdate = xtdate;
  4005. this.queryParams.xtno = xtno;
  4006. this.getDialysisRecord();
  4007. } else {
  4008. this.$message.error("参数不齐");
  4009. return false;
  4010. }
  4011. },
  4012. };
  4013. </script>
  4014. <style>
  4015. .print_page_main_content {
  4016. background-color: white;
  4017. width: 960px;
  4018. margin: 0 auto 50px;
  4019. padding: 0 0 0 0;
  4020. page-break-after: always;
  4021. }
  4022. .print_page_main_content .order-yy-name {
  4023. margin: auto;
  4024. text-align: center;
  4025. font-size: 20px;
  4026. letter-spacing: 5px;
  4027. }
  4028. .dialysis-print-order .order-title {
  4029. margin: auto;
  4030. font-weight: 600;
  4031. text-align: center;
  4032. font-size: 22px;
  4033. padding: 10px;
  4034. }
  4035. .print_page_main_content .order_title {
  4036. text-align: center;
  4037. font-size: 23px;
  4038. line-height: 50px;
  4039. font-weight: 500;
  4040. }
  4041. .row {
  4042. font-size: 14px;
  4043. line-height: 20px;
  4044. padding: 5px 0;
  4045. }
  4046. .inline_block {
  4047. display: inline-block;
  4048. }
  4049. .under_line_two {
  4050. display: inline-block;
  4051. border-bottom: 1px solid #999;
  4052. text-align: left;
  4053. white-space: nowrap;
  4054. width: 50%;
  4055. }
  4056. .under_line_two::before {
  4057. content: "\00A0";
  4058. }
  4059. .under_line_two::after {
  4060. content: "\00A0";
  4061. }
  4062. .under_line {
  4063. display: inline-block;
  4064. border-bottom: 1px solid #999;
  4065. text-align: center;
  4066. white-space: nowrap;
  4067. width: 50%;
  4068. }
  4069. .under_line::before {
  4070. content: "\00A0";
  4071. }
  4072. .under_line::after {
  4073. content: "\00A0";
  4074. }
  4075. .flex {
  4076. display: -webkit-box;
  4077. display: -moz-box;
  4078. display: -ms-flexbox;
  4079. display: -webkit-flex;
  4080. display: flex;
  4081. align-items: center;
  4082. -webkit-align-items: center;
  4083. box-align: center;
  4084. -moz-box-align: center;
  4085. -webkit-box-align: center;
  4086. text-align: center;
  4087. -webkit-justify-content: space-between;
  4088. justify-content: space-between;
  4089. -moz-box-pack: space-between;
  4090. -webkit--moz-box-pack: space-between;
  4091. box-pack: space-between;
  4092. }
  4093. .print_page_main_content .proj_table {
  4094. width: 100%;
  4095. border: 1px solid;
  4096. border-collapse: collapse;
  4097. padding: 2px;
  4098. }
  4099. .print_page_main_content .proj_table tbody tr td {
  4100. border: 1px solid;
  4101. /* text-align: center; */
  4102. font-size: 16px;
  4103. padding: 5px 8px;
  4104. line-height: 30px;
  4105. }
  4106. .print_page_main_content .proj_table .inside_table {
  4107. width: 100%;
  4108. border: hidden; /* 解决边框冲突 */
  4109. border-collapse: collapse;
  4110. }
  4111. .print_page_main_content .proj_table .inside_table tr td {
  4112. border: 1px solid;
  4113. text-align: center;
  4114. font-size: 14px;
  4115. padding: 6px 5px;
  4116. line-height: 16px;
  4117. }
  4118. .print-table-no {
  4119. width: 100%;
  4120. text-align: center;
  4121. border-collapse: collapse;
  4122. font-size: 14px;
  4123. }
  4124. .es-img {
  4125. height: 20px;
  4126. }
  4127. .advice-name {
  4128. text-align: left !important;
  4129. line-height: 16px !important;
  4130. }
  4131. .advice-children {
  4132. display: flex;
  4133. }
  4134. .margin-bottom-50 {
  4135. }
  4136. .margin-bottom-300 {
  4137. margin-bottom: 450px;
  4138. }
  4139. .margin-bottom-600 {
  4140. margin-bottom: 600px;
  4141. }
  4142. .margin-bottom-900 {
  4143. margin-bottom: 900px;
  4144. }
  4145. .print-yema {
  4146. position: absolute;
  4147. left: 50%;
  4148. }
  4149. .print-yema2 {
  4150. position: absolute;
  4151. left: 50%;
  4152. }
  4153. .print-yema3 {
  4154. position: absolute;
  4155. left: 50%;
  4156. }
  4157. .print-yema4 {
  4158. position: absolute;
  4159. left: 50%;
  4160. }
  4161. .check_box_panel .did_checke::after {
  4162. font-size: 8px;
  4163. margin-left: 2px;
  4164. margin-top: 2px;
  4165. position: absolute;
  4166. }
  4167. </style>