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

batchStatementPrint.vue 26KB

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