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

dialysisPrintOrder.vue 90KB

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