batch_print_order_fiftynine.vue 133KB

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