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

dialysisPrintOrder.vue 132KB

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