|
@@ -35,11 +35,11 @@
|
35
|
35
|
<el-button type="primary" @click="queryAll">查询</el-button>
|
36
|
36
|
</el-form-item>
|
37
|
37
|
</el-form>
|
38
|
|
- <div style="width: 100%;">
|
39
|
|
- <div style="width: 100%;height: 400px;">
|
|
38
|
+ <div style="width: 100%; display: flex; flex-wrap: wrap;">
|
|
39
|
+ <div style="width: 50%;height: 220px;">
|
40
|
40
|
<h5 style="color: white">按小时统计</h5>
|
41
|
|
- <br>
|
42
|
|
- <linechart
|
|
41
|
+ <div style="width: 100%;height: 200px;">
|
|
42
|
+ <linechart
|
43
|
43
|
:autoStop="false"
|
44
|
44
|
:top="30"
|
45
|
45
|
:bottom="30"
|
|
@@ -52,91 +52,85 @@
|
52
|
52
|
{ x: 'mouth', y: 'lastAmount', seriesName: '',bool:'true' },
|
53
|
53
|
]"
|
54
|
54
|
id="axstj"
|
55
|
|
- />
|
|
55
|
+ />
|
|
56
|
+ </div>
|
56
|
57
|
</div>
|
57
|
|
- <br>
|
58
|
|
- <br>
|
59
|
|
- <br>
|
60
|
|
- <div style="width: 100%;height: 400px;">
|
61
|
|
- <h5 style="color: white">按日统计</h5>
|
62
|
|
- <br>
|
63
|
|
- <linechart
|
64
|
|
- :autoStop="false"
|
65
|
|
- :top="30"
|
66
|
|
- :bottom="30"
|
67
|
|
- :left="40"
|
68
|
|
- :legendTop="0"
|
69
|
|
- yAxisName="(元)"
|
70
|
|
- :dataset="linedata2"
|
71
|
|
- :tooltipFormat="lineTooltipFormat"
|
72
|
|
- :encode="[
|
|
58
|
+ <div style="width: 50%;height: 220px;">
|
|
59
|
+ <h5 style="color: white">按日统计</h5>
|
|
60
|
+ <div style="width: 100%;height: 200px;">
|
|
61
|
+ <linechart
|
|
62
|
+ :autoStop="false"
|
|
63
|
+ :top="30"
|
|
64
|
+ :bottom="30"
|
|
65
|
+ :left="40"
|
|
66
|
+ :legendTop="0"
|
|
67
|
+ yAxisName="(元)"
|
|
68
|
+ :dataset="linedata2"
|
|
69
|
+ :tooltipFormat="lineTooltipFormat"
|
|
70
|
+ :encode="[
|
73
|
71
|
{ x: 'mouth', y: 'lastAmount', seriesName: '',bool:'true' },
|
74
|
72
|
]"
|
75
|
|
- id="artj"
|
76
|
|
- />
|
|
73
|
+ id="artj"
|
|
74
|
+ />
|
|
75
|
+ </div>
|
77
|
76
|
</div>
|
78
|
|
- <br>
|
79
|
|
- <br>
|
80
|
|
- <br>
|
81
|
|
- <div style="width: 100%;height: 400px;">
|
|
77
|
+ <div style="width: 50%;height: 220px;">
|
82
|
78
|
<h5 style="color: white">按周统计</h5>
|
83
|
|
- <br>
|
84
|
|
- <linechart
|
85
|
|
- :autoStop="false"
|
86
|
|
- :top="30"
|
87
|
|
- :bottom="30"
|
88
|
|
- :left="40"
|
89
|
|
- :legendTop="0"
|
90
|
|
- yAxisName="(元)"
|
91
|
|
- :dataset="linedata3"
|
92
|
|
- :tooltipFormat="lineTooltipFormat"
|
93
|
|
- :encode="[
|
|
79
|
+ <div style="width: 100%;height: 200px;">
|
|
80
|
+ <linechart
|
|
81
|
+ :autoStop="false"
|
|
82
|
+ :top="30"
|
|
83
|
+ :bottom="30"
|
|
84
|
+ :left="40"
|
|
85
|
+ :legendTop="0"
|
|
86
|
+ yAxisName="(元)"
|
|
87
|
+ :dataset="linedata3"
|
|
88
|
+ :tooltipFormat="lineTooltipFormat"
|
|
89
|
+ :encode="[
|
94
|
90
|
{ x: 'mouth', y: 'lastAmount', seriesName: '',bool:'true' },
|
95
|
91
|
]"
|
96
|
|
- id="aztj"
|
97
|
|
- />
|
|
92
|
+ id="aztj"
|
|
93
|
+ />
|
|
94
|
+ </div>
|
98
|
95
|
</div>
|
99
|
|
- <br>
|
100
|
|
- <br>
|
101
|
|
- <br>
|
102
|
|
- <div style="width: 100%;height: 400px;">
|
|
96
|
+ <div style="width: 50%;height: 220px;">
|
103
|
97
|
<h5 style="color: white">按月统计</h5>
|
104
|
|
- <br>
|
105
|
|
- <linechart
|
106
|
|
- :autoStop="false"
|
107
|
|
- :top="30"
|
108
|
|
- :bottom="30"
|
109
|
|
- :left="40"
|
110
|
|
- :legendTop="0"
|
111
|
|
- yAxisName="(元)"
|
112
|
|
- :dataset="linedata4"
|
113
|
|
- :tooltipFormat="lineTooltipFormat"
|
114
|
|
- :encode="[
|
|
98
|
+ <div style="width: 100%;height: 200px;">
|
|
99
|
+ <linechart
|
|
100
|
+ :autoStop="false"
|
|
101
|
+ :top="30"
|
|
102
|
+ :bottom="30"
|
|
103
|
+ :left="40"
|
|
104
|
+ :legendTop="0"
|
|
105
|
+ yAxisName="(元)"
|
|
106
|
+ :dataset="linedata4"
|
|
107
|
+ :tooltipFormat="lineTooltipFormat"
|
|
108
|
+ :encode="[
|
115
|
109
|
{ x: 'mouth', y: 'lastAmount', seriesName: '',bool:'true' },
|
116
|
110
|
]"
|
117
|
|
- id="aytj"
|
118
|
|
- />
|
|
111
|
+ id="aytj"
|
|
112
|
+ />
|
|
113
|
+ </div>
|
119
|
114
|
</div>
|
120
|
115
|
<br>
|
121
|
|
- <br>
|
122
|
|
- <br>
|
123
|
|
- <div style="width: 100%;height: 400px;">
|
|
116
|
+ <div style="width: 100%;height: 220px;">
|
124
|
117
|
<h5 style="color: white">按年统计</h5>
|
125
|
|
- <br>
|
126
|
|
- <linechart
|
127
|
|
- :autoStop="false"
|
128
|
|
- :top="30"
|
129
|
|
- :bottom="30"
|
130
|
|
- :left="40"
|
131
|
|
- :legendTop="0"
|
132
|
|
- yAxisName="(元)"
|
133
|
|
- :dataset="linedata5"
|
134
|
|
- :tooltipFormat="lineTooltipFormat"
|
135
|
|
- :encode="[
|
|
118
|
+ <div style="width: 100%;height: 220px;">
|
|
119
|
+ <linechart
|
|
120
|
+ :autoStop="false"
|
|
121
|
+ :top="30"
|
|
122
|
+ :bottom="30"
|
|
123
|
+ :left="40"
|
|
124
|
+ :legendTop="0"
|
|
125
|
+ yAxisName="(元)"
|
|
126
|
+ :dataset="linedata5"
|
|
127
|
+ :tooltipFormat="lineTooltipFormat"
|
|
128
|
+ :encode="[
|
136
|
129
|
{ x: 'mouth', y: 'lastAmount', seriesName: '',bool:'true' },
|
137
|
130
|
]"
|
138
|
|
- id="antj"
|
139
|
|
- />
|
|
131
|
+ id="antj"
|
|
132
|
+ />
|
|
133
|
+ </div>
|
140
|
134
|
</div>
|
141
|
135
|
|
142
|
136
|
|