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

statementPrint.vue 26KB

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