|
@@ -491,7 +491,6 @@
|
491
|
491
|
this.query.start_time = moment().subtract('month', 1).format('YYYY-MM-DD')
|
492
|
492
|
// 本月的结束时间
|
493
|
493
|
this.query.end_time = moment(new Date()).format('YYYY-MM-DD')
|
494
|
|
- this.query.patient_id = this.$route.query.patient_id
|
495
|
494
|
this.query.project_id = this.$route.query.project_id
|
496
|
495
|
this.query.item_id = this.$route.query.item_id
|
497
|
496
|
this.query.range_type = this.$route.query.range_type
|
|
@@ -502,7 +501,7 @@
|
502
|
501
|
const startDate = moment().subtract('month', 3).format('YYYY-MM-DD')
|
503
|
502
|
this.query.start_time = startDate
|
504
|
503
|
const endDate = moment(new Date()).format('YYYY-MM-DD')
|
505
|
|
- this.query.patient_id = this.$route.query.patient_id
|
|
504
|
+
|
506
|
505
|
this.query.project_id = this.$route.query.project_id
|
507
|
506
|
this.query.item_id = this.$route.query.item_id
|
508
|
507
|
this.query.range_type = this.$route.query.range_type
|
|
@@ -513,7 +512,7 @@
|
513
|
512
|
case 3: //近半年
|
514
|
513
|
this.query.start_time = moment().subtract('month', 6).format('YYYY-MM-DD')
|
515
|
514
|
this.query.end_time = moment(new Date()).format('YYYY-MM-DD')
|
516
|
|
- this.query.patient_id = this.$route.query.patient_id
|
|
515
|
+
|
517
|
516
|
this.query.project_id = this.$route.query.project_id
|
518
|
517
|
this.query.item_id = this.$route.query.item_id
|
519
|
518
|
this.query.range_type = this.$route.query.range_type
|
|
@@ -523,7 +522,7 @@
|
523
|
522
|
case 4: //近一年
|
524
|
523
|
this.query.start_time = moment().subtract('month', 12).format('YYYY-MM-DD')
|
525
|
524
|
this.query.end_time = moment(new Date()).format('YYYY-MM-DD')
|
526
|
|
- this.query.patient_id = this.$route.query.patient_id
|
|
525
|
+
|
527
|
526
|
this.query.project_id = this.$route.query.project_id
|
528
|
527
|
this.query.item_id = this.$route.query.item_id
|
529
|
528
|
this.query.range_type = this.$route.query.range_type
|
|
@@ -533,7 +532,6 @@
|
533
|
532
|
this.query.start_time = moment().subtract('month', 1).format('YYYY-MM-DD')
|
534
|
533
|
// 本月的结束时间
|
535
|
534
|
this.query.end_time = moment(new Date()).format('YYYY-MM-DD')
|
536
|
|
- this.query.patient_id = this.$route.query.patient_id
|
537
|
535
|
this.query.project_id = this.$route.query.project_id
|
538
|
536
|
this.query.item_id = this.$route.query.item_id
|
539
|
537
|
this.query.range_type = this.$route.query.range_type
|
|
@@ -608,6 +606,8 @@
|
608
|
606
|
}
|
609
|
607
|
}
|
610
|
608
|
|
|
609
|
+ console.log(this.options.xAxis.data)
|
|
610
|
+
|
611
|
611
|
console.log(this.options.series[0].data)
|
612
|
612
|
|
613
|
613
|
//获取无法确定选项的颜色
|