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

statementPrint.vue 26KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777
  1. <template>
  2. <div>
  3. <template>
  4. <el-button
  5. style="position:fixed;right:25px;z-index:999"
  6. :loading="loading"
  7. size="small"
  8. icon="el-icon-printer"
  9. @click="printThisPage"
  10. type="primary"
  11. >打印</el-button
  12. >
  13. </template>
  14. <div class='dialysisPage' style="padding-top:40px;">
  15. <div v-if="org_id == 9990 || org_id == 10138 || org_id == 9504 || org_id == 10028 || org_id == 0 || org_id == 4">
  16. <printTwo :info="info" v-if="org_id == 9990"></printTwo>
  17. <printThree :info="info" :paramsObj="paramsObj" :balanceAccounts="balanceAccounts" v-if="org_id == 10138 || org_id == 0 || org_id == 4"></printThree>
  18. <printFour v-if="org_id == 9504 || org_id == 10028 || org_id == 0" :info="info" :paramsObj="paramsObj" :balanceAccounts="balanceAccounts"></printFour>
  19. </div>
  20. <printOne :info="info" v-else></printOne>
  21. </div>
  22. </div>
  23. </template>
  24. <script>
  25. import { parseTime } from "@/utils";
  26. import { getDialysisRecord } from "@/api/dialysis";
  27. import { getDataConfig } from "@/utils/data";
  28. import { jsGetAge, uParseTime } from "@/utils/tools";
  29. import axios from 'axios'
  30. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  31. import print from "print-js";
  32. import printOne from "./statementTemplate/printOne"
  33. import printTwo from "./statementTemplate/printTwo"
  34. import printThree from "./statementTemplate/printThree"
  35. import printFour from "./statementTemplate/printFour"
  36. import { getAllDoctorList,getAllHisPatientList,getPrescriptionPrint } from "@/api/project/project"
  37. import { getPrivateExpenses } from '@/api/his/his'
  38. export default {
  39. name: "dialysisPrintOrder",
  40. components: {
  41. BreadCrumb,
  42. printOne,
  43. printTwo,
  44. printThree,
  45. printFour
  46. },
  47. props:{
  48. paramsObj:Object
  49. },
  50. data() {
  51. return {
  52. crumbs: [
  53. { path: false, name: '门诊医生站' },
  54. { path: false, name: '打印' }
  55. ],
  56. record_date:"",
  57. patientTableData:[],
  58. advicePrint:[],
  59. hisPatient:{},
  60. patient:{},
  61. search_input:"",
  62. loading:false,
  63. patient_id:0,
  64. prescription_id:0,
  65. ids:'',
  66. info:null,
  67. org_id:"",
  68. balanceAccounts:{},
  69. };
  70. },
  71. methods:{
  72. printThisPage() {
  73. var ptime = Math.round(new Date().getTime() / 1000);
  74. this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
  75. if(this.$store.getters.xt_user.org_id == 10138 || this.$store.getters.xt_user.org_id == 0 || this.$store.getters.xt_user.org_id == 4){
  76. setTimeout(() => {
  77. const style =
  78. '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 47%;}}}';
  79. const style2 =
  80. '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 50%;}}}';
  81. const style3 =
  82. '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 55%;}}}';
  83. const style4 =
  84. '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 58%;}}}';
  85. const style5 =
  86. '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 61%;}}}';
  87. const style6 =
  88. '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 66%;}}}';
  89. const style7 =
  90. '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 71%;}}}';
  91. const style8 =
  92. '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 75%;}}}';
  93. const style9 =
  94. '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 80%;}}}';
  95. const style10 =
  96. '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 85%;}}}';
  97. const style11 =
  98. '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 87%;}}}';
  99. const style12 =
  100. '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 89%;}}}';
  101. if(this.num >= 13){
  102. printJS({
  103. printable: "prescription-print",
  104. type: "html",
  105. style: style,
  106. scanStyles: false
  107. });
  108. }else if(this.num == 12){
  109. printJS({
  110. printable: "prescription-print",
  111. type: "html",
  112. style: style2,
  113. scanStyles: false
  114. });
  115. }else if(this.num == 11){
  116. printJS({
  117. printable: "prescription-print",
  118. type: "html",
  119. style: style3,
  120. scanStyles: false
  121. });
  122. }else if(this.num == 10){
  123. printJS({
  124. printable: "prescription-print",
  125. type: "html",
  126. style: style4,
  127. scanStyles: false
  128. });
  129. }else if(this.num == 9){
  130. printJS({
  131. printable: "prescription-print",
  132. type: "html",
  133. style: style5,
  134. scanStyles: false
  135. });
  136. }else if(this.num == 8){
  137. printJS({
  138. printable: "prescription-print",
  139. type: "html",
  140. style: style6,
  141. scanStyles: false
  142. });
  143. }else if(this.num == 7){
  144. printJS({
  145. printable: "prescription-print",
  146. type: "html",
  147. style: style7,
  148. scanStyles: false
  149. });
  150. }else if(this.num == 6){
  151. printJS({
  152. printable: "prescription-print",
  153. type: "html",
  154. style: style8,
  155. scanStyles: false
  156. });
  157. }else if(this.num == 5){
  158. printJS({
  159. printable: "prescription-print",
  160. type: "html",
  161. style: style9,
  162. scanStyles: false
  163. });
  164. }else if(this.num == 4){
  165. printJS({
  166. printable: "prescription-print",
  167. type: "html",
  168. style: style10,
  169. scanStyles: false
  170. });
  171. }else if(this.num == 3){
  172. printJS({
  173. printable: "prescription-print",
  174. type: "html",
  175. style: style11,
  176. scanStyles: false
  177. });
  178. }else if(this.num <= 2){
  179. printJS({
  180. printable: "prescription-print",
  181. type: "html",
  182. style: style12,
  183. scanStyles: false
  184. });
  185. }
  186. },500)
  187. }else if(this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028){
  188. const style =
  189. '@media print {.printTitle{font-size: 20px;text-align: center;font-weight: bold;}.infoMain{display: flex;flex-wrap: wrap;padding:0 10px;margin-top:10px;font-size:12px;}.infoMain .infoP{width: 33%;}.chargeBox{border: 1px solid #000;font-size:12px;}.chargeUl{display:flex;justify-content: space-between;text-align: center;}.chargeUl p{line-height: 1px;}.chargeP{line-height: 1px;padding-bottom:16px;}.moneyBox{display: flex;justify-content: space-between;padding: 0 10px;background: #eeeeee;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;-ms-print-color-adjust:exact;print-color-adjust:exact;height: 40px;align-items: center;border:1px solid #000; border-top:none;font-size:12px;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;font-size:12px;}.actionBar div{width:150px;}}';
  190. printJS({
  191. printable: "prescription-print",
  192. type: "html",
  193. style: style,
  194. scanStyles: false
  195. });
  196. }else{
  197. const style =
  198. '@media print {.statementTitle{font-size: 28px;text-align: center;font-weight: bold;margin-bottom: 10px;}.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 16px;border-color: #000;}}';
  199. printJS({
  200. printable: "statement-print",
  201. type: "html",
  202. style: style,
  203. scanStyles: false
  204. });
  205. }
  206. // if (this.org_template_info.template_id == 1) {
  207. // printJS({
  208. // printable: "dialysis-print-box",
  209. // type: "html",
  210. // style: style,
  211. // scanStyles: false
  212. // });
  213. // }
  214. },
  215. getAllDoctorList(){
  216. getAllDoctorList().then(response=>{
  217. if(response.data.state == 1){
  218. var doctor = response.data.data.doctor;
  219. this.doctorList = doctor
  220. }
  221. })
  222. },
  223. getAllHisPatientList(){
  224. const params = {
  225. record_date:this.record_date
  226. };
  227. getAllHisPatientList(params).then(response=>{
  228. if(response.data.state == 1){
  229. this.patientTableData = response.data.data.list;
  230. this.patientTableDataTwo = response.data.data.list;
  231. console.log('222', this.patientTableData);
  232. let cal_one = 0;
  233. let cal_two = 0;
  234. for (let i = 0; i < response.data.data.list.length; i++) {
  235. if (response.data.data.list[i].prescription == null || response.data.data.list[i].prescription.length == 0) {
  236. cal_one = cal_one + 1
  237. }
  238. if (response.data.data.list[i].prescription != null && response.data.data.list[i].prescription.length > 0) {
  239. cal_two = cal_two + 1
  240. }
  241. }
  242. // this.$refs.tab.setCurrentRow(this.patientTableData[0])
  243. // console.log(this.patientTableData[0])
  244. // this.choosePatient(this.patientTableData[0])
  245. this.cal_one = cal_one;
  246. this.cal_two = cal_two
  247. }
  248. })
  249. },
  250. changePatient(row){
  251. console.log("row",row);
  252. this.patient_id = row.patient_id;
  253. this.record_date = this.record_date;
  254. this.prescription_id = this.prescription_id
  255. // var params = {
  256. // patient_id:row.patient_id,
  257. // record_date:this.record_date,
  258. // prescription_id:this.prescription_id,
  259. // }
  260. // getPrescriptionPrint(params).then(response=>{
  261. // if(response.data.state == 1){
  262. // var advicePrint = response.data.data.advicePrint
  263. // console.log("adviceprint",advicePrint)
  264. // this.advicePrint = advicePrint
  265. // // var hisPatient = response.data.data.hisPatient
  266. // // console.log("hispatient",hisPatient)
  267. // // this.hisPatient = hisPatient
  268. // var patient = response.data.data.patient
  269. // console.log("patient",patient)
  270. // this.patient = patient
  271. // var doctorPorject = response.data.data.doctorPorject
  272. // console.log("doctorporject",doctorPorject)
  273. // }
  274. // })
  275. }, getTimes(time) {
  276. return uParseTime(time, '{y}-{m}-{d}')
  277. },
  278. searchAction(){
  279. },
  280. getInfo(order_id,obj) {
  281. if (obj.balance_accounts_type == 2){
  282. let params = {
  283. his_patient_id: obj.his_patient_id,
  284. id: obj.order_id,
  285. }
  286. if(this.org_id == 10138 || this.org_id == 0 || this.$store.getters.xt_user.org_id == 4){
  287. getPrivateExpenses(params).then(response => {
  288. if (response.data.state == 0) {
  289. // this.$message.error(response.data.msg)
  290. return false
  291. } else {
  292. this.balanceAccounts = response.data.data
  293. let arr = []
  294. let obj = {
  295. type:1,
  296. details: [],
  297. total: 0
  298. }
  299. let obj2 = {
  300. type:2,
  301. details: [],
  302. total: 0
  303. }
  304. let obj3 = {
  305. type:3,
  306. details: [],
  307. total: 0
  308. }
  309. let num = 0
  310. let obj4 = {
  311. type:4,
  312. details: [],
  313. total: 0
  314. }
  315. this.balanceAccounts.order_info.map(item => {
  316. if(item.advice_id > 0){
  317. obj.details.push(item)
  318. obj.total += (item.pric * item.advice.prescribing_number)
  319. num++
  320. }else{
  321. if(item.project.type == 2){
  322. obj2.details.push(item)
  323. obj2.total += (item.pric * item.project.count)
  324. num++
  325. }else{
  326. obj3.details.push(item)
  327. obj3.total += (item.pric * item.project.count)
  328. num++
  329. }
  330. }
  331. })
  332. if(this.balanceAccounts.new_order_info != null) {
  333. this.balanceAccounts.new_order_info.map(item => {
  334. obj4.total = obj4.total + item.Total
  335. obj4.details.push(item)
  336. num++
  337. })
  338. }
  339. this.balanceAccounts.new_detail_list = []
  340. this.balanceAccounts.new_detail_list.push(obj)
  341. this.balanceAccounts.new_detail_list.push(obj2)
  342. this.balanceAccounts.new_detail_list.push(obj3)
  343. this.balanceAccounts.new_detail_list.push(obj4)
  344. console.log(111,this.balanceAccounts)
  345. this.num = num
  346. console.log('this.num',this.num)
  347. }
  348. })
  349. }else if(this.org_id == 10028){
  350. getPrivateExpenses(params).then(response => {
  351. if (response.data.state == 0) {
  352. // this.$message.error(response.data.msg)
  353. return false
  354. } else {
  355. this.balanceAccounts = response.data.data
  356. let obj = {
  357. type:1,
  358. details: [],
  359. total: 0
  360. }
  361. let obj2 = {
  362. type:2,
  363. details: [],
  364. total: 0
  365. }
  366. let obj3 = {
  367. type:3,
  368. details: [],
  369. total: 0
  370. }
  371. this.balanceAccounts.order_info.map(item => {
  372. if(item.advice_id > 0){
  373. obj.details.push(item)
  374. obj.total += (item.pric * item.advice.prescribing_number)
  375. }else{
  376. if(item.project.type == 2){
  377. obj2.details.push(item)
  378. obj2.total += (item.pric * item.project.count)
  379. }else{
  380. obj3.details.push(item)
  381. obj3.total += (item.pric * item.project.count)
  382. }
  383. }
  384. })
  385. this.balanceAccounts.new_detail_list = []
  386. this.balanceAccounts.new_detail_list.push(obj)
  387. this.balanceAccounts.new_detail_list.push(obj2)
  388. this.balanceAccounts.new_detail_list.push(obj3)
  389. console.log(111,this.balanceAccounts)
  390. }
  391. })
  392. }
  393. }else {
  394. var that = this;
  395. axios.get('http://127.0.0.1:9532/api/settle/query', {
  396. params: {
  397. order_id: order_id,
  398. admin_user_id:this.$store.getters.xt_user.user.id,
  399. }
  400. })
  401. .then(function (response) {
  402. if (response.data.state == 0) {
  403. this.$message.error(response.data.msg);
  404. return false
  405. } else {
  406. console.log("logloglog");
  407. console.log(response.data.data.info);
  408. that.info = response.data.data.info;
  409. console.log(that.info);
  410. that.p_admin = response.data.data.printor_admin;
  411. that.charge_admin = response.data.data.charge_admin;
  412. that.info['p_admin'] = that.p_admin;
  413. that.info['charge_admin'] = that.charge_admin;
  414. that.info['order_number'] = response.data.data.order_number;
  415. that.info['patient'] = response.data.data.patient;
  416. that.info['date'] = response.data.data.date;
  417. that.info['number'] = response.data.data.number;
  418. that.info['order_infos'] = response.data.data.order_infos;
  419. that.info['diagnosis'] = response.data.data.diagnosis;
  420. that.info['org_code'] = response.data.data.org_code;
  421. that.info['org_name'] = response.data.data.org_name;
  422. that.info['doctor_code'] = response.data.data.doctor_code;
  423. that.info['department'] = response.data.data.department;
  424. that.info['health_card_no'] = response.data.data.health_card_no;
  425. that.info['bed_cost_total'] = response.data.data.bedCostTotal;
  426. that.info['bed_cost_self_total'] = response.data.data.bedCostSelfTotal;
  427. that.info['bed_cost_part_self_total'] = response.data.data.bedCostPartSelfTotal;
  428. that.info['operation_cost_total'] = response.data.data.operationCostTotal;
  429. that.info['operation_cost_self_total'] = response.data.data.operationCostSelfTotal;
  430. that.info['operation_cost_part_self_total'] = response.data.data.operationCostPartSelfTotal;
  431. that.info['other_cost_total'] = response.data.data.otherCostTotal;
  432. that.info['other_cost_self_total'] = response.data.data.otherCostSelfTotal;
  433. that.info['other_cost_part_self_total'] = response.data.data.otherCostPartSelfTotal;
  434. that.info['material_cost_total'] = response.data.data.materialCostTotal;
  435. that.info['material_cost_self_total'] = response.data.data.materialCostSelfTotal;
  436. that.info['material_cost_part_self_total'] = response.data.data.materialCostPartSelfTotal;
  437. that.info['western_medicine_cost_total'] = response.data.data.westernMedicineCostTotal;
  438. that.info['western_medicine_cost_self_total'] = response.data.data.westernMedicineCostSelfTotal;
  439. that.info['western_medicine_cost_part_self_total'] = response.data.data.westernMedicineCostPartSelfTotal;
  440. that.info['chinese_traditional_medicine_cost_total'] = response.data.data.chineseTraditionalMedicineCostTotal;
  441. that.info['chinese_traditional_medicine_cost_self_total'] = response.data.data.chineseTraditionalMedicineCostSelfTotal;
  442. that.info['chinese_traditional_medicine_cost_part_self_total'] = response.data.data.chineseTraditionalMedicineCostPartSelfTotal;
  443. that.info['check_cost_total'] = response.data.data.checkCostTotal;
  444. that.info['check_cost_self_total'] = response.data.data.checkCostSelfTotal;
  445. that.info['check_cost_part_self_total'] = response.data.data.checkCostPartSelfTotal;
  446. that.info['laboratory_cost_total'] = response.data.data.laboratoryCostTotal;
  447. that.info['laboratory_cost_self_total'] = response.data.data.laboratoryCostSelfTotal;
  448. that.info['laboratory_cost_part_self_total'] = response.data.data.laboratoryCostPartSelfTotal;
  449. that.info['treat_cost_total'] = response.data.data.treatCostTotal;
  450. that.info['treat_cost_self_total'] = response.data.data.treatCostSelfTotal;
  451. that.info['treat_cost_part_self_total'] = response.data.data.treatCostPartSelfTotal;
  452. that.info['date'] = response.data.data.date;
  453. that.info['number'] = response.data.data.number;
  454. that.info['order_infos'] = response.data.data.order_infos;
  455. that.info['diagnosis'] = response.data.data.diagnosis
  456. let obj = {
  457. type:1,
  458. details: [],
  459. total: 0
  460. }
  461. let obj2 = {
  462. type:2,
  463. details: [],
  464. total: 0
  465. }
  466. let obj3 = {
  467. type:3,
  468. details: [],
  469. total: 0
  470. }
  471. let obj4 = {
  472. type:4,
  473. details: [],
  474. total: 0
  475. }
  476. let num = 0
  477. that.info.order_infos.map(item => {
  478. if(item.advice_id > 0){
  479. obj.details.push(item)
  480. obj.total += (item.pric * item.advice.prescribing_number)
  481. num++
  482. }else{
  483. if(item.project.type == 2){
  484. obj2.details.push(item)
  485. obj2.total += (item.pric * item.project.count)
  486. num++
  487. }else{
  488. obj3.details.push(item)
  489. obj3.total += (item.pric * item.project.count)
  490. num++
  491. }
  492. }
  493. })
  494. // this.info.order_infos.map(item => {
  495. // obj4.total = item.Total
  496. // obj4.details.push(item)
  497. // num++
  498. //
  499. // })
  500. that.info.new_detail_list = []
  501. that.info.new_detail_list.push(obj)
  502. that.info.new_detail_list.push(obj2)
  503. that.info.new_detail_list.push(obj3)
  504. // that.info.new_detail_list.push(obj4)
  505. that.num = num
  506. if(that.paramsObj.settle_type != 1){
  507. that.info.begndate = that.getTimes(that.paramsObj.start_time)
  508. that.info.enddate = that.getTimes(that.paramsObj.end_time)
  509. }
  510. }
  511. })
  512. .catch(function (error) {
  513. });
  514. }
  515. }
  516. },
  517. created() {
  518. console.log(this.paramsObj)
  519. this.getInfo(this.paramsObj.order_id,this.paramsObj);
  520. this.org_id = this.$store.getters.xt_user.org_id;
  521. console.log("this.org_id",this.org_id)
  522. },
  523. watch:{
  524. paramsObj:{//深度监听,可监听到对象、数组的变化
  525. handler(val, oldVal){
  526. this.paramsObj = val;
  527. console.log(this.paramsObj)
  528. this.getInfo(this.paramsObj.order_id,this.paramsObj)
  529. },
  530. deep:true,
  531. immediate:true
  532. }
  533. }
  534. };
  535. </script>
  536. <style>
  537. .dialysis-print-order {
  538. width: 960px;
  539. margin: 0 auto;
  540. }
  541. .dialysis-print-order .order-yy-name {
  542. margin: auto;
  543. text-align: center;
  544. font-size: 20px;
  545. letter-spacing: 5px;
  546. }
  547. .dialysis-print-order .order-title {
  548. margin: auto;
  549. font-weight: 600;
  550. text-align: center;
  551. font-size: 22px;
  552. padding: 10px;
  553. }
  554. .dialysis-print-order .table-box {
  555. width: 100%;
  556. line-height: 23px;
  557. font-size: 14px;
  558. }
  559. .dialysis-print-order .print-table {
  560. width: 100%;
  561. text-align: center;
  562. border-collapse: collapse;
  563. line-height: 40px;
  564. font-size: 14px;
  565. border-color: #000;
  566. }
  567. .dialysis-print-order .print-table-no {
  568. width: 100%;
  569. text-align: center;
  570. border-collapse: collapse;
  571. font-size: 14px;
  572. }
  573. .dialysis-print-order .under-line {
  574. border-bottom: 1px solid #999;
  575. width: 95%;
  576. text-align: center;
  577. margin-left: 2px;
  578. }
  579. .dialysis-print-order .title-box {
  580. text-align: center;
  581. font-size: 16px;
  582. }
  583. .dialysis-print-order .radio-lebel-box {
  584. font-weight: 400;
  585. cursor: pointer;
  586. }
  587. .dialysis-print-order .radio-no {
  588. opacity: 0;
  589. outline: none;
  590. position: absolute;
  591. margin: 0;
  592. width: 0;
  593. height: 0;
  594. z-index: -1;
  595. }
  596. .dialysis-print-order .radio-inner {
  597. white-space: nowrap;
  598. cursor: pointer;
  599. outline: none;
  600. display: inline-block;
  601. line-height: 1;
  602. position: relative;
  603. vertical-align: middle;
  604. }
  605. .dialysis-print-order .radio-fang {
  606. display: inline-block;
  607. position: relative;
  608. border: 1px solid #000;
  609. box-sizing: border-box;
  610. width: 14px;
  611. height: 14px;
  612. background-color: #fff;
  613. z-index: 1;
  614. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  615. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  616. }
  617. .dialysis-print-order .is-checked-radio::after {
  618. content: "√";
  619. font-size: 15px;
  620. }
  621. .dialysis-print-order .print-table-no tr td {
  622. padding: 8px 5px;
  623. line-height: 25px;
  624. }
  625. .dialysis-print-order .print-table tr td {
  626. padding: 1px 1px;
  627. /*line-height: 25px;*/
  628. }
  629. .es-img {
  630. height: 30px;
  631. }
  632. .advice-name {
  633. text-align: left;
  634. }
  635. .advice-children {
  636. display: flex;
  637. }
  638. .title-box-pro {
  639. border: 0 #fff;
  640. line-height: 25px;
  641. height: 25px;
  642. text-align: left;
  643. padding-left: 10px !important;
  644. }
  645. .title-box-pro-tr {
  646. border: 0 #fff;
  647. }
  648. .text-align-left {
  649. text-align: left !important;
  650. padding-left: 10px !important;
  651. font-size: 14px !important;
  652. line-height: 25px;
  653. }
  654. .print-table-tr-new td {
  655. line-height: 20px !important;
  656. }
  657. .border-top-solid {
  658. border: solid 1px #000;
  659. }
  660. .print-template-two tr {
  661. line-height: 30px;
  662. }
  663. .table-box1 {
  664. border: 1px solid #000;
  665. width: 100%;
  666. line-height: 30px;
  667. font-size: 14px;
  668. border-collapse: collapse;
  669. }
  670. .table-box1 tr {
  671. border-bottom: 1px solid #000;
  672. }
  673. </style>
  674. <style lang="scss">
  675. .newContainer{
  676. .dialysisPage::-webkit-scrollbar {
  677. height: 15px;
  678. }
  679. .el-date-editor{
  680. .el-input__inner{
  681. padding-right:0px;
  682. }
  683. }
  684. .el-table td, .el-table th{
  685. text-align: center;
  686. }
  687. }
  688. .newContainer::-webkit-scrollbar{
  689. height: 15px !important;
  690. }
  691. </style>