DialysisPrintOrderSeventy.vue 153KB

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