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

dialysisPrintOrder.vue 155KB

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