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

dialysisPrintOrder.vue 117KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587
  1. <template>
  2. <div class="main-contain">
  3. <div class="position">
  4. <bread-crumb :crumbs="crumbs"></bread-crumb>
  5. <template v-if="org_template_info.template_id == 1">
  6. <el-button
  7. :loading="loading"
  8. size="small"
  9. icon="el-icon-printer"
  10. @click="printThisPage"
  11. type="primary"
  12. >打印</el-button
  13. >
  14. </template>
  15. <template
  16. v-if="
  17. org_template_info.template_id == 2 ||
  18. org_template_info.template_id == 0
  19. "
  20. >
  21. <div>
  22. <el-button
  23. :loading="loading"
  24. size="small"
  25. icon="el-icon-printer"
  26. @click="printThisPage"
  27. type="primary"
  28. >打印全部</el-button
  29. >
  30. <el-button
  31. :loading="loading"
  32. size="small"
  33. icon="el-icon-printer"
  34. @click="printThisOnePage"
  35. type="primary"
  36. >打印纪录单</el-button
  37. >
  38. <el-button
  39. :loading="loading"
  40. size="small"
  41. icon="el-icon-printer"
  42. @click="printThisTwoPage"
  43. type="primary"
  44. >打印医嘱单</el-button
  45. >
  46. </div>
  47. </template>
  48. <template v-if="org_template_info.template_id == 3">
  49. <el-button
  50. :loading="loading"
  51. size="small"
  52. icon="el-icon-printer"
  53. @click="printThisPage"
  54. type="primary"
  55. >打印</el-button
  56. >
  57. </template>
  58. <template v-if="org_template_info.template_id == 4">
  59. <el-button
  60. :loading="loading"
  61. size="small"
  62. icon="el-icon-printer"
  63. @click="printThisPage"
  64. type="primary"
  65. >打印</el-button
  66. >
  67. </template>
  68. <template v-if="org_template_info.template_id == 5">
  69. <div>
  70. <el-button
  71. :loading="loading"
  72. size="small"
  73. icon="el-icon-printer"
  74. @click="printThisPage"
  75. type="primary"
  76. >打印全部</el-button
  77. >
  78. <el-button
  79. :loading="loading"
  80. size="small"
  81. icon="el-icon-printer"
  82. @click="printThisOnePage"
  83. type="primary"
  84. >打印纪录单</el-button
  85. >
  86. <el-button
  87. :loading="loading"
  88. size="small"
  89. icon="el-icon-printer"
  90. @click="printThisTwoPage"
  91. type="primary"
  92. >打印医嘱单</el-button
  93. >
  94. </div>
  95. </template>
  96. <template
  97. v-if="
  98. org_template_info.template_id == 6 ||
  99. org_template_info.template_id == 10 ||
  100. org_template_info.template_id == 11
  101. "
  102. >
  103. <el-button
  104. :loading="loading"
  105. size="small"
  106. icon="el-icon-printer"
  107. @click="printThisPage"
  108. type="primary"
  109. >打印</el-button
  110. >
  111. </template>
  112. <template v-if="org_template_info.template_id == 7">
  113. <el-button
  114. :loading="loading"
  115. size="small"
  116. icon="el-icon-printer"
  117. @click="printThisPage"
  118. type="primary"
  119. >打印</el-button
  120. >
  121. </template>
  122. <template v-if="org_template_info.template_id == 8">
  123. <el-button
  124. :loading="loading"
  125. size="small"
  126. icon="el-icon-printer"
  127. @click="printThisPage"
  128. type="primary"
  129. >打印</el-button
  130. >
  131. </template>
  132. <template v-if="org_template_info.template_id == 9">
  133. <el-button
  134. :loading="loading"
  135. size="small"
  136. icon="el-icon-printer"
  137. @click="printThisPage"
  138. type="primary"
  139. >打印</el-button
  140. >
  141. </template>
  142. <template v-if="org_template_info.template_id == 12">
  143. <el-button
  144. :loading="loading"
  145. size="small"
  146. icon="el-icon-printer"
  147. @click="printThisPage"
  148. type="primary"
  149. >打印</el-button
  150. >
  151. </template>
  152. <template v-if="org_template_info.template_id == 13">
  153. <el-button
  154. :loading="loading"
  155. size="small"
  156. icon="el-icon-printer"
  157. @click="printThisPage"
  158. type="primary"
  159. >打印</el-button
  160. >
  161. </template>
  162. <template
  163. v-if="
  164. org_template_info.template_id == 14 ||
  165. org_template_info.template_id == 0
  166. "
  167. >
  168. <div>
  169. <el-button
  170. :loading="loading"
  171. size="small"
  172. icon="el-icon-printer"
  173. @click="printThisPage"
  174. type="primary"
  175. >打印全部</el-button
  176. >
  177. <el-button
  178. :loading="loading"
  179. size="small"
  180. icon="el-icon-printer"
  181. @click="printThisOnePage"
  182. type="primary"
  183. >打印纪录单</el-button
  184. >
  185. <el-button
  186. :loading="loading"
  187. size="small"
  188. icon="el-icon-printer"
  189. @click="printThisTwoPage"
  190. type="primary"
  191. >打印医嘱单</el-button
  192. >
  193. </div>
  194. </template>
  195. <template v-if="org_template_info.template_id == 15">
  196. <el-button
  197. :loading="loading"
  198. size="small"
  199. icon="el-icon-printer"
  200. @click="printThisPage"
  201. type="primary"
  202. >打印</el-button
  203. >
  204. </template>
  205. <template v-if="org_template_info.template_id == 16">
  206. <el-button
  207. :loading="loading"
  208. size="small"
  209. icon="el-icon-printer"
  210. @click="printThisPage"
  211. type="primary"
  212. >打印</el-button
  213. >
  214. </template>
  215. <template v-if="org_template_info.template_id == 17">
  216. <el-button
  217. :loading="loading"
  218. size="small"
  219. icon="el-icon-printer"
  220. @click="printThisPage"
  221. type="primary"
  222. >打印</el-button
  223. >
  224. </template>
  225. <template v-if="org_template_info.template_id == 18">
  226. <el-button
  227. :loading="loading"
  228. size="small"
  229. icon="el-icon-printer"
  230. @click="printThisPage"
  231. type="primary"
  232. >打印</el-button
  233. >
  234. </template>
  235. <template v-if="org_template_info.template_id == 19">
  236. <el-button
  237. :loading="loading"
  238. size="small"
  239. icon="el-icon-printer"
  240. @click="printThisPage"
  241. type="primary"
  242. >打印</el-button
  243. >
  244. </template>
  245. <template v-if="org_template_info.template_id == 20">
  246. <el-button
  247. :loading="loading"
  248. size="small"
  249. icon="el-icon-printer"
  250. @click="printThisPage"
  251. type="primary"
  252. >打印</el-button
  253. >
  254. </template>
  255. <!-- <template v-if="org_template_info.template_id == 21">
  256. <el-button
  257. :loading="loading"
  258. size="small"
  259. icon="el-icon-printer"
  260. @click="printThisPage"
  261. type="primary"
  262. >打印</el-button
  263. >
  264. </template> -->
  265. <template
  266. v-if="
  267. org_template_info.template_id == 21 ||
  268. org_template_info.template_id == 0
  269. "
  270. >
  271. <div>
  272. <el-button
  273. :loading="loading"
  274. size="small"
  275. icon="el-icon-printer"
  276. @click="printThisPage"
  277. type="primary"
  278. >打印全部</el-button
  279. >
  280. <el-button
  281. :loading="loading"
  282. size="small"
  283. icon="el-icon-printer"
  284. @click="printThisOnePage"
  285. type="primary"
  286. >打印纪录单</el-button
  287. >
  288. <el-button
  289. :loading="loading"
  290. size="small"
  291. icon="el-icon-printer"
  292. @click="printThisTwoPage"
  293. type="primary"
  294. >打印医嘱单</el-button
  295. >
  296. </div>
  297. </template>
  298. <template v-if="org_template_info.template_id == 22">
  299. <div>
  300. <el-button
  301. :loading="loading"
  302. size="small"
  303. icon="el-icon-printer"
  304. @click="printThisPage"
  305. type="primary"
  306. >打印全部</el-button
  307. >
  308. <el-button
  309. :loading="loading"
  310. size="small"
  311. icon="el-icon-printer"
  312. @click="printThisOnePage"
  313. type="primary"
  314. >打印纪录单</el-button
  315. >
  316. <el-button
  317. :loading="loading"
  318. size="small"
  319. icon="el-icon-printer"
  320. @click="printThisTwoPage"
  321. type="primary"
  322. >打印医嘱单</el-button
  323. >
  324. </div>
  325. </template>
  326. <template v-if="org_template_info.template_id == 23">
  327. <el-button
  328. :loading="loading"
  329. size="small"
  330. icon="el-icon-printer"
  331. @click="printThisPage"
  332. type="primary"
  333. >打印</el-button
  334. >
  335. </template>
  336. <template v-if="org_template_info.template_id == 24">
  337. <el-button
  338. :loading="loading"
  339. size="small"
  340. icon="el-icon-printer"
  341. @click="printThisPage"
  342. type="primary"
  343. >打印</el-button
  344. >
  345. </template>
  346. <template v-if="org_template_info.template_id == 25">
  347. <el-button
  348. :loading="loading"
  349. size="small"
  350. icon="el-icon-printer"
  351. @click="printThisPage"
  352. type="primary"
  353. >打印</el-button
  354. >
  355. </template>
  356. <template v-if="org_template_info.template_id == 26">
  357. <el-button
  358. :loading="loading"
  359. size="small"
  360. icon="el-icon-printer"
  361. @click="printThisPage"
  362. type="primary"
  363. >打印</el-button
  364. >
  365. </template>
  366. <template
  367. v-if="
  368. org_template_info.template_id == 27 ||
  369. org_template_info.template_id == 0
  370. "
  371. >
  372. <div>
  373. <el-button
  374. :loading="loading"
  375. size="small"
  376. icon="el-icon-printer"
  377. @click="printThisPage"
  378. type="primary"
  379. >打印全部</el-button
  380. >
  381. <el-button
  382. :loading="loading"
  383. size="small"
  384. icon="el-icon-printer"
  385. @click="printThisOnePage"
  386. type="primary"
  387. >打印纪录单</el-button
  388. >
  389. <el-button
  390. :loading="loading"
  391. size="small"
  392. icon="el-icon-printer"
  393. @click="printThisTwoPage"
  394. type="primary"
  395. >打印医嘱单</el-button
  396. >
  397. </div>
  398. </template>
  399. <template v-if="org_template_info.template_id == 28">
  400. <el-button
  401. :loading="loading"
  402. size="small"
  403. icon="el-icon-printer"
  404. @click="printThisPage"
  405. type="primary"
  406. >打印</el-button
  407. >
  408. </template>
  409. <template v-if="org_template_info.template_id == 29">
  410. <el-button
  411. :loading="loading"
  412. size="small"
  413. icon="el-icon-printer"
  414. @click="printThisPage"
  415. type="primary"
  416. >打印</el-button
  417. >
  418. </template>
  419. <template v-if="org_template_info.template_id == 30">
  420. <el-button
  421. :loading="loading"
  422. size="small"
  423. icon="el-icon-printer"
  424. @click="printThisPage"
  425. type="primary"
  426. >打印</el-button
  427. >
  428. </template>
  429. <template v-if="org_template_info.template_id == 31">
  430. <el-button
  431. :loading="loading"
  432. size="small"
  433. icon="el-icon-printer"
  434. @click="printThisPage"
  435. type="primary"
  436. >打印</el-button
  437. >
  438. </template>
  439. <template v-if="org_template_info.template_id == 32">
  440. <el-button
  441. :loading="loading"
  442. size="small"
  443. icon="el-icon-printer"
  444. @click="printThisPage"
  445. type="primary"
  446. >打印</el-button
  447. >
  448. </template>
  449. <template v-if="org_template_info.template_id == 33">
  450. <div>
  451. <el-button
  452. :loading="loading"
  453. size="small"
  454. icon="el-icon-printer"
  455. @click="printThisPage"
  456. type="primary"
  457. >打印全部</el-button
  458. >
  459. <el-button
  460. :loading="loading"
  461. size="small"
  462. icon="el-icon-printer"
  463. @click="printThisOnePage"
  464. type="primary"
  465. >打印纪录单</el-button
  466. >
  467. <el-button
  468. :loading="loading"
  469. size="small"
  470. icon="el-icon-printer"
  471. @click="printThisTwoPage"
  472. type="primary"
  473. >打印医嘱单</el-button
  474. >
  475. </div>
  476. </template>
  477. <template v-if="org_template_info.template_id == 34">
  478. <el-button
  479. :loading="loading"
  480. size="small"
  481. icon="el-icon-printer"
  482. @click="printThisPage"
  483. type="primary"
  484. >打印</el-button
  485. >
  486. </template>
  487. <template v-if="org_template_info.template_id == 35">
  488. <el-button
  489. :loading="loading"
  490. size="small"
  491. icon="el-icon-printer"
  492. @click="printThisPage"
  493. type="primary"
  494. >打印</el-button
  495. >
  496. </template>
  497. <template v-if="org_template_info.template_id == 36">
  498. <div>
  499. <el-button
  500. :loading="loading"
  501. size="small"
  502. icon="el-icon-printer"
  503. @click="printThisPage"
  504. type="primary"
  505. >打印全部</el-button
  506. >
  507. <el-button
  508. :loading="loading"
  509. size="small"
  510. icon="el-icon-printer"
  511. @click="printThisOnePage"
  512. type="primary"
  513. >打印记录单</el-button
  514. >
  515. <el-button
  516. :loading="loading"
  517. size="small"
  518. icon="el-icon-printer"
  519. @click="printThisTwoPage"
  520. type="primary"
  521. >打印医嘱单</el-button
  522. >
  523. </div>
  524. </template>
  525. <template v-if="org_template_info.template_id == 37">
  526. <el-button
  527. :loading="loading"
  528. size="small"
  529. icon="el-icon-printer"
  530. @click="printThisPage"
  531. type="primary"
  532. >打印</el-button
  533. >
  534. </template>
  535. <template v-if="org_template_info.template_id == 38">
  536. <el-button
  537. :loading="loading"
  538. size="small"
  539. icon="el-icon-printer"
  540. @click="printThisPage"
  541. type="primary"
  542. >打印</el-button
  543. >
  544. </template>
  545. <template v-if="org_template_info.template_id == 39">
  546. <el-button
  547. :loading="loading"
  548. size="small"
  549. icon="el-icon-printer"
  550. @click="printThisPage"
  551. type="primary"
  552. >打印</el-button
  553. >
  554. </template>
  555. <template v-if="org_template_info.template_id == 40">
  556. <el-button
  557. :loading="loading"
  558. size="small"
  559. icon="el-icon-printer"
  560. @click="printThisPage"
  561. type="primary"
  562. >打印</el-button
  563. >
  564. </template>
  565. <template v-if="org_template_info.template_id == 41">
  566. <el-button
  567. :loading="loading"
  568. size="small"
  569. icon="el-icon-printer"
  570. @click="printThisPage"
  571. type="primary"
  572. >打印</el-button
  573. >
  574. </template>
  575. <template v-if="org_template_info.template_id == 42">
  576. <el-button
  577. :loading="loading"
  578. size="small"
  579. icon="el-icon-printer"
  580. @click="printThisPage"
  581. type="primary"
  582. >打印</el-button
  583. >
  584. </template>
  585. <template v-if="org_template_info.template_id == 43">
  586. <el-button
  587. :loading="loading"
  588. size="small"
  589. icon="el-icon-printer"
  590. @click="printThisPage"
  591. type="primary"
  592. >打印</el-button
  593. >
  594. </template>
  595. <template v-if="org_template_info.template_id == 44">
  596. <el-button
  597. :loading="loading"
  598. size="small"
  599. icon="el-icon-printer"
  600. @click="printThisPage"
  601. type="primary"
  602. >打印</el-button
  603. >
  604. </template>
  605. <template v-if="org_template_info.template_id == 45">
  606. <el-button
  607. :loading="loading"
  608. size="small"
  609. icon="el-icon-printer"
  610. @click="printThisPage"
  611. type="primary"
  612. >打印</el-button
  613. >
  614. </template>
  615. <template v-if="org_template_info.template_id == 46">
  616. <el-button
  617. :loading="loading"
  618. size="small"
  619. icon="el-icon-printer"
  620. @click="printThisPage"
  621. type="primary"
  622. >打印</el-button
  623. >
  624. </template>
  625. </div>
  626. <div class="app-container" style="min-height:0;">
  627. <!--<div class="order-print-btn"-->
  628. <!--v-loading="loading"-->
  629. <!--element-loading-text="加载中"-->
  630. <!--element-loading-spinner="el-icon-loading"-->
  631. <!--element-loading-background="rgba(0, 0, 0, 0.8)"-->
  632. <!--style="width: 100%;">-->
  633. <!--</div>-->
  634. <!--<dialysis-print-order-two :patientInfo="patientInfo" :receiverTreatmentAccess="receiverTreatmentAccess" :predialysis="predialysis"></dialysis-print-order-two>-->
  635. <el-container class="newContainer">
  636. <div style="width:270px;margin-right:20px;">
  637. <div class="cell clearfix" style="margin-bottom:10px;">
  638. <el-date-picker v-model="selected_date" prefix-icon="el-icon-date" @change="handleScheduleDateChange" :editable="false" :clearable="false" style="width: 130px;margin-right:10px;" type="date" placeholder="选择日期时间" align="right" ></el-date-picker>
  639. <el-input size="small" style="width:80px;" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
  640. <el-button size="small" class="filter-item" type="primary" @click="searchAction">搜索</el-button>
  641. </div>
  642. <div class="cell clearfix" style="margin-bottom:10px;">
  643. <el-select v-model="patientStateVal" placeholder="全部患者状态" style="width:130px;margin-right:10px;" @change="handleStateChange">
  644. <el-option
  645. v-for="item in patient_state"
  646. :key="item.value"
  647. :label="item.label"
  648. :value="item.value">
  649. </el-option>
  650. </el-select>
  651. <el-select v-model="treatStateVal" placeholder="全部治疗状态" style="width:130px;margin-right:10px;" @change="handleTreatChange">
  652. <el-option
  653. v-for="item in treat_state"
  654. :key="item.value"
  655. :label="item.label"
  656. :value="item.value">
  657. </el-option>
  658. </el-select>
  659. </div>
  660. <div class="cell clearfix" style="margin-bottom:10px;">
  661. <el-select v-model="scheduleStateVal" placeholder="班次" style="width:130px;margin-right:10px;" @change="handletimeType">
  662. <el-option
  663. v-for="item in schedule_options"
  664. :key="item.value"
  665. :label="item.label"
  666. :value="item.value">
  667. </el-option>
  668. </el-select>
  669. <el-select v-model="zoneVal" placeholder="分区" style="width:130px;margin-right:10px;" @change="handleZoneChange">
  670. <el-option
  671. v-for="item in zone_options"
  672. :key="item.id"
  673. :label="item.text"
  674. :value="item.id">
  675. </el-option>
  676. </el-select>
  677. </div>
  678. <div style="padding-right:20px;">
  679. <el-table
  680. ref="tab"
  681. @row-click="changePatient"
  682. highlight-current-row
  683. :data="tableData"
  684. height="480"
  685. border
  686. style="width: 100%">
  687. <el-table-column
  688. prop="date"
  689. label="患者"
  690. >
  691. <template slot-scope="scope">
  692. {{ scope.row.patient.name }}
  693. </template>
  694. </el-table-column>
  695. <el-table-column
  696. prop="name"
  697. label="透析号"
  698. >
  699. <template slot-scope="scope">
  700. {{ scope.row.patient.dialysis_no }}
  701. </template>
  702. </el-table-column>
  703. </el-table>
  704. </div>
  705. </div>
  706. <div class='dialysisPage' style="height: calc(100vh - 178px);overflow-x:auto;::-webkit-scrollbar:height:15px">
  707. <DialysisPrintOrderOne
  708. v-bind:childResponse="childResponse"
  709. v-if="org_template_info.template_id == 1"
  710. >
  711. </DialysisPrintOrderOne>
  712. <DialysisPrintOrderTwo
  713. v-bind:childResponse="childResponse"
  714. v-if="
  715. org_template_info.template_id == 2 ||
  716. org_template_info.template_id == 0
  717. "
  718. ></DialysisPrintOrderTwo>
  719. <DialysisPrintOrderThree
  720. v-bind:childResponse="childResponse"
  721. v-if="org_template_info.template_id == 3"
  722. >
  723. </DialysisPrintOrderThree>
  724. <DialysisPrintOrderFour
  725. v-bind:childResponse="childResponse"
  726. v-if="org_template_info.template_id == 4"
  727. >
  728. </DialysisPrintOrderFour>
  729. <DialysisPrintOrderFive
  730. v-bind:childResponse="childResponse"
  731. v-if="org_template_info.template_id == 5"
  732. >
  733. </DialysisPrintOrderFive>
  734. <DialysisPrintOrderSix
  735. v-bind:childResponse="childResponse"
  736. v-if="org_template_info.template_id == 6"
  737. >
  738. </DialysisPrintOrderSix>
  739. <DialysisPrintOrderSeven
  740. v-bind:childResponse="childResponse"
  741. v-if="org_template_info.template_id == 7"
  742. >
  743. </DialysisPrintOrderSeven>
  744. <DialysisPrintOrderEight
  745. v-bind:childResponse="childResponse"
  746. v-if="org_template_info.template_id == 8"
  747. >
  748. </DialysisPrintOrderEight>
  749. <!--<DialysisPrintOrderTen></DialysisPrintOrderTen>-->
  750. <DialysisPrintOrderTen
  751. v-bind:childResponse="childResponse"
  752. v-if="org_template_info.template_id == 10"
  753. ></DialysisPrintOrderTen>
  754. <DialysisPrintOrderNine
  755. v-bind:childResponse="childResponse"
  756. v-if="org_template_info.template_id == 9"
  757. ></DialysisPrintOrderNine>
  758. <DialysisPrintOrderEleven
  759. v-bind:childResponse="childResponse"
  760. v-if="org_template_info.template_id == 11"
  761. ></DialysisPrintOrderEleven>
  762. <DialysisPrintOrderTwelve
  763. v-bind:childResponse="childResponse"
  764. v-if="org_template_info.template_id == 12"
  765. ></DialysisPrintOrderTwelve>
  766. <DialysisPrintOrderThirteen
  767. v-bind:childResponse="childResponse"
  768. v-if="org_template_info.template_id == 13"
  769. ></DialysisPrintOrderThirteen>
  770. <DialysisPrintOrderFourteen
  771. v-bind:childResponse="childResponse"
  772. v-if="org_template_info.template_id == 14"
  773. ></DialysisPrintOrderFourteen>
  774. <DialysisPrintOrderFifteen
  775. v-bind:childResponse="childResponse"
  776. v-if="org_template_info.template_id == 15"
  777. ></DialysisPrintOrderFifteen>
  778. <DialysisPrintOrderSixteen
  779. v-bind:childResponse="childResponse"
  780. v-if="org_template_info.template_id == 16"
  781. ></DialysisPrintOrderSixteen>
  782. <DialysisPrintOrderSeventeen
  783. v-bind:childResponse="childResponse"
  784. v-if="org_template_info.template_id == 17"
  785. ></DialysisPrintOrderSeventeen>
  786. <DialysisPrintOrderEighteen
  787. v-bind:childResponse="childResponse"
  788. v-if="org_template_info.template_id == 18"
  789. ></DialysisPrintOrderEighteen>
  790. <DialysisPrintOrderNineteen
  791. v-bind:childResponse="childResponse"
  792. v-if="org_template_info.template_id == 19"
  793. ></DialysisPrintOrderNineteen>
  794. <DialysisPrintOrderTwenty
  795. v-bind:childResponse="childResponse"
  796. v-if="org_template_info.template_id == 20"
  797. ></DialysisPrintOrderTwenty>
  798. <DialysisPrintOrderTwentyOne
  799. v-bind:childResponse="childResponse"
  800. v-if="org_template_info.template_id == 21"
  801. ></DialysisPrintOrderTwentyOne>
  802. <DialysisPrintOrderTwentyTwo
  803. v-bind:childResponse="childResponse"
  804. v-if="org_template_info.template_id == 22"
  805. ></DialysisPrintOrderTwentyTwo>
  806. <DialysisPrintOrderTwentyThree
  807. v-bind:childResponse="childResponse"
  808. v-if="org_template_info.template_id == 23"
  809. ></DialysisPrintOrderTwentyThree>
  810. <DialysisPrintOrderTwentyFour
  811. v-bind:childResponse="childResponse"
  812. v-if="org_template_info.template_id == 24"
  813. ></DialysisPrintOrderTwentyFour>
  814. <DialysisPrintOrderTwentyFive
  815. v-bind:childResponse="childResponse"
  816. v-if="org_template_info.template_id == 25"
  817. >
  818. </DialysisPrintOrderTwentyFive>
  819. <DialysisPrintOrderTwentySix
  820. v-bind:childResponse="childResponse"
  821. v-if="org_template_info.template_id == 26"
  822. >
  823. </DialysisPrintOrderTwentySix>
  824. <DialysisPrintOrderTwentySeven
  825. v-bind:childResponse="childResponse"
  826. v-if="org_template_info.template_id == 27"
  827. >
  828. </DialysisPrintOrderTwentySeven>
  829. <DialysisPrintOrderTwentyEight
  830. v-bind:childResponse="childResponse"
  831. v-if="org_template_info.template_id == 28"
  832. >
  833. </DialysisPrintOrderTwentyEight>
  834. <DialysisPrintOrderTwentyNine
  835. v-bind:childResponse="childResponse"
  836. v-if="org_template_info.template_id == 29"
  837. >
  838. </DialysisPrintOrderTwentyNine>
  839. <DialysisPrintOrderThirty
  840. v-bind:childResponse="childResponse"
  841. v-if="org_template_info.template_id == 30"
  842. >
  843. </DialysisPrintOrderThirty>
  844. <DialysisPrintOrderThirtyOne
  845. v-bind:childResponse="childResponse"
  846. v-if="org_template_info.template_id == 31"
  847. >
  848. </DialysisPrintOrderThirtyOne>
  849. <DialysisPrintOrderThirtyTwo
  850. v-bind:childResponse="childResponse"
  851. v-if="org_template_info.template_id == 32"
  852. >
  853. </DialysisPrintOrderThirtyTwo>
  854. <DialysisPrintOrderThirtyThree
  855. v-bind:childResponse="childResponse"
  856. v-if="org_template_info.template_id == 33"
  857. >
  858. </DialysisPrintOrderThirtyThree>
  859. <DialysisPrintOrderThirtyFour
  860. v-bind:childResponse="childResponse"
  861. v-if="org_template_info.template_id == 34"
  862. >
  863. </DialysisPrintOrderThirtyFour>
  864. <DialysisPrintOrderThirtyFive
  865. v-bind:childResponse="childResponse"
  866. v-if="org_template_info.template_id == 35"
  867. >
  868. </DialysisPrintOrderThirtyFive>
  869. <DialysisPrintOrderThirtySix
  870. v-bind:childResponse="childResponse"
  871. v-if="org_template_info.template_id == 36"
  872. >
  873. </DialysisPrintOrderThirtySix>
  874. <DialysisPrintOrderThirtySeven
  875. v-bind:childResponse="childResponse"
  876. v-if="org_template_info.template_id == 37"
  877. >
  878. </DialysisPrintOrderThirtySeven>
  879. <DialysisPrintOrderThirtyEight
  880. v-bind:childResponse="childResponse"
  881. v-if="org_template_info.template_id == 38"
  882. >
  883. </DialysisPrintOrderThirtyEight>
  884. <DialysisPrintOrderThirtyNine
  885. v-bind:childResponse="childResponse"
  886. v-if="org_template_info.template_id == 39"
  887. >
  888. </DialysisPrintOrderThirtyNine>
  889. <DialysisPrintOrderForty
  890. v-bind:childResponse="childResponse"
  891. v-if="org_template_info.template_id == 40"
  892. >
  893. </DialysisPrintOrderForty>
  894. <DialysisPrintOrderFortyOne
  895. v-bind:childResponse="childResponse"
  896. v-if="org_template_info.template_id == 41"
  897. >
  898. </DialysisPrintOrderFortyOne>
  899. <DialysisPrintOrderFortyTwo
  900. v-bind:childResponse="childResponse"
  901. v-if="org_template_info.template_id == 42"
  902. >
  903. </DialysisPrintOrderFortyTwo>
  904. <DialysisPrintOrderFortyThree
  905. v-bind:childResponse="childResponse"
  906. v-if="org_template_info.template_id == 43"
  907. >
  908. </DialysisPrintOrderFortyThree>
  909. <DialysisPrintOrderFortyFour
  910. v-bind:childResponse="childResponse"
  911. v-if="org_template_info.template_id == 44"
  912. >
  913. </DialysisPrintOrderFortyFour>
  914. <DialysisPrintOrderFortyFive
  915. v-bind:childResponse="childResponse"
  916. v-if="org_template_info.template_id == 45"
  917. >
  918. </DialysisPrintOrderFortyFive>
  919. <DialysisPrintOrderFortySix
  920. v-bind:childResponse="childResponse"
  921. v-if="org_template_info.template_id == 46"
  922. >
  923. </DialysisPrintOrderFortySix>
  924. </div>
  925. </el-container>
  926. </div>
  927. </div>
  928. </template>
  929. <script>
  930. import {
  931. getDialysisRecordInitData,
  932. getDialysisSchedules
  933. } from "@/api/dialysis_record";
  934. import { parseTime } from "@/utils";
  935. import { getDialysisRecord } from "@/api/dialysis";
  936. import { getDataConfig } from "@/utils/data";
  937. import { jsGetAge, uParseTime } from "@/utils/tools";
  938. import LabelBox from "./printItem/LabelBox";
  939. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  940. import DialysisPrintOrderOne from "./template/dialysisPrintOrderOne";
  941. import DialysisPrintOrderTwo from "./template/dialysisPrintOrderTwo";
  942. import DialysisPrintOrderThree from "./template/dialysisPrintOrderThree";
  943. import DialysisPrintOrderFour from "./template/DialysisPrintOrderFour";
  944. import DialysisPrintOrderFive from "./template/DialysisPrintOrderFive";
  945. import DialysisPrintOrderSix from "./template/DialysisPrintOrderSix";
  946. import DialysisPrintOrderSeven from "./template/DialysisPrintOrderSeven";
  947. import DialysisPrintOrderEight from "./template/DialysisPrintOrderEight";
  948. import DialysisPrintOrderNine from "./template/DialysisPrintOrderNine";
  949. import print from "print-js";
  950. import DialysisPrintOrderTen from "./template/DialysisPrintOrderTen";
  951. import DialysisPrintOrderEleven from "./template/DialysisPrintOrderEleven";
  952. import DialysisPrintOrderTwelve from "./template/DialysisPrintOrderTwelve";
  953. import DialysisPrintOrderThirteen from "./template/DialysisPrintOrderThirteen";
  954. import DialysisPrintOrderFourteen from "./template/DialysisPrintOrderFourteen";
  955. import DialysisPrintOrderFifteen from "./template/DialysisPrintOrderFifteen";
  956. import DialysisPrintOrderSixteen from "./template/DialysisPrintOrderSixteen";
  957. import DialysisPrintOrderSeventeen from "./template/DialysisPrintOrderSeventeen";
  958. import DialysisPrintOrderEighteen from "./template/DialysisPrintOrderEighteen";
  959. import DialysisPrintOrderNineteen from "./template/DialysisPrintOrderNineteen";
  960. import DialysisPrintOrderTwenty from "./template/DialysisPrintOrderTwenty";
  961. import DialysisPrintOrderTwentyOne from "./template/DialysisPrintOrderTwentyOne";
  962. import DialysisPrintOrderTwentyTwo from "./template/DialysisPrintOrderTwentyTwo";
  963. import DialysisPrintOrderTwentyThree from "./template/DialysisPrintOrderTwentyThree";
  964. import DialysisPrintOrderTwentyFour from "./template/DialysisPrintOrderTwentyFour";
  965. import DialysisPrintOrderTwentyFive from "./template/DialysisPrintOrderTwentyFive";
  966. import DialysisPrintOrderTwentySix from "./template/DialysisPrintOrderTwentySix";
  967. import DialysisPrintOrderTwentySeven from "./template/DialysisPrintOrderTwentySeven";
  968. import DialysisPrintOrderTwentyEight from "./template/DialysisPrintOrderTwentyEight";
  969. import DialysisPrintOrderTwentyNine from "./template/DialysisPrintOrderTwentyNine";
  970. import DialysisPrintOrderThirty from "./template/DialysisPrintOrderThirty";
  971. import DialysisPrintOrderThirtyOne from "./template/DialysisPrintOrderThirtyOne";
  972. import DialysisPrintOrderThirtyTwo from "./template/DialysisPrintOrderThirtyTwo";
  973. import DialysisPrintOrderThirtyThree from "./template/DialysisPrintOrderThirtyThree";
  974. import DialysisPrintOrderThirtyFour from "./template/DialysisPrintOrderThirtyFour";
  975. import DialysisPrintOrderThirtyFive from "./template/DialysisPrintOrderThirtyFive";
  976. import DialysisPrintOrderThirtySix from "./template/DialysisPrintOrderThirtySix";
  977. import DialysisPrintOrderThirtySeven from "./template/DialysisPrintOrderThirtySeven";
  978. import DialysisPrintOrderThirtyEight from "./template/DialysisPrintOrderThirtyEight";
  979. import DialysisPrintOrderThirtyNine from "./template/DialysisPrintOrderThirtyNine";
  980. import DialysisPrintOrderForty from "./template/DialysisPrintOrderForty";
  981. import DialysisPrintOrderFortyOne from "./template/DialysisPrintOrderFortyOne";
  982. import DialysisPrintOrderFortyTwo from "./template/DialysisPrintOrderFortyTwo";
  983. import DialysisPrintOrderFortyThree from "./template/DialysisPrintOrderFortyThree";
  984. import DialysisPrintOrderFortyFour from "./template/DialysisPrintOrderFortyFour";
  985. import DialysisPrintOrderFortyFive from "./template/DialysisPrintOrderFortyFive";
  986. import DialysisPrintOrderFortySix from "./template/DialysisPrintOrderFortySix"
  987. export default {
  988. name: "dialysisPrintOrder",
  989. components: {
  990. DialysisPrintOrderFortySix,
  991. DialysisPrintOrderFortyFive,
  992. DialysisPrintOrderFortyFour,
  993. DialysisPrintOrderFortyThree,
  994. DialysisPrintOrderFortyTwo,
  995. DialysisPrintOrderFortyOne,
  996. DialysisPrintOrderForty,
  997. DialysisPrintOrderThirtyNine,
  998. DialysisPrintOrderThirtyEight,
  999. DialysisPrintOrderThirtySeven,
  1000. DialysisPrintOrderThirtySix,
  1001. DialysisPrintOrderThirtyFive,
  1002. DialysisPrintOrderThirtyFour,
  1003. DialysisPrintOrderThirtyThree,
  1004. DialysisPrintOrderThirtyTwo,
  1005. DialysisPrintOrderThirtyOne,
  1006. DialysisPrintOrderThirty,
  1007. DialysisPrintOrderTwentyNine,
  1008. DialysisPrintOrderTwentyEight,
  1009. DialysisPrintOrderTwentySeven,
  1010. DialysisPrintOrderTwentySix,
  1011. DialysisPrintOrderTwentyFive,
  1012. DialysisPrintOrderTwentyFour,
  1013. DialysisPrintOrderTwentyThree,
  1014. DialysisPrintOrderTwentyTwo,
  1015. DialysisPrintOrderTwentyOne,
  1016. DialysisPrintOrderTwenty,
  1017. DialysisPrintOrderNineteen,
  1018. DialysisPrintOrderEighteen,
  1019. DialysisPrintOrderSeventeen,
  1020. DialysisPrintOrderSixteen,
  1021. DialysisPrintOrderFifteen,
  1022. DialysisPrintOrderFourteen,
  1023. DialysisPrintOrderThirteen,
  1024. DialysisPrintOrderTwelve,
  1025. DialysisPrintOrderEleven,
  1026. DialysisPrintOrderTen,
  1027. DialysisPrintOrderOne,
  1028. DialysisPrintOrderTwo,
  1029. DialysisPrintOrderThree,
  1030. DialysisPrintOrderFour,
  1031. DialysisPrintOrderFive,
  1032. DialysisPrintOrderSix,
  1033. DialysisPrintOrderSeven,
  1034. DialysisPrintOrderEight,
  1035. DialysisPrintOrderNine,
  1036. LabelBox,
  1037. BreadCrumb
  1038. },
  1039. data() {
  1040. return {
  1041. crumbs: [
  1042. { path: false, name: "透析管理" },
  1043. { path: false, name: "打印单" }
  1044. ],
  1045. childResponse: {},
  1046. operators: [],
  1047. adminUser: [],
  1048. check: {},
  1049. dialysisOrder: {
  1050. DeviceNumber: []
  1051. },
  1052. operatorMaps: {},
  1053. complications: [
  1054. "低血压",
  1055. "高血压",
  1056. "心律失常",
  1057. "头晕",
  1058. "头痛",
  1059. "呕吐",
  1060. "抽搐",
  1061. "出血",
  1062. "心衰",
  1063. "腹痛"
  1064. ],
  1065. jilurow: 0,
  1066. advice_jilurow: 0,
  1067. loading: false,
  1068. orgname: "",
  1069. patientInfo_gender_1: false,
  1070. patientInfo_gender_2: false,
  1071. patientInfo_source_2: false,
  1072. patientInfo_source_1: false,
  1073. modeOptions: {},
  1074. replacementWays: [],
  1075. perfusionApparatus: [],
  1076. anticoagulantsConfit: {},
  1077. bloodAccessParOpera: {},
  1078. dialysateFormulationOptions: {},
  1079. queryParams: {
  1080. xtdate: "",
  1081. xtno: ""
  1082. },
  1083. patientInfo: {
  1084. birth: "",
  1085. age: "",
  1086. DialysisSchedule: {
  1087. device_number: { number: "" },
  1088. device_zone: { name: "" }
  1089. },
  1090. gender: 0
  1091. },
  1092. predialysis: {
  1093. score: "",
  1094. internal_fistula: "",
  1095. internal_fistula_skin: "",
  1096. catheter: "",
  1097. blood_access_part_opera_name: ""
  1098. },
  1099. afterdialysis: {
  1100. complications_index: ""
  1101. },
  1102. prescription: {
  1103. dialysate_formulation_name: "",
  1104. device: {}
  1105. },
  1106. advices: [],
  1107. users: [],
  1108. monitors: [],
  1109. summary: {},
  1110. receiverTreatmentAccess: {},
  1111. org_template_info: {},
  1112. doctor_advices: [],
  1113. advice_groups: [],
  1114. AlPanel: {
  1115. id: 0,
  1116. name: "",
  1117. type: 1,
  1118. shouji: 2,
  1119. weichi: 2,
  1120. zongliang: 2,
  1121. gaimingcheng: -1,
  1122. gaijiliang: -1,
  1123. shouji_unit: "mg",
  1124. weichi_unit: "mg/h",
  1125. zongliang_unit: "mg",
  1126. gaimingcheng_unit: "",
  1127. gaijiliang_unit: ""
  1128. },
  1129. //
  1130. tableData: [],
  1131. selected_date: new Date(),
  1132. // search_input 和 search_keyword,使输入关键字时不会经常刷新 filtedSchedules
  1133. search_keyword: '', // 确定用于搜索的关键字
  1134. search_input: '', // 输入中的关键字
  1135. patient_state:[
  1136. {value: 0,label: '全部'},
  1137. {value: 1,label: '已签到'},
  1138. {value: 2,label: '未签到'},
  1139. {value: 3,label: '已上机'},
  1140. {value: 4,label: '已下机'},
  1141. ],
  1142. patientStateVal: 0,
  1143. treat_state:[
  1144. {value: 0,label: '全部'},
  1145. {value: 1,label: '待开处方'},
  1146. {value: 2,label: '待开小结'},
  1147. ],
  1148. treatStateVal: 0,
  1149. schedule_options:[
  1150. {value: 0,label: '全部'},
  1151. {value: 1,label: '上午'},
  1152. {value: 2,label: '下午'},
  1153. {value: 3,label: '晚上'},
  1154. ],
  1155. scheduleStateVal: 0,
  1156. zone_options:[
  1157. { id: 0, text: '全部' }
  1158. ],
  1159. zoneVal:0,
  1160. };
  1161. },
  1162. methods: {
  1163. getAdminUser(id) {
  1164. if (id == 0) {
  1165. return "";
  1166. }
  1167. if (id == undefined) {
  1168. return "";
  1169. }
  1170. for (let i = 0; i < this.adminUser.length; i++) {
  1171. if (this.adminUser[i].id == id) {
  1172. return this.adminUser[i].name;
  1173. }
  1174. }
  1175. },
  1176. getTime(value, temp) {
  1177. if (value == 0) {
  1178. return "";
  1179. }
  1180. if (value != undefined) {
  1181. return uParseTime(value, temp);
  1182. }
  1183. return "";
  1184. },
  1185. printThisPage() {
  1186. var ptime = Math.round(new Date().getTime() / 1000);
  1187. this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
  1188. const style =
  1189. '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
  1190. const style2 =
  1191. '@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: 3px 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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;} .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}';
  1192. const style3 =
  1193. '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:16px;border-color: #000;}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #000;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}.row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line {display: inline-block;border-bottom: 1px solid #000;text-align: center;white-space: nowrap; width: 50%;}';
  1194. // const style3 =
  1195. // '@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: 16px;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: 16px;padding: 5px 5px;line-height: 18px;}.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;}';
  1196. //
  1197. const style5 =
  1198. '@media print {.dialysis-print-order {width: 960px; margin: 0 auto;}.dialysis-print-order .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.dialysis-print-order .order-title { margin: auto; font-weight: 600; text-align: center; font-size: 22px; padding: 10px 20px 0px 20px;}.dialysis-print-order .table-box { width: 100%; line-height: 18px; font-size: 14px;}.dialysis-print-order .print-table { width: 100%; text-align: center; border-collapse: collapse; line-height: 28px; font-size: 14px;}.dialysis-print-order .print-table-no { width: 100%; text-align: center; border-collapse: collapse; font-size: 14px;}.dialysis-print-order .under-line { border-bottom: 1px solid #999; width: 95%; text-align: center; margin-left: 2px;}.dialysis-print-order .title-box { text-align: center; font-size: 16px;}.dialysis-print-order .radio-lebel-box { font-weight: 400; cursor: pointer;}.dialysis-print-order .radio-no { opacity: 0; outline: none; position: absolute; margin: 0; width: 0; height: 0; z-index: -1;}.dialysis-print-order .radio-inner { white-space: nowrap; cursor: pointer; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle;}.dialysis-print-order .radio-fang { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 14px; background-color: #fff; z-index: 1; transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46), background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);}.dialysis-print-order .is-checked-radio::after { content: "√"; font-size: 15px;}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px;}.dialysis-print-order .print-table tr td { padding: 1px 1px; /*line-height: 25px;*/}.es-img { height: 25px;}.advice-name { text-align: left;}.advice-children { display: flex;}.title-box-pro { border: 0 #fff; line-height: 25px; height: 25px; text-align: left; padding-left: 10px !important;}.title-box-pro-tr { border: 0 #fff;}.text-align-left { text-align: left !important; padding-left: 10px !important; font-size: 14px !important; line-height: 25px;}.print-table-tr-new td {line-height: 20px !important;}.border-top-solid {border: solid 1px #000;}.print-template-two tr {line-height: 30px;}}';
  1199. const style6 =
  1200. '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:16px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:16px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:16px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
  1201. const style7 =
  1202. '@media print {.dialysis-print-order {width: 960px; margin: 0 auto;}.dialysis-print-order .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.dialysis-print-order .order-title { margin: auto; font-weight: 600; text-align: center; font-size: 22px; padding: 10px 20px 0px 20px;}.dialysis-print-order .table-box { width: 100%; line-height: 18px; font-size: 18px;}.dialysis-print-order .print-table { width: 100%; text-align: center; border-collapse: collapse; line-height: 28px; font-size: 18px;}.dialysis-print-order .print-table-no { width: 100%; text-align: center; border-collapse: collapse; font-size: 14px;}.dialysis-print-order .under-line { border-bottom: 1px solid #999; width: 95%; text-align: center; margin-left: 2px;}.dialysis-print-order .title-box { text-align: center; font-size: 16px;}.dialysis-print-order .radio-lebel-box { font-weight: 400; cursor: pointer;}.dialysis-print-order .radio-no { opacity: 0; outline: none; position: absolute; margin: 0; width: 0; height: 0; z-index: -1;}.dialysis-print-order .radio-inner { white-space: nowrap; cursor: pointer; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle;}.dialysis-print-order .radio-fang { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 18px; height: 18px; background-color: #fff; z-index: 1; transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46), background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);}.dialysis-print-order .is-checked-radio::after { content: "√"; font-size: 19px;}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px;}.dialysis-print-order .print-table tr td { padding: 1px 1px; /*line-height: 25px;*/}.es-img { height: 25px;}.advice-name { text-align: left;}.advice-children { display: flex;}.title-box-pro { border: 0 #fff; line-height: 25px; height: 25px; text-align: left; padding-left: 10px !important;}.title-box-pro-tr { border: 0 #fff;}.text-align-left { text-align: left !important; padding-left: 10px !important; font-size: 14px !important; line-height: 25px;}.print-table-tr-new td {line-height: 20px !important;}.border-top-solid {border: solid 1px #000;}.print-template-two tr {line-height: 30px;}}';
  1203. const style8 =
  1204. '@media print {.dialysis-print-order{width:960px;margin:0 auto;font-size:10px;}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:10px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}.widthLength25{width: 25%;}.lineHeight{line-height: 20px;display: flex;justify-content: space-between;}';
  1205. const style9 =
  1206. '@media print {#dialysis-print-box-1{margin:0 auto;}.dialysis-print-order{width:920px;margin:0 10px;font-size:10px;}.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: 940px;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: 3px 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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}@page {margin-top:5px;}.table-box1 tr {border-bottom: 1px solid #000;}';
  1207. const style10 =
  1208. '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:40px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;line-height:35px} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}@page {margin-left:30px;margin-right:40px;}';
  1209. if (this.org_template_info.template_id == 1) {
  1210. printJS({
  1211. printable: "dialysis-print-box",
  1212. type: "html",
  1213. style: style,
  1214. scanStyles: false
  1215. });
  1216. } else if (
  1217. this.org_template_info.template_id == 2 ||
  1218. this.org_template_info.template_id == 0
  1219. ) {
  1220. printJS({
  1221. printable: "dialysis-print-box-1",
  1222. type: "html",
  1223. style: style2,
  1224. scanStyles: false
  1225. });
  1226. } else if (this.org_template_info.template_id == 3) {
  1227. printJS({
  1228. printable: "dialysis-print-box",
  1229. type: "html",
  1230. style: style,
  1231. scanStyles: false
  1232. });
  1233. } else if (this.org_template_info.template_id == 4) {
  1234. printJS({
  1235. printable: "dialysis-print-box",
  1236. type: "html",
  1237. style: style,
  1238. scanStyles: false
  1239. });
  1240. } else if (this.org_template_info.template_id == 5) {
  1241. printJS({
  1242. printable: "dialysis-print-box-1",
  1243. type: "html",
  1244. style: style2,
  1245. scanStyles: false
  1246. });
  1247. } else if (
  1248. this.org_template_info.template_id == 6 ||
  1249. this.org_template_info.template_id == 10 ||
  1250. this.org_template_info.template_id == 11 ||
  1251. this.org_template_info.template_id == 46
  1252. ) {
  1253. printJS({
  1254. printable: "dialysis-print-box-1",
  1255. type: "html",
  1256. style: style2,
  1257. scanStyles: false
  1258. });
  1259. } else if (this.org_template_info.template_id == 7) {
  1260. printJS({
  1261. printable: "dialysis-print-box",
  1262. type: "html",
  1263. style: style,
  1264. scanStyles: false
  1265. });
  1266. } else if (this.org_template_info.template_id == 8) {
  1267. printJS({
  1268. printable: "dialysis-print-box",
  1269. type: "html",
  1270. style: style,
  1271. scanStyles: false
  1272. });
  1273. } else if (this.org_template_info.template_id == 9 || this.org_template_info.template_id==25) {
  1274. printJS({
  1275. printable: "dialysis-print-box",
  1276. type: "html",
  1277. style: style5,
  1278. scanStyles: false
  1279. });
  1280. } else if (this.org_template_info.template_id == 12) {
  1281. printJS({
  1282. printable: "dialysis-print-box",
  1283. type: "html",
  1284. style: style,
  1285. scanStyles: false
  1286. });
  1287. } else if (this.org_template_info.template_id == 13) {
  1288. printJS({
  1289. printable: "dialysis-print-box-1",
  1290. type: "html",
  1291. style: style3,
  1292. scanStyles: false
  1293. });
  1294. } else if (this.org_template_info.template_id == 14){
  1295. printJS({
  1296. printable: "dialysis-print-box",
  1297. type: "html",
  1298. style: style,
  1299. scanStyles: false
  1300. });
  1301. } else if (this.org_template_info.template_id == 15){
  1302. printJS({
  1303. printable: "dialysis-print-box",
  1304. type: "html",
  1305. style: style,
  1306. scanStyles: false
  1307. });
  1308. } else if (this.org_template_info.template_id == 16){
  1309. printJS({
  1310. printable: "dialysis-print-box",
  1311. type: "html",
  1312. style: style,
  1313. scanStyles: false
  1314. });
  1315. } else if (this.org_template_info.template_id == 17) {
  1316. printJS({
  1317. printable: "dialysis-print-box",
  1318. type: "html",
  1319. style: style6,
  1320. scanStyles: false
  1321. });
  1322. } else if (this.org_template_info.template_id == 18) {
  1323. printJS({
  1324. printable: "dialysis-print-box",
  1325. type: "html",
  1326. style: style,
  1327. scanStyles: false
  1328. });
  1329. } else if (this.org_template_info.template_id == 19) {
  1330. printJS({
  1331. printable: "dialysis-print-box-1",
  1332. type: "html",
  1333. style: style2,
  1334. scanStyles: false
  1335. });
  1336. } else if (this.org_template_info.template_id == 20) {
  1337. printJS({
  1338. printable: "dialysis-print-box",
  1339. type: "html",
  1340. style: style,
  1341. scanStyles: false
  1342. });
  1343. } else if (this.org_template_info.template_id == 21) {
  1344. printJS({
  1345. printable: "dialysis-print-box",
  1346. type: "html",
  1347. style: style,
  1348. scanStyles: false
  1349. });
  1350. } else if (this.org_template_info.template_id == 22) {
  1351. printJS({
  1352. printable: "dialysis-print-box-1",
  1353. type: "html",
  1354. style: style2,
  1355. scanStyles: false
  1356. });
  1357. } else if (this.org_template_info.template_id == 23){
  1358. printJS({
  1359. printable: "dialysis-print-box",
  1360. type: "html",
  1361. style: style,
  1362. scanStyles: false
  1363. });
  1364. } else if (this.org_template_info.template_id == 24){
  1365. printJS({
  1366. printable: "dialysis-print-box",
  1367. type: "html",
  1368. style: style,
  1369. scanStyles: false
  1370. });
  1371. } else if (this.org_template_info.template_id == 26) {
  1372. printJS({
  1373. printable: "dialysis-print-box",
  1374. type: "html",
  1375. style: style,
  1376. scanStyles: false
  1377. });
  1378. } else if (this.org_template_info.template_id == 27) {
  1379. printJS({
  1380. printable: "dialysis-print-box",
  1381. type: "html",
  1382. style: style,
  1383. scanStyles: false
  1384. });
  1385. } else if (this.org_template_info.template_id == 28) {
  1386. printJS({
  1387. printable: "dialysis-print-box",
  1388. type: "html",
  1389. style: style7,
  1390. scanStyles: false
  1391. });
  1392. } else if (this.org_template_info.template_id == 29) {
  1393. printJS({
  1394. printable: "dialysis-print-box",
  1395. type: "html",
  1396. style: style,
  1397. scanStyles: false
  1398. });
  1399. } else if (this.org_template_info.template_id == 30) {
  1400. printJS({
  1401. printable: "dialysis-print-box",
  1402. type: "html",
  1403. style: style,
  1404. scanStyles: false
  1405. });
  1406. } else if (this.org_template_info.template_id == 31) {
  1407. printJS({
  1408. printable: "dialysis-print-box-1",
  1409. type: "html",
  1410. style: style3,
  1411. scanStyles: false
  1412. });
  1413. } else if (this.org_template_info.template_id == 32) {
  1414. printJS({
  1415. printable: "dialysis-print-box",
  1416. type: "html",
  1417. style: style5,
  1418. scanStyles: false
  1419. });
  1420. } else if (this.org_template_info.template_id == 33) {
  1421. printJS({
  1422. printable: "dialysis-print-box-1",
  1423. type: "html",
  1424. style: style2,
  1425. scanStyles: false
  1426. });
  1427. } else if (this.org_template_info.template_id == 34) {
  1428. printJS({
  1429. printable: "dialysis-print-box-1",
  1430. type: "html",
  1431. style: style2,
  1432. scanStyles: false
  1433. });
  1434. } else if (this.org_template_info.template_id == 35) {
  1435. printJS({
  1436. printable: "dialysis-print-box",
  1437. type: "html",
  1438. style: style,
  1439. scanStyles: false
  1440. });
  1441. } else if (this.org_template_info.template_id == 36) {
  1442. printJS({
  1443. printable: "dialysis-print-box-1",
  1444. type: "html",
  1445. style: style,
  1446. scanStyles: false
  1447. });
  1448. } else if (this.org_template_info.template_id == 37) {
  1449. printJS({
  1450. printable: "dialysis-print-box",
  1451. type: "html",
  1452. style: style,
  1453. scanStyles: false
  1454. });
  1455. } else if (this.org_template_info.template_id == 38) {
  1456. printJS({
  1457. printable: "dialysis-print-box",
  1458. type: "html",
  1459. style: style8,
  1460. scanStyles: false
  1461. });
  1462. } else if (this.org_template_info.template_id == 39) {
  1463. printJS({
  1464. printable: "dialysis-print-box",
  1465. type: "html",
  1466. style: style3,
  1467. scanStyles: false
  1468. });
  1469. } else if (this.org_template_info.template_id == 40) {
  1470. printJS({
  1471. printable: "dialysis-print-box",
  1472. type: "html",
  1473. style: style5,
  1474. scanStyles: false
  1475. });
  1476. } else if (this.org_template_info.template_id == 41){
  1477. printJS({
  1478. printable: "dialysis-print-box-1",
  1479. type: "html",
  1480. style: style9,
  1481. scanStyles: false
  1482. });
  1483. } else if (this.org_template_info.template_id == 42) {
  1484. printJS({
  1485. printable: "dialysis-print-box",
  1486. type: "html",
  1487. style: style10,
  1488. scanStyles: false
  1489. });
  1490. } else if (this.org_template_info.template_id == 43) {
  1491. printJS({
  1492. printable: "dialysis-print-box-1",
  1493. type: "html",
  1494. style: style2,
  1495. scanStyles: false
  1496. });
  1497. } else if (this.org_template_info.template_id == 44){
  1498. printJS({
  1499. printable: "dialysis-print-box-1",
  1500. type: "html",
  1501. style: style9,
  1502. scanStyles: false
  1503. });
  1504. } else if (this.org_template_info.template_id == 45) {
  1505. printJS({
  1506. printable: "dialysis-print-box",
  1507. type: "html",
  1508. style: style,
  1509. scanStyles: false
  1510. });
  1511. }else if (this.org_template_info.template_id == 46) {
  1512. printJS({
  1513. printable: "dialysis-print-box-1",
  1514. type: "html",
  1515. style: style2,
  1516. scanStyles: false
  1517. });
  1518. }
  1519. },
  1520. printThisOnePage() {
  1521. var ptime = Math.round(new Date().getTime() / 1000);
  1522. this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
  1523. const style =
  1524. '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
  1525. const style2 =
  1526. '@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: 3px 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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:200px;}.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: 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;}';
  1527. if (this.org_template_info.template_id == 1) {
  1528. printJS({
  1529. printable: "dialysis-print-box",
  1530. type: "html",
  1531. style: style,
  1532. scanStyles: false
  1533. });
  1534. } else if (
  1535. this.org_template_info.template_id == 2 ||
  1536. this.org_template_info.template_id == 0 ||
  1537. this.org_template_info.template_id == 5 ||
  1538. this.org_template_info.template_id == 22 ||
  1539. this.org_template_info.template_id == 33
  1540. ) {
  1541. printJS({
  1542. printable: "dialysis-print-box-1-1",
  1543. type: "html",
  1544. style: style2,
  1545. scanStyles: false
  1546. });
  1547. } else if(this.org_template_info.template_id == 14){
  1548. printJS({
  1549. printable: "new-dialysis-1",
  1550. type: "html",
  1551. style: style,
  1552. scanStyles: false
  1553. });
  1554. } else if(this.org_template_info.template_id == 21){
  1555. printJS({
  1556. printable: "new-dialysis-1",
  1557. type: "html",
  1558. style: style,
  1559. scanStyles: false
  1560. });
  1561. } else if(this.org_template_info.template_id == 27){
  1562. printJS({
  1563. printable: "new-dialysis-1",
  1564. type: "html",
  1565. style: style,
  1566. scanStyles: false
  1567. });
  1568. } else if(this.org_template_info.template_id == 36){
  1569. printJS({
  1570. printable: "dialysis-print-box-1-1",
  1571. type: "html",
  1572. style: style,
  1573. scanStyles: false
  1574. });
  1575. }
  1576. },
  1577. printThisTwoPage() {
  1578. var ptime = Math.round(new Date().getTime() / 1000);
  1579. this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
  1580. const style =
  1581. '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
  1582. const style2 =
  1583. '@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: 3px 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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.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: 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;}';
  1584. if (this.org_template_info.template_id == 1) {
  1585. printJS({
  1586. printable: "dialysis-print-box",
  1587. type: "html",
  1588. style: style,
  1589. scanStyles: false
  1590. });
  1591. } else if (
  1592. this.org_template_info.template_id == 2 ||
  1593. this.org_template_info.template_id == 0 ||
  1594. this.org_template_info.template_id == 5 ||
  1595. this.org_template_info.template_id == 22 ||
  1596. this.org_template_info.template_id == 33
  1597. ) {
  1598. printJS({
  1599. printable: "dialysis-print-box-1-2",
  1600. type: "html",
  1601. style: style2,
  1602. scanStyles: false
  1603. });
  1604. }else if(this.org_template_info.template_id == 14){
  1605. printJS({
  1606. printable: "new-dialysis-2",
  1607. type: "html",
  1608. style: style,
  1609. scanStyles: false
  1610. });
  1611. } else if(this.org_template_info.template_id == 21){
  1612. printJS({
  1613. printable: "new-dialysis-2",
  1614. type: "html",
  1615. style: style,
  1616. scanStyles: false
  1617. });
  1618. } else if(this.org_template_info.template_id == 27){
  1619. printJS({
  1620. printable: "new-dialysis-2",
  1621. type: "html",
  1622. style: style,
  1623. scanStyles: false
  1624. });
  1625. } else if(this.org_template_info.template_id == 36){
  1626. printJS({
  1627. printable: "dialysis-print-box-1-2",
  1628. type: "html",
  1629. style: style,
  1630. scanStyles: false
  1631. });
  1632. }
  1633. },
  1634. getNumber() {
  1635. if (this.dialysisOrder != null) {
  1636. return (
  1637. this.patientInfo.DialysisSchedule.device_zone.name +
  1638. this.dialysisOrder.DeviceNumber.number
  1639. );
  1640. } else {
  1641. return (
  1642. this.patientInfo.DialysisSchedule.device_zone.name +
  1643. this.patientInfo.DialysisSchedule.device_number.number
  1644. );
  1645. }
  1646. },
  1647. getXuserName(id) {
  1648. if (id <= 0) {
  1649. return "";
  1650. }
  1651. var name = "";
  1652. if (this.users == null || typeof this.users.length === "undefined") {
  1653. return name;
  1654. }
  1655. var leng = this.users.length;
  1656. if (leng == 0) {
  1657. return name;
  1658. }
  1659. for (let index = 0; index < leng; index++) {
  1660. if (this.users[index].id == id) {
  1661. name = this.users[index].name;
  1662. break;
  1663. }
  1664. }
  1665. return name;
  1666. },
  1667. setAdminUserES(id) {
  1668. console.log(id);
  1669. if (id == 0) {
  1670. return "";
  1671. }
  1672. if (id in this.operatorMaps) {
  1673. return this.operatorMaps[id].url;
  1674. } else {
  1675. return "";
  1676. }
  1677. },
  1678. modeName(mode_id) {
  1679. return typeof this.modeOptions[mode_id] !== "undefined" &&
  1680. typeof this.modeOptions[mode_id].name !== "undefined"
  1681. ? this.modeOptions[mode_id].name
  1682. : "";
  1683. },
  1684. getDialysisRecord() {
  1685. this.loading = true;
  1686. getDialysisRecord(this.queryParams).then(response => {
  1687. if (response.data.state == 1) {
  1688. this.childResponse = response;
  1689. this.org_template_info = response.data.data.org_template_info;
  1690. this.loading = false;
  1691. // this.adminUser = response.data.data.users
  1692. // this.users = response.data.data.users
  1693. // this.patientInfo = response.data.data.patientInfo
  1694. // this.patientInfo.birth = uParseTime(this.patientInfo.birthday, '{y}-{m}-{d}')
  1695. // // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1696. // if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1697. // this.patientInfo.first_dialysis_date = uParseTime(response.data.data.patientInfo.first_dialysis_date, '{y}-{m}-{d}')
  1698. // } else {
  1699. // this.patientInfo.first_dialysis_date = ''
  1700. // }
  1701. // this.check = response.data.data.check
  1702. // this.predialysis = response.data.data.PredialysisEvaluation
  1703. // this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(this.predialysis.blood_access_part_opera_id)
  1704. // this.afterdialysis = response.data.data.AssessmentAfterDislysis
  1705. // this.operators = response.data.data.operators
  1706. // this.dialysisOrder = response.data.data.dialysisOrder === null ? null : response.data.data.dialysisOrder
  1707. // if (this.operators.length > 0) {
  1708. // var operatorsLen = this.operators.length
  1709. // for (var index = 0; index < operatorsLen; index++) {
  1710. // this.$set(this.operatorMaps, this.operators[index].creator, this.operators[index])
  1711. // }
  1712. // }
  1713. // this.afterdialysis.txqnx = -1
  1714. // if (this.afterdialysis.cruor.indexOf('0度') > -1) {
  1715. // this.afterdialysis.txqnx = 0
  1716. // }
  1717. // if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
  1718. // this.afterdialysis.txqnx = 1
  1719. // }
  1720. // if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
  1721. // this.afterdialysis.txqnx = 2
  1722. // }
  1723. // if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
  1724. // this.afterdialysis.txqnx = 3
  1725. // }
  1726. // this.afterdialysis.complications = this.afterdialysis.complication.split(',')
  1727. // this.afterdialysis.complications_other = []
  1728. // this.afterdialysis.complications_index = []
  1729. // var acllen = this.afterdialysis.complications.length
  1730. // for (let index = 0; index < acllen; index++) {
  1731. // if (this.complications.indexOf(this.afterdialysis.complications[index]) >= 0) {
  1732. // this.afterdialysis.complications_index.push(this.afterdialysis.complications[index])
  1733. // } else if (this.complications.indexOf(this.afterdialysis.complications[index]) < 0 && this.afterdialysis.complications_other.indexOf(this.afterdialysis.complications[index]) < 0) {
  1734. // this.afterdialysis.complications_other.push(this.afterdialysis.complications[index])
  1735. // }
  1736. // }
  1737. // this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(',')
  1738. // this.prescription = response.data.data.dialysisPrescription
  1739. // this.receiverTreatmentAccess = response.data.data.receiverTreatmentAccess
  1740. // this.prescription.mode = this.modeName(this.prescription.mode_id)
  1741. // var rwLen = this.replacementWays.length
  1742. // this.prescription.replacement = ''
  1743. // for (let index = 0; index < rwLen; index++) {
  1744. // if (this.replacementWays[index].id == this.prescription.replacement_way) {
  1745. // this.prescription.replacement = this.replacementWays[index].name
  1746. // break
  1747. // }
  1748. // }
  1749. // this.prescription.dialysate_formulation_name = this.dialysateFormulationName(this.prescription.dialysate_formulation)
  1750. // var paLen = this.perfusionApparatus.length
  1751. // this.prescription.perfusion_apparatus_name = ''
  1752. // for (let index = 0; index < paLen; index++) {
  1753. // if (this.perfusionApparatus[index].id == this.prescription.perfusion_apparatus) {
  1754. // this.prescription.perfusion_apparatus_name = this.perfusionApparatus[index].name
  1755. // break
  1756. // }
  1757. // }
  1758. // var acLen = this.anticoagulantsConfit.length
  1759. // var thisALID = this.prescription.anticoagulant
  1760. // this.prescription.anticoagulant_name = ''
  1761. // if (typeof (this.anticoagulantsConfit[thisALID]) !== 'undefined' && this.anticoagulantsConfit[thisALID] != null) {
  1762. // this.prescription.anticoagulant_name = this.anticoagulantsConfit[thisALID].name
  1763. // this.AlPanel = this.anticoagulantsConfit[thisALID]
  1764. // }
  1765. // this.advices = response.data.data.advices
  1766. // this.monitors = response.data.data.monitors
  1767. // this.summary = response.data.data.summary
  1768. // this.org_template_info = response.data.data.org_template_info
  1769. // if (this.monitors.length < 8) {
  1770. // var nl = 8 - this.monitors.length
  1771. // for (let index = 0; index < nl; index++) {
  1772. // this.monitors.push([])
  1773. // }
  1774. // }
  1775. // this.jilurow = this.monitors.length + 1
  1776. // this.advice_jilurow = this.advices.length + 1
  1777. // var childMap = {}
  1778. // for (const index in this.advices) {
  1779. // if (this.advices[index].parent_id == 0) {
  1780. // continue
  1781. // }
  1782. // if (!(this.advices[index].parent_id in childMap)) {
  1783. // childMap[this.advices[index].parent_id] = []
  1784. // }
  1785. // childMap[this.advices[index].parent_id].push(this.advices[index])
  1786. // }
  1787. // var advices = []
  1788. // for (const index in this.advices) {
  1789. // if (this.advices[index].parent_id > 0) {
  1790. // continue
  1791. // }
  1792. // var item = this.advices[index]
  1793. // if (item.id in childMap) {
  1794. // item.children = childMap[item.id]
  1795. // } else {
  1796. // item.children = []
  1797. // }
  1798. // advices.push(item)
  1799. // }
  1800. // var leftAdvice = []
  1801. // var rightAdvice = []
  1802. // var adlen = advices.length
  1803. // var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
  1804. // for (var i = 0; i < halfLen; i++) {
  1805. // leftAdvice.push(advices[i])
  1806. // rightAdvice.push(advices[i + halfLen])
  1807. // }
  1808. // if (halfLen < 5) {
  1809. // var nl = 5 - leftAdvice.length
  1810. // for (let index = 0; index < nl; index++) {
  1811. // leftAdvice.push([])
  1812. // }
  1813. // var nl = 5 - rightAdvice.length
  1814. // for (let index = 0; index < nl; index++) {
  1815. // rightAdvice.push([])
  1816. // }
  1817. // }
  1818. // this.advices = []
  1819. // for (var i = 0; i < halfLen; i++) {
  1820. // var item = []
  1821. // item.push(leftAdvice[i])
  1822. // item.push(rightAdvice[i])
  1823. // this.advices.push(item)
  1824. // }
  1825. // this.loading = false
  1826. // this.doctor_advices = response.data.data.advices == null ? [] : response.data.data.advices
  1827. // for (let index = 0; index < this.doctor_advices.length; index++) {
  1828. // this.doctor_advices[index]['isShow'] = 2
  1829. // }
  1830. // if (this.doctor_advices.length > 0) {
  1831. // var group = this.newAdviceGroupObject()
  1832. // var initGroupBlock = function(group, advice) {
  1833. // group.group_no = advice.groupno
  1834. // }
  1835. // for (let index = this.doctor_advices.length - 1; index >= 0; index--) {
  1836. // var new_advice_index = 0
  1837. // if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
  1838. // new_advice_index = index + this.doctor_advices[index].children.length + 1
  1839. // var doctor_advice = {
  1840. // delivery_way: this.doctor_advices[index].delivery_way,
  1841. // execution_frequency: this.doctor_advices[index].execution_frequency,
  1842. // groupno: this.doctor_advices[index].groupno,
  1843. // id: this.doctor_advices[index].id,
  1844. // parent_id: this.doctor_advices[index].parent_id,
  1845. // children: this.doctor_advices[index].children,
  1846. // remark: this.doctor_advices[index].remark,
  1847. // execution_staff: this.doctor_advices[index].execution_staff,
  1848. // checker: this.doctor_advices[index].checker,
  1849. // advice_doctor: this.doctor_advices[index].advice_doctor,
  1850. // }
  1851. // doctor_advice['isShow'] = 1
  1852. // this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  1853. // // this.doctor_advices.push(doctor_advice)
  1854. // }
  1855. // }
  1856. // for (let index = 0; index < this.doctor_advices.length; index++) {
  1857. // const advice = this.doctor_advices[index]
  1858. // if (advice.groupno == 0) {
  1859. // // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  1860. // if (advice.parent_id > 0) {
  1861. // if (this.advice_groups.length > 0) {
  1862. // var parent_group = this.advice_groups[
  1863. // this.advice_groups.length - 1
  1864. // ]
  1865. // if (parent_group.advices.length > 0) {
  1866. // if (parent_group.advices[0].id == advice.parent_id) {
  1867. // parent_group.advices.push(advice)
  1868. // }
  1869. // }
  1870. // }
  1871. // continue
  1872. // } else {
  1873. // if (group.group_no > 0) {
  1874. // this.advice_groups.push(group)
  1875. // group = this.newAdviceGroupObject()
  1876. // }
  1877. // initGroupBlock(group, advice)
  1878. // group.advices.push(advice)
  1879. // this.advice_groups.push(group)
  1880. // group = this.newAdviceGroupObject()
  1881. // continue
  1882. // }
  1883. // }
  1884. // if (group.group_no > 0 && group.group_no != advice.groupno) {
  1885. // this.advice_groups.push(group)
  1886. // group = this.newAdviceGroupObject()
  1887. // }
  1888. // if (group.group_no == 0) {
  1889. // initGroupBlock(group, advice)
  1890. // }
  1891. // if (group.group_no == advice.groupno) {
  1892. // group.advices.push(advice)
  1893. // }
  1894. // }
  1895. // if (group.group_no > 0) {
  1896. // // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  1897. // this.advice_groups.push(group)
  1898. // }
  1899. // }
  1900. // console.log(this.advice_groups)
  1901. } else {
  1902. this.loading = false;
  1903. this.$message.error("请求数据失败");
  1904. return false;
  1905. }
  1906. });
  1907. },
  1908. bloodAccessParOperaName(id) {
  1909. if (id in this.bloodAccessParOpera) {
  1910. return this.bloodAccessParOpera[id].name;
  1911. }
  1912. return "";
  1913. },
  1914. dialysateFormulationName(id) {
  1915. if (id in this.dialysateFormulationOptions) {
  1916. return this.dialysateFormulationOptions[id].name;
  1917. }
  1918. return "";
  1919. },
  1920. getAge: function(val) {
  1921. if (
  1922. this.org_template_info.template_id == 2 ||
  1923. this.org_template_info.template_id == 0
  1924. ) {
  1925. if (val.age == 0) {
  1926. return jsGetAge(val.birth, "-");
  1927. } else {
  1928. return val.age;
  1929. }
  1930. } else {
  1931. return jsGetAge(val.birth, "-");
  1932. }
  1933. },
  1934. newAdviceGroupObject: function() {
  1935. return Object.assign(
  1936. {},
  1937. {
  1938. group_no: 0,
  1939. // advice_doctor: 0,
  1940. // start_time: 0,
  1941. advices: []
  1942. // exec_staff: 0,
  1943. // exec_time: 0,
  1944. // checker: 0,
  1945. }
  1946. );
  1947. },
  1948. //日期
  1949. handleScheduleDateChange: function(index) {
  1950. this.treatStateVal = 0
  1951. this.patientStateVal = 0
  1952. this.zoneVal = 0
  1953. this.scheduleStateVal = 0
  1954. this.search_keyword = this.search_input = ''
  1955. // this.$store.dispatch("SaveDialysisAreaSelectIndexs", {
  1956. // zone: this.zone_selected,
  1957. // schedule_type: this.schedule_type_selected,
  1958. // schedule_date: this.selected_date,
  1959. // })
  1960. this.selected_date = index
  1961. this.$store.dispatch('SetSelectedDate', { selected_date: index })
  1962. this.requestDialysisSchedules()
  1963. },
  1964. //初始化数据
  1965. getInitData: function() {
  1966. getDialysisRecordInitData().then(rs => {
  1967. var resp = rs.data
  1968. if (resp.state == 1) {
  1969. var zones = resp.data.zones
  1970. var schedules = resp.data.schedules
  1971. var zone_options = [{ id: 0, text: '全部' }]
  1972. for (let z_i = 0; z_i < zones.length; z_i++) {
  1973. const zone = zones[z_i]
  1974. zone_options.push({ id: zone.id, text: zone.name })
  1975. }
  1976. this.zone_options = zone_options
  1977. // this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
  1978. this.arr = this.processedDialysisSchedules(schedules, this.zone_options)
  1979. this.requestDialysisSchedules()
  1980. // this.getData()
  1981. } else {
  1982. this.$message.error(resp.msg)
  1983. }
  1984. })
  1985. },
  1986. // 班次
  1987. handletimeType: function(index) {
  1988. this.scheduleStateVal = index
  1989. this.$store.dispatch('SetScheduleTypeSelected', { schedule_type_selected: index })
  1990. this.search_keyword = this.search_input = ''
  1991. this.getData()
  1992. },
  1993. //分区
  1994. handleZoneChange: function(index) {
  1995. this.zoneVal = index
  1996. this.$store.dispatch('SetZoneSelected', { zone_selected: index })
  1997. this.search_keyword = this.search_input = ''
  1998. this.getData()
  1999. },
  2000. //患者状态
  2001. handleStateChange: function(index) {
  2002. this.patientStateVal = index
  2003. this.$store.dispatch('SetPatientStateSelected', { patient_state_selected: index })
  2004. this.search_keyword = this.search_input = ''
  2005. this.getData()
  2006. },
  2007. handleTreatChange: function(index) {
  2008. this.treatStateVal = index
  2009. this.$store.dispatch('SetTreatStateSelected', { treat_state_selected: index })
  2010. this.search_keyword = this.search_input = ''
  2011. this.getData()
  2012. },
  2013. processedDialysisSchedules: function(schedules, zone_options) {
  2014. var zoneMap = {}
  2015. var scheduleMap = {}
  2016. for (let z_i = 0; z_i < zone_options.length; z_i++) {
  2017. const zone = zone_options[z_i]
  2018. if (zone.id == 0) {
  2019. continue
  2020. }
  2021. scheduleMap[zone.id] = []
  2022. }
  2023. for (let index = 0; index < schedules.length; index++) {
  2024. const schedule = schedules[index]
  2025. scheduleMap[schedule.device_number.zone.id].push(schedule)
  2026. }
  2027. var zone_schedules = []
  2028. for (let index = 0; index < zone_options.length; index++) {
  2029. const zone = zone_options[index]
  2030. if (zone.id == 0) {
  2031. continue
  2032. }
  2033. var schedules = scheduleMap[zone.id]
  2034. zone_schedules.push({ zone_id: zone.id, zone_name: zone.text, schedules: schedules })
  2035. }
  2036. return zone_schedules
  2037. },
  2038. searchAction: function() {
  2039. this.search_keyword = this.search_input
  2040. this.scheduleStateVal = 0
  2041. this.zoneVal = 0
  2042. this.treatStateVal = 0
  2043. this.patientStateVal = 0
  2044. if(this.search_input != ''){
  2045. let arr = []
  2046. this.filtedSchedules.map(item => {
  2047. arr.push(...item.schedules)
  2048. })
  2049. this.tableData = arr
  2050. }else{
  2051. this.getData()
  2052. }
  2053. },
  2054. requestDialysisSchedules: function() {
  2055. var ymd = parseTime(this.selected_date, '{y}-{m}-{d}')
  2056. getDialysisSchedules(ymd).then(rs => {
  2057. var resp = rs.data
  2058. if (resp.state == 1) {
  2059. var schedules = resp.data.schedules
  2060. this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
  2061. let newArr = []
  2062. this.zone_schedules.map(item => {
  2063. newArr.push(...item.schedules)
  2064. })
  2065. this.tableData = newArr
  2066. this.getData()
  2067. } else {
  2068. this.$message.error(resp.msg)
  2069. }
  2070. })
  2071. },
  2072. changePatient(schedual){
  2073. console.log(schedual)
  2074. var xtdate = parseTime(schedual.schedule_date, '{y}-{m}-{d}')
  2075. this.$router.push(
  2076. '/dialysis/print?xtdate=' + xtdate + '&xtno=' + schedual.patient.dialysis_no
  2077. )
  2078. // this.patient_id = schedual.patient_id;
  2079. // this.date = schedual.schedule_date;
  2080. // // this.getScheduleDetail();
  2081. // // this.getLongAdvice();
  2082. // var patient_id = schedual.patient_id;
  2083. // var date = schedual.schedule_date;
  2084. // this.$router.push({
  2085. // path: "/dialysis/details",
  2086. // query: {
  2087. // patient_id: patient_id,
  2088. // date: date,
  2089. // patient_name: schedual.patient.name
  2090. // }
  2091. // });
  2092. },
  2093. getData(){
  2094. let patientArr = []
  2095. patientArr = JSON.parse(JSON.stringify(this.zone_schedules))
  2096. console.log('patientArr',patientArr)
  2097. let arr1 = []
  2098. if(this.patientStateVal == 0){
  2099. arr1 = patientArr
  2100. console.log(arr1)
  2101. }else if(this.patientStateVal == 1){
  2102. let arr = []
  2103. arr = patientArr
  2104. for (let i = 0; i <arr.length; i++) {
  2105. for (let j = 0; j < arr[i].schedules.length; j++) {
  2106. if (arr[i].schedules.length > 0 && (arr[i].schedules[j].assessment_before_dislysis == null || (arr[i].schedules[j].assessment_before_dislysis.weight_before == '' && arr[i].schedules[j].assessment_before_dislysis.diastolic_blood_pressure == '' && arr[i].schedules[j].assessment_before_dislysis.systolic_blood_pressure == ''))) {
  2107. // 删除元素后改变i的值
  2108. arr[i].schedules.splice(j--, 1);
  2109. }
  2110. }
  2111. }
  2112. console.log("执行1",arr)
  2113. arr1 = arr
  2114. }else if(this.patientStateVal == 2){
  2115. let arr = []
  2116. arr = patientArr
  2117. for (let i = 0; i < arr.length; i++) {
  2118. for (let j = 0; j < arr[i].schedules.length; j++) {
  2119. if (arr[i].schedules.length > 0 && (arr[i].schedules[j].assessment_before_dislysis != null && (arr[i].schedules[j].assessment_before_dislysis.weight_before != 0 || arr[i].schedules[j].assessment_before_dislysis.diastolic_blood_pressure != 0 || arr[i].schedules[j].assessment_before_dislysis.systolic_blood_pressure != 0))) {
  2120. // 删除元素后改变i的值
  2121. console.log('几次')
  2122. arr[i].schedules.splice(j--, 1);
  2123. }
  2124. }
  2125. }
  2126. console.log("执行2",arr)
  2127. arr1 = arr
  2128. }else if(this.patientStateVal == 3){
  2129. let arr = []
  2130. arr = patientArr
  2131. for (let i = 0; i <arr.length; i++) {
  2132. for (let j = 0; j < arr[i].schedules.length; j++) {
  2133. if (arr[i].schedules.length > 0 && (arr[i].schedules[j].dialysis_order == null || (arr[i].schedules[j].dialysis_order != null && arr[i].schedules[j].dialysis_order.stage != 1))) {
  2134. // 删除元素后改变i的值
  2135. arr[i].schedules.splice(j--, 1);
  2136. }
  2137. }
  2138. }
  2139. console.log("执行1",arr)
  2140. arr1 = arr
  2141. }else if(this.patientStateVal == 4){
  2142. let arr = []
  2143. arr = patientArr
  2144. for (let i = 0; i < arr.length; i++) {
  2145. for (let j = 0; j < arr[i].schedules.length; j++) {
  2146. if (arr[i].schedules.length > 0 && (arr[i].schedules[j].dialysis_order == null || (arr[i].schedules[j].dialysis_order != null && arr[i].schedules[j].dialysis_order.stage != 2))) {
  2147. // 删除元素后改变i的值
  2148. arr[i].schedules.splice(j--, 1);
  2149. }
  2150. }
  2151. }
  2152. console.log("执行2",arr)
  2153. arr1 = arr
  2154. }
  2155. let arr2 = []
  2156. if(this.treatStateVal == 0){
  2157. arr2 = JSON.parse(JSON.stringify(arr1))
  2158. }else if(this.treatStateVal == 1){
  2159. let arr = []
  2160. arr = JSON.parse(JSON.stringify(arr1))
  2161. for (let i = 0; i < arr.length; i++) {
  2162. for (let j = 0; j < arr[i].schedules.length; j++) {
  2163. if (arr[i].schedules.length > 0 && (arr[i].schedules[j].prescription != null || arr[i].schedules[j].prescription != null ? arr[i].schedules[j].prescription.creater != 0 : false)) {
  2164. // 删除元素后改变i的值
  2165. arr[i].schedules.splice(j--, 1);
  2166. }
  2167. }
  2168. }
  2169. arr2 = arr
  2170. }else if(this.treatStateVal == 2){
  2171. let arr = []
  2172. arr = JSON.parse(JSON.stringify(arr1))
  2173. for (let i = 0; i < arr.length; i++) {
  2174. for (let j = 0; j < arr[i].schedules.length; j++) {
  2175. if (arr[i].schedules.length > 0 && arr[i].schedules[j].treatment_summary != null && arr[i].schedules[j].treatment_summary.dialysis_summary != '') {
  2176. // 删除元素后改变i的值
  2177. arr[i].schedules.splice(j--, 1);
  2178. }
  2179. }
  2180. }
  2181. arr2 = arr
  2182. }
  2183. let arr3 = []
  2184. if(this.scheduleStateVal == 0){
  2185. arr3 = JSON.parse(JSON.stringify(arr2))
  2186. }else{
  2187. let arr = []
  2188. arr = JSON.parse(JSON.stringify(arr2))
  2189. for (let i = 0; i < arr.length; i++) {
  2190. for (let j = 0; j < arr[i].schedules.length; j++) {
  2191. if (this.scheduleStateVal != arr[i].schedules[j].schedule_type) {
  2192. // 删除元素后改变i的值
  2193. arr[i].schedules.splice(j--, 1);
  2194. }
  2195. }
  2196. }
  2197. arr3 = arr
  2198. console.log("上午",arr)
  2199. }
  2200. let arr4 = []
  2201. if(this.zoneVal == 0){
  2202. arr4 = JSON.parse(JSON.stringify(arr3))
  2203. }else{
  2204. let arr = []
  2205. arr = JSON.parse(JSON.stringify(arr3))
  2206. for (let i = 0; i < arr.length; i++) {
  2207. if (this.zoneVal != arr[i].zone_id) {
  2208. // 删除元素后改变i的值
  2209. arr.splice(i--, 1);
  2210. }
  2211. }
  2212. arr4 = arr
  2213. }
  2214. let newArr = []
  2215. arr4.map(item => {
  2216. newArr.push(...item.schedules)
  2217. })
  2218. this.tableData = newArr
  2219. console.log('table',this.tableData)
  2220. },
  2221. },
  2222. watch: {
  2223. "patientInfo.gender": function() {
  2224. if (this.patientInfo.gender == 1) {
  2225. this.patientInfo_gender_1 = true;
  2226. this.patientInfo_gender_2 = false;
  2227. } else if (this.patientInfo.gender == 2) {
  2228. this.patientInfo_gender_2 = true;
  2229. this.patientInfo_gender_1 = false;
  2230. } else {
  2231. this.patientInfo_gender_2 = false;
  2232. this.patientInfo_gender_1 = false;
  2233. }
  2234. },
  2235. "patientInfo.source": function() {
  2236. if (this.patientInfo.source == 1) {
  2237. this.patientInfo_source_1 = true;
  2238. this.patientInfo_source_2 = false;
  2239. } else if (this.patientInfo.source == 2) {
  2240. this.patientInfo_source_2 = true;
  2241. this.patientInfo_source_1 = false;
  2242. } else {
  2243. this.patientInfo_source_2 = false;
  2244. this.patientInfo_source_1 = false;
  2245. }
  2246. }
  2247. },
  2248. created() {
  2249. var schedule_type_selected = this.$store.getters.schedule_type_selected
  2250. var zone_selected = this.$store.getters.zone_selected
  2251. var patient_state_selected = this.$store.getters.patient_state_selected
  2252. var treat_state_selected = this.$store.getters.treat_state_selected
  2253. var selected_date = this.$store.getters.selected_date
  2254. if (schedule_type_selected) {
  2255. this.scheduleStateVal = schedule_type_selected.schedule_type_selected
  2256. }
  2257. if (zone_selected) {
  2258. this.zoneVal = zone_selected.zone_selected
  2259. }
  2260. if (patient_state_selected) {
  2261. this.patientStateVal = patient_state_selected.patient_state_selected
  2262. }
  2263. if (treat_state_selected) {
  2264. this.treatStateVal = treat_state_selected.treat_state_selected
  2265. }
  2266. if (selected_date.selected_date) {
  2267. this.selected_date = selected_date.selected_date
  2268. }
  2269. this.getInitData();
  2270. var xtuser = this.$store.getters.xt_user;
  2271. this.orgname = xtuser.org.org_name;
  2272. // this.orgname = "遂溪方济医院";
  2273. this.modeOptions = this.$store.getters.treatment_mode;
  2274. this.replacementWays = this.$store.getters.replacement_ways;
  2275. this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  2276. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  2277. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  2278. var bloodAccessParOpera = getDataConfig(
  2279. "hemodialysis",
  2280. "vascular_access_desc"
  2281. );
  2282. for (var key in bloodAccessParOpera) {
  2283. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  2284. bloodAccessParOpera[key];
  2285. }
  2286. var dialysateFormulationOptions = getDataConfig(
  2287. "hemodialysis",
  2288. "dialysate_formulation"
  2289. );
  2290. for (var key in dialysateFormulationOptions) {
  2291. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  2292. dialysateFormulationOptions[key];
  2293. }
  2294. const xtdate = this.$route.query && this.$route.query.xtdate;
  2295. const xtno = this.$route.query && this.$route.query.xtno;
  2296. if (
  2297. typeof xtdate === "string" &&
  2298. xtdate.length > 0 &&
  2299. typeof xtno === "string" &&
  2300. xtno.length > 0
  2301. ) {
  2302. this.queryParams.xtdate = xtdate;
  2303. this.queryParams.xtno = xtno;
  2304. this.getDialysisRecord();
  2305. } else {
  2306. this.$message.error("参数不齐");
  2307. return false;
  2308. }
  2309. },
  2310. computed:{
  2311. filtedSchedules: function() {
  2312. var search_keyword = this.search_keyword
  2313. if (search_keyword.length > 0) {
  2314. var schedules = []
  2315. for (let o_i = 0; o_i < this.zone_schedules.length; o_i++) {
  2316. const scheduleInfo = this.zone_schedules[o_i]
  2317. var originSchedules = scheduleInfo.schedules
  2318. if (originSchedules.length == 0) {
  2319. continue
  2320. }
  2321. var filtedSchedules = []
  2322. for (let s_i = 0; s_i < originSchedules.length; s_i++) {
  2323. const schedule = originSchedules[s_i]
  2324. if (schedule.patient.name.indexOf(search_keyword) != -1) {
  2325. filtedSchedules.push(schedule)
  2326. // break
  2327. }
  2328. }
  2329. if (filtedSchedules.length > 0) {
  2330. schedules.push({ zone_id: scheduleInfo.zone_id, zone_name: scheduleInfo.zone_name, schedules: filtedSchedules })
  2331. }
  2332. }
  2333. return schedules
  2334. }
  2335. }
  2336. },
  2337. };
  2338. </script>
  2339. <style>
  2340. .dialysis-print-order {
  2341. width: 960px;
  2342. margin: 0 auto;
  2343. }
  2344. .dialysis-print-order .order-yy-name {
  2345. margin: auto;
  2346. text-align: center;
  2347. font-size: 20px;
  2348. letter-spacing: 5px;
  2349. }
  2350. .dialysis-print-order .order-title {
  2351. margin: auto;
  2352. font-weight: 600;
  2353. text-align: center;
  2354. font-size: 22px;
  2355. padding: 10px;
  2356. }
  2357. .dialysis-print-order .table-box {
  2358. width: 100%;
  2359. line-height: 23px;
  2360. font-size: 14px;
  2361. }
  2362. .dialysis-print-order .print-table {
  2363. width: 100%;
  2364. text-align: center;
  2365. border-collapse: collapse;
  2366. line-height: 40px;
  2367. font-size: 14px;
  2368. border-color: #000;
  2369. }
  2370. .dialysis-print-order .print-table-no {
  2371. width: 100%;
  2372. text-align: center;
  2373. border-collapse: collapse;
  2374. font-size: 14px;
  2375. }
  2376. .dialysis-print-order .under-line {
  2377. border-bottom: 1px solid #999;
  2378. width: 95%;
  2379. text-align: center;
  2380. margin-left: 2px;
  2381. }
  2382. .dialysis-print-order .title-box {
  2383. text-align: center;
  2384. font-size: 16px;
  2385. }
  2386. .dialysis-print-order .radio-lebel-box {
  2387. font-weight: 400;
  2388. cursor: pointer;
  2389. }
  2390. .dialysis-print-order .radio-no {
  2391. opacity: 0;
  2392. outline: none;
  2393. position: absolute;
  2394. margin: 0;
  2395. width: 0;
  2396. height: 0;
  2397. z-index: -1;
  2398. }
  2399. .dialysis-print-order .radio-inner {
  2400. white-space: nowrap;
  2401. cursor: pointer;
  2402. outline: none;
  2403. display: inline-block;
  2404. line-height: 1;
  2405. position: relative;
  2406. vertical-align: middle;
  2407. }
  2408. .dialysis-print-order .radio-fang {
  2409. display: inline-block;
  2410. position: relative;
  2411. border: 1px solid #000;
  2412. box-sizing: border-box;
  2413. width: 14px;
  2414. height: 14px;
  2415. background-color: #fff;
  2416. z-index: 1;
  2417. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  2418. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  2419. }
  2420. .dialysis-print-order .is-checked-radio::after {
  2421. content: "√";
  2422. font-size: 15px;
  2423. }
  2424. .dialysis-print-order .print-table-no tr td {
  2425. padding: 8px 5px;
  2426. line-height: 25px;
  2427. }
  2428. .dialysis-print-order .print-table tr td {
  2429. padding: 1px 1px;
  2430. /*line-height: 25px;*/
  2431. }
  2432. .es-img {
  2433. height: 30px;
  2434. }
  2435. .advice-name {
  2436. text-align: left;
  2437. }
  2438. .advice-children {
  2439. display: flex;
  2440. }
  2441. .title-box-pro {
  2442. border: 0 #fff;
  2443. line-height: 25px;
  2444. height: 25px;
  2445. text-align: left;
  2446. padding-left: 10px !important;
  2447. }
  2448. .title-box-pro-tr {
  2449. border: 0 #fff;
  2450. }
  2451. .text-align-left {
  2452. text-align: left !important;
  2453. padding-left: 10px !important;
  2454. font-size: 14px !important;
  2455. line-height: 25px;
  2456. }
  2457. .print-table-tr-new td {
  2458. line-height: 20px !important;
  2459. }
  2460. .border-top-solid {
  2461. border: solid 1px #000;
  2462. }
  2463. .print-template-two tr {
  2464. line-height: 30px;
  2465. }
  2466. .table-box1 {
  2467. border: 1px solid #000;
  2468. width: 100%;
  2469. line-height: 30px;
  2470. font-size: 14px;
  2471. border-collapse: collapse;
  2472. }
  2473. .table-box1 tr {
  2474. border-bottom: 1px solid #000;
  2475. }
  2476. </style>
  2477. <style lang="scss">
  2478. .newContainer{
  2479. .dialysisPage::-webkit-scrollbar {
  2480. height: 15px;
  2481. }
  2482. .el-date-editor{
  2483. .el-input__inner{
  2484. padding-right:0px;
  2485. }
  2486. }
  2487. .el-table td, .el-table th{
  2488. text-align: center;
  2489. }
  2490. }
  2491. .newContainer::-webkit-scrollbar{
  2492. height: 15px !important;
  2493. }
  2494. </style>