dialysisPrintOrder.vue 170KB

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