血透系统PC前端

batch_print_order_seven.vue 77KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089
  1. <template>
  2. <div class="main-contain">
  3. <div class="position">
  4. <bread-crumb :crumbs="crumbs"></bread-crumb>
  5. <el-button
  6. :loading="loading"
  7. size="small"
  8. icon="el-icon-printer"
  9. @click="printThisPage"
  10. type="primary"
  11. >打印
  12. </el-button>
  13. </div>
  14. <div class="app-container">
  15. <div id="print_content">
  16. <div
  17. v-for="(record, index) in records"
  18. :key="record.id"
  19. class="print_page_main_content"
  20. >
  21. <div id="dialysis-print-box">
  22. <div class="dialysis-print-order">
  23. <div class="order-yy-name">{{ orgname }}</div>
  24. <div class="order-title">血液透析治疗记录单</div>
  25. <table class="table-box" style="margin-top: 10px;">
  26. <tr>
  27. <td width="50">姓 名:</td>
  28. <td width="120">
  29. <div class="under-line">
  30. &nbsp;{{
  31. record.patient.name ? record.patient.name : '/'
  32. }}
  33. </div>
  34. </td>
  35. <td width="100"></td>
  36. <td width="50">性 别:</td>
  37. <td width="180">
  38. <div class="under-line">
  39. {{ record.patient.gender == 1 ? '男' : '女' }}
  40. </div>
  41. </td>
  42. <td width="10"></td>
  43. <td width="50">年 龄:</td>
  44. <td width="180">
  45. <div class="under-line">
  46. &nbsp;{{ checkIdCardNo(record.patient.id_card_no) }}
  47. </div>
  48. </td>
  49. <td width="80">岁</td>
  50. <td width="80">透析机号:</td>
  51. <td width="130">
  52. <div class="under-line">
  53. {{
  54. record.dialysis_order &&
  55. record.dialysis_order.device_number &&
  56. record.dialysis_order.device_number.number.length > 0
  57. ? record.dialysis_order.device_number.number
  58. : record.device_number.number
  59. }}
  60. </div>
  61. </td>
  62. <td></td>
  63. </tr>
  64. </table>
  65. <table class="table-box" style="margin-top:10px">
  66. <tr>
  67. <td width="50">治疗日期:</td>
  68. <td width="130">
  69. <div class="under-line">
  70. {{ getTime(record.schedule_date, "{y}-{m}-{d}") }}
  71. </div>
  72. </td>
  73. <td width="10"></td>
  74. <td width="50">
  75. 住院号:
  76. </td>
  77. <td width="150">
  78. <div class="under-line">
  79. {{
  80. record.receive_assessment.admission_number
  81. ? record.receive_assessment.admission_number
  82. : '/'
  83. }}
  84. </div>
  85. </td>
  86. <td width="10"></td>
  87. <td width="50">
  88. 身份证号:
  89. </td>
  90. <td width="150">
  91. <div class="under-line">
  92. {{
  93. record.patient.id_card_no
  94. ? record.patient.id_card_no
  95. : '/'
  96. }}
  97. </div>
  98. </td>
  99. <td width="50"></td>
  100. <td width="100"></td>
  101. </tr>
  102. </table>
  103. <table class="table-box" style="margin-top: 10px;">
  104. <tr>
  105. <td width="40">诊 断:</td>
  106. <td style="text-align:left">
  107. <div class="under-line">
  108. &nbsp;{{
  109. record.patient.diagnose ? record.patient.diagnose : '/'
  110. }}
  111. </div>
  112. </td>
  113. </tr>
  114. </table>
  115. <table class="print-table" border="1" style="margin-top:10px">
  116. <tr>
  117. <td>
  118. <table class="table-box" style="table-layout:fixed">
  119. <tr>
  120. <td style="text-align:left;margin-left:15px">
  121. 病情评估:
  122. <span
  123. class="under-line"
  124. v-if="
  125. record.receive_assessment.sick_condition === 0
  126. "
  127. >&nbsp;/</span
  128. >
  129. <span
  130. class="under-line"
  131. v-if="
  132. record.receive_assessment.sick_condition === 1
  133. "
  134. >&nbsp;一般</span
  135. >
  136. <span
  137. class="under-line"
  138. v-if="
  139. record.receive_assessment.sick_condition === 2
  140. "
  141. >&nbsp;严重</span
  142. >
  143. <span
  144. class="under-line"
  145. v-if="
  146. record.receive_assessment.sick_condition === 3
  147. "
  148. >&nbsp;危</span
  149. >
  150. </td>
  151. <td style="text-align:left;margin-left:15px">
  152. 入科方式:
  153. <span
  154. class="under-line"
  155. v-if="record.receive_assessment.way === 0"
  156. >&nbsp; /
  157. </span>
  158. <span
  159. class="under-line"
  160. v-if="record.receive_assessment.way === 1"
  161. >&nbsp; 步行
  162. </span>
  163. <span
  164. class="under-line"
  165. v-if="record.receive_assessment.way === 2"
  166. >&nbsp; 扶行
  167. </span>
  168. <span
  169. class="under-line"
  170. v-if="record.receive_assessment.way === 3"
  171. >&nbsp; 轮椅
  172. </span>
  173. <span
  174. class="under-line"
  175. v-if="record.receive_assessment.way === 4"
  176. >&nbsp; 平车
  177. </span>
  178. </td>
  179. <td
  180. style="text-align:left;margin-left:15px"
  181. colspan="2"
  182. >
  183. 透析次数:
  184. <span class="under-line"
  185. >&nbsp;
  186. {{
  187. record.patient.total_dialysis
  188. ? record.patient.total_dialysis + 1
  189. : '/'
  190. }}</span
  191. >
  192. </td>
  193. </tr>
  194. <tr>
  195. <td style="text-align:left;margin-left:15px">
  196. 净化治疗方式:
  197. <span
  198. class="under-line"
  199. v-if="record.prescription.mode_id === 1"
  200. >&nbsp;HD</span
  201. >
  202. <span
  203. class="under-line"
  204. v-if="record.prescription.mode_id === 2"
  205. >&nbsp;HDF</span
  206. >
  207. <span
  208. class="under-line"
  209. v-if="record.prescription.mode_id === 3"
  210. >&nbsp;HD+HP</span
  211. >
  212. <span
  213. class="under-line"
  214. v-if="record.prescription.mode_id === 4"
  215. >&nbsp;HP</span
  216. >
  217. <span
  218. class="under-line"
  219. v-if="record.prescription.mode_id === 5"
  220. >&nbsp;HF</span
  221. >
  222. <span
  223. class="under-line"
  224. v-if="record.prescription.mode_id === 6"
  225. >&nbsp;SCUF</span
  226. >
  227. <span
  228. class="under-line"
  229. v-if="record.prescription.mode_id === 7"
  230. >&nbsp;IUF</span
  231. >
  232. <span
  233. class="under-line"
  234. v-if="record.prescription.mode_id === 8"
  235. >&nbsp;HFHD</span
  236. >
  237. <span
  238. class="under-line"
  239. v-if="record.prescription.mode_id === 9"
  240. >&nbsp;HFHD+HP</span
  241. >
  242. <span
  243. class="under-line"
  244. v-if="record.prescription.mode_id === 10"
  245. >&nbsp;PHF</span
  246. >
  247. <span
  248. class="under-line"
  249. v-if="record.prescription.mode_id === 11"
  250. >&nbsp;HFR</span
  251. >
  252. <span
  253. class="under-line"
  254. v-if="record.prescription.mode_id === 12"
  255. >&nbsp;HDF+HP</span
  256. >
  257. <span
  258. class="under-line"
  259. v-if="record.prescription.mode_id === 13"
  260. >&nbsp;CRRT</span
  261. >
  262. <span
  263. class="under-line"
  264. v-if="record.prescription.mode_id === 14"
  265. >&nbsp;腹水回输</span
  266. >
  267. <span
  268. class="under-line"
  269. v-if="record.prescription.mode_id === 15"
  270. >&nbsp;HD前置换</span
  271. >
  272. <span
  273. class="under-line"
  274. v-if="record.prescription.mode_id === 16"
  275. >&nbsp;HD后置换</span
  276. >
  277. <span
  278. class="under-line"
  279. v-if="record.prescription.mode_id === 17"
  280. >&nbsp;HDF前置换</span
  281. >
  282. <span
  283. class="under-line"
  284. v-if="record.prescription.mode_id === 18"
  285. >&nbsp;HDF后置换</span
  286. >
  287. </td>
  288. <td style="text-align:left;margin-left:15px">
  289. 透析器型号:
  290. <span class="under-line"
  291. v-if="
  292. record.prescription.mode_id != 3 &&
  293. record.prescription.mode_id != 4 &&
  294. record.prescription.mode_id != 12 &&
  295. record.prescription.mode_id != 9
  296. "
  297. >&nbsp;{{
  298. record.prescription.dialyzer_perfusion_apparatus
  299. ? record.prescription.dialyzer_perfusion_apparatus
  300. : '/'
  301. }}</span
  302. >
  303. <span v-else class="under-line" >
  304. /
  305. </span>
  306. </td>
  307. <td style="text-align:left;margin-left:15px">
  308. 灌流器型号: <span class="under-line"
  309. v-if="
  310. record.prescription.mode_id == 3 ||
  311. record.prescription.mode_id == 4 ||
  312. record.prescription.mode_id == 12 ||
  313. record.prescription.mode_id == 9
  314. "
  315. >&nbsp;{{
  316. record.prescription.dialyzer_perfusion_apparatus
  317. ? record.prescription.dialyzer_perfusion_apparatus
  318. : "/"
  319. }}</span
  320. >
  321. <span v-else class="under-line" >
  322. /
  323. </span>
  324. </td>
  325. <td style="text-align:left;margin-left:15px">
  326. 血管通路:
  327. <span class="under-line"
  328. >&nbsp
  329. {{
  330. QueryPartById(
  331. record.assessment_before_dislysis &&
  332. record.assessment_before_dislysis
  333. .blood_access_part_opera_id
  334. ? record.assessment_before_dislysis
  335. .blood_access_part_opera_id
  336. : 0
  337. )
  338. }}
  339. {{
  340. record.assessment_before_dislysis &&
  341. record.assessment_before_dislysis
  342. .blood_access_part_opera_name
  343. ? record.assessment_before_dislysis
  344. .blood_access_part_opera_name
  345. : ""
  346. }}
  347. </span
  348. >
  349. </td>
  350. </tr>
  351. <tr>
  352. <td style="text-align:left;margin-left:15px">
  353. 干体重:
  354. <span class="under-line"
  355. >&nbsp;{{
  356. record.assessment_before_dislysis.dry_weight ? record.assessment_before_dislysis.dry_weight :"/"
  357. }}</span
  358. >kg
  359. </td>
  360. <td style="text-align:left;margin-left:15px">
  361. 透前体重:
  362. <span class="under-line"
  363. >&nbsp;{{
  364. record.assessment_before_dislysis.weight_before
  365. ? record.assessment_before_dislysis.weight_before
  366. : "/"
  367. }}</span
  368. >kg
  369. </td>
  370. <td style="text-align:left;margin-left:15px">
  371. 预脱:
  372. <span class="under-line"
  373. >&nbsp;{{
  374. record.prescription.target_ultrafiltration
  375. ? record.prescription.target_ultrafiltration
  376. : "/"
  377. }}</span
  378. >L
  379. </td>
  380. <td style="text-align:left;margin-left:15px">
  381. 治疗时间:
  382. <span class="under-line"
  383. >&nbsp;{{
  384. record.prescription.dialysis_duration_hour
  385. ? record.prescription.dialysis_duration_hour
  386. : "0"
  387. }}小时{{
  388. record.prescription.dialysis_duration_minute
  389. ? record.prescription.dialysis_duration_minute
  390. : "0"
  391. }}分钟</span
  392. >
  393. </td>
  394. </tr>
  395. <tr>
  396. <td style="text-align:left;margin-left:15px">
  397. 血流量:
  398. <span class="under-line"
  399. >&nbsp;{{
  400. record.prescription.blood_flow_volume
  401. ? record.prescription.blood_flow_volume
  402. : '/'
  403. }}</span
  404. >ml/min
  405. </td>
  406. <td style="text-align:left;margin-left:15px">
  407. 置换方式:
  408. <span class="under-line"
  409. >&nbsp; {{
  410. getDisplaceLiquiPart(record.prescription.displace_liqui_part)
  411. }}</span
  412. >
  413. </td>
  414. <td style="text-align:left;margin-left:15px">
  415. 置换液总量:
  416. <span class="under-line"
  417. >&nbsp;{{
  418. record.prescription.displace_liqui_value
  419. ? record.prescription.displace_liqui_value
  420. : '/'
  421. }}</span
  422. >
  423. </td>
  424. </tr>
  425. <tr>
  426. <td style="text-align:left;margin-left:15px">
  427. 抗凝剂:
  428. <span class="under-line"
  429. v-if="record.prescription.anticoagulant == 0"
  430. >&nbsp;/</span>
  431. <span class="under-line"
  432. v-if="record.prescription.anticoagulant == 1"
  433. >&nbsp;无肝素</span>
  434. <span class="under-line"
  435. v-if="record.prescription.anticoagulant == 2"
  436. >&nbsp;普通肝素</span>
  437. <span class="under-line"
  438. v-if="record.prescription.anticoagulant == 3"
  439. >&nbsp;低分子肝素</span>
  440. <span class="under-line"
  441. v-if="record.prescription.anticoagulant == 4"
  442. >&nbsp;阿加曲班</span>
  443. <span class="under-line"
  444. v-if="record.prescription.anticoagulant == 5"
  445. >&nbsp;枸橼酸钠</span>
  446. </td>
  447. <td style="text-align:left;margin-left:15px">
  448. 首剂:<span class="under-line">{{
  449. record.prescription.anticoagulant_shouji
  450. ? record.prescription.anticoagulant_shouji
  451. : '/'
  452. }}</span>
  453. <span
  454. v-if="
  455. record.prescription.anticoagulant == '枸橼酸钠'
  456. "
  457. >mg</span
  458. >
  459. <span
  460. v-if="
  461. record.prescription.anticoagulant == '阿加曲班'
  462. "
  463. >mg</span
  464. >
  465. <span
  466. v-if="
  467. record.prescription.anticoagulant == '低分子肝素'
  468. "
  469. >iu</span
  470. >
  471. <span
  472. v-if="
  473. record.prescription.anticoagulant == '普通肝素'
  474. "
  475. >iu</span
  476. >
  477. <span
  478. v-if="record.prescription.anticoagulant == '无肝素'"
  479. >mg</span
  480. >&nbsp;
  481. </td>
  482. <td style="text-align:left;margin-left:15px">
  483. 维持:
  484. <span class="under-line"
  485. >&nbsp;{{
  486. record.prescription.anticoagulant_weichi
  487. ? record.prescription.anticoagulant_weichi
  488. : '/'
  489. }}</span
  490. >
  491. <span
  492. v-if="
  493. record.prescription.anticoagulant == '枸橼酸钠'
  494. "
  495. >ml/h</span
  496. >
  497. <span
  498. v-if="
  499. record.prescription.anticoagulant == '阿加曲班'
  500. "
  501. >mg/h</span
  502. >
  503. <span
  504. v-if="
  505. record.prescription.anticoagulant == '低分子肝素'
  506. "
  507. >iu/h</span
  508. >
  509. <span
  510. v-if="
  511. record.prescription.anticoagulant == '普通肝素'
  512. "
  513. >iu/h</span
  514. >
  515. <span
  516. v-if="record.prescription.anticoagulant == '无肝素'"
  517. >mg/h</span
  518. >
  519. </td>
  520. <td style="text-align:left;margin-left:15px">
  521. 总量:<span class="under-line"
  522. >&nbsp;{{
  523. record.prescription.anticoagulant_zongliang
  524. ? record.prescription.anticoagulant_zongliang
  525. : '/'
  526. }}</span
  527. >
  528. <span
  529. v-if="
  530. record.prescription.anticoagulant == '枸橼酸钠'
  531. "
  532. >mg</span
  533. >
  534. <span
  535. v-if="
  536. record.prescription.anticoagulant == '阿加曲班'
  537. "
  538. >mg</span
  539. >
  540. <span
  541. v-if="
  542. record.prescription.anticoagulant == '低分子肝素'
  543. "
  544. >iu</span
  545. >
  546. <span
  547. v-if="
  548. record.prescription.anticoagulant == '普通肝素'
  549. "
  550. >iu</span
  551. >
  552. <span
  553. v-if="record.prescription.anticoagulant == '无肝素'"
  554. >mg</span
  555. >;
  556. </td>
  557. </tr>
  558. <tr>
  559. <td style="text-align:left;margin-left:15px" colspan = "2">
  560. 透析液(mmol/L):
  561. <span
  562. class="under-line"
  563. v-if="
  564. record.prescription.dialysate_formulation == 1
  565. "
  566. >&nbsp; 常规低钙(钾:{{
  567. record.prescription.kalium
  568. }}&nbsp;,钙:{{
  569. record.prescription.calcium
  570. }}&nbsp;,钠:{{ record.prescription.sodium }};)
  571. </span>
  572. <span
  573. class="under-line"
  574. v-if="
  575. record.prescription.dialysate_formulation == 2
  576. "
  577. >&nbsp; 低钙(钾:{{
  578. record.prescription.kalium
  579. }}&nbsp;,钙:{{
  580. record.prescription.calcium
  581. }}&nbsp;,钠:{{ record.prescription.sodium }};)
  582. </span>
  583. <span
  584. class="under-line"
  585. v-if="
  586. record.prescription.dialysate_formulation == 3
  587. "
  588. >&nbsp; 高钙(钾:{{
  589. record.prescription.kalium
  590. }}&nbsp;,钙:{{
  591. record.prescription.calcium
  592. }}&nbsp;,钠:{{ record.prescription.sodium }};)
  593. </span>
  594. <span
  595. class="under-line"
  596. v-if="
  597. record.prescription.dialysate_formulation == 4
  598. "
  599. >&nbsp; 低钠(钾:{{
  600. record.prescription.kalium
  601. }}&nbsp;,钙:{{
  602. record.prescription.calcium
  603. }}&nbsp;,钠:{{ record.prescription.sodium }};)
  604. </span>
  605. <span
  606. class="under-line"
  607. v-if="
  608. record.prescription.dialysate_formulation == 5
  609. "
  610. >&nbsp; 高钠(钾:{{
  611. record.prescription.kalium
  612. }}&nbsp;,钙:{{
  613. record.prescription.calcium
  614. }}&nbsp;,钠:{{ record.prescription.sodium }})
  615. </span>
  616. </td>
  617. <td style="text-align:left;margin-left:15px">
  618. 并发症:
  619. <span class="under-line"
  620. >&nbsp;{{
  621. record.assessment_before_dislysis.complication
  622. ? record.assessment_before_dislysis.complication
  623. : '/'
  624. }}</span
  625. >
  626. </td>
  627. <td style="text-align:left;margin-left:15px">
  628. 医生签名:
  629. <span
  630. v-if="
  631. setAdminUserES(
  632. record.prescription,
  633. 'prescription_doctor'
  634. ) == ''
  635. "
  636. >{{
  637. getAdminUser(record.prescription, 'prescription_doctor')
  638. }}</span
  639. >
  640. <img
  641. class="es-img"
  642. :src="
  643. setAdminUserES(
  644. record.prescription,
  645. 'prescription_doctor'
  646. )
  647. "
  648. alt=""
  649. srcset=""
  650. v-else
  651. style="height: 40px;"
  652. />
  653. </td>
  654. </tr>
  655. </table>
  656. </td>
  657. </tr>
  658. </table>
  659. <table class="print-table" border="1">
  660. <tr>
  661. <th style="min-width:60px">
  662. <p style="height:20px;line-height:20px">时间</p>
  663. </th>
  664. <th style="min-width:60px">
  665. <p style="height:20px;line-height:20px">血压</p>
  666. <p style="height:20px;line-height:20px">(mmHg)</p>
  667. </th>
  668. <th style="min-width:60px">
  669. <p style="height:20px;line-height:20px">脉率</p>
  670. <p style="height:20px;line-height:20px">次/分</p>
  671. </th>
  672. <th style="min-width:60px">
  673. <p style="height:20px;line-height:20px">呼吸</p>
  674. <p style="height:20px;line-height:20px">次/分</p>
  675. </th>
  676. <th style="min-width:60px">
  677. <p style="height:20px;line-height:20px">血流量</p>
  678. <p style="height:20px;line-height:20px">ml/min</p>
  679. </th>
  680. <th style="min-width:60px">
  681. <p style="height:20px;line-height:20px">超滤量</p>
  682. <p style="height:20px;line-height:20px">L</p>
  683. </th>
  684. <th style="min-width:60px">
  685. <p style="height:20px;line-height:20px">置换量</p>
  686. <p style="height:20px;line-height:20px">L</p>
  687. </th>
  688. <th style="min-width:60px">
  689. <p style="height:20px;line-height:20px">静脉压</p>
  690. <p style="height:20px;line-height:20px">(mmHg)</p>
  691. </th>
  692. <th style="min-width:60px">
  693. <p style="height:20px;line-height:20px">跨膜压</p>
  694. <p style="height:20px;line-height:20px">(mmHg)</p>
  695. </th>
  696. <th style="min-width:260px">
  697. <p style="height:20px;line-height:20px">病情变化</p>
  698. </th>
  699. </tr>
  700. <tr v-for="(monitor, monindex) in record.monitor_records" :key="monindex">
  701. <td style="min-width:60px;height:30px">
  702. {{ getTime(monitor.operate_time, ' {y}-{m}-{d} {h}:{i}') }}
  703. </td>
  704. <td>
  705. {{
  706. monitor.systolic_blood_pressure
  707. ? monitor.systolic_blood_pressure + '/'
  708. : ''
  709. }}{{
  710. monitor.diastolic_blood_pressure
  711. ? monitor.diastolic_blood_pressure
  712. : '/'
  713. }}
  714. </td>
  715. <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : '/' }}</td>
  716. <td>{{ monitor.breathing_rate ? monitor.breathing_rate : '/' }}</td>
  717. <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:"/"}}</td>
  718. <td>
  719. {{
  720. monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : '/'
  721. }}
  722. </td>
  723. <td>
  724. {{
  725. monitor.displacement_quantity
  726. ? monitor.displacement_quantity
  727. : '/'
  728. }}
  729. </td>
  730. <td>{{ monitor.venous_pressure ? monitor.venous_pressure : '/' }}</td>
  731. <td>
  732. {{
  733. monitor.transmembrane_pressure
  734. ? monitor.transmembrane_pressure
  735. : '/'
  736. }}
  737. </td>
  738. <td>{{ monitor.symptom }} &nbsp;{{ monitor.dispose }}&nbsp;{{ monitor.result }}</td>
  739. </tr>
  740. </table>
  741. </tbody>
  742. </table>
  743. <table class="print-table" border="1">
  744. <tr>
  745. <td style="width:60px;height:40px">
  746. <p style="height:20px;line-height:20px">时间</p>
  747. </td>
  748. <td style="width:120px;height:40px">
  749. <p style="height:20px;line-height:20px">医嘱执行记录</p>
  750. </td>
  751. <td style="width:60px;height:40px">
  752. <p style="height:20px;line-height:20px">医生签名</p>
  753. </td>
  754. <td style="width:60px;height:40px">
  755. <p style="height:20px;line-height:20px">医嘱执行时间</p>
  756. </td>
  757. <td style="width:60px;height:40px">
  758. <p style="height:20px;line-height:20px">执行</p>
  759. </td>
  760. <td style="width:60px;height:40px">
  761. <p style="height:20px;line-height:20px">核对</p>
  762. </td>
  763. <td style="width:60px;height:40px">
  764. <p style="height:20px;line-height:20px">上次透后体重</p>
  765. </td>
  766. <td style="width:60px;height:40px">
  767. {{
  768. record.lastafterweight.weight_after
  769. ? parseFloat(
  770. record.lastafterweight.weight_after
  771. ).toFixed(1)
  772. : '未称重'
  773. }}kg
  774. </td>
  775. </tr>
  776. <tr v-for="(advice, advice_index) in record.advices">
  777. <td>{{ getTime(advice[0].start_time, '{h}:{i}') }}</td>
  778. <td>
  779. <span v-if="advice[0].parent_id > 0">└</span>
  780. <span>{{ advice[0].advice_name }}</span>
  781. <span
  782. >{{ advice[0].advice_desc
  783. }}{{ advice[0].drug_spec_unit }}</span
  784. >
  785. <span v-if="advice[0].prescribing_number"
  786. >* {{ advice[0].prescribing_number
  787. }}{{ advice[0].prescribing_number_unit }}</span
  788. >
  789. <span v-if="advice[0].single_dose != 0"
  790. >{{ advice[0].single_dose
  791. }}{{ advice[0].single_dose_unit }}</span
  792. >
  793. <span>{{ advice[0].delivery_way }}</span>
  794. <span>{{ advice[0].execution_frequency }}</span>
  795. </td>
  796. <td>
  797. <span
  798. v-if="
  799. setAdminUserES(advice[0], 'advice_doctor') ==
  800. ''
  801. "
  802. >{{
  803. getAdminUser(advice[0], 'advice_doctor')
  804. }}</span
  805. >
  806. <img
  807. class="es-img"
  808. :src="
  809. setAdminUserES(advice[0], 'advice_doctor')
  810. "
  811. alt=""
  812. srcset=""
  813. v-else
  814. style="height: 40px;"
  815. />
  816. </td>
  817. <td>{{ getTime(advice[0].execution_time, ' {y}-{m}-{d} {h}:{i}') }}</td>
  818. <td>
  819. <span
  820. v-if="
  821. setAdminUserES(advice[0], 'execution_staff') ==
  822. ''
  823. "
  824. >{{
  825. getAdminUser(advice[0], 'execution_staff')
  826. }}</span
  827. >
  828. <img
  829. class="es-img"
  830. :src="
  831. setAdminUserES(advice[0], 'execution_staff')
  832. "
  833. alt=""
  834. srcset=""
  835. v-else
  836. style="height: 40px;"
  837. />
  838. </td>
  839. <td>
  840. <span
  841. v-if="setAdminUserES(advice[0], 'checker') == ''"
  842. >{{ getAdminUser(advice[0], 'checker') }}</span
  843. >
  844. <img
  845. class="es-img"
  846. :src="setAdminUserES(advice[0], 'checker')"
  847. alt=""
  848. srcset=""
  849. v-else
  850. style="height: 40px;"
  851. /></span>
  852. </td>
  853. <td v-if="advice_index === 0">透前体重:</td>
  854. <td v-if="advice_index === 0">{{record.assessment_before_dislysis.weight_before}}kg</td>
  855. <td v-if="advice_index === 1">体重增加量:</td>
  856. <td v-if="advice_index === 1">
  857. {{(record.assessment_before_dislysis.weight_before -
  858. record.lastafterweight.weight_after).toFixed(1)}}kg
  859. </td>
  860. <td v-if="advice_index === 2">干体重(DW):</td>
  861. <td v-if="advice_index === 2">{{record.assessment_before_dislysis.dry_weight}}kg</td>
  862. <td v-if="advice_index === 3">较干体重增加量:</td>
  863. <td v-if="advice_index === 3">
  864. {{(record.assessment_before_dislysis.weight_before - record.assessment_before_dislysis.dry_weight -
  865. record.assessment_before_dislysis.additional_weight).toFixed(2)}}kg
  866. </td>
  867. <td v-if="advice_index === 4">净脱水量:</td>
  868. <td v-if="advice_index === 4">
  869. {{record.assessment_after_dislysis.actual_ultrafiltration}}L
  870. </td>
  871. <td v-if="advice_index === 5">透后体重:</td>
  872. <td v-if="advice_index === 5">
  873. {{record.assessment_after_dislysis.weight_after}}kg
  874. </td>
  875. </tr>
  876. </table>
  877. <table class="print-table" border="1">
  878. <td>
  879. <table class="table-box" style="table-layout:fixed">
  880. <tr>
  881. <td style="text-align:left;margin-left:15px;width:25%">
  882. 上机时间:
  883. <span class="under-line">
  884. {{
  885. getTime(record.dialysis_order.start_time, '{y}-{m}-{d} {h}:{i}')
  886. }}</span>
  887. </td>
  888. <td style="text-align:left;margin-left:15px;width:25%">
  889. 下机时间:
  890. <span class="under-line"
  891. >&nbsp;{{
  892. getTime(record.dialysis_order.end_time, '{y}-{m}-{d} {h}:{i}')
  893. }}</span
  894. >
  895. </td>
  896. <td style="text-align:left;margin-left:15px;width:25%">
  897. 上机护士:
  898. <span
  899. v-if="
  900. setAdminUserES(
  901. record.dialysis_order,
  902. 'start_nurse'
  903. ) == ''
  904. "
  905. >{{
  906. getAdminUser(record.dialysis_order, 'start_nurse')
  907. }}</span
  908. >
  909. <img
  910. class="es-img"
  911. :src="
  912. setAdminUserES(
  913. record.dialysis_order,
  914. 'start_nurse'
  915. )
  916. "
  917. alt=""
  918. srcset=""
  919. v-else
  920. style="height: 40px;"
  921. />
  922. </td>
  923. <td style="text-align:left;margin-left:15px;width:25%">
  924. 核对护士:
  925. <span class="under-line">&nbsp;
  926. <span v-if="setAdminUserES(record.check, 'modifier') == ''">{{getAdminUser(record.check, 'modifier')}}</span>
  927. <img class="es-img" :src="setAdminUserES(record.check, 'modifier')" alt="" srcset="" style="height:40px">
  928. </span>
  929. </td>
  930. </tr>
  931. <tr>
  932. <td style="text-align:left;margin-left:15px;width:25%">
  933. 下机护士:
  934. <span
  935. v-if="
  936. setAdminUserES(
  937. record.dialysis_order,
  938. 'finish_nurse'
  939. ) == ''
  940. "
  941. >{{
  942. getAdminUser(record.dialysis_order, 'finish_nurse')
  943. }}</span
  944. >
  945. <img
  946. class="es-img"
  947. :src="
  948. setAdminUserES(
  949. record.dialysis_order,
  950. 'finish_nurse'
  951. )
  952. "
  953. alt=""
  954. srcset=""
  955. v-else
  956. style="height: 40px;"
  957. />
  958. </td>
  959. <td style="text-align:left;margin-left:15px;width:25%">
  960. 下机血压:
  961. <span class="under-line"
  962. >&nbsp;{{ record.dialysis_order.systolic_blood_pressure }}/{{
  963. record.dialysis_order.diastolic_blood_pressure
  964. }}&nbsp;mmHg</span
  965. >
  966. </td>
  967. <td style="text-align:left;margin-left:15px;width:25%">
  968. 实际治疗时间:
  969. <span class="under-line"
  970. >&nbsp;
  971. {{
  972. record.assessment_after_dislysis.actual_treatment_hour
  973. ? record.assessment_after_dislysis.actual_treatment_hour
  974. : '/'
  975. }}小时{{
  976. record.assessment_after_dislysis.actual_treatment_minute
  977. ? record.assessment_after_dislysis.actual_treatment_minute
  978. : '/'
  979. }}分钟
  980. </span>
  981. </td>
  982. <td style="text-align:left;margin-left:15px;width:25%">
  983. 实际超滤量:
  984. <span class="under-line">&nbsp;{{record.assessment_after_dislysis.actual_ultrafiltration?record.assessment_after_dislysis.actual_ultrafiltration:'/'}}&nbsp;L</span>
  985. </td>
  986. </tr>
  987. <tr>
  988. <td style="text-align:left;margin-left:15px">
  989. 拔针后穿刺点渗血:
  990. <span class="under-line"
  991. v-if="record.assessment_after_dislysis.puncture_point_oozing_blood === 0">&nbsp;/</span>
  992. <span class="under-line"
  993. v-if="record.assessment_after_dislysis.puncture_point_oozing_blood === 1">&nbsp;有</span>
  994. <span class="under-line"
  995. v-if="record.assessment_after_dislysis.puncture_point_oozing_blood === 2">&nbsp;无</span>
  996. </td>
  997. <td style="text-align:left;margin-left:15px">
  998. 穿刺处血肿:
  999. <span class="under-line"
  1000. v-if="record.assessment_after_dislysis.puncture_point_haematoma === 0">&nbsp;/</span>
  1001. <span class="under-line"
  1002. v-if="record.assessment_after_dislysis.puncture_point_haematoma === 1">&nbsp;有</span>
  1003. <span class="under-line"
  1004. v-if="record.assessment_after_dislysis.puncture_point_haematoma === 2">&nbsp;无</span>
  1005. </td>
  1006. <td style="text-align:left;margin-left:15px">
  1007. 压迫后内瘘震颤:
  1008. <span class="under-line"
  1009. v-if="record.assessment_after_dislysis.internal_fistula_tremor_ac === 0">&nbsp;/</span>
  1010. <span class="under-line"
  1011. v-if="record.assessment_after_dislysis.internal_fistula_tremor_ac === 1">&nbsp;存在</span>
  1012. <span class="under-line"
  1013. v-if="record.assessment_after_dislysis.internal_fistula_tremor_ac === 2">&nbsp;减弱</span>
  1014. <span class="under-line"
  1015. v-if="record.assessment_after_dislysis.internal_fistula_tremor_ac === 3">&nbsp;无</span>
  1016. </td>
  1017. </tr>
  1018. <tr>
  1019. <td style="text-align:left;margin-left:15px;" colspan="2">
  1020. 并发症:
  1021. <span class="under-line">&nbsp;{{record.assessment_after_dislysis.complication}}</span>
  1022. </td>
  1023. <td style="text-align:left;margin-left:15px" colspan="2">
  1024. 透析器凝血:
  1025. <span class="under-line">{{record.assessment_after_dislysis.cruor?record.assessment_after_dislysis.cruor:"/"}}</span>
  1026. </td>
  1027. </tr>
  1028. </table>
  1029. <table class="table-box">
  1030. <tr>
  1031. <td style="text-align:left;margin-left:15px">
  1032. 治疗小结:
  1033. <span class="under-line">&nbsp;{{record.summer && record.summer.dialysis_summary? record.summer.dialysis_summary: '/'}}</span>
  1034. </td>
  1035. </tr>
  1036. </table>
  1037. </td>
  1038. </table>
  1039. <div>
  1040. 注:透析器凝血评价标准:"0级"&nbsp;无凝血或数条纤维束凝血,"Ⅰ级"&nbsp;少于10%纤维凝血,"Ⅱ级"&nbsp;少于50%纤维凝血,"Ⅲ级"&nbsp;大于50%纤维凝血
  1041. </div>
  1042. </div>
  1043. </div>
  1044. </div>
  1045. </div>
  1046. </div>
  1047. </div>
  1048. </template>
  1049. <script>
  1050. import CheckBox from './option_check_box'
  1051. import LabelBox from '../printItem/LabelBox'
  1052. import { GetBatchPrintDialysisData, getLastAfterWeight } from '@/api/print_data'
  1053. import { jsGetAge, uParseTime } from '@/utils/tools'
  1054. import { getDataConfig } from '@/utils/data'
  1055. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  1056. export default {
  1057. name: 'BatchPrintOrderSeven',
  1058. components: {
  1059. CheckBox,
  1060. BreadCrumb,
  1061. LabelBox
  1062. },
  1063. data() {
  1064. return {
  1065. crumbs: [
  1066. { path: false, name: '透析管理' },
  1067. { path: false, name: '批量打印' }
  1068. ],
  1069. records: [
  1070. // 模拟有多条数据
  1071. // {
  1072. // monitor_records: [ {},{},{},{},{},{},{},{},{},{},{}, ],
  1073. // advices: [ {},{},{},{},{},{},{}, ],
  1074. // },
  1075. // {
  1076. // monitor_records: [],
  1077. // advices: [],
  1078. // },
  1079. ],
  1080. queryParams: {
  1081. xtdate: '',
  1082. xtno: ''
  1083. },
  1084. loading: false,
  1085. orgname: '',
  1086. bloodAccessParOpera: {},
  1087. anticoagulantsConfit: {},
  1088. dialysateFormulationOptions: {},
  1089. operatorMaps: {},
  1090. operators: [],
  1091. adminUser: [],
  1092. doctor_advices: [],
  1093. monitor_records: [],
  1094. advice_groups: [],
  1095. advice_groups_2: [],
  1096. blood_access_part: [],
  1097. complications: [
  1098. '低血压',
  1099. '高血压',
  1100. '心律失常',
  1101. '头晕',
  1102. '头痛',
  1103. '呕吐',
  1104. '抽搐',
  1105. '出血',
  1106. '心衰',
  1107. '腹痛'
  1108. ],
  1109. allName: [],
  1110. NameStatus: 0,
  1111. advices: [],
  1112. docotorId: '',
  1113. doctorNameForm: {
  1114. user_name: '',
  1115. url: ''
  1116. },
  1117. doctorNameFormTwo: {
  1118. user_name: '',
  1119. url: ''
  1120. },
  1121. doctorNameFormThree: {
  1122. user_name: '',
  1123. url: ''
  1124. },
  1125. doctorNameFormFour: {
  1126. user_name: '',
  1127. url: ''
  1128. },
  1129. doctorNameFormFive: {
  1130. user_name: '',
  1131. url: ''
  1132. },
  1133. doctorNameFormSix: {
  1134. user_name: '',
  1135. url: ''
  1136. },
  1137. lastAfterWeight: '',
  1138. displaceLiquiPartOptions: []
  1139. }
  1140. },
  1141. created() {
  1142. var xtuser = this.$store.getters.xt_user
  1143. // console.log('xtuser', xtuser)
  1144. this.orgname = xtuser.org.org_name
  1145. // this.orgname = "遂溪方济医院";
  1146. this.modeOptions = this.$store.getters.treatment_mode
  1147. // this.replacementWays = this.$store.getters.replacement_ways;
  1148. // this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  1149. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
  1150. this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
  1151. var bloodAccessParOpera = getDataConfig(
  1152. 'hemodialysis',
  1153. 'vascular_access_desc'
  1154. )
  1155. for (var key in bloodAccessParOpera) {
  1156. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  1157. bloodAccessParOpera[key]
  1158. }
  1159. this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
  1160. var dialysateFormulationOptions = getDataConfig(
  1161. 'hemodialysis',
  1162. 'dialysate_formulation'
  1163. )
  1164. for (var key in dialysateFormulationOptions) {
  1165. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  1166. dialysateFormulationOptions[key]
  1167. }
  1168. // const xtdate = this.$route.query && this.$route.query.xtdate;
  1169. // const xtno = this.$route.query && this.$route.query.xtno;
  1170. // if (typeof (xtdate) == "string" && xtdate.length > 0 && typeof (xtno) == "string" && xtno.length > 0) {
  1171. // this.queryParams.xtdate = xtdate;
  1172. // this.queryParams.xtno = xtno;
  1173. // this.getDialysisRecord();
  1174. // } else {
  1175. // this.$message.error("参数不齐");
  1176. // return false;
  1177. // }
  1178. },
  1179. mounted() {
  1180. this.loading = true
  1181. var ids = this.$store.getters.temp_params.batch_print_dialysis_record_ids
  1182. if (ids.length == 0) {
  1183. this.$router.back(-1)
  1184. return
  1185. }
  1186. GetBatchPrintDialysisData(ids.join(','))
  1187. .then(rs => {
  1188. var resp = rs.data
  1189. if (resp.state == 1) {
  1190. this.org_template_info = resp.data.templateInfo
  1191. this.records = this.records.concat(resp.data.schedules)
  1192. console.log('记录', this.records)
  1193. for (const recordIndex in this.records) {
  1194. var dlegh = 0
  1195. if (
  1196. this.records[recordIndex].monitor_records &&
  1197. this.records[recordIndex].monitor_records.length < 8
  1198. ) {
  1199. dlegh = 8 - this.records[recordIndex].monitor_records.length
  1200. } else {
  1201. dlegh = 0
  1202. }
  1203. if (dlegh > 0) {
  1204. if (
  1205. typeof this.records[recordIndex].monitor_records ===
  1206. 'undefined' ||
  1207. this.records[recordIndex].monitor_records == null
  1208. ) {
  1209. this.records[recordIndex].monitor_records = []
  1210. }
  1211. for (let index = 0; index < dlegh; index++) {
  1212. this.records[recordIndex].monitor_records.push([])
  1213. }
  1214. }
  1215. this.records[recordIndex].isShowZero = false
  1216. if (this.records[recordIndex].patient.user_org_id == 9535) {
  1217. this.records[recordIndex].isShowZero = true
  1218. }
  1219. var delghTwo = 0
  1220. if (
  1221. this.records[recordIndex].advices &&
  1222. this.records[recordIndex].advices.length < 12
  1223. ) {
  1224. delghTwo = 12 - this.records[recordIndex].advices.length
  1225. } else {
  1226. delghTwo = 0
  1227. }
  1228. if (delghTwo > 0) {
  1229. if (
  1230. typeof this.records[recordIndex].advices === 'undefined' ||
  1231. this.records[recordIndex].advices == null
  1232. ) {
  1233. this.records[recordIndex].advices = []
  1234. }
  1235. for (let index = 0; index < delghTwo; index++) {
  1236. this.records[recordIndex].advices.push([])
  1237. }
  1238. }
  1239. var childMap = {}
  1240. for (const index in this.records[recordIndex].advices) {
  1241. if (this.records[recordIndex].advices[index].parent_id == 0) {
  1242. continue
  1243. }
  1244. if (
  1245. !(
  1246. this.records[recordIndex].advices[index].parent_id in childMap
  1247. )
  1248. ) {
  1249. childMap[
  1250. this.records[recordIndex].advices[index].parent_id
  1251. ] = []
  1252. }
  1253. childMap[this.records[recordIndex].advices[index].parent_id].push(
  1254. this.records[recordIndex].advices[index]
  1255. )
  1256. }
  1257. var advices = []
  1258. for (const index in this.records[recordIndex].advices) {
  1259. if (this.records[recordIndex].advices[index].parent_id > 0) {
  1260. continue
  1261. }
  1262. var item = this.records[recordIndex].advices[index]
  1263. if (item.id in childMap) {
  1264. item.children = childMap[item.id]
  1265. } else {
  1266. item.children = []
  1267. }
  1268. advices.push(item)
  1269. }
  1270. var leftAdvice = []
  1271. var rightAdvice = []
  1272. var adlen = advices.length
  1273. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
  1274. for (var i = 0; i < halfLen; i++) {
  1275. leftAdvice.push(advices[i])
  1276. var rightIndex = i + halfLen
  1277. rightAdvice.push(
  1278. rightIndex in advices ? advices[i + halfLen] : []
  1279. )
  1280. }
  1281. if (halfLen < 5) {
  1282. var nl = 5 - leftAdvice.length
  1283. for (let index = 0; index < nl; index++) {
  1284. leftAdvice.push([])
  1285. }
  1286. var nl = 5 - rightAdvice.length
  1287. for (let index = 0; index < nl; index++) {
  1288. rightAdvice.push([])
  1289. }
  1290. }
  1291. this.records[recordIndex].advices = []
  1292. for (var i = 0; i < halfLen; i++) {
  1293. var item = []
  1294. item.push(leftAdvice[i])
  1295. item.push(rightAdvice[i])
  1296. this.records[recordIndex].advices.push(item)
  1297. }
  1298. }
  1299. console.log(' this.records[recordIndex].advices', this.records)
  1300. this.operators = resp.data.medical_staffs
  1301. if (this.operators.length > 0) {
  1302. var operatorsLen = this.operators.length
  1303. for (var index = 0; index < operatorsLen; index++) {
  1304. this.$set(
  1305. this.operatorMaps,
  1306. this.operators[index].id,
  1307. this.operators[index]
  1308. )
  1309. }
  1310. }
  1311. this.adminUser = resp.data.users
  1312. this.loading = false
  1313. } else {
  1314. this.loading = false
  1315. this.$message.error(resp.msg)
  1316. }
  1317. })
  1318. .catch(err => {
  1319. this.$message.error(err)
  1320. })
  1321. },
  1322. methods: {
  1323. getUnit: function(val) {
  1324. if (val.assessment_after_dislysis == null) {
  1325. return ''
  1326. } else if (val.assessment_after_dislysis != null) {
  1327. switch (val.assessment_after_dislysis.dialysis_intakes_unit) {
  1328. case 1:
  1329. return 'g'
  1330. break
  1331. case 2:
  1332. return 'ml'
  1333. break
  1334. }
  1335. }
  1336. },
  1337. QueryPartById: function(val) {
  1338. let vascular_access_part_name = '/'
  1339. const vascular_access = getDataConfig('hemodialysis', 'vascular_access_desc')
  1340. console.log("血管通路",vascular_access)
  1341. for (let i = 0; i < vascular_access.length; i++) {
  1342. if (vascular_access[i].id == val) {
  1343. vascular_access_part_name = vascular_access[i].name
  1344. }
  1345. }
  1346. return vascular_access_part_name
  1347. },
  1348. printThisPage() {
  1349. var ptime = Math.round(new Date().getTime() / 1000)
  1350. this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
  1351. const style =
  1352. '@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;}'
  1353. const style2 =
  1354. '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .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;}'
  1355. printJS({
  1356. printable: 'print_content',
  1357. type: 'html',
  1358. documentTitle: ' ',
  1359. style: style,
  1360. scanStyles: false
  1361. })
  1362. },
  1363. complicationsOther: function(record) {
  1364. if (record == null || typeof record === 'undefined') {
  1365. return ''
  1366. }
  1367. if (record.complication.length == 0) {
  1368. return ''
  1369. }
  1370. var complications = record.complication.split(',')
  1371. var complicationOthers = []
  1372. for (const index in complications) {
  1373. if (
  1374. this.complications.indexOf(complications[index]) < 0 &&
  1375. complicationOthers.indexOf(complications[index]) < 0
  1376. ) {
  1377. complicationOthers.push(complications[index])
  1378. }
  1379. }
  1380. return complicationOthers.join(',')
  1381. },
  1382. modeName(mode_id) {
  1383. if (mode_id in this.modeOptions) {
  1384. return this.modeOptions[mode_id].name
  1385. }
  1386. return ''
  1387. },
  1388. anticoagulantName: function(key) {
  1389. if (key == null || typeof key === 'undefined') {
  1390. return ''
  1391. }
  1392. var id = key.anticoagulant
  1393. if (id in this.anticoagulantsConfit) {
  1394. return this.anticoagulantsConfit[id].name
  1395. }
  1396. return ''
  1397. },
  1398. bloodAccessParOperaName(id) {
  1399. if (id in this.bloodAccessParOpera) {
  1400. return this.bloodAccessParOpera[id].name
  1401. }
  1402. return ''
  1403. },
  1404. isBbloodAccessParOperaCheck(key, value) {
  1405. if (key == null || typeof key === 'undefined') {
  1406. return false
  1407. }
  1408. var id = key.blood_access_part_opera_id
  1409. if (id in this.bloodAccessParOpera) {
  1410. return this.bloodAccessParOpera[id].name.indexOf(value) > -1
  1411. }
  1412. return false
  1413. },
  1414. isdialysateFormulatioCheck(key, value) {
  1415. if (key == null || typeof key === 'undefined') {
  1416. return false
  1417. }
  1418. var id = key.dialysate_formulation
  1419. if (id in this.dialysateFormulationOptions) {
  1420. return this.dialysateFormulationOptions[id].name.indexOf(value) > -1
  1421. }
  1422. return false
  1423. },
  1424. isValueIndexOfCheck: function(record, key, value) {
  1425. if (record == null || record == undefined) {
  1426. return false
  1427. } else {
  1428. return record[key].indexOf(value) > -1
  1429. }
  1430. },
  1431. setAdminUserES(key, id) {
  1432. if (
  1433. typeof key === 'undefined' ||
  1434. key == null ||
  1435. typeof key[id] === 'undefined'
  1436. ) {
  1437. return ''
  1438. }
  1439. if (key[id] == 0) {
  1440. return ''
  1441. }
  1442. if (key[id] in this.operatorMaps) {
  1443. return this.operatorMaps[key[id]].es_url
  1444. } else {
  1445. return ''
  1446. }
  1447. },
  1448. getFloat: function(x) {
  1449. if (x != '.') {
  1450. var f = Math.round(x * 100) / 100
  1451. var s = f.toString()
  1452. var rs = s.indexOf('.')
  1453. if (rs <= 0) {
  1454. rs = s.length
  1455. s += '.'
  1456. }
  1457. while (s.length <= rs + 1) {
  1458. s += '0'
  1459. }
  1460. return s
  1461. } else {
  1462. return '0.0'
  1463. }
  1464. },
  1465. getAdminUser(key, id) {
  1466. // console.log('key', key)
  1467. // console.log('id', id)
  1468. if (
  1469. typeof key === 'undefined' ||
  1470. key == null ||
  1471. typeof key[id] === 'undefined'
  1472. ) {
  1473. return ''
  1474. }
  1475. if (key[id] === 0) {
  1476. return ''
  1477. }
  1478. if (key[id] === undefined) {
  1479. return ''
  1480. }
  1481. for (let i = 0; i < this.adminUser.length; i++) {
  1482. if (this.adminUser[i].id === key[id]) {
  1483. return this.adminUser[i].name
  1484. }
  1485. }
  1486. },
  1487. getName(id) {
  1488. // console.log('签名', this.operatorMaps)
  1489. for (let i = 0; i < this.adminUser.length; i++) {
  1490. if (this.adminUser[i].id === id) {
  1491. return this.adminUser[i].name
  1492. }
  1493. }
  1494. },
  1495. jsGetAge: function(agetime) {
  1496. if (agetime == 0) {
  1497. return ''
  1498. }
  1499. return jsGetAge(uParseTime(agetime, '{y}-{m}-{d}'), '-')
  1500. },
  1501. getTime(value, temp) {
  1502. if (value != undefined) {
  1503. return uParseTime(value, temp)
  1504. }
  1505. return ''
  1506. },
  1507. // 函数说明:因为一次透析记录有些记录不一定是必须填的,比如 record.receive_assessment 可能为 null,所以要取 record.receive_assessment.way 前需要判断 record.receive_assessment 是否为 null,所以这个方法用来简化模板渲染的代码
  1508. // 参数说明:比如判断 record.receive_assessment.way 是不是为1,参数为 (record.receive_assessment, way, 1)
  1509. isCheckBoxChecked: function(record, key, target_value) {
  1510. if (record == null || record == undefined) {
  1511. return false
  1512. } else {
  1513. return record[key] == target_value
  1514. }
  1515. },
  1516. getAge: function(val) {
  1517. if (val.age == 0) {
  1518. if (val.birthday == 0) {
  1519. return ''
  1520. }
  1521. return jsGetAge(uParseTime(val.birthday, '{y}-{m}-{d}'), '-')
  1522. } else {
  1523. return val.age
  1524. }
  1525. },
  1526. checkIdCardNo(val) {
  1527. var thisLen = val.length;
  1528. var birth = "";
  1529. if (thisLen == 15) {
  1530. birth = "19" + val.substr(6, 6);
  1531. } else {
  1532. birth = val.substr(6, 8);
  1533. }
  1534. var birthTwo =
  1535. birth.substr(0, 4) +
  1536. "-" +
  1537. birth.substr(4, 2) +
  1538. "-" +
  1539. birth.substr(6, 2);
  1540. var age = jsGetAge(birthTwo, "-");
  1541. return age;
  1542. },
  1543. newAdviceGroupObject: function() {
  1544. return Object.assign(
  1545. {},
  1546. {
  1547. group_no: 0,
  1548. advices: []
  1549. }
  1550. )
  1551. },
  1552. getNumber: function(record) {
  1553. console.log(record)
  1554. },
  1555. getLastAfterWeight(id, assessmentDate) {
  1556. getLastAfterWeight(id, assessmentDate).then(response => {
  1557. if (response.data.state === 1) {
  1558. var weight = response.data.data.weight
  1559. this.lastAfterWeight = weight.weight_after.toFixed(1)
  1560. console.log('weight', weight)
  1561. }
  1562. })
  1563. },
  1564. getDisplaceLiquiPart: function(val) {
  1565. console.log(val)
  1566. let displace_liqui_part_name = "/";
  1567. const displace_liqui_part = this.displaceLiquiPartOptions;
  1568. console.log("置换方式",displace_liqui_part)
  1569. for (let i = 0; i < displace_liqui_part.length; i++) {
  1570. if (displace_liqui_part[i].id == val) {
  1571. displace_liqui_part_name = displace_liqui_part[i].name;
  1572. }
  1573. }
  1574. return displace_liqui_part_name;
  1575. },
  1576. }
  1577. }
  1578. </script>
  1579. <style scoped>
  1580. .print_page_main_content {
  1581. background-color: white;
  1582. width: 960px;
  1583. margin: 0 auto 50px;
  1584. padding: 0 0 0 0;
  1585. page-break-after: always;
  1586. }
  1587. .print_page_main_content .order-yy-name {
  1588. margin: auto;
  1589. text-align: center;
  1590. font-size: 20px;
  1591. letter-spacing: 5px;
  1592. }
  1593. .print_page_main_content .order_title {
  1594. text-align: center;
  1595. font-size: 23px;
  1596. line-height: 40px;
  1597. font-weight: 500;
  1598. }
  1599. .row {
  1600. font-size: 14px;
  1601. line-height: 20px;
  1602. padding: 5px 0;
  1603. }
  1604. .inline_block {
  1605. display: inline-block;
  1606. }
  1607. .under_line {
  1608. display: inline-block;
  1609. border-bottom: 1px solid #999;
  1610. text-align: center;
  1611. white-space: nowrap;
  1612. width: 50%;
  1613. }
  1614. .under_line::before {
  1615. content: "\00A0";
  1616. }
  1617. .under_line::after {
  1618. content: "\00A0";
  1619. }
  1620. .under_line_two {
  1621. display: inline-block;
  1622. border-bottom: 1px solid #999;
  1623. text-align: left;
  1624. white-space: nowrap;
  1625. width: 50%;
  1626. }
  1627. .under_line_two::before {
  1628. content: "\00A0";
  1629. }
  1630. .under_line_two::after {
  1631. content: "\00A0";
  1632. }
  1633. .flex {
  1634. display: -webkit-box;
  1635. display: -moz-box;
  1636. display: -ms-flexbox;
  1637. display: -webkit-flex;
  1638. display: flex;
  1639. align-items: center;
  1640. -webkit-align-items: center;
  1641. box-align: center;
  1642. -moz-box-align: center;
  1643. -webkit-box-align: center;
  1644. text-align: center;
  1645. -webkit-justify-content: space-between;
  1646. justify-content: space-between;
  1647. -moz-box-pack: space-between;
  1648. -webkit--moz-box-pack: space-between;
  1649. box-pack: space-between;
  1650. }
  1651. .print_page_main_content .proj_table {
  1652. width: 100%;
  1653. border: 1px solid;
  1654. border-collapse: collapse;
  1655. padding: 2px;
  1656. }
  1657. .print_page_main_content .proj_table tbody tr td {
  1658. border: 1px solid;
  1659. /* text-align: center; */
  1660. font-size: 16px;
  1661. padding: 6px 8px;
  1662. line-height: 30px;
  1663. }
  1664. .print_page_main_content .proj_table .inside_table {
  1665. width: 100%;
  1666. border: hidden; /* 解决边框冲突 */
  1667. border-collapse: collapse;
  1668. }
  1669. .print_page_main_content .proj_table .inside_table tr td {
  1670. border: 1px solid;
  1671. text-align: center;
  1672. font-size: 14px;
  1673. padding: 8px 5px;
  1674. line-height: 16px;
  1675. }
  1676. .print-table-no {
  1677. width: 100%;
  1678. text-align: center;
  1679. border-collapse: collapse;
  1680. font-size: 14px;
  1681. }
  1682. .es-img {
  1683. height: 30px;
  1684. }
  1685. .advice-name {
  1686. text-align: left !important;
  1687. line-height: 16px !important;
  1688. }
  1689. .advice-children {
  1690. display: flex;
  1691. }
  1692. .margin-bottom-300 {
  1693. margin-bottom: 450px;
  1694. }
  1695. .margin-bottom-600 {
  1696. margin-bottom: 600px;
  1697. }
  1698. .margin-bottom-900 {
  1699. margin-bottom: 900px;
  1700. }
  1701. .print-yema {
  1702. position: absolute;
  1703. left: 50%;
  1704. }
  1705. .print-yema2 {
  1706. position: absolute;
  1707. left: 50%;
  1708. }
  1709. .print-yema3 {
  1710. position: absolute;
  1711. left: 50%;
  1712. }
  1713. .print-yema4 {
  1714. position: absolute;
  1715. left: 50%;
  1716. }
  1717. .print-yema5 {
  1718. position: absolute;
  1719. left: 50%;
  1720. }
  1721. .did_checke::after {
  1722. content: "\221A";
  1723. font-size: 8px;
  1724. margin-left: 2px;
  1725. margin-top: 2px;
  1726. position: absolute;
  1727. }
  1728. .dialysis-print-order {
  1729. width: 960px;
  1730. margin: 0 auto;
  1731. }
  1732. .dialysis-print-order .order-yy-name {
  1733. margin: auto;
  1734. text-align: center;
  1735. font-size: 20px;
  1736. letter-spacing: 5px;
  1737. }
  1738. .dialysis-print-order .order-title {
  1739. margin: auto;
  1740. font-weight: 600;
  1741. text-align: center;
  1742. font-size: 22px;
  1743. padding: 10px 20px 20px 20px;
  1744. }
  1745. .dialysis-print-order .table-box {
  1746. width: 100%;
  1747. line-height: 23px;
  1748. font-size: 14px;
  1749. }
  1750. .dialysis-print-order .print-table {
  1751. width: 100%;
  1752. text-align: center;
  1753. border-collapse: collapse;
  1754. line-height: 40px;
  1755. font-size: 14px;
  1756. }
  1757. .dialysis-print-order .print-table-no {
  1758. width: 100%;
  1759. text-align: center;
  1760. border-collapse: collapse;
  1761. font-size: 14px;
  1762. }
  1763. .dialysis-print-order .under-line {
  1764. border-bottom: 1px solid #999;
  1765. width: 95%;
  1766. text-align: center;
  1767. margin-left: 2px;
  1768. }
  1769. .dialysis-print-order .title-box {
  1770. text-align: center;
  1771. font-size: 16px;
  1772. }
  1773. .dialysis-print-order .radio-lebel-box {
  1774. font-weight: 400;
  1775. cursor: pointer;
  1776. }
  1777. .dialysis-print-order .radio-no {
  1778. opacity: 0;
  1779. outline: none;
  1780. position: absolute;
  1781. margin: 0;
  1782. width: 0;
  1783. height: 0;
  1784. z-index: -1;
  1785. }
  1786. .dialysis-print-order .radio-inner {
  1787. white-space: nowrap;
  1788. cursor: pointer;
  1789. outline: none;
  1790. display: inline-block;
  1791. line-height: 1;
  1792. position: relative;
  1793. vertical-align: middle;
  1794. }
  1795. .dialysis-print-order .radio-fang {
  1796. display: inline-block;
  1797. position: relative;
  1798. border: 1px solid #000;
  1799. box-sizing: border-box;
  1800. width: 14px;
  1801. height: 14px;
  1802. background-color: #fff;
  1803. z-index: 1;
  1804. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  1805. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  1806. }
  1807. .dialysis-print-order .is-checked-radio::after {
  1808. content: "√";
  1809. font-size: 15px;
  1810. }
  1811. .dialysis-print-order .print-table-no tr td {
  1812. padding: 8px 5px;
  1813. line-height: 25px;
  1814. }
  1815. .dialysis-print-order .print-table tr td {
  1816. padding: 1px 1px;
  1817. /*line-height: 25px;*/
  1818. }
  1819. .es-img {
  1820. height: 25px;
  1821. }
  1822. .advice-name {
  1823. text-align: left;
  1824. }
  1825. .advice-children {
  1826. display: flex;
  1827. }
  1828. .title-box-pro {
  1829. border: 0 #fff;
  1830. line-height: 25px;
  1831. height: 25px;
  1832. text-align: left;
  1833. padding-left: 10px !important;
  1834. }
  1835. .title-box-pro-tr {
  1836. border: 0 #fff;
  1837. }
  1838. .text-align-left {
  1839. text-align: left !important;
  1840. padding-left: 10px !important;
  1841. font-size: 14px !important;
  1842. line-height: 25px;
  1843. }
  1844. .print-table-tr-new td {
  1845. line-height: 20px !important;
  1846. }
  1847. .border-top-solid {
  1848. border: solid 1px #000;
  1849. }
  1850. .print-template-two tr {
  1851. line-height: 30px;
  1852. }
  1853. </style>
  1854. <style>
  1855. .dialysis-print-order {
  1856. width: 960px;
  1857. margin: 0 auto;
  1858. }
  1859. .dialysis-print-order .order-yy-name {
  1860. margin: auto;
  1861. text-align: center;
  1862. font-size: 20px;
  1863. letter-spacing: 5px;
  1864. }
  1865. .dialysis-print-order .order-title {
  1866. margin: auto;
  1867. font-weight: 600;
  1868. text-align: center;
  1869. font-size: 22px;
  1870. padding: 10px 20px 20px 20px;
  1871. }
  1872. .dialysis-print-order .table-box {
  1873. width: 100%;
  1874. line-height: 23px;
  1875. font-size: 14px;
  1876. }
  1877. .dialysis-print-order .print-table {
  1878. width: 100%;
  1879. text-align: center;
  1880. border-collapse: collapse;
  1881. line-height: 40px;
  1882. font-size: 14px;
  1883. }
  1884. .dialysis-print-order .print-table-no {
  1885. width: 100%;
  1886. text-align: center;
  1887. border-collapse: collapse;
  1888. font-size: 14px;
  1889. }
  1890. .dialysis-print-order .under-line {
  1891. border-bottom: 1px solid #999;
  1892. width: 95%;
  1893. text-align: center;
  1894. margin-left: 2px;
  1895. }
  1896. .dialysis-print-order .title-box {
  1897. text-align: center;
  1898. font-size: 16px;
  1899. }
  1900. .dialysis-print-order .radio-lebel-box {
  1901. font-weight: 400;
  1902. cursor: pointer;
  1903. }
  1904. .dialysis-print-order .radio-no {
  1905. opacity: 0;
  1906. outline: none;
  1907. position: absolute;
  1908. margin: 0;
  1909. width: 0;
  1910. height: 0;
  1911. z-index: -1;
  1912. }
  1913. .dialysis-print-order .radio-inner {
  1914. white-space: nowrap;
  1915. cursor: pointer;
  1916. outline: none;
  1917. display: inline-block;
  1918. line-height: 1;
  1919. position: relative;
  1920. vertical-align: middle;
  1921. }
  1922. .dialysis-print-order .radio-fang {
  1923. display: inline-block;
  1924. position: relative;
  1925. border: 1px solid #000;
  1926. box-sizing: border-box;
  1927. width: 14px;
  1928. height: 14px;
  1929. background-color: #fff;
  1930. z-index: 1;
  1931. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  1932. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  1933. }
  1934. .dialysis-print-order .is-checked-radio::after {
  1935. content: "√";
  1936. font-size: 15px;
  1937. }
  1938. .dialysis-print-order .print-table-no tr td {
  1939. padding: 8px 5px;
  1940. line-height: 25px;
  1941. }
  1942. .dialysis-print-order .print-table tr td {
  1943. padding: 1px 1px;
  1944. /*line-height: 25px;*/
  1945. }
  1946. .es-img {
  1947. height: 25px;
  1948. }
  1949. .advice-name {
  1950. text-align: left;
  1951. }
  1952. .advice-children {
  1953. display: flex;
  1954. }
  1955. .title-box-pro {
  1956. border: 0 #fff;
  1957. line-height: 25px;
  1958. height: 25px;
  1959. text-align: left;
  1960. padding-left: 10px !important;
  1961. }
  1962. .title-box-pro-tr {
  1963. border: 0 #fff;
  1964. }
  1965. .text-align-left {
  1966. text-align: left !important;
  1967. padding-left: 10px !important;
  1968. font-size: 14px !important;
  1969. line-height: 25px;
  1970. }
  1971. .print-table-tr-new td {
  1972. line-height: 20px !important;
  1973. }
  1974. .border-top-solid {
  1975. border: solid 1px #000;
  1976. }
  1977. .print-template-two tr {
  1978. line-height: 30px;
  1979. }
  1980. </style>