陈少旭 1 month ago
parent
commit
edbc9fdd8e

+ 1 - 1
src/xt_pages/Dialysisanalysis/new_otherIndicators/components/Total_analysis.vue View File

@@ -130,7 +130,7 @@ import { forEach } from 'jszip';
130 130
           { id:19, name:"IUF+HD"},{ id:20, name:"UF"},{ id:21, name:"HD+"},{ id:22, name:"血浆胆红素吸附+HDF"},{ id:23, name:"血浆胆红素吸附"},
131 131
           { id:24, name:"I-HDF"},{ id:25, name:"HD高通"},{ id:26, name:"CVVH"},{ id:27, name:"CVVHD"},{ id:28, name:"CVVHDF"},{ id:29, name:"PE"},
132 132
           { id:30, name:"血浆胆红素吸附+HP"},{ id:31, name:"HPD"},{ id:32, name:"HDP"},{ id:33, name:"HFD"},{ id:34, name:"HDF100"},
133
-          { id:35, name:"HDF600"},{ id:36, name:"HDF800"},{ id:37, name:"HDF1000"},
133
+          { id:35, name:"HDF600"},{ id:36, name:"HDF800"},{ id:37, name:"HDF1000"},{ id:40, name:"HD(无肝素)"},
134 134
         ],
135 135
         date_mode_options:[{value:1,label:'按周'},{value:2,label:'按天'},{value:3,label:'按月'},{value:4,label:'按年'}],
136 136
         source_options:[{value:1,label:'以开始透析为准'},{value:2,label:'以排班为准'}],

+ 1 - 1
src/xt_pages/Dialysisanalysis/new_otherIndicators/components/Total_table.vue View File

@@ -229,7 +229,7 @@ export default {
229 229
         { id: 10, name: 'PHF' },{ id: 11, name: 'HFR' },{ id: 12, name: 'HDF+HP' },{ id: 13, name: 'CRRT' },{ id: 14, name: '腹水回输' },
230 230
         { id: 15, name: 'HD前置换' },{ id: 16, name: 'HD后置换' },{ id: 17, name: 'HDF前置换' },{ id: 18, name: 'HDF后置换' },
231 231
         { id:19, name:"IUF+HD"},{ id:20, name:"UF"},{ id:21, name:"HD+"},{ id:22, name:"血浆胆红素吸附+HDF"},{ id:23, name:"血浆胆红素吸附"},
232
-        { id:24, name:"I-HDF"},{ id:25, name:"HD高通"},{ id:26, name:"CVVH"},{ id:27, name:"CVVHD"},{ id:28, name:"CVVHDF"},{ id:29, name:"PE"},,{ id:40, name:"HD(无肝素)"}
232
+        { id:24, name:"I-HDF"},{ id:25, name:"HD高通"},{ id:26, name:"CVVH"},{ id:27, name:"CVVHD"},{ id:28, name:"CVVHDF"},{ id:29, name:"PE"},{ id:40, name:"HD(无肝素)"}
233 233
       ],
234 234
       date_mode_options:[{value:2,label:'按周'},{value:1,label:'按天'},{value:3,label:'按月'},{value:4,label:'按年'}],
235 235
       source_options:[{value:1,label:'以开始透析为准'},{value:2,label:'以排班为准'}],

+ 18 - 2
src/xt_pages/Pharmacy/drugCode.vue View File

@@ -8,7 +8,7 @@
8 8
           v-model="start_time"
9 9
           prefix-icon="el-icon-date"
10 10
           :editable="false"
11
-          style="width: 196px;"
11
+          style="width: 150px;"
12 12
           type="date"
13 13
           placeholder="选择日期时间"
14 14
           align="right"
@@ -23,7 +23,7 @@
23 23
           v-model="end_time"
24 24
           prefix-icon="el-icon-date"
25 25
           :editable="false"
26
-          style="width: 196px;margin-right:10px;"
26
+          style="width: 150px;margin-right:10px;"
27 27
           type="date"
28 28
           placeholder="选择日期时间"
29 29
           align="right"
@@ -33,6 +33,15 @@
33 33
       </div>
34 34
 
35 35
 
36
+      <div style="width:150px;">
37
+        <el-input  style="width: 150px"
38
+                   v-model="keywords" @input="searchAction"
39
+                   @keyup.enter.native="searchAction"
40
+                   class="filter-item" placeholder="请输入患者姓名"
41
+        />
42
+      </div>
43
+
44
+
36 45
       <div>
37 46
         <div>上传状态:
38 47
           <el-select size="small" v-model="is_sale" placeholder="请选择" style="width:100px;" @change="changeStock">
@@ -205,6 +214,7 @@ export default {
205 214
       page: 1,
206 215
       limit: 10,
207 216
       value: 0,
217
+      keywords:"",
208 218
       is_sale: "0",
209 219
       items: [
210 220
         {id: "0", name: '全部'},
@@ -232,6 +242,11 @@ export default {
232 242
     }
233 243
   },
234 244
   methods: {
245
+    searchAction() {
246
+      this.page = 1
247
+
248
+      this.getlist()
249
+    },
235 250
     toUpload(row) {
236 251
       if (row.drug_code.length == 0) {
237 252
         this.$message.error("追溯码不能为空");
@@ -595,6 +610,7 @@ export default {
595 610
         limit: this.limit,
596 611
         is_sale: this.is_sale,
597 612
         is_settle:this.is_settle,
613
+        keywords:this.keywords,
598 614
 
599 615
       }
600 616
       getHisDrugCodeQueryList(params).then(response => {

+ 11 - 4
src/xt_pages/drugSourceCode/drugCodeQuery.vue View File

@@ -84,6 +84,8 @@
84 84
           </template>
85 85
         </el-table-column>
86 86
 
87
+
88
+
87 89
         <el-table-column align="center" prop="name" label="发药状态">
88 90
           <template slot-scope="scope">
89 91
             <div v-if="scope.row.is_medicine == 1">已发药</div>
@@ -91,12 +93,19 @@
91 93
           </template>
92 94
         </el-table-column>
93 95
 
96
+
97
+        <el-table-column align="center" prop="name" label="结算状态">
98
+          <template slot-scope="scope">
99
+            <div v-if="scope.row.pre.order_status == 2">已结算</div>
100
+            <div v-if="scope.row.pre.order_status != 2">未结算</div>
101
+          </template>
102
+        </el-table-column>
103
+
94 104
         <el-table-column align="center" prop="name" label="操作" width="200">
95 105
           <template slot-scope="scope">
96 106
             <div>
97 107
              <el-button v-if="scope.row.is_upload == 1" type="primary" @click="revokeDrugCode(scope.row)">撤销</el-button>
98 108
             <el-button type="primary" v-if="scope.row.is_upload == 0" @click="toUpload(scope.row)">上传</el-button>
99
-<!--            <el-button v-if="faShow == true" type="primary" @click="toFaYao(scope.row)">发药</el-button>-->
100 109
             </div>
101 110
           </template>
102 111
         </el-table-column>
@@ -115,8 +124,6 @@
115 124
 
116 125
 
117 126
 
118
-
119
-
120 127
       <el-dialog
121 128
         title="药品追溯码"
122 129
         :visible.sync="dialogVisibleOne"
@@ -453,7 +460,7 @@
453 460
           } else {
454 461
 
455 462
             //有打开则调用接口
456
-            axios.get('http://127.0.0.1:9532/api/delete_xs_bg_three',{params:params}).then(function(response) {
463
+            axios.get('http://127.0.0.1:9532/api/changedrug/five',{params:params}).then(function(response) {
457 464
               if (response.data.state == 0) {
458 465
                 that.$message.error(response.data.data.msg);
459 466
                 return false

+ 384 - 7
src/xt_pages/outpatientCharges/statementPrint.vue View File

@@ -65,7 +65,7 @@
65 65
       <!-- 广水原生堂 -->
66 66
       <printfourteen :info="info" v-if="(org_id == 10088 ) && this.paramsObj.balance_accounts_type == 1"></printfourteen>
67 67
       <!-- 盱眙恒硕 -->
68
-      <printfivetheen :info="info" v-if="org_id == 10633"></printfivetheen>
68
+      <printfivetheen :info="info" v-if="org_id == 10633 || org_id == 0"></printfivetheen>
69 69
       <!-- 顺有好 -->
70 70
       <printSixtheen :info="info" v-if="org_id == 10697"></printSixtheen>
71 71
       <!-- 杏康 -->
@@ -76,13 +76,9 @@
76 76
             org_id != 10610 && org_id !=10537 && org_id !=10697 &&
77 77
             org_id != 10278 && org_id != 10387 && org_id != 10191 &&
78 78
             org_id != 10210 &&org_id != 10485 &&org_id != 10480 &&
79
-            org_id != 10510 &&org_id != 10088 && org_id != 10721 &&org_id != 10633 &&org_id != 10731 && org_id != 10726 && this.paramsObj.balance_accounts_type == 1">
79
+            org_id != 10510 &&org_id != 10088 && org_id != 10721 &&org_id != 0 &&org_id != 10633 &&org_id != 10731 && org_id != 10726 && this.paramsObj.balance_accounts_type == 1">
80 80
       </printOne>
81
-      <privateChargePrint :info="info" v-if="org_id != 9990 &&
82
-            org_id != 10138 && org_id != 9504 &&  org_id != 10028 && org_id !=10697 &&
83
-            org_id != 10278 && org_id != 10610 && org_id !=10537 && org_id != 10387 &&
84
-            org_id != 10191 &&org_id != 10210 &&org_id != 10485  &&org_id != 10480 &&
85
-            org_id != 10510 &&org_id != 10633 && org_id != 10721 && org_id != 10726  && this.paramsObj.balance_accounts_type == 2">
81
+      <privateChargePrint :info="info" v-if="this.paramsObj.balance_accounts_type == 2">
86 82
       </privateChargePrint>
87 83
     </div>
88 84
   </div>
@@ -2203,6 +2199,387 @@ export default {
2203 2199
 
2204 2200
 
2205 2201
 
2202
+          } else if(this.org_id == 10633 || this.org_id == 0){
2203
+            let params = {
2204
+              order_id: obj.order_id,
2205
+              admin_user_id: this.$store.getters.xt_user.user.id
2206
+            }
2207
+            getPrivateExpensesOrder(params).then((response) => {
2208
+              if (response.data.state == 0) {
2209
+                // this.$message.error(response.data.msg)
2210
+
2211
+                return false
2212
+              } else {
2213
+                var that = this
2214
+                that.info = response.data.data.info
2215
+                that.p_admin = response.data.data.printor_admin
2216
+                that.charge_admin = response.data.data.charge_admin
2217
+                that.info['new_order'] = response.data.data.info
2218
+                that.info['p_admin'] = that.p_admin
2219
+                that.info['charge_admin'] = that.charge_admin
2220
+                that.info['order_number'] = response.data.data.order_number
2221
+                that.info['patient'] = response.data.data.patient
2222
+                that.info['date'] = response.data.data.date
2223
+                that.info['number'] = response.data.data.number
2224
+                that.info['order_infos'] = response.data.data.order_infos
2225
+                that.info['diagnosis'] = response.data.data.diagnosis
2226
+                that.info['fixmedins_name'] = response.data.data.org_name
2227
+                that.info['fixmedins_code'] = response.data.data.org_code
2228
+                // that.info["doctor_code"] = response.data.data.doctor_code;
2229
+                // that.info["department"] = response.data.data.department;
2230
+                // that.info["health_card_no"] = response.data.data.health_card_no;
2231
+
2232
+                that.info['bed_cost_total'] = response.data.data.bedCostTotal
2233
+                that.info['bed_cost_self_total'] =
2234
+                  response.data.data.bedCostSelfTotal
2235
+                that.info['bed_cost_part_self_total'] =
2236
+                  response.data.data.bedCostPartSelfTotal
2237
+
2238
+                that.info['operation_cost_total'] =
2239
+                  response.data.data.operationCostTotal
2240
+                that.info['operation_cost_self_total'] =
2241
+                  response.data.data.operationCostSelfTotal
2242
+                that.info['operation_cost_part_self_total'] =
2243
+                  response.data.data.operationCostPartSelfTotal
2244
+
2245
+                that.info['other_cost_total'] = response.data.data.otherCostTotal
2246
+                that.info['other_cost_self_total'] =
2247
+                  response.data.data.otherCostSelfTotal
2248
+                that.info['other_cost_part_self_total'] =
2249
+                  response.data.data.otherCostPartSelfTotal
2250
+
2251
+                that.info['material_cost_total'] =
2252
+                  response.data.data.materialCostTotal
2253
+                that.info['material_cost_self_total'] =
2254
+                  response.data.data.materialCostSelfTotal
2255
+                that.info['material_cost_part_self_total'] =
2256
+                  response.data.data.materialCostPartSelfTotal
2257
+
2258
+                that.info['western_medicine_cost_total'] =
2259
+                  response.data.data.westernMedicineCostTotal
2260
+                that.info['western_medicine_cost_self_total'] =
2261
+                  response.data.data.westernMedicineCostSelfTotal
2262
+                that.info['western_medicine_cost_part_self_total'] =
2263
+                  response.data.data.westernMedicineCostPartSelfTotal
2264
+
2265
+                that.info['chinese_traditional_medicine_cost_total'] =
2266
+                  response.data.data.chineseTraditionalMedicineCostTotal
2267
+                that.info['chinese_traditional_medicine_cost_self_total'] =
2268
+                  response.data.data.chineseTraditionalMedicineCostSelfTotal
2269
+                that.info['chinese_traditional_medicine_cost_part_self_total'] =
2270
+                  response.data.data.chineseTraditionalMedicineCostPartSelfTotal
2271
+
2272
+                that.info['check_cost_total'] = response.data.data.checkCostTotal
2273
+                that.info['check_cost_self_total'] =
2274
+                  response.data.data.checkCostSelfTotal
2275
+                that.info['check_cost_part_self_total'] =
2276
+                  response.data.data.checkCostPartSelfTotal
2277
+
2278
+                that.info['laboratory_cost_total'] =
2279
+                  response.data.data.laboratoryCostTotal
2280
+                that.info['laboratory_cost_self_total'] =
2281
+                  response.data.data.laboratoryCostSelfTotal
2282
+                that.info['laboratory_cost_part_self_total'] =
2283
+                  response.data.data.laboratoryCostPartSelfTotal
2284
+
2285
+                that.info['treat_cost_total'] = response.data.data.treatCostTotal
2286
+                that.info['treat_cost_self_total'] =
2287
+                  response.data.data.treatCostSelfTotal
2288
+                that.info['treat_cost_part_self_total'] =
2289
+                  response.data.data.treatCostPartSelfTotal
2290
+
2291
+
2292
+                that.info['bedInscpTotal'] =
2293
+                  response.data.data.bedInscpTotal
2294
+                that.info['bedSelfTotal'] =
2295
+                  response.data.data.bedSelfTotal
2296
+
2297
+                that.info['operationInscpTotal'] =
2298
+                  response.data.data.operationInscpTotal
2299
+                that.info['operationSelfTotal'] =
2300
+                  response.data.data.operationSelfTotal
2301
+
2302
+                that.info['checkInscpTotal'] =
2303
+                  response.data.data.checkInscpTotal
2304
+                that.info['checkSelfTotal'] =
2305
+                  response.data.data.checkSelfTotal
2306
+
2307
+                that.info['treatInscpTotal'] =
2308
+                  response.data.data.treatInscpTotal
2309
+                that.info['treatSelfTotal'] =
2310
+                  response.data.data.treatSelfTotal
2311
+
2312
+                that.info['laboratoryInscpTotal'] =
2313
+                  response.data.data.laboratoryInscpTotal
2314
+                that.info['laboratorySelfTotal'] =
2315
+                  response.data.data.laboratorySelfTotal
2316
+
2317
+                that.info['westernMedicineInscpTotal'] =
2318
+                  response.data.data.westernMedicineInscpTotal
2319
+                that.info['westernMedicineSelfTotal'] =
2320
+                  response.data.data.westernMedicineSelfTotal
2321
+
2322
+                that.info['materialInscpTotal'] =
2323
+                  response.data.data.materialInscpTotal
2324
+                that.info['materialSelfTotal'] =
2325
+                  response.data.data.materialSelfTotal
2326
+
2327
+                that.info['chineseTraditionalInscpTotal'] =
2328
+                  response.data.data.chineseTraditionalInscpTotal
2329
+                that.info['chineseTraditionalSelfTotal'] =
2330
+                  response.data.data.chineseTraditionalSelfTotal
2331
+
2332
+
2333
+
2334
+                that.info['date'] = response.data.data.date
2335
+                that.info['number'] = response.data.data.number
2336
+                that.info['order_infos'] = response.data.data.order_infos
2337
+                that.info['diagnosis'] = response.data.data.diagnosis
2338
+                that.info['his'] = response.data.data.his
2339
+                that.info['dia_config'] = response.data.data.dia_config
2340
+
2341
+                const jsonArr = JSON.parse(response.data.data.his.idetinfo);
2342
+                that.info['psn_idet_type'] = jsonArr[0].psn_idet_type
2343
+
2344
+
2345
+                const jsons = JSON.parse(response.data.data.his.iinfo);
2346
+                that.info['emp_name'] = jsons[0].emp_name
2347
+
2348
+
2349
+
2350
+
2351
+
2352
+                for (let i = 0; i < response.data.data.order_infos.length; i++) {
2353
+                  if (response.data.data.order_infos[i].advice_id > 0 && response.data.data.order_infos[i].project_id == 0) {
2354
+                    response.data.data.order_infos[i].med_chrgitm_type = '09'
2355
+                  }
2356
+                  if (response.data.data.order_infos[i].advice_id == 0 && response.data.data.order_infos[i].project_id > 0) {
2357
+                    if (response.data.data.order_infos[i].project.type == 2) { //项目
2358
+                      if (response.data.data.order_infos[i].project.project.cost_classify == 2) {
2359
+                        response.data.data.order_infos[i].med_chrgitm_type = '05'
2360
+                      } else if (response.data.data.order_infos[i].project.project.cost_classify == 3) {
2361
+                        response.data.data.order_infos[i].med_chrgitm_type = '04'
2362
+                      } else {
2363
+                        response.data.data.order_infos[i].med_chrgitm_type = '14'
2364
+                      }
2365
+                    } else if (response.data.data.order_infos[i].project.type == 3) { //耗材
2366
+                      response.data.data.order_infos[i].med_chrgitm_type = '08'
2367
+                    }
2368
+                  }
2369
+                }
2370
+                console.log(response.data.data.order_infos)
2371
+                console.log(that.info)
2372
+
2373
+                let list = []
2374
+                for (let i = 0; i < response.data.data.order_infos.length; i++) {
2375
+                  let order = response.data.data.order_infos[i]
2376
+                  let obj = {
2377
+                    name: '',
2378
+                    spec: '',
2379
+                    cnt: '',
2380
+                    det_item_fee_sumamt: '',
2381
+                    price:'',
2382
+                  }
2383
+
2384
+                  if (order.advice_id > 0 && order.project_id == 0) {
2385
+                    obj.name = order.advice.advice_name
2386
+                    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
2387
+                    obj.spec = spec
2388
+                    obj.cnt = order.cnt
2389
+                    obj.det_item_fee_sumamt = order.det_item_fee_sumamt
2390
+                    obj.price = order.pric
2391
+                    list.push(obj)
2392
+
2393
+                  } else if (order.advice_id == 0 && order.project_id > 0) {
2394
+                    if (order.project.type == 2) {
2395
+                      obj.name = order.project.project.project_name
2396
+                      obj.spec = ''
2397
+                      obj.cnt = order.cnt
2398
+                      obj.det_item_fee_sumamt = order.det_item_fee_sumamt
2399
+                      obj.price = order.pric
2400
+                    } else {
2401
+                      obj.name = order.project.good_info.good_name
2402
+                      obj.spec = order.project.good_info.specification_name
2403
+                      obj.cnt = order.cnt
2404
+                      obj.det_item_fee_sumamt = order.det_item_fee_sumamt
2405
+                      obj.price = order.pric
2406
+                    }
2407
+                    list.push(obj)
2408
+                  }
2409
+
2410
+                }
2411
+                that.info['Z_list'] = list
2412
+                console.log(" that.info")
2413
+                console.log(that.info.Z_list)
2414
+                console.log(" that.info")
2415
+
2416
+
2417
+                //获取所有项目类型进行去重
2418
+                let med_chrgitm_types = []
2419
+                for (let i = 0; i < response.data.data.order_infos.length; i++) {
2420
+                  med_chrgitm_types.push(response.data.data.order_infos[i].med_chrgitm_type)
2421
+                }
2422
+                const obj10 = {}
2423
+                med_chrgitm_types = med_chrgitm_types.reduce((cur, next) => {
2424
+                  obj10[next] ? '' : obj10[next] = true && cur.push(next)
2425
+                  return cur
2426
+                }, []) // 设置cur默认类型为数组,并且初始值为空的数组
2427
+                let tempOrderInfo = []
2428
+                for (let i = 0; i < med_chrgitm_types.length; i++) {
2429
+
2430
+                  let obj9 = {
2431
+                    details: [],
2432
+                    med_chrgitm_name: that.getType(med_chrgitm_types[i]),
2433
+                    total:0,
2434
+                  }
2435
+
2436
+                  // if(med_chrgitm_types[i] == '09'){
2437
+                  //   obj.sort = 99
2438
+                  // } else if(med_chrgitm_types[i] == '05'){
2439
+                  //   obj.sort = 98
2440
+                  // } else if(med_chrgitm_types[i] == '08'){
2441
+                  //   obj.sort = 97
2442
+                  // }else if(med_chrgitm_types[i] == '03'){
2443
+                  //   obj.sort = 96
2444
+                  // }
2445
+
2446
+                  let tempDetails = []
2447
+                  for (let b = 0; b < response.data.data.order_infos.length; b++) {
2448
+                    if (med_chrgitm_types[i] == response.data.data.order_infos[b].med_chrgitm_type) {
2449
+                      tempDetails.push(response.data.data.order_infos[b])
2450
+                    }
2451
+                  }
2452
+                  console.log(med_chrgitm_types[i])
2453
+                  console.log(tempDetails)
2454
+                  obj9.total = that.getTotal(tempDetails)
2455
+                  obj9.details = that.set10265NewData(tempDetails)
2456
+                  list.push(obj9)
2457
+                }
2458
+                that.info['new_list'] = list
2459
+                // list.sort((a,b) => a.sort < b.sort ? 1 : a.sort > b.sort ? -1 : 0)
2460
+
2461
+                let obj = {
2462
+                  type: 1,
2463
+                  details: [],
2464
+                  total: 0
2465
+                }
2466
+                let obj2 = {
2467
+                  type: 2,
2468
+                  details: [],
2469
+                  total: 0
2470
+                }
2471
+                let obj3 = {
2472
+                  type: 3,
2473
+                  details: [],
2474
+                  total: 0
2475
+                }
2476
+
2477
+                let obj4 = {
2478
+                  type: 4,
2479
+                  details: [],
2480
+                  total: 0
2481
+                }
2482
+                let num = 0
2483
+                that.info.order_infos.map((item) => {
2484
+                  if (item.advice_id > 0) {
2485
+                    obj.details.push(item)
2486
+                    obj.total += item.pric * item.advice.prescribing_number
2487
+                    num++
2488
+                  } else {
2489
+                    if (item.project.type == 2) {
2490
+                      obj2.details.push(item)
2491
+                      obj2.total += item.pric * item.project.count
2492
+                      num++
2493
+                    } else {
2494
+                      obj3.details.push(item)
2495
+                      obj3.total += item.pric * item.project.count
2496
+                      num++
2497
+                    }
2498
+                  }
2499
+                })
2500
+
2501
+                // this.info.order_infos.map(item => {
2502
+                //   obj4.total = item.Total
2503
+                //   obj4.details.push(item)
2504
+                //   num++
2505
+                //
2506
+                // })
2507
+                var funds = []
2508
+                for(let i = 0; i <  response.data.data.funds.length; i++){
2509
+                  var objs = {}
2510
+                  objs["number"] = i + 1
2511
+                  objs["fund_pay"] = response.data.data.funds[i].fund_payamt
2512
+                  objs["limit_pay"] = response.data.data.funds[i].inscp_scp_amt
2513
+                  objs["insp_pay"] = response.data.data.funds[i].inscp_scp_amt
2514
+                  for(let b = 0; b < that.fundsArray.length; b++){
2515
+                    if(response.data.data.funds[i].fund_pay_type ==  that.fundsArray[b].code){
2516
+                      objs["name"] =that.fundsArray[b].name
2517
+                    }
2518
+                  }
2519
+                  funds.push(objs)
2520
+                }
2521
+                that.info['funds'] = funds
2522
+                console.log(that.info)
2523
+
2524
+                that.info.new_detail_list = []
2525
+                that.info.new_detail_list.push(obj)
2526
+                that.info.new_detail_list.push(obj2)
2527
+                that.info.new_detail_list.push(obj3)
2528
+                // that.info.new_detail_list.push(obj4)
2529
+
2530
+                that.num = num
2531
+
2532
+                if (that.paramsObj.settle_type != 1) {
2533
+                  that.info.begndate = that.getTimes(that.paramsObj.start_time)
2534
+                  that.info.enddate = that.getTimes(that.paramsObj.end_time)
2535
+                }
2536
+
2537
+                that.info.order_infos.map((item) => {
2538
+
2539
+                })
2540
+
2541
+
2542
+                that.info["jia_drug"] = 0
2543
+                that.info["yi_drug"] = 0
2544
+                that.info["zifei_drug"] = 0
2545
+
2546
+
2547
+                that.info["jia_yiliao"] = 0
2548
+                that.info["yi_yiliao"] = 0
2549
+                that.info["zifei_yiliao"] = 0
2550
+
2551
+                for(let a = 0; a < response.data.data.order_infos.length; a++){
2552
+                  if(response.data.data.order_infos[a].chrgitm_lv == "01" && response.data.data.order_infos[a].med_chrgitm_type == "09"){
2553
+                    that.info["jia_drug"] = that.info["jia_drug"] + response.data.data.order_infos[a].det_item_fee_sumamt
2554
+                  }
2555
+                  if(response.data.data.order_infos[a].chrgitm_lv == "02" && response.data.data.order_infos[a].med_chrgitm_type == "09"){
2556
+                    that.info["yi_drug"] = that.info["yi_drug"] + response.data.data.order_infos[a].det_item_fee_sumamt
2557
+                  }
2558
+                  if(response.data.data.order_infos[a].chrgitm_lv != "01" && response.data.data.order_infos[a].chrgitm_lv != "02" && response.data.data.order_infos[a].med_chrgitm_type == "09"){
2559
+                    that.info["zifei_drug"] = that.info["zifei_drug"] + response.data.data.order_infos[a].det_item_fee_sumamt
2560
+                  }
2561
+                }
2562
+
2563
+                for(let a = 0; a < response.data.data.order_infos.length; a++){
2564
+                  if(response.data.data.order_infos[a].chrgitm_lv == "01" && response.data.data.order_infos[a].med_chrgitm_type != "09"){
2565
+                    that.info["jia_yiliao"] = that.info["jia_yiliao"] + response.data.data.order_infos[a].det_item_fee_sumamt
2566
+                  }
2567
+                  if(response.data.data.order_infos[a].chrgitm_lv == "02" && response.data.data.order_infos[a].med_chrgitm_type != "09"){
2568
+                    that.info["yi_yiliao"] = that.info["yi_yiliao"] + response.data.data.order_infos[a].det_item_fee_sumamt
2569
+                  }
2570
+                  if(response.data.data.order_infos[a].chrgitm_lv != "01" && response.data.data.order_infos[a].chrgitm_lv != "02" && response.data.data.order_infos[a].med_chrgitm_type != "09"){
2571
+                    that.info["zifei_yiliao"] = that.info["zifei_yiliao"] + response.data.data.order_infos[a].det_item_fee_sumamt
2572
+                  }
2573
+                }
2574
+
2575
+              }
2576
+            })
2577
+
2578
+
2579
+
2580
+
2581
+
2582
+
2206 2583
           }else {
2207 2584
             var that = this
2208 2585
             axios

+ 33 - 33
src/xt_pages/outpatientCharges/statementTemplate/printfivetheen.vue View File

@@ -3,7 +3,7 @@
3 3
     <div class="statementTitle">淮安市国家医保结算单</div>
4 4
     <div style="display: flex;">
5 5
       <div style="margin: 10px 0;flex: 1;">定点医疗机构:{{info.fixmedins_name}}</div>
6
-      <div style="margin: 10px 0;flex: 1;">统筹区号:</div>
6
+      <div style="margin: 10px 0;flex: 1;">统筹区号:320830</div>
7 7
       <div style="margin: 10px 0;flex: 1;">NO:</div>
8 8
     </div>
9 9
     <table class="statementTable" border="1" style="text-align: center;width: 100%;">
@@ -13,9 +13,9 @@
13 13
         <td width="5%">性别:</td>
14 14
         <td width="6%">{{ info.gend == '1' ? '男':'女' }}</td>
15 15
         <td width="14%">医保就诊号:</td>
16
-        <td width="13%">{{ }}</td>
16
+        <td width="13%">{{info.mdtrt_id}}</td>
17 17
         <td width="12%">住院次数:</td>
18
-        <td width="15%">{{ }}</td>
18
+        <td width="15%"></td>
19 19
       </tr>
20 20
       <tr>
21 21
         <td width="12">人员类别:</td>
@@ -54,7 +54,7 @@
54 54
           <span v-else></span>
55 55
         </td>
56 56
         <td width="8">状态:</td>
57
-        <td width="8">{{ }}</td>
57
+        <td width="8">出院</td>
58 58
         <td width="14">住院号:</td>
59 59
         <td width="12">{{info.number}}</td>
60 60
         <td width="12">结算日期:</td>
@@ -64,33 +64,33 @@
64 64
         <td >身份证号</td>
65 65
         <td colspan="3">{{info.certno}}</td>
66 66
         <td width="8">医保编号</td>
67
-        <td colspan="3">{{  }}</td>
67
+        <td colspan="3">{{info.psn_no}}</td>
68 68
       </tr>
69 69
       <tr>
70 70
         <td >单位名称</td>
71 71
         <td colspan="4">{{info.patient.home_address}}</td>
72 72
         <td width="8">人员身份类别</td>
73
-        <td colspan="2">{{  }}</td>
73
+        <td colspan="2"></td>
74 74
       </tr>
75 75
       <tr>
76
-        <td >院日期</td>
77
-        <td colspan="3">{{ }}</td>
76
+        <td >院日期</td>
77
+        <td colspan="3">{{info.setl_time.split(' ')[0]}}</td>
78 78
         <td width="8">出院诊断</td>
79
-        <td colspan="3">{{  }}</td>
79
+        <td colspan="3">慢性肾脏病5期(N18.500)</td>
80 80
       </tr>
81 81
       <tr>
82 82
         <td>医疗费总额</td>
83 83
         <td colspan="3">{{info.medfee_sumamt}}</td>
84 84
         <td>全自费金额</td>
85
-        <td></td>
85
+        <td>{{info.fulamt_ownpay_amt}}</td>
86 86
         <td>超限价自费费用</td>
87
-        <td></td>
87
+        <td>{{info.overlmt_self_pay}}</td>
88 88
       </tr>
89 89
       <tr>
90 90
         <td>先行自付金额</td>
91 91
         <td colspan="3">{{info.preselfpay_amt}}</td>
92 92
         <td>符合政策范围金额</td>
93
-        <td>{{info.insp_pay}}</td>
93
+        <td>{{info.inscp_scp_amt}}</td>
94 94
         <td>实际支付起付线</td>
95 95
         <td>{{info.act_pay_dedc}}</td>
96 96
       </tr>
@@ -100,7 +100,7 @@
100 100
         <td>公务员医疗补助资金支出</td>
101 101
         <td>{{info.cvlserv_pay}}</td>
102 102
         <td>扶贫保险支出</td>
103
-        <td></td>
103
+        <td>0</td>
104 104
       </tr>
105 105
       <tr>
106 106
         <td>企业补充医疗保险基金支出</td>
@@ -110,35 +110,35 @@
110 110
           {{info.hifmi_pay}}
111 111
         </td>
112 112
         <td>职工大额医疗费用补助基金支出</td>
113
-        <td></td>
113
+        <td>{{info.hifob_pay}}</td>
114 114
       </tr>
115 115
       <tr>
116 116
         <td>医疗救助基金支出</td>
117 117
         <td colspan="3">{{info.maf_pay}}</td>
118 118
         <td>医院负担金额</td>
119
-        <td></td>
119
+        <td>{{info.hosp_part_amt}}</td>
120 120
         <td>基金支付总额</td>
121 121
         <td>{{info.fund_pay_sumamt}}</td>
122 122
       </tr>
123 123
       <tr>
124 124
         <td>甲类药品</td>
125
-        <td colspan="3"></td>
125
+        <td colspan="3">{{info.jia_drug.toFixed(2)}}</td>
126 126
         <td>乙类药品</td>
127
-        <td></td>
127
+        <td>{{info.yi_drug.toFixed(2)}}</td>
128 128
         <td>自费药品</td>
129
-        <td></td>
129
+        <td>{{info.zifei_drug.toFixed(2)}}</td>
130 130
       </tr>
131 131
       <tr>
132 132
         <td>甲类医疗</td>
133
-        <td colspan="3"></td>
133
+        <td colspan="3">{{info.jia_yiliao.toFixed(2)}}</td>
134 134
         <td>乙类医疗</td>
135
-        <td></td>
135
+        <td>{{info.yi_yiliao.toFixed(2)}}</td>
136 136
         <td>自费医疗</td>
137
-        <td></td>
137
+        <td>{{info.zifei_yiliao.toFixed(2)}}</td>
138 138
       </tr>
139 139
       <tr>
140 140
         <td>个人负担总金额</td>
141
-        <td colspan="3"></td>
141
+        <td colspan="3">{{info.psn_part_amt}}</td>
142 142
         <td>个人账户支出</td>
143 143
         <td>{{info.acct_pay}}</td>
144 144
         <td>个人现金支出</td>
@@ -148,27 +148,27 @@
148 148
       </tr>
149 149
       <tr>
150 150
         <td>补偿合计</td>
151
-        <td colspan="5">{{ numberToChinese(100) }}</td>
152
-        <td colspan="2"></td>
151
+        <td colspan="5">{{ numberToChinese(info.fund_pay_sumamt) }}</td>
152
+        <td colspan="2">{{info.fund_pay_sumamt}}</td>
153 153
       </tr>
154 154
       <tr>
155 155
         <td>自理合计</td>
156
-        <td colspan="5"></td>
157
-        <td colspan="2"></td>
156
+        <td colspan="5">{{numberToChinese(info.psn_cash_pay)}}</td>
157
+        <td colspan="2">{{info.psn_cash_pay}}</td>
158 158
       </tr>
159 159
     </table>
160 160
     <table border="1" style="text-align: center;width: 100%;border-collapse: collapse;border-top: none;padding: 5px 0;">
161 161
       <tr>
162 162
         <td width="10%">政策范围内住院费用</td>
163
-        <td width="10%">{{ }}</td>
163
+        <td width="10%">{{info.medfee_sumamt}}</td>
164 164
         <td width="10%">政策范围内个人自付费用</td>
165
-        <td width="10%">{{  }}</td>
165
+        <td width="10%">{{info.psn_cash_pay}}</td>
166 166
         <td width="10%">政策范围内个人自付费用占比</td>
167
-        <td width="10%">{{ }}</td>
167
+        <td width="10%">{{((info.psn_cash_pay/info.medfee_sumamt) * 100).toFixed(2) + "%" }}</td>
168 168
         <td width="10%">10%缺口资金</td>
169
-        <td width="10%">{{ }}</td>
169
+        <td width="10%"></td>
170 170
         <td width="10%">实付金额</td>
171
-        <td width="10%">{{ }}</td>
171
+        <td width="10%">{{info.psn_cash_pay}}</td>
172 172
       </tr>
173 173
     </table>
174 174
     <!-- <div style="margin: 10px 0;">医疗机构名称:
@@ -188,7 +188,7 @@
188 188
         <span v-if="info.insutype == '510'">生育保险</span>
189 189
       </div>
190 190
     </div>
191
-  
191
+
192 192
     <table class="statementTable" border="1" style="text-align: left;">
193 193
       <tr>
194 194
         <td>患者姓名:{{info.patient.name}}</td>
@@ -293,7 +293,7 @@
293 293
       <div style="flex: 1;">结算人:{{  }} </div>
294 294
       <div style="flex: 1;">打印日期:{{getNowTime()}}</div>
295 295
       <div style="flex: 1;">参保人签字:</div>
296
-    </div> 
296
+    </div>
297 297
   </div>
298 298
 </template>
299 299
 <script>

+ 3 - 1
src/xt_pages/outpatientCharges/statementTemplate/privateChargePrint.vue View File

@@ -9,7 +9,9 @@
9 9
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10694">江西省社会医疗保险医疗费用结算单</div>
10 10
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10489">湖北省社会医疗保险医疗费用结算单</div>
11 11
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10731">医疗费用结算单</div>
12
-    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10635 || this.$store.getters.xt_user.org_id == 0">江西省社会医疗保险医疗费用结算单</div>
12
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10635 ">江西省社会医疗保险医疗费用结算单</div>
13
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10387 || this.$store.getters.xt_user.org_id == 0">湖南省社会医疗保险医疗费用结算单</div>
14
+
13 15
 
14 16
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10489 && this.$store.getters.xt_user.org_id != 10515 &&
15 17
                   this.$store.getters.xt_user.org_id != 10375 && this.$store.getters.xt_user.org_id != 10188 &&

+ 44 - 0
src/xt_pages/outpatientCharges/summary.vue View File

@@ -62,6 +62,12 @@
62 62
                 $store.getters.xt_user.org_id == 10610 || $store.getters.xt_user.org_id == 0"
63 63
             size="small" type="primary" @click="batch_print_settlte">批量打印结算单
64 64
           </el-button>
65
+
66
+
67
+          <el-button
68
+            v-if="$store.getters.xt_user.org_id == 10644 || $store.getters.xt_user.org_id == 0"
69
+            size="small" type="primary" @click="batch_print_settle_10644">批量打印结算单
70
+          </el-button>
65 71
           <el-button size="small" type="primary" @click="export_detail"
66 72
           >报表下载
67 73
           </el-button>
@@ -501,6 +507,22 @@
501 507
       ></settlement-print>
502 508
     </el-dialog>
503 509
 
510
+    <el-dialog
511
+      class="centerDialog"
512
+      width="1200px"
513
+      title="打印"
514
+      :visible.sync="batchStatementVisible_two"
515
+    >
516
+<!--      <hospital-batch-statement-print-->
517
+<!--        ref="hospital_batch_print" :paramsObj="batchParams"-->
518
+<!--      >-->
519
+<!--      </hospital-batch-statement-print>-->
520
+      <hospital-batch-statement-print
521
+        ref="hospital_batch_print" :paramsObj="batchParams"
522
+      >
523
+      </hospital-batch-statement-print>
524
+    </el-dialog>
525
+
504 526
     <el-dialog
505 527
       class="centerDialog"
506 528
       width="1200px"
@@ -667,11 +689,13 @@ import StatementListPrint from './statementListPrint'
667 689
 import { getDialysisRecordInitData } from '@/api/dialysis_record'
668 690
 import BatchStatementPrint from './batchStatementPrint'
669 691
 import { exportMdtrtCertType } from '../../api/his/his_tools'
692
+import HospitalBatchStatementPrint from "../hospitalStation/hospitalBatchStatementPrint.vue";
670 693
 
671 694
 const moment = require('moment')
672 695
 export default {
673 696
   name: 'OutpatientChargesSummary',
674 697
   components: {
698
+    HospitalBatchStatementPrint,
675 699
     BatchStatementPrint,
676 700
     StatementListPrint,
677 701
     NewStatementPrintTwo,
@@ -684,6 +708,7 @@ export default {
684 708
   },
685 709
   data() {
686 710
     return {
711
+      batchParams:{},
687 712
       staff:"",
688 713
       admins:[],
689 714
       orderObj: {},
@@ -700,6 +725,7 @@ export default {
700 725
       statementListVisible: false,
701 726
       statementVisible: false,
702 727
       batchStatementVisible: false,
728
+      batchStatementVisible_two:false,
703 729
       statementVisible9504: false,
704 730
       orderObj9504: {},
705 731
       crumbs: [
@@ -3328,6 +3354,23 @@ export default {
3328 3354
         }
3329 3355
       }
3330 3356
       return res
3357
+    },batch_print_settle_10644(){
3358
+      if (this.selecting_schs.length === 0) {
3359
+        this.$message.error('请至少选择一条需要打印的内容')
3360
+        return false
3361
+      } else {
3362
+        var sch_ids = []
3363
+        for (let index = 0; index < this.selecting_schs.length; index++) {
3364
+          sch_ids.push(this.selecting_schs[index].id)
3365
+        }
3366
+        this.batchStatementVisible_two = true;
3367
+        let params = {
3368
+          order_ids: sch_ids.join(","),
3369
+          admin_user_id: this.$store.getters.xt_user.user.id,
3370
+        };
3371
+        this.batchParams = params
3372
+
3373
+      }
3331 3374
     },
3332 3375
     batch_print_settlte() {
3333 3376
       if (this.selecting_schs.length === 0) {
@@ -3468,6 +3511,7 @@ export default {
3468 3511
             // console.log(order.setl_detail)
3469 3512
             // if (order.setl_detail && order.setl_detail.length > 0) {
3470 3513
             //   var jsonObj = JSON.parse(order.setl_detail)
3514
+            //   var jsonObj = JSON.parse(order.setl_detail)
3471 3515
             //   if (jsonObj != null) {
3472 3516
             //     for (let i = 0; i < jsonObj.length; i++) {
3473 3517
             //       if (order.insutype == '310') {

+ 11 - 7
src/xt_pages/outpatientTool/components/print9919.vue View File

@@ -2,7 +2,7 @@
2 2
   <div id="statement-print" class="statement-print">
3 3
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org.id != 10480 && this.$store.getters.xt_user.org.id != 10387">广东省社会医疗保险医疗费用结算单</div>
4 4
     <div class="statementTitle" v-if="this.$store.getters.xt_user.org.id == 10387">湖南省社会医疗保险医疗费用结算单</div>
5
-    <div class="statementTitle" v-else>安徽省社会医疗保险医疗费用结算单</div>
5
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org.id == 10480">安徽省社会医疗保险医疗费用结算单</div>
6 6
     <table class="statementTable" border="1" style="border-collapse: collapse;">
7 7
       <tr>
8 8
         <td width="80">机构名称</td>
@@ -121,14 +121,18 @@
121 121
         <td colspan="2" v-if="info.insutype == '392'">城乡居民大病医疗保险</td>
122 122
         <td colspan="2" v-if="info.insutype == '510'">生育保险</td>
123 123
 
124
-        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217">入院第一诊断</td>
124
+        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 && this.$store.getters.xt_user.org_id != 10387">入院第一诊断</td>
125 125
         <td v-else>病种名称</td>
126
-        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217" colspan="3">{{info.dise_name}}</td>
127
-        <td v-else colspan="3">{{'慢性肾功能衰竭'}}</td>
128
-        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217">出院第一诊断</td>
126
+        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 && this.$store.getters.xt_user.org_id != 10387" colspan="3">{{info.dise_name}}</td>
127
+        <td v-else-if="this.$store.getters.xt_user.org_id == 10188 || this.$store.getters.xt_user.org_id == 10217" colspan="3">{{'慢性肾功能衰竭'}}</td>
128
+        <td v-else-if="this.$store.getters.xt_user.org_id == 10387" colspan="3">{{'慢性肾功能衰竭'}}</td>
129
+
130
+        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 && this.$store.getters.xt_user.org_id != 10387">出院第一诊断</td>
129 131
         <td v-else>病种编码</td>
130
-        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217" colspan="6">{{info.dise_name}}</td>
131
-        <td v-else colspan="6">{{'M07800'}}</td>
132
+        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 && this.$store.getters.xt_user.org_id != 10387" colspan="6">{{info.dise_name}}</td>
133
+        <td v-else-if="this.$store.getters.xt_user.org_id == 10188 || this.$store.getters.xt_user.org_id == 10217" colspan="6">{{'M07800'}}</td>
134
+        <td v-else-if="this.$store.getters.xt_user.org_id == 10387" colspan="6">{{'M07801'}}</td>
135
+
132 136
       </tr>
133 137
       <tr>
134 138
         <td>业务类别</td>

+ 306 - 280
src/xt_pages/outpatientTool/components/settle.vue View File

@@ -46,16 +46,16 @@
46 46
                 <el-button slot="reference" style="margin:0 10px;" type="primary" size="small">打印</el-button>
47 47
 
48 48
               </el-popover> -->
49
-              <el-button size="small" type="primary" @click="export_detail">报表下载</el-button>
49
+              <el-button size="small" type="primary" @click="dialogVisible = true">报表下载</el-button>
50 50
           </div>
51 51
       </div>
52 52
       <el-table :data="tableData" border :row-style="{ color: '#303133' }"
53 53
                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
54
-                show-summary
54
+
55 55
                 v-loading="settle_loading"
56 56
                 max-height="600"
57 57
                 :span-method="merge"
58
-                :summary-method="getTotal"
58
+
59 59
                 highlight-current-row>
60 60
 
61 61
           <el-table-column align="center" prop="name" label="患者名字" fixed>
@@ -121,7 +121,16 @@
121 121
                   <div v-if="scope.row.med_type == '992102'">单病种(992102)</div>
122 122
               </template>
123 123
           </el-table-column>
124
-          <el-table-column align="center" prop="medfee_sumamt" label="医疗费总额">
124
+
125
+
126
+<!--        <el-table-column align="center" prop="item_name" label="透析模式">-->
127
+<!--          <template slot-scope="scope">-->
128
+<!--            <div v-if="scope.row.sch.id == 0">未排版</div>-->
129
+<!--            <div v-if="scope.row.sch.id > 0">{{modeOptions[scope.row.sch.mode_id].name}}</div>-->
130
+<!--          </template>-->
131
+<!--        </el-table-column>-->
132
+
133
+        <el-table-column align="center" prop="medfee_sumamt" label="医疗费总额">
125 134
               <template slot-scope="scope">{{scope.row.medfee_sumamt.toFixed(2)}}</template>
126 135
           </el-table-column>
127 136
           <el-table-column align="center" prop="fund_pay_sumamt" label="基金支付金额">
@@ -257,193 +266,36 @@
257 266
 
258 267
       </el-table>
259 268
 
260
-    <el-table ref="report-table" :data="tableData" v-show="false" border :row-style="{ color: '#303133' }"
261
-              :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
262
-              show-summary
263
-              v-loading="settle_loading"
264
-              max-height="600"
265
-              :span-method="merge"
266
-              :summary-method="getTotal"
267
-              highlight-current-row>
268
-
269
-      <el-table-column align="center" prop="name" label="患者名字">
270
-        <template slot-scope="scope">{{ scope.row.other_name }}</template>
271
-      </el-table-column>
272
-      <el-table-column align="center" prop="item_name" label="身份证">
273
-        <template slot-scope="scope">
274
-          {{scope.row.id_card_no}}
275
-        </template>
276
-      </el-table-column>
277
-      <el-table-column align="center" prop="item_name" label="就诊号">
278
-        <template slot-scope="scope">
279
-          {{scope.row.mdtrt_id}}
280
-        </template>
281
-      </el-table-column>
282
-      <el-table-column align="center" prop="item_name" label="治疗日期">
283
-        <template slot-scope="scope">
284
-          {{getTimes(scope.row.settle_accounts_date)}}
285
-        </template>
286
-      </el-table-column>
287
-
288
-      <el-table-column align="center" prop="item_name" label="结算日期">
289
-        <template slot-scope="scope">
290
-          {{scope.row.setl_time?scope.row.setl_time.split(" ")[0]:getTimes(scope.row.settle_accounts_date)}}
291
-        </template>
292
-      </el-table-column>
293
-      <el-table-column align="center" prop="item_name" label="病种名称">
294
-        <template slot-scope="scope">
295
-          {{getSickName(scope.row.his.sick_type)}}
296
-        </template>
297
-      </el-table-column>
298
-
299
-      <el-table-column align="center" prop="item_name" label="参保地">
300
-        <template slot-scope="scope">
301
-          {{getName(scope.row.his.insuplc_admdvs) + '(' + scope.row.his.insuplc_admdvs +')'}}
302
-        </template>
303
-      </el-table-column>
304
-
305
-      <el-table-column align="center" prop="item_name" label="结算类型">
306
-        <template slot-scope="scope">
307
-          <div v-if="scope.row.is_medicine_insurance == 0">自费</div>
308
-          <div v-if="scope.row.is_medicine_insurance == 1 ">{{getTypeName(scope.row)}}</div>
309
-
310
-        </template>
311
-      </el-table-column>
312
-      <el-table-column align="center" prop="item_name" label="处方类型">
313
-        <template slot-scope="scope">
314
-          <div v-if="scope.row.med_type == '14'">门诊特殊病</div>
315
-          <div v-if="scope.row.med_type == '11'">普通门诊</div>
316
-          <div v-if="scope.row.med_type == '1112'">普通门诊</div>
317
-          <div v-if="scope.row.med_type == '140104'">门诊特殊病(140104)</div>
318
-          <div v-if="scope.row.med_type == '140201'">门诊特病(140201)</div>
319
-          <div v-if="scope.row.med_type == '992102'">单病种(992102)</div>
320
-        </template>
321
-      </el-table-column>
322
-      <el-table-column align="center" prop="medfee_sumamt" label="医疗费总额">
323
-        <template slot-scope="scope">{{scope.row.medfee_sumamt.toFixed(2)}}</template>
324
-      </el-table-column>
325
-      <el-table-column align="center" prop="fund_pay_sumamt" label="基金支付金额">
326
-        <template slot-scope="scope">{{scope.row.fund_pay_sumamt.toFixed(2)}}</template>
327
-      </el-table-column>
328
-      <el-table-column align="center" prop="acct_pay" label="个人账户支付金额">
329
-        <template slot-scope="scope">{{scope.row.acct_pay.toFixed(2)}}</template>
330
-      </el-table-column>
331
-      <el-table-column align="center" prop="psn_cash_pay" label="个人支付金额">
332
-        <template slot-scope="scope">{{scope.row.psn_cash_pay.toFixed(2)}}</template>
333
-      </el-table-column>
334
-      <el-table-column align="center" prop="hifp_pay" label="基金统筹金额">
335
-        <template slot-scope="scope">{{scope.row.hifp_pay.toFixed(2)}}</template>
336
-      </el-table-column>
337
-
338
-      <el-table-column align="center" prop="hifob_pay" label="大额基金支付">
339
-        <template slot-scope="scope">{{scope.row.hifob_pay.toFixed(2)}}</template>
340
-      </el-table-column>
341
-      <el-table-column align="center" prop="preselfpay_amt" label="先行自付金额">
342
-        <template slot-scope="scope">{{scope.row.preselfpay_amt.toFixed(2)}}</template>
343
-      </el-table-column>
344
-
345
-      <el-table-column align="center" prop="overlmt_self_pay" label="超限价金额">
346
-        <template slot-scope="scope">{{scope.row.overlmt_self_pay.toFixed(2)}}</template>
347
-      </el-table-column>
348
-
349
-      <el-table-column align="center" prop="fulamt_ownpay_amt" label="全自费金额">
350
-        <template slot-scope="scope">{{scope.row.fulamt_ownpay_amt.toFixed(2)}}</template>
351
-      </el-table-column>
352
-
353
-      <el-table-column align="center" prop="inscp_scp_amt" label="符合政策范围金额">
354
-        <template slot-scope="scope">{{scope.row.inscp_scp_amt.toFixed(2)}}</template>
355
-      </el-table-column>
356
-
357
-      <el-table-column align="center" prop="maf_pay" label="医疗救助基金">
358
-        <template slot-scope="scope">{{scope.row.maf_pay.toFixed(2)}}</template>
359
-      </el-table-column>
360
-
361
-      <el-table-column align="center" prop="hifes_pay" label="企业补充医疗保险基金支出">
362
-        <template slot-scope="scope">{{scope.row.hifes_pay.toFixed(2)}}</template>
363
-      </el-table-column>
364
-
365
-
366
-      <el-table-column align="center" prop="hifmi_pay" label="居民大病保险资金支出">
367
-        <template slot-scope="scope">{{scope.row.hifmi_pay.toFixed(2)}}</template>
368
-      </el-table-column>
369
-
370
-      <el-table-column align="center" prop="oth_pay" label="其他支付">
371
-        <template slot-scope="scope">{{scope.row.oth_pay.toFixed(2)}}</template>
372
-      </el-table-column>
373
-
374
-      <el-table-column align="center" prop="cvlserv_pay" label="公务员医疗补助资金支出">
375
-        <template slot-scope="scope">{{scope.row.cvlserv_pay.toFixed(2)}}</template>
376
-      </el-table-column>
377
-
378
-
379
-
380
-      <el-table-column align="center" prop="wechat_pay" label="发票号码">
381
-        <template slot-scope="scope">{{scope.row.fa_piao_number}}</template>
382
-      </el-table-column>
383
-
384
-      <el-table-column align="center" prop="wechat_pay" label="发票编号">
385
-        <template slot-scope="scope">{{scope.row.fa_piao_code}}</template>
386
-      </el-table-column>
387
-
388
-
389
-      <el-table-column align="center" prop="wechat_pay" label="微信支付">
390
-        <template slot-scope="scope">{{scope.row.wechat_pay}}</template>
391
-
392
-<!--        <template slot-scope="scope" style="width: 100px">-->
393
-<!--          <el-input v-model="scope.row.wechat_pay" oninput="value=value.replace(/[^0-9.]/g,'')"></el-input>-->
394
-<!--        </template>-->
395
-      </el-table-column>
396
-
397
-      <el-table-column align="center" prop="ali_pay" label="支付宝支付">
398
-                  <template slot-scope="scope">{{scope.row.ali_pay}}</template>
399
-<!--        <template slot-scope="scope" style="width: 100px">-->
400
-<!--          <el-input  v-model="scope.row.ali_pay" oninput="value=value.replace(/[^0-9.]/g,'')"></el-input>-->
401
-<!--        </template>-->
402
-      </el-table-column>
403
-
404
-      <el-table-column align="center" prop="band_card_pay" label="银行卡支付">
405
-                  <template slot-scope="scope">{{scope.row.band_card_pay}}</template>
406
-<!--        <template slot-scope="scope" style="width: 100px">-->
407
-<!--          <el-input v-model="scope.row.band_card_pay" oninput="value=value.replace(/[^0-9.]/g,'')"></el-input>-->
408
-<!--        </template>-->
409
-      </el-table-column>
410
-
411
-      <el-table-column align="center" prop="jifen_pay" label="积分支付">
412
-                  <template slot-scope="scope">{{scope.row.jifen_pay}}</template>
413
-<!--        <template slot-scope="scope" style="width: 100px">-->
414
-<!--          <el-input v-model="scope.row.jifen_pay" oninput="value=value.replace(/[^0-9.]/g,'')"></el-input>-->
415
-<!--        </template>-->
416
-      </el-table-column>
417
-
418
-      <el-table-column align="center" prop="cash_pay" label="现金支付">
419
-                  <template slot-scope="scope">{{scope.row.cash_pay}}</template>
420
-<!--        <template slot-scope="scope" style="width: 100px">-->
421
-<!--          <el-input v-model="scope.row.cash_pay" oninput="value=value.replace(/[^0-9.]/g,'')"></el-input>-->
422
-<!--        </template>-->
423
-      </el-table-column>
424
-
425
-
426
-      <el-table-column align="center" prop="card_desc" label="储值卡说明">
427
-        <template slot-scope="scope">{{scope.row.card_desc}}</template>
428
-        <!--        <template slot-scope="scope" style="width: 100px">-->
429
-        <!--          <el-input v-model="scope.row.oth_desc"></el-input>-->
430
-        <!--        </template>-->
431
-      </el-table-column>
432
-
433
-      <el-table-column align="center" prop="item_name" label="其他说明">
434
-                  <template slot-scope="scope">{{scope.row.oth_desc}}</template>
435
-<!--        <template slot-scope="scope" style="width: 100px">-->
436
-<!--          <el-input v-model="scope.row.oth_desc"></el-input>-->
437
-<!--        </template>-->
438
-      </el-table-column>
439
-
440
-      <el-table-column align="center" prop="total" label="费用总额">
441
-        <template slot-scope="scope">
442
-          <div>{{scope.row.total.toFixed(2)}}</div>
443
-        </template>
444
-      </el-table-column>
445 269
 
446
-    </el-table>
270
+    <el-dialog
271
+      title="提示"
272
+      :visible.sync="dialogVisible"
273
+      width="30%"
274
+    >
275
+      <span>选择下载时间段</span>
276
+
277
+      <el-date-picker
278
+        v-model="chargeDate"
279
+        type="daterange"
280
+        value-format="yyyy-MM-dd"
281
+        range-separator="至"
282
+        start-placeholder="开始日期"
283
+        end-placeholder="结束日期">
284
+      </el-date-picker>
285
+
286
+      <span slot="footer" class="dialog-footer">
287
+                <el-button @click="dialogVisible = false">取 消</el-button>
288
+                <el-button type="primary" @click="export_detail">确 定</el-button>
289
+             </span>
290
+    </el-dialog>
291
+
292
+    <el-pagination
293
+      @size-change="handleSizeChangeOne"
294
+      @current-change="handleCurrentChangeOne"
295
+      background
296
+      style="margin-top:20px;float: right"
297
+      :total="total"
298
+    ></el-pagination>
447 299
 
448 300
   </div>
449 301
 </template>
@@ -462,13 +314,20 @@ import { uParseTime } from '@/utils/tools'
462 314
     },
463 315
     data() {
464 316
       return {
317
+        total:0,
318
+        limit:10,
319
+        page:1,
465 320
         settle_loading:false,
466 321
         crumbs: [],
467 322
         tempArr: [],
468 323
         sameRowArr: [],
324
+        dialogVisible:false,
325
+        modeOptions:this.$store.getters.treatment_mode,
469 326
         tableData: [],
327
+        tableData_three: [],
470 328
         config:{},
471 329
         sick:{},
330
+        chargeDate_two:[moment(new Date()).add('year', 0).format('YYYY-MM-DD'), moment(new Date()).add('year', 0).format('YYYY-MM-DD')],
472 331
         chargeDate: [moment(new Date()).add('year', 0).format('YYYY-MM-DD'), moment(new Date()).add('year', 0).format('YYYY-MM-DD')],
473 332
         item_type: '0',
474 333
         items: [
@@ -485,6 +344,18 @@ import { uParseTime } from '@/utils/tools'
485 344
       }
486 345
     },
487 346
     methods: {
347
+      handleSizeChangeOne(val) {
348
+        this.limit = val
349
+        this.GetRemindPatientList();
350
+      },
351
+      handleCurrentChangeOne(val) {
352
+        this.page = val;
353
+        this.GetRemindPatientList();
354
+      },
355
+      getMode(id){
356
+
357
+
358
+      },
488 359
       change(id,desc,type){
489 360
         let params = {
490 361
           id: id,
@@ -591,7 +462,10 @@ import { uParseTime } from '@/utils/tools'
591 462
           start_time: start_time,
592 463
           end_time: end_time,
593 464
           type: this.item_type,
594
-          keyword: this.keywords
465
+          keyword: this.keywords,
466
+          limit:this.limit,
467
+          page:this.page,
468
+          s_type: 1,
595 469
         }
596 470
         this.settle_loading = true
597 471
         GetSummarySettle(params).then(response => {
@@ -603,9 +477,9 @@ import { uParseTime } from '@/utils/tools'
603 477
           } else {
604 478
             this.settle_loading = false
605 479
             this.tableData = []
480
+            this.total = response.data.data.total
606 481
             this.config = response.data.data.config
607 482
             this.sick = response.data.data.sick
608
-
609 483
             let data = response.data.data.patients
610 484
 
611 485
             for (let i = 0; i < data.length; i++) {
@@ -747,100 +621,252 @@ import { uParseTime } from '@/utils/tools'
747 621
         return sums
748 622
       },
749 623
       export_detail() {
624
+        // this.getSummarySettleList()
625
+        let start_time = this.chargeDate[0]
626
+        let end_time = this.chargeDate[1]
627
+        let params = {
628
+          start_time: start_time,
629
+          end_time: end_time,
630
+          type: this.item_type,
631
+          keyword: this.keywords,
632
+          s_type:2,
633
+        }
634
+
635
+        GetSummarySettle(params).then(response => {
636
+          if (response.data.state == 0) {
637
+
638
+
639
+            this.$message.error(response.data.msg)
640
+            return false
641
+          } else {
642
+            this.settle_loading = false
643
+            this.tableData_three = []
644
+            this.config = response.data.data.config
645
+            this.sick = response.data.data.sick
646
+
647
+            let data = response.data.data.patients
648
+
649
+            for (let i = 0; i < data.length; i++) {
650
+              let total = 0
651
+              for (let b = 0; b < data[i].orders.length; b++) {
652
+                let order = data[i].orders[b]
653
+                order['other_name'] = data[i].name
654
+                order['id'] = order.id
655
+                order['id_card_no'] = data[i].id_card_no
656
+                order['mdtrt_id'] =order.mdtrt_id
657
+                total = parseFloat((parseFloat(total.toString()) + parseFloat(data[i].orders[b].medfee_sumamt.toString())).toFixed(2).toString())
658
+              }
659
+              data[i]['total'] = total
660
+            }
661
+
662
+            for (let i = 0; i < data.length; i++) {
663
+              for (let b = 0; b < data[i].orders.length; b++) {
664
+                let order = data[i].orders[b]
665
+
666
+                if(b == 0){
667
+                  order['total'] = data[i].total
668
+
669
+                }else{
670
+                  order['total'] = 0
671
+
672
+                }
673
+                this.tableData_three.push(order)
674
+              }
675
+            }
676
+          }
677
+        })
678
+
679
+
680
+
750 681
 
751 682
         let list = []
752
-        // for (let i = 0; i < this.tableData.length; i++) {
753
-        //   let order = this.tableData[i]
754
-        //   let name = order.other_name
755
-        //   let id_card_no = order.id_card_no
756
-        //
757
-        //   let time = ''
758
-        //   let balance_accounts = ""
759
-        //   let med_type = ""
760
-        //   let medfee_sumamt = ""
761
-        //   let fund_pay_sumamt = ""
762
-        //   let acct_pay = ""
763
-        //   let psn_cash_pay = ""
764
-        //   let hifes_pay = ""
765
-        //   let hifmi_pay = ""
766
-        //   let hifp_pay = ""
767
-        //   let hifob_pay = ""
768
-        //   let maf_pay = ""
769
-        //   let time2 = ""
770
-        //   time2 = this.getTimes(order.settle_accounts_date)
771
-        //
772
-        //   let total = ""
773
-        //
774
-        //   if(order.setl_time.length == 0){
775
-        //
776
-        //     time = this.getTimes(order.settle_accounts_date)
777
-        //
778
-        //   }else {
779
-        //
780
-        //     time = order.setl_time.split(" ")[0]
781
-        //
782
-        //   }
783
-        //
784
-        //   if (order.is_medicine_insurance == 0) {
785
-        //     balance_accounts = '自费'
786
-        //   }
787
-        //
788
-        //   if (order.is_medicine_insurance == 1) {
789
-        //     balance_accounts = '医保'
790
-        //   }
791
-        //
792
-        //   if (order.med_type == '14') {
793
-        //     med_type = '门诊特殊病'
794
-        //   }
795
-        //
796
-        //   if (order.med_type == '11') {
797
-        //     med_type = '普通门诊'
798
-        //   }
799
-        //
800
-        //   medfee_sumamt = order.medfee_sumamt
801
-        //   fund_pay_sumamt = order.fund_pay_sumamt
802
-        //
803
-        //   acct_pay = order.acct_pay
804
-        //
805
-        //   psn_cash_pay = order.psn_cash_pay
806
-        //   hifes_pay = order.hifes_pay
807
-        //   hifmi_pay = order.hifmi_pay
808
-        //   hifp_pay = order.hifp_pay
809
-        //   hifob_pay = order.hifob_pay
810
-        //   maf_pay = order.maf_pay
811
-        //   total = order.total
812
-        //
813
-        //
814
-        //   let obj = {
815
-        //     '患者姓名': name,
816
-        //     '身份证': id_card_no,
817
-        //     '治疗日期': time2,
818
-        //     '结算日期': time,
819
-        //     '结算类型': balance_accounts,
820
-        //     '处方类型': med_type,
821
-        //     '医疗费总额': medfee_sumamt,
822
-        //     '基金支付金额': fund_pay_sumamt,
823
-        //     '基金统筹金额': hifp_pay,
824
-        //     '大额基金支付':hifob_pay,
825
-        //     '医疗救助基金':maf_pay,
826
-        //     '个人账户支付金额': acct_pay,
827
-        //     '个人支付基金': psn_cash_pay,
828
-        //     '企业补充医疗保险基金支出': hifes_pay,
829
-        //     '居民大病保险资金支出': hifmi_pay,
830
-        //     '费用总额':total,
831
-        //
832
-        //   }
833
-        //   list.push(obj)
834
-        // }
683
+        for (let i = 0; i < this.tableData_three.length; i++) {
684
+          let order = this.tableData_three[i]
685
+          let name = order.other_name
686
+          let id_card_no = order.id_card_no
687
+          let m_id = order.mdtrt_id
688
+          let setl_date = order.setl_time.split(" ")[0]
689
+          let setl_time = order.setl_time
690
+          let sick_name =this.getSickName(order.his.sick_type)
691
+          let cbd = this.getName(order.his.insuplc_admdvs) + "(" + order.his.insuplc_admdvs + ")"
692
+          let settle_type = ""
693
+          if(order.is_medicine_insurance == 0){
694
+             settle_type = "自费"
695
+          }else{
696
+            settle_type = this.getTypeName(order)
697
+          }
698
+
699
+          let med_name = ""
700
+          switch (order.med_type){
701
+            case "14":
702
+              med_name = "门诊特殊病"
703
+              break
704
+            case "11":
705
+              med_name = "普通门诊"
706
+
707
+              break
708
+            case "1112":
709
+              med_name = "普通门诊"
710
+
711
+              break
712
+            case "140104":
713
+              med_name = "城乡门诊特殊病(140104)"
714
+
715
+              break
716
+            case "140201":
717
+              med_name = "门诊特病(140201)"
718
+
719
+              break
720
+            case "992102":
721
+              med_name = "单病种(992102)"
722
+              break
723
+          }
724
+
725
+          let mode_name = ""
726
+          if(order.sch.id == 0){
727
+            mode_name = "未排班"
728
+          }else{
729
+            mode_name = this.modeOptions[order.sch.mode_id].name
730
+          }
731
+
732
+
733
+
734
+          let balance_accounts = ""
735
+          let med_type = ""
736
+          let medfee_sumamt = ""
737
+          let fund_pay_sumamt = ""
738
+          let acct_pay = ""
739
+          let psn_cash_pay = ""
740
+          let hifes_pay = ""
741
+          let hifmi_pay = ""
742
+          let hifp_pay = ""
743
+          let hifob_pay = ""
744
+          let maf_pay = ""
745
+          let time2 = ""
746
+          time2 = this.getTimes(order.settle_accounts_date)
747
+
748
+
749
+          medfee_sumamt = order.medfee_sumamt
750
+          fund_pay_sumamt = order.fund_pay_sumamt
751
+          acct_pay = order.acct_pay
752
+          psn_cash_pay = order.psn_cash_pay
753
+          hifp_pay = order.hifp_pay
754
+          hifob_pay = order.hifob_pay
755
+
756
+          let preselfpay_amt;
757
+          preselfpay_amt = order.preselfpay_amt
758
+
759
+
760
+          let overlmt_self_pay;
761
+          overlmt_self_pay = order.overlmt_self_pay
762
+
763
+          let fulamt_ownpay_amt;
764
+          fulamt_ownpay_amt = order.fulamt_ownpay_amt
765
+
766
+
767
+          let inscp_scp_amt;
768
+          inscp_scp_amt = order.inscp_scp_amt
769
+
770
+
771
+
772
+          maf_pay = order.maf_pay
773
+
774
+
775
+          hifes_pay = order.hifes_pay
776
+          hifmi_pay = order.hifmi_pay
777
+
778
+
779
+          let oth_pay;
780
+          oth_pay = order.oth_pay
781
+
782
+
783
+          let cvlserv_pay;
784
+          cvlserv_pay = order.cvlserv_pay
785
+
786
+
787
+
788
+          let fa_piao_code;
789
+          fa_piao_code = order.fa_piao_code
790
+
791
+
792
+          let fa_piao_number;
793
+          fa_piao_number = order.fa_piao_number
794
+
795
+          let ali_pay;
796
+          ali_pay = order.ali_pay
797
+
798
+
799
+          let band_card_pay;
800
+          band_card_pay = order.band_card_pay
801
+
802
+
803
+          let jifen_pay;
804
+          jifen_pay = order.jifen_pay
805
+
806
+          let wechat_pay;
807
+          wechat_pay = order.wechat_pay
808
+
809
+
810
+          let cash_pay;
811
+          cash_pay = order.cash_pay
812
+
813
+
814
+          let card_desc;
815
+          card_desc = order.card_desc
816
+
817
+
818
+          let oth_desc;
819
+          oth_desc = order.oth_desc
820
+
821
+
822
+          let obj = {
823
+            '患者姓名': name,
824
+            '身份证': id_card_no,
825
+            "就诊号": m_id,
826
+            '治疗日期': time2,
827
+            "结算日期": setl_date,
828
+            '结算时间': setl_time,
829
+            "病种名称":sick_name,
830
+            "参保地":cbd,
831
+            '结算类型': settle_type,
832
+            '处方类型':  med_name,
833
+            // "透析模式": mode_name,
834
+            '医疗费总额': medfee_sumamt,
835
+            '基金支付金额': fund_pay_sumamt,
836
+            '个人账户支付金额': acct_pay,
837
+            '个人支付金额': psn_cash_pay,
838
+            '基金统筹金额': hifp_pay,
839
+            '大额基金支付':hifob_pay,
840
+            '先行自付金额': preselfpay_amt,
841
+            '超限价金额': overlmt_self_pay,
842
+            '全自费金额': fulamt_ownpay_amt,
843
+            '符合政策范围金额': inscp_scp_amt,
844
+            '医疗救助基金':maf_pay,
845
+            '企业补充医疗保险基金支出': hifes_pay,
846
+            '居民大病保险资金支出': hifmi_pay,
847
+            '其他支付': oth_pay,
848
+            '公务员医疗补助资金支出': cvlserv_pay,
849
+            '发票号码': fa_piao_number,
850
+            '发票编号': fa_piao_code,
851
+            '微信支付': wechat_pay,
852
+            '支付宝支付': ali_pay,
853
+            '银行卡支付': band_card_pay,
854
+            '积分支付': jifen_pay,
855
+            '现金支付': cash_pay,
856
+            '储值卡说明': card_desc,
857
+            '其他说明': oth_desc,
858
+          }
859
+          list.push(obj)
860
+        }
835 861
         import('@/vendor/Export2Excel').then(excel => {
836
-          const tHeader = [ '患者姓名','身份证', '治疗日期','结算日期', '结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金','企业补充医疗保险基金支出','居民大病保险资金支出', '费用总额']
837
-          const filterVal = [ '患者姓名','身份证', '治疗日期','结算日期', '结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金','企业补充医疗保险基金支出','居民大病保险资金支出',  '费用总额']
862
+          const tHeader = [ '患者姓名','身份证',"就诊号", '治疗日期','结算日期',"结算时间",  "病种名称", "参保地",'结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金',"基金统筹金额","大额基金支付", "先行自付金额","超限价金额","全自费金额","符合政策范围金额","医疗救助基金",'企业补充医疗保险基金支出','居民大病保险资金支出',"其他支付", "公务员医疗补助资金支出","发票号码","发票编号","微信支付", "支付宝支付","银行卡支付","积分支付","现金支付","储值卡说明",'其他说明']
863
+          const filterVal = [ '患者姓名','身份证',"就诊号", '治疗日期','结算日期', "结算时间", "病种名称","参保地",'结算类型', '处方类型', '医疗费总额', '基金支付金额', '个人账户支付金额', '个人支付基金',"基金统筹金额","大额基金支付","先行自付金额","超限价金额","全自费金额","符合政策范围金额","医疗救助基金",'企业补充医疗保险基金支出','居民大病保险资金支出',"其他支付", "公务员医疗补助资金支出","发票号码", "发票编号","微信支付","支付宝支付","银行卡支付","积分支付","现金支付","储值卡说明",'其他说明']
864
+
838 865
           const data = this.formatJson(filterVal, list)
839
-          excel.export_json_to_excel1({
866
+          excel.export_json_to_excel({
840 867
             header: tHeader,
841 868
             data,
842
-            filename: '结算明细',
843
-            ref:this.$refs['report-table'].$el
869
+            filename: '结算明细'
844 870
           })
845 871
         })
846 872