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

DialysisPrintOrderSixtyThree.vue 143KB

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