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

DialysisPrintOrderSixtyeight.vue 163KB

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