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

DialysisPrintOrderSix.vue 141KB

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