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

DialysisPrintOrderSeventy.vue 158KB

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