|
@@ -59,11 +59,12 @@
|
59
|
59
|
:bottom="30"
|
60
|
60
|
:left="40"
|
61
|
61
|
:legendTop="0"
|
62
|
|
- yAxisName="(%)"
|
|
62
|
+ yAxisName="(小时)"
|
63
|
63
|
:dataset="linedata"
|
64
|
64
|
:tooltipFormat="lineTooltipFormat1"
|
65
|
65
|
:encode="[
|
66
|
|
- { x: 'month', y: 'lastAmount', seriesName: '停车总时长(时)',bool:'true' },
|
|
66
|
+ { x: 'mouth', y: 'lastYearAmount', seriesName: '路内',bool:'true' },
|
|
67
|
+ { x: 'mouth', y: 'thisYearAmount', seriesName: '路外',bool:'true' },
|
67
|
68
|
]"
|
68
|
69
|
id="sxcyfzqk1"
|
69
|
70
|
/>
|
|
@@ -76,11 +77,12 @@
|
76
|
77
|
:bottom="30"
|
77
|
78
|
:left="40"
|
78
|
79
|
:legendTop="0"
|
79
|
|
- yAxisName="(%)"
|
|
80
|
+ yAxisName="(次)"
|
80
|
81
|
:dataset="linedata2"
|
81
|
|
- :tooltipFormat="lineTooltipFormat1"
|
|
82
|
+ :tooltipFormat="lineTooltipFormat2"
|
82
|
83
|
:encode="[
|
83
|
|
- { x: 'month', y: 'lastAmount', seriesName: '当日平均周转次数',bool:'true' },
|
|
84
|
+ { x: 'mouth', y: 'lastYearAmount', seriesName: '路内',bool:'true' },
|
|
85
|
+ { x: 'mouth', y: 'thisYearAmount', seriesName: '路外',bool:'true' },
|
84
|
86
|
]"
|
85
|
87
|
id="bwzzqs"
|
86
|
88
|
/>
|
|
@@ -95,9 +97,10 @@
|
95
|
97
|
:legendTop="0"
|
96
|
98
|
yAxisName="(%)"
|
97
|
99
|
:dataset="linedata3"
|
98
|
|
- :tooltipFormat="lineTooltipFormat1"
|
|
100
|
+ :tooltipFormat="lineTooltipFormat3"
|
99
|
101
|
:encode="[
|
100
|
|
- { x: 'month', y: 'lastAmount', seriesName: '当日平均利用率(%)',bool:'true' },
|
|
102
|
+ { x: 'mouth', y: 'lastYearAmount', seriesName: '路内',bool:'true' },
|
|
103
|
+ { x: 'mouth', y: 'thisYearAmount', seriesName: '路外',bool:'true' },
|
101
|
104
|
]"
|
102
|
105
|
id="bwlylqs"
|
103
|
106
|
/>
|
|
@@ -107,18 +110,19 @@
|
107
|
110
|
<br>
|
108
|
111
|
<div style="width: 100%;display: flex;justify-content: space-between;">
|
109
|
112
|
<div style="width: 33%;height: 400px;">
|
110
|
|
- <div align="center" style="color: white">实缴趋势</div>
|
|
113
|
+ <div align="center" style="color: white">实缴金额</div>
|
111
|
114
|
<linechart
|
112
|
115
|
:autoStop="false"
|
113
|
116
|
:top="30"
|
114
|
117
|
:bottom="30"
|
115
|
118
|
:left="40"
|
116
|
119
|
:legendTop="0"
|
117
|
|
- yAxisName="(%)"
|
|
120
|
+ yAxisName="(元)"
|
118
|
121
|
:dataset="linedata4"
|
119
|
|
- :tooltipFormat="lineTooltipFormat1"
|
|
122
|
+ :tooltipFormat="lineTooltipFormat4"
|
120
|
123
|
:encode="[
|
121
|
|
- { x: 'month', y: 'lastAmount', seriesName: '实缴率(%)',bool:'true' },
|
|
124
|
+ { x: 'mouth', y: 'lastYearAmount', seriesName: '路内',bool:'true' },
|
|
125
|
+ { x: 'mouth', y: 'thisYearAmount', seriesName: '路外',bool:'true' },
|
122
|
126
|
]"
|
123
|
127
|
id="sjqs"
|
124
|
128
|
/>
|
|
@@ -133,9 +137,10 @@
|
133
|
137
|
:legendTop="0"
|
134
|
138
|
yAxisName="(%)"
|
135
|
139
|
:dataset="linedata5"
|
136
|
|
- :tooltipFormat="lineTooltipFormat1"
|
|
140
|
+ :tooltipFormat="lineTooltipFormat5"
|
137
|
141
|
:encode="[
|
138
|
|
- { x: 'month', y: 'lastAmount', seriesName: '实时占用率',bool:'true' },
|
|
142
|
+ { x: 'mouth', y: 'lastYearAmount', seriesName: '路内',bool:'true' },
|
|
143
|
+ { x: 'mouth', y: 'thisYearAmount', seriesName: '路外',bool:'true' },
|
139
|
144
|
]"
|
140
|
145
|
id="bwsszyl"
|
141
|
146
|
/>
|
|
@@ -214,18 +219,7 @@ export default {
|
214
|
219
|
modelData3: [],
|
215
|
220
|
tableData: [],
|
216
|
221
|
tableData2: [],
|
217
|
|
- linedata:[{
|
218
|
|
- "mouth": "星期一",
|
219
|
|
- "lastAmount": 14
|
220
|
|
- },
|
221
|
|
- {
|
222
|
|
- "mouth": "星期二",
|
223
|
|
- "lastAmount": 46
|
224
|
|
- },
|
225
|
|
- {
|
226
|
|
- "mouth": "星期三",
|
227
|
|
- "lastAmount": 59
|
228
|
|
- },],
|
|
222
|
+ linedata:[],
|
229
|
223
|
linedata2:[],
|
230
|
224
|
linedata3:[],
|
231
|
225
|
linedata4:[],
|
|
@@ -301,27 +295,27 @@ export default {
|
301
|
295
|
})
|
302
|
296
|
},
|
303
|
297
|
dashBusinessOverviewStat3(){
|
304
|
|
- api_l.dashBusinessOverviewStat3().then(res => {
|
|
298
|
+ api_l.dashBusinessOverviewStat3({begin: '', end: ''}).then(res => {
|
305
|
299
|
this.linedata=res.data;
|
306
|
300
|
})
|
307
|
301
|
},
|
308
|
302
|
dashBusinessOverviewStat4(){
|
309
|
|
- api_l.dashBusinessOverviewStat4().then(res => {
|
|
303
|
+ api_l.dashBusinessOverviewStat4({begin: '', end: ''}).then(res => {
|
310
|
304
|
this.linedata2=res.data;
|
311
|
305
|
})
|
312
|
306
|
},
|
313
|
307
|
dashBusinessOverviewStat5(){
|
314
|
|
- api_l.dashBusinessOverviewStat5().then(res => {
|
|
308
|
+ api_l.dashBusinessOverviewStat5({begin: '', end: ''}).then(res => {
|
315
|
309
|
this.linedata3=res.data;
|
316
|
310
|
})
|
317
|
311
|
},
|
318
|
312
|
dashBusinessOverviewStat6(){
|
319
|
|
- api_l.dashBusinessOverviewStat6().then(res => {
|
|
313
|
+ api_l.dashBusinessOverviewStat6({begin: '', end: ''}).then(res => {
|
320
|
314
|
this.linedata4=res.data;
|
321
|
315
|
})
|
322
|
316
|
},
|
323
|
317
|
dashBusinessOverviewStat7(){
|
324
|
|
- api_l.dashBusinessOverviewStat7().then(res => {
|
|
318
|
+ api_l.dashBusinessOverviewStat7({begin: '', end: ''}).then(res => {
|
325
|
319
|
this.linedata5=res.data;
|
326
|
320
|
})
|
327
|
321
|
},
|
|
@@ -329,8 +323,47 @@ export default {
|
329
|
323
|
const data = params[0].data;
|
330
|
324
|
return `<div class="line-tooltip">
|
331
|
325
|
<div style="color: ${params[0].color}">${params[0].seriesName}: ${
|
332
|
|
- params[0].data.lastAmount || "--"
|
333
|
|
- }(%)</div>`;
|
|
326
|
+ params[0].data.lastYearAmount || 0
|
|
327
|
+ }小时</div><div style="color: ${params[1].color}">${params[1].seriesName}: ${
|
|
328
|
+ params[0].data.thisYearAmount || 0
|
|
329
|
+ }小时</div></div>`;
|
|
330
|
+ },
|
|
331
|
+ lineTooltipFormat2(params) {
|
|
332
|
+ const data = params[0].data;
|
|
333
|
+ return `<div class="line-tooltip">
|
|
334
|
+ <div style="color: ${params[0].color}">${params[0].seriesName}: ${
|
|
335
|
+ params[0].data.lastYearAmount || 0
|
|
336
|
+ }次</div><div style="color: ${params[1].color}">${params[1].seriesName}: ${
|
|
337
|
+ params[0].data.thisYearAmount || 0
|
|
338
|
+ }次</div></div>`;
|
|
339
|
+ },
|
|
340
|
+ lineTooltipFormat3(params) {
|
|
341
|
+ const data = params[0].data;
|
|
342
|
+ return `<div class="line-tooltip">
|
|
343
|
+ <div style="color: ${params[0].color}">${params[0].seriesName}: ${
|
|
344
|
+ params[0].data.lastYearAmount || 0
|
|
345
|
+ }%</div><div style="color: ${params[1].color}">${params[1].seriesName}: ${
|
|
346
|
+ params[0].data.thisYearAmount || 0
|
|
347
|
+ }%</div></div>`;
|
|
348
|
+ },
|
|
349
|
+ lineTooltipFormat4(params) {
|
|
350
|
+ const data = params[0].data;
|
|
351
|
+ return `<div class="line-tooltip">
|
|
352
|
+ <div style="color: ${params[0].color}">${params[0].seriesName}: ${
|
|
353
|
+ params[0].data.lastYearAmount || 0
|
|
354
|
+ }元</div><div style="color: ${params[1].color}">${params[1].seriesName}: ${
|
|
355
|
+ params[0].data.thisYearAmount || 0
|
|
356
|
+ }元</div></div>`;
|
|
357
|
+ },
|
|
358
|
+
|
|
359
|
+ lineTooltipFormat5(params) {
|
|
360
|
+ const data = params[0].data;
|
|
361
|
+ return `<div class="line-tooltip">
|
|
362
|
+ <div style="color: ${params[0].color}">${params[0].seriesName}: ${
|
|
363
|
+ params[0].data.lastYearAmount || 0
|
|
364
|
+ }%</div><div style="color: ${params[1].color}">${params[1].seriesName}: ${
|
|
365
|
+ params[0].data.thisYearAmount || 0
|
|
366
|
+ }%</div></div>`;
|
334
|
367
|
},
|
335
|
368
|
tooltipFormat(params) {
|
336
|
369
|
const type = params[0].seriesType;
|