e1f34014
“wangming”
chore: update dev...
|
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
|
</div>
</div>
</el-card>
</div>
</div>
<!-- 表格区域 -->
<div class="table-section">
</div>
</div>
</template>
<script>
import * as echarts from 'echarts'
export default {
name: 'StoreDashboard',
data() {
return {
kpiList: [
{ label: '开单次数', value: '1,256', icon: 'el-icon-s-order', type: 'primary', trend: '+5.2%', trendIcon: 'el-icon-top' },
{ label: '消耗次数', value: '2,458', icon: 'el-icon-s-marketing', type: 'success', trend: '+3.7%', trendIcon: 'el-icon-top' },
{ label: '人头数', value: '1,258', icon: 'el-icon-user', type: 'info', trend: '+4.1%', trendIcon: 'el-icon-top' },
{ label: '人次', value: '3,456', icon: 'el-icon-user-solid', type: 'warning', trend: '+6.2%', trendIcon: 'el-icon-top' },
{ label: '项目数', value: '5,678', icon: 'el-icon-menu', type: 'primary', trend: '+3.5%', trendIcon: 'el-icon-top' },
{ label: '客单价', value: '¥285', icon: 'el-icon-coin', type: 'success', isMoney: true, trend: '+2.8%', trendIcon: 'el-icon-top' }
],
performanceList: [
{ label: '开单次数', value: '1,256', icon: 'el-icon-document', iconBg: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)' },
{ label: '消耗次数', value: '2,458', icon: 'el-icon-goods', iconBg: 'linear-gradient(135deg, #f093fb 0%, #f5576c 100%)' },
{ label: '退卡次数', value: '23', icon: 'el-icon-refresh-left', iconBg: 'linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)' },
{ label: '平均开单金额', value: '¥1,002', icon: 'el-icon-coin', iconBg: 'linear-gradient(135deg, #43e97b 0%, #38f9d7 100%)' },
{ label: '平均消耗金额', value: '¥401', icon: 'el-icon-coin', iconBg: 'linear-gradient(135deg, #fa709a 0%, #fee140 100%)' },
{ label: '剩余权益', value: '¥325.69万', icon: 'el-icon-wallet', iconBg: 'linear-gradient(135deg, #30cfd0 0%, #330867 100%)' },
{ label: '目标业绩', value: '¥120万', icon: 'el-icon-aim', iconBg: 'linear-gradient(135deg, #a8edea 0%, #fed6e3 100%)' },
{ label: '退卡金额', value: '¥4.57万', icon: 'el-icon-money', iconBg: 'linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%)' }
],
operationList: [
{ label: '人头数', value: '1,258', icon: 'el-icon-user', iconBg: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)' },
{ label: '人次', value: '3,456', icon: 'el-icon-user-solid', iconBg: 'linear-gradient(135deg, #f093fb 0%, #f5576c 100%)' },
{ label: '项目数', value: '5,678', icon: 'el-icon-menu', iconBg: 'linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)' },
{ label: '客单价', value: '¥285', icon: 'el-icon-coin', iconBg: 'linear-gradient(135deg, #43e97b 0%, #38f9d7 100%)' },
{ label: '项目单价', value: '¥174', icon: 'el-icon-coin', iconBg: 'linear-gradient(135deg, #fa709a 0%, #fee140 100%)' },
{ label: '人均项目数', value: '4.51', icon: 'el-icon-s-grid', iconBg: 'linear-gradient(135deg, #30cfd0 0%, #330867 100%)' }
],
memberList: [
{ label: '总会员数', value: '3,256', icon: 'el-icon-user', iconBg: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)' },
{ label: '本月新增', value: '156', icon: 'el-icon-user-solid', iconBg: 'linear-gradient(135deg, #f093fb 0%, #f5576c 100%)' },
{ label: '活跃会员', value: '1,856', icon: 'el-icon-success', iconBg: 'linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)', rate: '57.0%' },
{ label: '沉睡会员', value: '856', icon: 'el-icon-warning', iconBg: 'linear-gradient(135deg, #43e97b 0%, #38f9d7 100%)', rate: '26.3%' },
{ label: '生美会员', value: '2,156', icon: 'el-icon-star-on', iconBg: 'linear-gradient(135deg, #fa709a 0%, #fee140 100%)' },
{ label: '医美会员', value: '856', icon: 'el-icon-star-on', iconBg: 'linear-gradient(135deg, #30cfd0 0%, #330867 100%)' },
{ label: '科美会员', value: '456', icon: 'el-icon-star-on', iconBg: 'linear-gradient(135deg, #a8edea 0%, #fed6e3 100%)' },
{ label: '教育会员', value: '256', icon: 'el-icon-star-on', iconBg: 'linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%)' }
],
healthCoachRanking: [
{ name: '张健康', billingPerformance: 256800, consumePerformance: 198600, totalPerformance: 455400 },
{ name: '李美丽', billingPerformance: 198600, consumePerformance: 156800, totalPerformance: 355400 },
{ name: '王优雅', billingPerformance: 186500, consumePerformance: 145600, totalPerformance: 332100 },
{ name: '刘青春', billingPerformance: 165800, consumePerformance: 128900, totalPerformance: 294700 },
{ name: '陈优雅', billingPerformance: 145600, consumePerformance: 112500, totalPerformance: 258100 },
{ name: '杨美丽', billingPerformance: 128900, consumePerformance: 98600, totalPerformance: 227500 },
{ name: '赵健康', billingPerformance: 112500, consumePerformance: 85600, totalPerformance: 198100 },
{ name: '钱优雅', billingPerformance: 98600, consumePerformance: 75600, totalPerformance: 174200 },
{ name: '孙美丽', billingPerformance: 85600, consumePerformance: 65800, totalPerformance: 151400 },
{ name: '周健康', billingPerformance: 75600, consumePerformance: 56800, totalPerformance: 132400 }
],
topBillingItems: [
{ itemName: '高端护理套餐', billingAmount: 156800, billingCount: 45, category: '生美' },
{ itemName: '医美美容项目', billingAmount: 128600, billingCount: 38, category: '医美' },
{ itemName: 'SPA身体护理', billingAmount: 98500, billingCount: 52, category: '生美' },
{ itemName: '激光美容疗程', billingAmount: 89600, billingCount: 28, category: '医美' },
{ itemName: '皮肤管理项目', billingAmount: 75800, billingCount: 42, category: '科美' },
{ itemName: '面部深度护理', billingAmount: 68900, billingCount: 56, category: '生美' },
{ itemName: '抗衰美容项目', billingAmount: 58600, billingCount: 22, category: '医美' },
{ itemName: '美白亮肤疗程', billingAmount: 48900, billingCount: 35, category: '科美' },
{ itemName: '眼部精华护理', billingAmount: 42800, billingCount: 48, category: '生美' },
{ itemName: '补水保湿项目', billingAmount: 38600, billingCount: 62, category: '生美' }
],
topConsumeItems: [
{ itemName: '面部护理套餐', consumeAmount: 125680, category: '生美' },
{ itemName: '身体SPA护理', consumeAmount: 98600, category: '生美' },
{ itemName: '激光美容项目', consumeAmount: 85600, category: '医美' },
{ itemName: '抗衰老治疗', consumeAmount: 75600, category: '医美' },
{ itemName: '皮肤管理项目', consumeAmount: 65800, category: '科美' },
{ itemName: '眼部护理', consumeAmount: 56800, category: '生美' },
{ itemName: '紧致提升项目', consumeAmount: 45600, category: '医美' },
{ itemName: '美白亮肤项目', consumeAmount: 38900, category: '科美' },
{ itemName: '深层清洁护理', consumeAmount: 32800, category: '生美' },
{ itemName: '补水保湿项目', consumeAmount: 28900, category: '生美' }
],
dailyData: [
{ date: '2024-12-01', headCount: 45, personCount: 128, projectCount: 256, billingPerformance: 45680, consumePerformance: 32890 },
{ date: '2024-12-02', headCount: 52, personCount: 145, projectCount: 289, billingPerformance: 52890, consumePerformance: 38960 },
{ date: '2024-12-03', headCount: 48, personCount: 132, projectCount: 268, billingPerformance: 48960, consumePerformance: 35280 },
{ date: '2024-12-04', headCount: 56, personCount: 156, projectCount: 312, billingPerformance: 56890, consumePerformance: 41250 },
{ date: '2024-12-05', headCount: 49, personCount: 138, projectCount: 278, billingPerformance: 49860, consumePerformance: 36580 },
{ date: '2024-12-06', headCount: 58, personCount: 162, projectCount: 325, billingPerformance: 59860, consumePerformance: 43280 },
{ date: '2024-12-07', headCount: 62, personCount: 178, projectCount: 356, billingPerformance: 62890, consumePerformance: 45680 },
{ date: '2024-12-08', headCount: 55, personCount: 152, projectCount: 304, billingPerformance: 55860, consumePerformance: 40250 },
{ date: '2024-12-09', headCount: 51, personCount: 142, projectCount: 284, billingPerformance: 51860, consumePerformance: 37580 },
{ date: '2024-12-10', headCount: 59, personCount: 165, projectCount: 330, billingPerformance: 59860, consumePerformance: 43280 }
],
trendChart: null,
categoryChart: null,
|
e1f34014
“wangming”
chore: update dev...
|
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
|
this.renderCompareChart()
this.renderStackedChart()
this.renderFunnelChart()
this.renderScatterChart()
this.renderHeatmapChart()
this.renderRadarChart()
this.renderGaugeChart()
this.renderStackedAreaChart()
})
},
renderTrendChart() {
if (!this.$refs.trendChart) return
this.trendChart = echarts.init(this.$refs.trendChart)
const option = {
tooltip: { trigger: 'axis', axisPointer: { type: 'cross' } },
legend: { data: ['开单业绩', '消耗业绩', '净业绩'], top: 10 },
grid: { left: '3%', right: '4%', bottom: '3%', top: '15%', containLabel: true },
xAxis: { type: 'category', data: ['2024-01', '2024-02', '2024-03', '2024-04', '2024-05', '2024-06', '2024-07', '2024-08', '2024-09', '2024-10', '2024-11', '2024-12'] },
yAxis: { type: 'value', axisLabel: { formatter: '¥{value}' } },
series: [
{ name: '开单业绩', type: 'line', smooth: true, data: [856000, 928000, 1025000, 1156000, 1089000, 1125000, 1186000, 1258000, 1156000, 1289000, 1356000, 1258680], itemStyle: { color: '#409EFF' }, areaStyle: { color: 'rgba(64, 158, 255, 0.1)' } },
{ name: '消耗业绩', type: 'line', smooth: true, data: [658000, 712000, 786000, 856000, 798000, 825000, 868000, 912000, 856000, 936000, 986000, 986420], itemStyle: { color: '#67C23A' }, areaStyle: { color: 'rgba(103, 194, 58, 0.1)' } },
{ name: '净业绩', type: 'line', smooth: true, data: [198000, 216000, 239000, 300000, 291000, 300000, 318000, 346000, 300000, 353000, 370000, 272260], itemStyle: { color: '#E6A23C' }, areaStyle: { color: 'rgba(230, 162, 60, 0.1)' } }
]
}
this.trendChart.setOption(option)
},
renderCategoryChart() {
if (!this.$refs.categoryChart) return
this.categoryChart = echarts.init(this.$refs.categoryChart)
const option = {
tooltip: { trigger: 'item' },
legend: { show: false },
series: [{
name: '品项分类',
type: 'pie',
radius: ['40%', '70%'],
center: ['50%', '50%'],
avoidLabelOverlap: true,
itemStyle: { borderRadius: 6, borderColor: '#fff', borderWidth: 2 },
label: { show: true, position: 'outside', formatter: '{b}\n{c}', fontSize: 12 },
labelLine: { show: true, length: 15, length2: 10 },
data: [
{ value: 456800, name: '生美', itemStyle: { color: '#A8D5E2' } },
{ value: 256800, name: '医美', itemStyle: { color: '#B8E6B8' } },
{ value: 198600, name: '科美', itemStyle: { color: '#FFD4A3' } },
{ value: 74220, name: '产品', itemStyle: { color: '#E6C1E6' } }
]
}]
}
this.categoryChart.setOption(option)
},
|
e1f34014
“wangming”
chore: update dev...
|
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
|
renderCompareChart() {
if (!this.$refs.compareChart) return
this.compareChart = echarts.init(this.$refs.compareChart)
const option = {
tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } },
legend: { data: ['开单业绩', '消耗业绩'], top: 10 },
grid: { left: '3%', right: '4%', bottom: '3%', top: '15%', containLabel: true },
xAxis: { type: 'category', data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'] },
yAxis: { type: 'value', axisLabel: { formatter: value => value >= 10000 ? (value / 10000).toFixed(1) + '万' : value } },
series: [
{ name: '开单业绩', type: 'bar', data: [856, 928, 1025, 1156, 1089, 1125, 1186, 1258, 1156, 1289, 1356, 1258], itemStyle: { color: '#409EFF' } },
{ name: '消耗业绩', type: 'bar', data: [658, 712, 786, 856, 798, 825, 868, 912, 856, 936, 986, 986], itemStyle: { color: '#67C23A' } }
]
}
this.compareChart.setOption(option)
},
renderStackedChart() {
if (!this.$refs.stackedChart) return
this.stackedChart = echarts.init(this.$refs.stackedChart)
const option = {
tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } },
legend: { data: ['生美', '医美', '科美', '产品'], top: 10 },
grid: { left: '3%', right: '4%', bottom: '3%', top: '15%', containLabel: true },
xAxis: { type: 'category', data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'] },
yAxis: { type: 'value', axisLabel: { formatter: value => value >= 10000 ? (value / 10000).toFixed(1) + '万' : value } },
series: [
{ name: '生美', type: 'bar', stack: 'total', data: [320, 350, 380, 420, 390, 410, 450, 480, 420, 460, 500, 480], itemStyle: { color: '#A8D5E2' } },
{ name: '医美', type: 'bar', stack: 'total', data: [180, 200, 220, 250, 230, 240, 260, 280, 250, 270, 290, 280], itemStyle: { color: '#B8E6B8' } },
{ name: '科美', type: 'bar', stack: 'total', data: [140, 150, 160, 180, 170, 175, 190, 200, 180, 195, 210, 200], itemStyle: { color: '#FFD4A3' } },
{ name: '产品', type: 'bar', stack: 'total', data: [50, 55, 60, 70, 65, 68, 75, 80, 70, 78, 85, 80], itemStyle: { color: '#E6C1E6' } }
]
}
this.stackedChart.setOption(option)
},
renderFunnelChart() {
if (!this.$refs.funnelChart) return
this.funnelChart = echarts.init(this.$refs.funnelChart)
const option = {
tooltip: { trigger: 'item', formatter: '{a} <br/>{b}: {c} ({d}%)' },
legend: { data: ['访问', '咨询', '到店', '体验', '开单', '复购'], top: 10 },
series: [{
name: '会员转化',
type: 'funnel',
left: '10%',
top: 60,
bottom: 60,
width: '80%',
min: 0,
max: 10000,
minSize: '0%',
maxSize: '100%',
sort: 'descending',
gap: 2,
label: { show: true, position: 'inside', formatter: '{b}: {c}' },
labelLine: { length: 10, lineStyle: { width: 1, type: 'solid' } },
itemStyle: { borderColor: '#fff', borderWidth: 1 },
emphasis: { label: { fontSize: 20 } },
data: [
{ value: 10000, name: '访问', itemStyle: { color: '#409EFF' } },
{ value: 8000, name: '咨询', itemStyle: { color: '#67C23A' } },
{ value: 6000, name: '到店', itemStyle: { color: '#E6A23C' } },
{ value: 4000, name: '体验', itemStyle: { color: '#F56C6C' } },
{ value: 2000, name: '开单', itemStyle: { color: '#909399' } },
{ value: 1500, name: '复购', itemStyle: { color: '#606266' } }
]
}]
}
this.funnelChart.setOption(option)
},
renderScatterChart() {
if (!this.$refs.scatterChart) return
this.scatterChart = echarts.init(this.$refs.scatterChart)
const option = {
tooltip: { trigger: 'item', formatter: '客单价: {c[0]}<br/>项目数: {c[1]}<br/>会员数: {c[2]}' },
legend: { data: ['会员分布'], top: 10 },
grid: { left: '3%', right: '7%', bottom: '3%', top: '15%', containLabel: true },
xAxis: { type: 'value', name: '客单价(元)', nameLocation: 'middle', nameGap: 30 },
yAxis: { type: 'value', name: '项目数', nameLocation: 'middle', nameGap: 50 },
series: [{
name: '会员分布',
type: 'scatter',
symbolSize: data => Math.sqrt(data[2]) * 2,
data: [
[285, 4.5, 320], [320, 5.2, 280], [250, 3.8, 350], [380, 6.5, 180], [290, 4.8, 300],
[350, 5.8, 220], [280, 4.2, 310], [420, 7.2, 150], [310, 5.0, 260], [360, 6.0, 200],
[270, 4.0, 330], [390, 6.8, 170], [300, 4.9, 290], [370, 6.2, 210], [260, 3.9, 340]
],
itemStyle: { color: '#409EFF', opacity: 0.6 }
}]
}
this.scatterChart.setOption(option)
},
renderHeatmapChart() {
if (!this.$refs.heatmapChart) return
this.heatmapChart = echarts.init(this.$refs.heatmapChart)
const hours = ['周一', '周二', '周三', '周四', '周五', '周六', '周日']
const times = ['09:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00', '16:00', '17:00', '18:00', '19:00', '20:00', '21:00']
const data = []
for (let i = 0; i < hours.length; i++) {
for (let j = 0; j < times.length; j++) {
const value = Math.floor(Math.random() * 100)
data.push([j, i, value])
}
}
const option = {
tooltip: { position: 'top', formatter: params => `${hours[params.value[1]]} ${times[params.value[0]]}<br/>客流量: ${params.value[2]}` },
grid: { height: '50%', top: '10%' },
xAxis: { type: 'category', data: times, splitArea: { show: true }, position: 'top' },
yAxis: { type: 'category', data: hours, splitArea: { show: true } },
visualMap: {
min: 0,
max: 100,
calculable: true,
orient: 'horizontal',
left: 'center',
bottom: '5%',
inRange: { color: ['#e0f3ff', '#409EFF', '#1d4ed8'] }
},
series: [{
name: '客流量',
type: 'heatmap',
data: data,
label: { show: true },
emphasis: { itemStyle: { shadowBlur: 10, shadowColor: 'rgba(0, 0, 0, 0.5)' } }
}]
}
this.heatmapChart.setOption(option)
},
renderRadarChart() {
if (!this.$refs.radarChart) return
this.radarChart = echarts.init(this.$refs.radarChart)
const option = {
tooltip: {},
radar: {
indicator: [
{ name: '业绩能力', max: 100 },
{ name: '服务能力', max: 100 },
{ name: '会员管理', max: 100 },
{ name: '运营效率', max: 100 },
{ name: '团队协作', max: 100 },
{ name: '客户满意度', max: 100 }
],
center: ['50%', '55%'],
radius: '70%'
},
series: [{
name: '门店综合能力',
type: 'radar',
data: [{
value: [85, 78, 82, 75, 80, 88],
name: '当前门店',
areaStyle: { color: 'rgba(64, 158, 255, 0.3)' },
itemStyle: { color: '#409EFF' },
lineStyle: { color: '#409EFF', width: 2 }
}, {
value: [75, 72, 70, 68, 75, 80],
name: '行业平均',
areaStyle: { color: 'rgba(103, 194, 58, 0.2)' },
itemStyle: { color: '#67C23A' },
lineStyle: { color: '#67C23A', width: 2, type: 'dashed' }
}]
}]
}
this.radarChart.setOption(option)
},
renderGaugeChart() {
if (!this.$refs.gaugeChart) return
this.gaugeChart = echarts.init(this.$refs.gaugeChart)
const option = {
tooltip: { formatter: '{a} <br/>{b}: {c}%' },
series: [{
name: '目标完成度',
type: 'gauge',
progress: { show: true },
detail: { valueAnimation: true, formatter: '{value}%', fontSize: 20, offsetCenter: [0, '70%'] },
data: [{ value: 85.6, name: '完成率' }],
axisLine: {
lineStyle: {
width: 20,
color: [[0.3, '#67C23A'], [0.7, '#E6A23C'], [1, '#F56C6C']]
}
},
axisTick: { show: false },
splitLine: { show: false },
axisLabel: { show: false },
pointer: { show: false },
title: { show: false }
}]
}
this.gaugeChart.setOption(option)
},
renderStackedAreaChart() {
if (!this.$refs.stackedAreaChart) return
this.stackedAreaChart = echarts.init(this.$refs.stackedAreaChart)
const option = {
tooltip: { trigger: 'axis', axisPointer: { type: 'cross', label: { backgroundColor: '#6a7985' } } },
legend: { data: ['生美', '医美', '科美', '产品'], top: 10 },
grid: { left: '3%', right: '4%', bottom: '3%', top: '15%', containLabel: true },
xAxis: [{ type: 'category', boundaryGap: false, data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'] }],
yAxis: [{ type: 'value', axisLabel: { formatter: '{value}%' } }],
series: [
{ name: '生美', type: 'line', stack: 'Total', areaStyle: {}, emphasis: { focus: 'series' }, data: [45, 48, 50, 52, 49, 51, 53, 55, 52, 54, 56, 54], itemStyle: { color: '#A8D5E2' } },
{ name: '医美', type: 'line', stack: 'Total', areaStyle: {}, emphasis: { focus: 'series' }, data: [25, 26, 27, 28, 27, 28, 29, 30, 28, 29, 30, 29], itemStyle: { color: '#B8E6B8' } },
{ name: '科美', type: 'line', stack: 'Total', areaStyle: {}, emphasis: { focus: 'series' }, data: [20, 21, 22, 23, 22, 22, 23, 24, 23, 23, 24, 23], itemStyle: { color: '#FFD4A3' } },
{ name: '产品', type: 'line', stack: 'Total', areaStyle: {}, emphasis: { focus: 'series' }, data: [10, 5, 1, -3, 2, -1, -5, -9, -3, -6, -10, -6], itemStyle: { color: '#E6C1E6' } }
]
}
this.stackedAreaChart.setOption(option)
},
handleResize() {
if (this.trendChart) this.trendChart.resize()
if (this.categoryChart) this.categoryChart.resize()
|