|
@@ -61,6 +61,17 @@
|
61
|
61
|
<el-table-column align="center" prop="name" label="患者名字">
|
62
|
62
|
<template slot-scope="scope">{{ scope.row.other_name }}</template>
|
63
|
63
|
</el-table-column>
|
|
64
|
+ <el-table-column align="center" prop="item_name" label="身份证">
|
|
65
|
+ <template slot-scope="scope">
|
|
66
|
+ {{scope.row.id_card_no}}
|
|
67
|
+ </template>
|
|
68
|
+ </el-table-column>
|
|
69
|
+ <el-table-column align="center" prop="item_name" label="治疗日期">
|
|
70
|
+ <template slot-scope="scope">
|
|
71
|
+ {{getTimes(scope.row.settle_accounts_date)}}
|
|
72
|
+ </template>
|
|
73
|
+ </el-table-column>
|
|
74
|
+
|
64
|
75
|
<el-table-column align="center" prop="item_name" label="结算日期">
|
65
|
76
|
<template slot-scope="scope">
|
66
|
77
|
{{scope.row.setl_time?scope.row.setl_time.split(" ")[0]:getTimes(scope.row.settle_accounts_date)}}
|
|
@@ -127,10 +138,10 @@
|
127
|
138
|
|
128
|
139
|
|
129
|
140
|
<script>
|
130
|
|
- import BreadCrumb from '@/xt_pages/components/bread-crumb'
|
131
|
|
- import { GetSummarySettle } from '@/api/his/his'
|
132
|
|
- import { uParseTime } from '@/utils/tools'
|
133
|
|
- // import NewStatementPrint from './newStatementPrint'
|
|
141
|
+import BreadCrumb from '@/xt_pages/components/bread-crumb'
|
|
142
|
+import { GetSummarySettle } from '@/api/his/his'
|
|
143
|
+import { uParseTime } from '@/utils/tools'
|
|
144
|
+// import NewStatementPrint from './newStatementPrint'
|
134
|
145
|
const moment = require('moment')
|
135
|
146
|
export default {
|
136
|
147
|
components: {
|
|
@@ -221,6 +232,8 @@
|
221
|
232
|
for (let b = 0; b < data[i].orders.length; b++) {
|
222
|
233
|
let order = data[i].orders[b]
|
223
|
234
|
order['other_name'] = data[i].name
|
|
235
|
+ order['id_card_no'] = data[i].id_card_no
|
|
236
|
+
|
224
|
237
|
total = parseFloat((parseFloat(total.toString()) + parseFloat(data[i].orders[b].medfee_sumamt.toString())).toFixed(2).toString())
|
225
|
238
|
}
|
226
|
239
|
|
|
@@ -311,7 +324,7 @@
|
311
|
324
|
})
|
312
|
325
|
this.sameRowArr = sameRowArr
|
313
|
326
|
}, merge({ row, column, rowIndex, columnIndex }) {
|
314
|
|
- if (columnIndex === 0 || columnIndex === 8) {
|
|
327
|
+ if (columnIndex === 0 || columnIndex === 1 || columnIndex === 15) {
|
315
|
328
|
const _row = this.tempArr[rowIndex]
|
316
|
329
|
const _col = _row > 0 ? 1 : 0
|
317
|
330
|
return {
|
|
@@ -352,6 +365,8 @@
|
352
|
365
|
for (let i = 0; i < this.tableData.length; i++) {
|
353
|
366
|
let order = this.tableData[i]
|
354
|
367
|
let name = order.other_name
|
|
368
|
+ let id_card_no = order.id_card_no
|
|
369
|
+
|
355
|
370
|
let time = ''
|
356
|
371
|
let balance_accounts = ""
|
357
|
372
|
let med_type = ""
|
|
@@ -364,7 +379,8 @@
|
364
|
379
|
let hifp_pay = ""
|
365
|
380
|
let hifob_pay = ""
|
366
|
381
|
let maf_pay = ""
|
367
|
|
-
|
|
382
|
+ let time2 = ""
|
|
383
|
+ time2 = this.getTimes(order.settle_accounts_date)
|
368
|
384
|
|
369
|
385
|
let total = ""
|
370
|
386
|
|
|
@@ -410,6 +426,8 @@
|
410
|
426
|
|
411
|
427
|
let obj = {
|
412
|
428
|
'患者姓名': name,
|
|
429
|
+ '身份证': id_card_no,
|
|
430
|
+ '治疗日期': time2,
|
413
|
431
|
'结算日期': time,
|
414
|
432
|
'结算类型': balance_accounts,
|
415
|
433
|
'处方类型': med_type,
|
|
@@ -428,8 +446,8 @@
|
428
|
446
|
list.push(obj)
|
429
|
447
|
}
|
430
|
448
|
import('@/vendor/Export2Excel').then(excel => {
|
431
|
|
- const tHeader = [ '患者姓名', '结算日期', '结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金','企业补充医疗保险基金支出','居民大病保险资金支出', '费用总额']
|
432
|
|
- const filterVal = [ '患者姓名', '结算日期', '结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金','企业补充医疗保险基金支出','居民大病保险资金支出', '费用总额']
|
|
449
|
+ const tHeader = [ '患者姓名','身份证', '治疗日期','结算日期', '结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金','企业补充医疗保险基金支出','居民大病保险资金支出', '费用总额']
|
|
450
|
+ const filterVal = [ '患者姓名','身份证', '治疗日期','结算日期', '结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金','企业补充医疗保险基金支出','居民大病保险资金支出', '费用总额']
|
433
|
451
|
const data = this.formatJson(filterVal, list)
|
434
|
452
|
excel.export_json_to_excel1({
|
435
|
453
|
header: tHeader,
|