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

listPrint.vue 25KB

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