|
|
@@ -39,41 +39,41 @@ const setChartsOptionsBar = computed(() => {
|
|
39
|
39
|
axisLine: { lineStyle: { color: '#fff' } },
|
|
40
|
40
|
splitLine: { lineStyle: { color: '#344067' } }
|
|
41
|
41
|
},
|
|
42
|
|
- {
|
|
43
|
|
- type: 'value',
|
|
44
|
|
- name: '数量',
|
|
45
|
|
- position: 'right',
|
|
46
|
|
- max: 'dataMax',
|
|
47
|
|
- axisLabel: { color: '#fff', fontSize: 14 },
|
|
48
|
|
- axisLine: { lineStyle: { color: '#fff' } },
|
|
49
|
|
- splitLine: { show: false }
|
|
50
|
|
- }
|
|
|
42
|
+ // {
|
|
|
43
|
+ // type: 'value',
|
|
|
44
|
+ // name: '数量',
|
|
|
45
|
+ // position: 'right',
|
|
|
46
|
+ // max: 'dataMax',
|
|
|
47
|
+ // axisLabel: { color: '#fff', fontSize: 14 },
|
|
|
48
|
+ // axisLine: { lineStyle: { color: '#fff' } },
|
|
|
49
|
+ // splitLine: { show: false }
|
|
|
50
|
+ // }
|
|
51
|
51
|
],
|
|
52
|
52
|
series: [
|
|
|
53
|
+ // {
|
|
|
54
|
+ // name: '本通道过检人数',
|
|
|
55
|
+ // type: 'bar',
|
|
|
56
|
+ // yAxisIndex: 1,
|
|
|
57
|
+ // data: props.chartsData.map(item => item.totalRecord),
|
|
|
58
|
+ // itemStyle: {
|
|
|
59
|
+ // color: '#9963FB',
|
|
|
60
|
+ // borderRadius: [2, 2, 0, 0],
|
|
|
61
|
+ // },
|
|
|
62
|
+ // barWidth: '20%'
|
|
|
63
|
+ // },
|
|
|
64
|
+ // {
|
|
|
65
|
+ // name: '过检总人数',
|
|
|
66
|
+ // type: 'bar',
|
|
|
67
|
+ // yAxisIndex: 1,
|
|
|
68
|
+ // data: props.chartsData.map(item => item.totalThroughput),
|
|
|
69
|
+ // itemStyle: {
|
|
|
70
|
+ // color: '#FCE661',
|
|
|
71
|
+ // borderRadius: [2, 2, 0, 0],
|
|
|
72
|
+ // },
|
|
|
73
|
+ // barWidth: '20%'
|
|
|
74
|
+ // },
|
|
53
|
75
|
{
|
|
54
|
|
- name: '本通道过检人数',
|
|
55
|
|
- type: 'bar',
|
|
56
|
|
- yAxisIndex: 1,
|
|
57
|
|
- data: props.chartsData.map(item => item.totalRecord),
|
|
58
|
|
- itemStyle: {
|
|
59
|
|
- color: '#9963FB',
|
|
60
|
|
- borderRadius: [2, 2, 0, 0],
|
|
61
|
|
- },
|
|
62
|
|
- barWidth: '20%'
|
|
63
|
|
- },
|
|
64
|
|
- {
|
|
65
|
|
- name: '过检总人数',
|
|
66
|
|
- type: 'bar',
|
|
67
|
|
- yAxisIndex: 1,
|
|
68
|
|
- data: props.chartsData.map(item => item.totalThroughput),
|
|
69
|
|
- itemStyle: {
|
|
70
|
|
- color: '#FCE661',
|
|
71
|
|
- borderRadius: [2, 2, 0, 0],
|
|
72
|
|
- },
|
|
73
|
|
- barWidth: '20%'
|
|
74
|
|
- },
|
|
75
|
|
- {
|
|
76
|
|
- name: '过检率',
|
|
|
76
|
+ name: '当日过检率',
|
|
77
|
77
|
type: 'line',
|
|
78
|
78
|
yAxisIndex: 0,
|
|
79
|
79
|
data: props.chartsData.map(item => item.throughputRate),
|