|
@@ -270,7 +270,7 @@
|
270
|
270
|
arr[i].spec = arr[i].child[0].advice.drug.dose + arr[i].child[0].advice.drug.dose_unit + "*"+arr[i].child[0].advice.drug.min_number + arr[i].child[0].advice.drug.min_unit+"/"+arr[i].child[0].advice.drug.max_unit
|
271
|
271
|
arr[i].unit = arr[i].child[0].advice.prescribing_number_unit
|
272
|
272
|
arr[i].cost_type = arr[i].child[0].advice.drug.drug_type
|
273
|
|
- arr[i].medical_insurance_level = arr[i].child[0].advice.drug.medical_insurance_level
|
|
273
|
+ arr[i].medical_insurance_level = arr[i].child[0].chrgitm_lv
|
274
|
274
|
|
275
|
275
|
|
276
|
276
|
}
|
|
@@ -281,14 +281,14 @@
|
281
|
281
|
arr[i].name = arr[i].child[0].project.project.project_name
|
282
|
282
|
arr[i].spec = arr[i].child[0].project.project.project_name
|
283
|
283
|
arr[i].unit = arr[i].child[0].project.project.unit
|
284
|
|
- arr[i].medical_insurance_level = arr[i].child[0].project.project.medical_coverage
|
|
284
|
+ arr[i].medical_insurance_level = arr[i].child[0].chrgitm_lv
|
285
|
285
|
arr[i].cost_type = arr[i].child[0].project.project.cost_classify
|
286
|
286
|
}
|
287
|
287
|
if(arr[i].child[0].project.type == 3){
|
288
|
288
|
arr[i].name = arr[i].child[0].project.good_info.good_name
|
289
|
289
|
arr[i].spec = arr[i].child[0].project.good_info.specification_name
|
290
|
290
|
arr[i].unit = arr[i].child[0].project.good_info.packing_unit
|
291
|
|
- arr[i].medical_insurance_level = arr[i].child[0].project.good_info.medical_insurance_level
|
|
291
|
+ arr[i].medical_insurance_level = arr[i].child[0].chrgitm_lv
|
292
|
292
|
arr[i].cost_type = "材料费"
|
293
|
293
|
}
|
294
|
294
|
}
|
|
@@ -337,6 +337,8 @@
|
337
|
337
|
this.tableList = new_arr
|
338
|
338
|
}
|
339
|
339
|
|
|
340
|
+
|
|
341
|
+
|
340
|
342
|
if(this.$route.query.id == 1){
|
341
|
343
|
var new_arr = []
|
342
|
344
|
for(let i=0;i<this.tableList.length;i++){
|
|
@@ -374,7 +376,53 @@
|
374
|
376
|
}
|
375
|
377
|
this.tableList = []
|
376
|
378
|
this.tableList = new_arr
|
|
379
|
+
|
|
380
|
+ }
|
|
381
|
+
|
|
382
|
+ let tempList = []
|
|
383
|
+ for(let i = 0; i < this.tableList.length;i++){
|
|
384
|
+ if(this.tableList[i].cost_type == "西药"){
|
|
385
|
+ tempList.push(this.tableList[i])
|
|
386
|
+ }
|
|
387
|
+ }
|
|
388
|
+ for(let i = 0; i < this.tableList.length;i++){
|
|
389
|
+ if(this.tableList[i].cost_type == "治疗费"){
|
|
390
|
+ tempList.push(this.tableList[i])
|
|
391
|
+ }
|
|
392
|
+ }
|
|
393
|
+
|
|
394
|
+ for(let i = 0; i < this.tableList.length;i++){
|
|
395
|
+ if(this.tableList[i].cost_type == "材料费"){
|
|
396
|
+ tempList.push(this.tableList[i])
|
|
397
|
+ }
|
|
398
|
+ }
|
|
399
|
+
|
|
400
|
+ for(let i = 0; i < this.tableList.length;i++){
|
|
401
|
+ if(this.tableList[i].cost_type == "化验费"){
|
|
402
|
+ tempList.push(this.tableList[i])
|
|
403
|
+ }
|
|
404
|
+ }
|
|
405
|
+
|
|
406
|
+ for(let i = 0; i < this.tableList.length;i++){
|
|
407
|
+ if(this.tableList[i].cost_type == "检查费"){
|
|
408
|
+ tempList.push(this.tableList[i])
|
|
409
|
+ }
|
|
410
|
+ }
|
|
411
|
+
|
|
412
|
+ for(let i = 0; i < this.tableList.length;i++){
|
|
413
|
+ if(this.tableList[i].cost_type == "护理费"){
|
|
414
|
+ tempList.push(this.tableList[i])
|
|
415
|
+ }
|
|
416
|
+ }
|
|
417
|
+
|
|
418
|
+ for(let i = 0; i < this.tableList.length;i++){
|
|
419
|
+ if(this.tableList[i].cost_type != "材料费" && this.tableList[i].cost_type != "西药" && this.tableList[i].cost_type != "护理费" && this.tableList[i].cost_type != "治疗费" && this.tableList[i].cost_type != "化验费" && this.tableList[i].cost_type != "检查费" ){
|
|
420
|
+ tempList.push(this.tableList[i])
|
|
421
|
+ }
|
377
|
422
|
}
|
|
423
|
+ this.tableList = []
|
|
424
|
+ this.tableList = tempList
|
|
425
|
+
|
378
|
426
|
}
|
379
|
427
|
})
|
380
|
428
|
},
|