Procházet zdrojové kódy

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN před 2 roky
rodič
revize
12e417e8da

+ 1 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue Zobrazit soubor

@@ -1341,7 +1341,7 @@ export default {
1341 1341
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
1342 1342
       const style2 =
1343 1343
       // 防止分页错位问题:table设置border: none;.tr设置page-break-inside:avoid; // 防止table数据太多,tr分页错乱 td设置border: 1px solid #000;// 防止部分分页的tr边框线没有
1344
-        '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .print-table{border: none} .print-table tr{page-break-inside:avoid;} .print-table tr td{border: 1px solid #000;}.check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1050px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;} .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}';
1344
+        '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .print-table{border: none} .print-table tr{page-break-inside:avoid;} .print-table tr td{border: 1px solid #000;} .inside_table{border: none} .inside_table tr{page-break-inside:avoid;} .inside_table tr td{border: 1px solid #000;} .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1050px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;} .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}';
1345 1345
       const style3 =
1346 1346
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:16px;border-color: #000;}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #000;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}.row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line {display: inline-block;border-bottom: 1px solid #000;text-align: center;white-space: nowrap; width: 50%;}';
1347 1347
       // const style3 =

+ 7 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderFortyTwo.vue Zobrazit soubor

@@ -1448,15 +1448,16 @@ export default {
1448 1448
 
1449 1449
           // this.advices = response.data.data.advices
1450 1450
 
1451
-           var advices =  response.data.data.advices.concat(response.data.data.doctorAdvice)
1452
-           
1451
+          //  var advices =  response.data.data.advices.concat(response.data.data.doctorAdvice)
1452
+          var advices =  response.data.data.advices
1453 1453
           var newAdvices = this.unique(advices)
1454
-           console.log("newAdvices",newAdvices)
1455
-
1454
+         
1456 1455
           this.advices = newAdvices
1457 1456
           this.tableAdvice = newAdvices
1458
-
1459
-          console.log("去重后",this.advices)
1457
+          // console.log("去重后",this.advices)
1458
+          
1459
+          this.advices = this.advices.filter(o => o.advice_type != 1)
1460
+        
1460 1461
           this.monitors = response.data.data.monitors
1461 1462
           this.summary = response.data.data.summary
1462 1463
           this.org_template_info = response.data.data.org_template_info

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Zobrazit soubor

@@ -120,7 +120,7 @@
120 120
           </div>
121 121
         </div>
122 122
 
123
-        <div class="row" :style="this.totollength > 13 ? 'margin-bottom:400px;' : ''">
123
+        <div class="row" :style="this.totollength >= 13 ? 'margin-bottom:70px;' : ''">
124 124
           <table class="proj_table">
125 125
             <tbody>
126 126
               <tr>
@@ -722,7 +722,7 @@
722 722
             </tbody>
723 723
           </table>
724 724
         </div>
725
-        <template v-if="this.totollength > 13">
725
+        <template v-if="this.totollength >= 13">
726 726
           <div style="display:inline-block;width:100%;text-align:center;">
727 727
             <div class="order-yy-name" style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;">
728 728
               {{ orgname }}

+ 2 - 2
src/xt_pages/hospitalStation/invoicePrint.vue Zobrazit soubor

@@ -19,9 +19,9 @@
19 19
           "
20 20
           :paramsObj="invoiceParams"
21 21
         ></printOne>
22
-        <printTwo v-if="org_id == 10215 ||  org_id == 0" :paramsObj="invoiceParams"></printTwo>
22
+        <printTwo v-if="org_id == 10215 " :paramsObj="invoiceParams"></printTwo>
23 23
         <printThree
24
-          v-if="org_id == 10265 || org_id == 4 || org_id == 9675"
24
+          v-if="org_id == 10265 || org_id == 4 || org_id == 9675 ||  org_id == 0"
25 25
           :paramsObj="invoiceParams"
26 26
         ></printThree>
27 27
       </div>

+ 5 - 4
src/xt_pages/hospitalStation/invoiceTemplate/printThree.vue Zobrazit soubor

@@ -23,10 +23,10 @@
23 23
             <!-- <div  style="position: absolute;left:560px;top:70px;">
24 24
 
25 25
             </div> -->
26
-          <div  style="position: absolute;left:650px;top:70px;" v-if="insutype == '390'">
26
+          <div  style="position: absolute;left:400px;top:70px;" v-if="insutype == '390'">
27 27
             类别:城乡居民基本医疗保险
28 28
           </div>
29
-          <div  style="position: absolute;left:650px;top:70px;" v-if="insutype == '310'">
29
+          <div  style="position: absolute;left:400px;top:70px;" v-else-if ="insutype == '310'">
30 30
             类别:职工基本医疗保险
31 31
           </div>
32 32
         </div>
@@ -191,7 +191,7 @@
191 191
         </div> -->
192 192
         <div style="position: absolute;top:370px;left:40px">
193 193
             <!-- 预交款合计 -->
194
-            预交款合计:0.00
194
+            预交款合计:{{pre_pay_money}}
195 195
         </div>
196 196
         <div style="position: absolute;top:370px;left:250px">
197 197
             <!-- 补交款 -->
@@ -244,6 +244,7 @@ export default {
244 244
           out_hosptial_time:'',
245 245
           number:'',
246 246
           insutype:'',
247
+          pre_pay_money:"",
247 248
         }
248 249
     },
249 250
     mounted(){
@@ -302,7 +303,7 @@ export default {
302 303
               this.id_card_no = this.list.his_hospital_record.id_card_no
303 304
               this.number = this.list.his_hospital_record.number
304 305
               this.psn_no = this.list.his_hospital_record.psn_no
305
-
306
+              this.pre_pay_money = this.list.pre_pay_money
306 307
 
307 308
               this.balance_accounts_type = this.list.his_hospital_record.balance_accounts_type
308 309
               this.gend= this.list.his_hospital_record.gend

+ 1 - 1
src/xt_pages/hospitalStation/summary.vue Zobrazit soubor

@@ -266,7 +266,7 @@
266 266
         statementVisible9504: false,
267 267
         orderObj9504: {},
268 268
         crumbs: [
269
-          { path: false, name: '门诊收费' },
269
+          { path: false, name: '住院收费' },
270 270
           { path: false, name: '项目消费明细汇总' }
271 271
         ],
272 272
         tableData: [],

+ 128 - 11
src/xt_pages/outpatientCharges/listPrint.vue Zobrazit soubor

@@ -136,7 +136,7 @@
136 136
                 obj.bingTotal = this.getBingTotal(tempDetails)
137 137
                 obj.otherTotal = this.getOtherTotal(tempDetails)
138 138
 
139
-                obj.details = this.setNewData(tempDetails)
139
+                obj.details = this.set10265NewData(tempDetails)
140 140
                 this.list.push(obj)
141 141
               }
142 142
               console.log(this.list)
@@ -251,7 +251,8 @@
251 251
           total = Number(total) + Number(parseFloat(items[i].cnt) * parseFloat(items[i].pric))
252 252
         }
253 253
         return total.toFixed(2)
254
-      },setNewData(details) {
254
+      },
255
+      setNewData(details) {
255 256
         let drug_ids = []
256 257
         let project_ids = []
257 258
 
@@ -259,13 +260,15 @@
259 260
           if (details[i].advice && details[i].advice.id > 0 && details[i].advice.prescription && details[i].advice.prescription.type == 1) { //药品
260 261
             let obj = {
261 262
               id: details[i].advice.drug_id,
262
-              price: details[i].advice.price
263
+              price: details[i].advice.price,
264
+              lv: details[i].chrgitm_lv,
263 265
             }
264 266
             drug_ids.push(obj)
265 267
           } else if (details[i].project && details[i].project.id > 0 && details[i].project.prescription && details[i].project.prescription.type == 2) { //项目
266 268
             let obj = {
267 269
               id: details[i].project.project_id,
268
-              price: details[i].project.price
270
+              price: details[i].project.price,
271
+              lv: details[i].chrgitm_lv,
269 272
 
270 273
             }
271 274
             project_ids.push(obj)
@@ -283,17 +286,17 @@
283 286
         let new_project_ids = this.unique(project_ids)
284 287
         let list = []
285 288
 
286
-        // console.log('ids')
287
-        // console.log(new_drug_ids)
288
-        // console.log(new_project_ids)
289
-        // console.log('ids')
289
+        console.log('ids')
290
+        console.log(new_drug_ids)
291
+        console.log(new_project_ids)
292
+        console.log('ids')
290 293
 
291 294
         if (new_drug_ids.length > 0 && new_project_ids.length == 0) {
292 295
           for (let i = 0; i < new_drug_ids.length; i++) {
293 296
             let obj = {}
294 297
             let count = 0
295 298
             for (let a = 0; a < details.length; a++) {
296
-              if (new_drug_ids[i].id == details[a].advice.drug_id && new_drug_ids[i].price == details[a].advice.price) {
299
+              if (new_drug_ids[i].id == details[a].advice.drug_id && new_drug_ids[i].price == details[a].advice.price ) {
297 300
                 obj['name'] = details[a].advice.advice_name
298 301
                 // obj['spec'] = details[a].advice.drug.drug_spec
299 302
                 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
@@ -344,6 +347,102 @@
344 347
         return list
345 348
 
346 349
       },
350
+      set10265NewData(details) {
351
+        let drug_ids = []
352
+        let project_ids = []
353
+
354
+        for (let i = 0; i < details.length; i++) {
355
+          if (details[i].advice && details[i].advice.id > 0 && details[i].advice.prescription && details[i].advice.prescription.type == 1) { //药品
356
+            let obj = {
357
+              id: details[i].advice.drug_id,
358
+              price: details[i].advice.price,
359
+              lv: details[i].chrgitm_lv,
360
+            }
361
+            drug_ids.push(obj)
362
+          } else if (details[i].project && details[i].project.id > 0 && details[i].project.prescription && details[i].project.prescription.type == 2) { //项目
363
+            let obj = {
364
+              id: details[i].project.project_id,
365
+              price: details[i].project.price,
366
+              lv: details[i].chrgitm_lv,
367
+
368
+            }
369
+            project_ids.push(obj)
370
+
371
+          }
372
+
373
+        }
374
+        //
375
+        // console.log('old ids')
376
+        // console.log(drug_ids)
377
+        // console.log(project_ids)
378
+        // console.log('old ids')
379
+
380
+        let new_drug_ids = this.unique10265(drug_ids)
381
+        let new_project_ids = this.unique10265(project_ids)
382
+        let list = []
383
+
384
+        console.log('ids')
385
+        console.log(new_drug_ids)
386
+        console.log(new_project_ids)
387
+        console.log('ids')
388
+
389
+        if (new_drug_ids.length > 0 && new_project_ids.length == 0) {
390
+          for (let i = 0; i < new_drug_ids.length; i++) {
391
+            let obj = {}
392
+            let count = 0
393
+            for (let a = 0; a < details.length; a++) {
394
+              if (new_drug_ids[i].id == details[a].advice.drug_id && new_drug_ids[i].price == details[a].advice.price && new_drug_ids[i].lv == details[a].chrgitm_lv) {
395
+                obj['name'] = details[a].advice.advice_name
396
+                // obj['spec'] = details[a].advice.drug.drug_spec
397
+                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
398
+                obj['unit'] = details[a].advice.drug.max_unit
399
+                obj['medicine_insurance_kind'] = this.getMedicineInsuranceType(details[a].chrgitm_lv)
400
+                obj['med_chrgitm_type'] = this.getType(details[a].med_chrgitm_type)
401
+                obj['price'] = parseFloat(details[a].pric)
402
+                obj['is_total'] = 2
403
+                count = count + details[a].cnt
404
+              }
405
+            }
406
+            obj['count'] = count
407
+            list.push(obj)
408
+          }
409
+        }
410
+
411
+        if (new_drug_ids.length == 0 && new_project_ids.length > 0) {
412
+          for (let i = 0; i < new_project_ids.length; i++) {
413
+            let obj = {}
414
+            let count = 0
415
+            for (let a = 0; a < details.length; a++) {
416
+              if (new_project_ids[i].id == details[a].project.project_id && new_project_ids[i].price == details[a].project.price && new_project_ids[i].lv == details[a].chrgitm_lv) {
417
+                if( details[a].project.type == 2){
418
+                  obj['name'] = details[a].project.project.project_name
419
+                  obj['spec'] = ''
420
+                  obj['unit'] = details[a].project.project.unit
421
+
422
+
423
+                }else if(details[a].project.type == 3){
424
+                  obj['name'] = details[a].project.good_info.good_name
425
+                  obj['spec'] = ''
426
+                  obj['unit'] = details[a].project.good_info.packing_unit
427
+
428
+                }
429
+                obj['medicine_insurance_kind'] = this.getMedicineInsuranceType(details[a].chrgitm_lv)
430
+                obj['med_chrgitm_type'] = this.getType(details[a].med_chrgitm_type)
431
+                obj['price'] = parseFloat(details[a].pric)
432
+                obj['is_total'] = 2
433
+
434
+                count = count + details[a].cnt
435
+              }
436
+            }
437
+            obj['count'] = count
438
+            list.push(obj)
439
+          }
440
+        }
441
+
442
+        return list
443
+
444
+      },
445
+
347 446
       getType(med_chrgitm_type) {
348 447
         switch (med_chrgitm_type) {
349 448
           case '01':
@@ -415,11 +514,12 @@
415 514
 
416 515
             break
417 516
           case "03":
418
-            return '自费'
517
+            return '丙类'
419 518
             break
420 519
 
421 520
         }
422
-      }, unique(array) {
521
+      },
522
+      unique(array) {
423 523
         // res用来存储结果
424 524
         var res = []
425 525
         for (var i = 0, arrayLen = array.length; i < arrayLen; i++) {
@@ -435,6 +535,23 @@
435 535
         }
436 536
         return res
437 537
       },
538
+      unique10265(array) {
539
+        // res用来存储结果
540
+        var res = []
541
+        for (var i = 0, arrayLen = array.length; i < arrayLen; i++) {
542
+          for (var j = 0, resLen = res.length; j < resLen; j++) {
543
+            if (array[i].id === res[j].id && array[i].price === res[j].price && array[i].lv === res[j].lv) {
544
+              break
545
+            }
546
+          }
547
+          // 如果array[i]是唯一的,那么执行完循环,j等于resLen
548
+          if (j === resLen) {
549
+            res.push(array[i])
550
+          }
551
+        }
552
+        return res
553
+      },
554
+
438 555
       printThisPage() {
439 556
         if(this.org_id != 10106){
440 557
           if(this.org_id == 10215){