manage-client 3.2.146 → 3.2.147

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/build/dev-server.js +2 -2
  2. package/package.json +1 -1
  3. package/src/App.vue +1 -0
  4. package/src/components/SellReport/BankManager.vue +102 -102
  5. package/src/components/SellReport/Test.vue +862 -0
  6. package/src/components/WebReport/EchartsBox.vue +1 -0
  7. package/src/filiale/meihekou/CardHandplanQuery.vue +1 -1
  8. package/src/filiale/xinkang/ChargeQuery.vue +1308 -0
  9. package/src/filiale/xinkang/sale.js +10 -0
  10. package/src/filiale/zhongyi/CallReport/CallReportMainPage.vue +116 -0
  11. package/src/filiale/zhongyi/CallReport/IncomingTelegram.vue +162 -0
  12. package/src/filiale/zhongyi/CallReport/PercentageComplete.vue +291 -0
  13. package/src/filiale/zhongyi/CallReport/PercentageCompleteEchart.vue +140 -0
  14. package/src/filiale/zhongyi/CallReport/RateBottom.vue +143 -0
  15. package/src/filiale/zhongyi/CallReport/RateTop.vue +144 -0
  16. package/src/filiale/zhongyi/CallReport/ScrollContent.vue +143 -0
  17. package/src/filiale/zhongyi/CallReport/ServiceStatus.vue +385 -0
  18. package/src/filiale/zhongyi/CallReport/Time.vue +61 -0
  19. package/src/filiale/zhongyi/CallReport/Userinfo.vue +167 -0
  20. package/src/filiale/zhongyi/CallReport/WeatherData.vue +41 -0
  21. package/src/filiale/zhongyi/CallReport/WorkOrderPage.vue +181 -0
  22. package/src/filiale/zhongyi/sale.js +34 -1
  23. package/src/main.js +1 -1
  24. package/src/reportManage.js +4 -0
  25. package/static/images/zhongyi/Pigeon.png +0 -0
  26. package/static/images/zhongyi/background.png +0 -0
  27. package/static/images/zhongyi/blueBall.png +0 -0
  28. package/static/images/zhongyi/blueLadder.png +0 -0
  29. package/static/images/zhongyi/blueLine.png +0 -0
  30. package/static/images/zhongyi/bluebg.png +0 -0
  31. package/static/images/zhongyi/bulebg2.png +0 -0
  32. package/static/images/zhongyi/chart-2@2x.png +0 -0
  33. package/static/images/zhongyi/cloudy.png +0 -0
  34. package/static/images/zhongyi/exclamationPoint.png +0 -0
  35. package/static/images/zhongyi/netHall.png +0 -0
  36. package/static/images/zhongyi/orangebg.png +0 -0
  37. package/static/images/zhongyi/phone1.png +0 -0
  38. package/static/images/zhongyi/phone2.png +0 -0
  39. package/static/images/zhongyi/phone3.png +0 -0
  40. package/static/images/zhongyi/phone4.png +0 -0
  41. package/static/images/zhongyi/phone5.png +0 -0
  42. package/static/images/zhongyi/refresh.png +0 -0
  43. package/static/images/zhongyi/ring.png +0 -0
  44. package/static/images/zhongyi/service1.png +0 -0
  45. package/static/images/zhongyi/service2.png +0 -0
  46. package/static/images/zhongyi/telephone1.png +0 -0
  47. package/static/images/zhongyi/telephone2.png +0 -0
  48. package/static/images/zhongyi/trumpet.png +0 -0
  49. package/static/images/zhongyi/weChat.png +0 -0
  50. package/static/images/zhongyi/workOrder.png +0 -0
  51. package/static/images/zhongyi/yellowBall.png +0 -0
  52. package/static/images/zhongyi/yellowLadder.png +0 -0
  53. package/static/images/zhongyi/yellowbg.png +0 -0
  54. package/static/images/zhongyi//347/256/255/345/244/264 19 1 /346/213/267/350/264/235 2@2x.png +0 -0
  55. package/static/images/zhongyi//347/256/255/345/244/264 19 1 /346/213/267/350/264/235@2x.png +0 -0
  56. package/static/images/zhongyi//347/256/255/345/244/264 19 1.png +0 -0
@@ -0,0 +1,862 @@
1
+ <template lang="html">
2
+ <div id="charts">
3
+ <div id="main" :style="{width:'100%',height:'100%'}"></div>
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ import echarts from 'echarts'
9
+ export default {
10
+ props: {
11
+
12
+ },
13
+ data () {
14
+ return {
15
+ }
16
+ },
17
+ methods: {
18
+
19
+ },
20
+ ready () {
21
+ //
22
+ // var chartDom = document.getElementById('main');
23
+ // var myChart = echarts.init(chartDom);
24
+ // var option;
25
+ //
26
+ // option = {
27
+ // xAxis: {
28
+ // type: 'category',
29
+ // data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
30
+ // },
31
+ // yAxis: {
32
+ // type: 'value'
33
+ // },
34
+ // series: [
35
+ // {
36
+ // data: [150, 230, 224, 218, 135, 147, 260],
37
+ // type: 'line'
38
+ // }
39
+ // ]
40
+ // };
41
+ //
42
+ // option && myChart.setOption(option);
43
+
44
+ //饼状图
45
+
46
+ // var chartDom = document.getElementById('main');
47
+ // var myChart = echarts.init(chartDom);
48
+ // var option;
49
+ //
50
+ // option = {
51
+ // backgroundColor: '#2c343c',
52
+ // title: {
53
+ // text: 'Customized Pie',
54
+ // left: 'center',
55
+ // top: 20,
56
+ // textStyle: {
57
+ // color: '#ccc'
58
+ // }
59
+ // },
60
+ // tooltip: {
61
+ // trigger: 'item'
62
+ // },
63
+ // visualMap: {
64
+ // show: false,
65
+ // min: 80,
66
+ // max: 600,
67
+ // inRange: {
68
+ // colorLightness: [0, 1]
69
+ // }
70
+ // },
71
+ // series: [
72
+ // {
73
+ // name: 'Access From',
74
+ // type: 'pie',
75
+ // radius: '55%',
76
+ // center: ['50%', '50%'],
77
+ // data: [
78
+ // { value: 335, name: 'Direct' },
79
+ // { value: 310, name: 'Email' },
80
+ // { value: 274, name: 'Union Ads' },
81
+ // { value: 235, name: 'Video Ads' },
82
+ // { value: 400, name: 'Search Engine' }
83
+ // ].sort(function (a, b) {
84
+ // return a.value - b.value;
85
+ // }),
86
+ // roseType: 'radius',
87
+ // label: {
88
+ // color: 'rgba(255, 255, 255, 0.3)'
89
+ // },
90
+ // labelLine: {
91
+ // lineStyle: {
92
+ // color: 'rgba(255, 255, 255, 0.3)'
93
+ // },
94
+ // smooth: 0.2,
95
+ // length: 10,
96
+ // length2: 20
97
+ // },
98
+ // itemStyle: {
99
+ // color: '#c23531',
100
+ // shadowBlur: 200,
101
+ // shadowColor: 'rgba(0, 0, 0, 0.5)'
102
+ // },
103
+ // animationType: 'scale',
104
+ // animationEasing: 'elasticOut',
105
+ // animationDelay: function (idx) {
106
+ // return Math.random() * 200;
107
+ // }
108
+ // }
109
+ // ]
110
+ // };
111
+ //
112
+ // option && myChart.setOption(option);
113
+
114
+ // 基础南丁格尔玫瑰图
115
+ // var chartDom = document.getElementById('main');
116
+ // var myChart = echarts.init(chartDom);
117
+ // var option;
118
+ //
119
+ // option = {
120
+ // legend: {
121
+ // top: 'bottom'
122
+ // },
123
+ // toolbox: {
124
+ // show: true,
125
+ // feature: {
126
+ // mark: { show: true },
127
+ // dataView: { show: true, readOnly: false },
128
+ // restore: { show: true },
129
+ // saveAsImage: { show: true }
130
+ // }
131
+ // },
132
+ // series: [
133
+ // {
134
+ // name: 'Nightingale Chart',
135
+ // type: 'pie',
136
+ // radius: [50, 250],
137
+ // center: ['50%', '50%'],
138
+ // roseType: 'area',
139
+ // itemStyle: {
140
+ // borderRadius: 8
141
+ // },
142
+ // data: [
143
+ // { value: 40, name: 'rose 1' },
144
+ // { value: 38, name: 'rose 2' },
145
+ // { value: 32, name: 'rose 3' },
146
+ // { value: 30, name: 'rose 4' },
147
+ // { value: 28, name: 'rose 5' },
148
+ // { value: 26, name: 'rose 6' },
149
+ // { value: 22, name: 'rose 7' },
150
+ // { value: 18, name: 'rose 8' }
151
+ // ]
152
+ // }
153
+ // ]
154
+ // };
155
+ //
156
+ // option && myChart.setOption(option);
157
+ //AQI雷达图
158
+
159
+ var chartDom = document.getElementById('main');
160
+ var myChart = echarts.init(chartDom);
161
+ var option;
162
+
163
+ // Schema:
164
+ // date,AQIindex,PM2.5,PM10,CO,NO2,SO2
165
+ const dataBJ = [
166
+ [55, 9, 56, 0.46, 18, 6, 1],
167
+ [25, 11, 21, 0.65, 34, 9, 2],
168
+ [56, 7, 63, 0.3, 14, 5, 3],
169
+ [33, 7, 29, 0.33, 16, 6, 4],
170
+ [42, 24, 44, 0.76, 40, 16, 5],
171
+ [82, 58, 90, 1.77, 68, 33, 6],
172
+ [74, 49, 77, 1.46, 48, 27, 7],
173
+ [78, 55, 80, 1.29, 59, 29, 8],
174
+ [267, 216, 280, 4.8, 108, 64, 9],
175
+ [185, 127, 216, 2.52, 61, 27, 10],
176
+ [39, 19, 38, 0.57, 31, 15, 11],
177
+ [41, 11, 40, 0.43, 21, 7, 12],
178
+ [64, 38, 74, 1.04, 46, 22, 13],
179
+ [108, 79, 120, 1.7, 75, 41, 14],
180
+ [108, 63, 116, 1.48, 44, 26, 15],
181
+ [33, 6, 29, 0.34, 13, 5, 16],
182
+ [94, 66, 110, 1.54, 62, 31, 17],
183
+ [186, 142, 192, 3.88, 93, 79, 18],
184
+ [57, 31, 54, 0.96, 32, 14, 19],
185
+ [22, 8, 17, 0.48, 23, 10, 20],
186
+ [39, 15, 36, 0.61, 29, 13, 21],
187
+ [94, 69, 114, 2.08, 73, 39, 22],
188
+ [99, 73, 110, 2.43, 76, 48, 23],
189
+ [31, 12, 30, 0.5, 32, 16, 24],
190
+ [42, 27, 43, 1, 53, 22, 25],
191
+ [154, 117, 157, 3.05, 92, 58, 26],
192
+ [234, 185, 230, 4.09, 123, 69, 27],
193
+ [160, 120, 186, 2.77, 91, 50, 28],
194
+ [134, 96, 165, 2.76, 83, 41, 29],
195
+ [52, 24, 60, 1.03, 50, 21, 30],
196
+ [46, 5, 49, 0.28, 10, 6, 31]
197
+ ];
198
+ const dataGZ = [
199
+ [26, 37, 27, 1.163, 27, 13, 1],
200
+ [85, 62, 71, 1.195, 60, 8, 2],
201
+ [78, 38, 74, 1.363, 37, 7, 3],
202
+ [21, 21, 36, 0.634, 40, 9, 4],
203
+ [41, 42, 46, 0.915, 81, 13, 5],
204
+ [56, 52, 69, 1.067, 92, 16, 6],
205
+ [64, 30, 28, 0.924, 51, 2, 7],
206
+ [55, 48, 74, 1.236, 75, 26, 8],
207
+ [76, 85, 113, 1.237, 114, 27, 9],
208
+ [91, 81, 104, 1.041, 56, 40, 10],
209
+ [84, 39, 60, 0.964, 25, 11, 11],
210
+ [64, 51, 101, 0.862, 58, 23, 12],
211
+ [70, 69, 120, 1.198, 65, 36, 13],
212
+ [77, 105, 178, 2.549, 64, 16, 14],
213
+ [109, 68, 87, 0.996, 74, 29, 15],
214
+ [73, 68, 97, 0.905, 51, 34, 16],
215
+ [54, 27, 47, 0.592, 53, 12, 17],
216
+ [51, 61, 97, 0.811, 65, 19, 18],
217
+ [91, 71, 121, 1.374, 43, 18, 19],
218
+ [73, 102, 182, 2.787, 44, 19, 20],
219
+ [73, 50, 76, 0.717, 31, 20, 21],
220
+ [84, 94, 140, 2.238, 68, 18, 22],
221
+ [93, 77, 104, 1.165, 53, 7, 23],
222
+ [99, 130, 227, 3.97, 55, 15, 24],
223
+ [146, 84, 139, 1.094, 40, 17, 25],
224
+ [113, 108, 137, 1.481, 48, 15, 26],
225
+ [81, 48, 62, 1.619, 26, 3, 27],
226
+ [56, 48, 68, 1.336, 37, 9, 28],
227
+ [82, 92, 174, 3.29, 0, 13, 29],
228
+ [106, 116, 188, 3.628, 101, 16, 30],
229
+ [118, 50, 0, 1.383, 76, 11, 31]
230
+ ];
231
+ const dataSH = [
232
+ [91, 45, 125, 0.82, 34, 23, 1],
233
+ [65, 27, 78, 0.86, 45, 29, 2],
234
+ [83, 60, 84, 1.09, 73, 27, 3],
235
+ [109, 81, 121, 1.28, 68, 51, 4],
236
+ [106, 77, 114, 1.07, 55, 51, 5],
237
+ [109, 81, 121, 1.28, 68, 51, 6],
238
+ [106, 77, 114, 1.07, 55, 51, 7],
239
+ [89, 65, 78, 0.86, 51, 26, 8],
240
+ [53, 33, 47, 0.64, 50, 17, 9],
241
+ [80, 55, 80, 1.01, 75, 24, 10],
242
+ [117, 81, 124, 1.03, 45, 24, 11],
243
+ [99, 71, 142, 1.1, 62, 42, 12],
244
+ [95, 69, 130, 1.28, 74, 50, 13],
245
+ [116, 87, 131, 1.47, 84, 40, 14],
246
+ [108, 80, 121, 1.3, 85, 37, 15],
247
+ [134, 83, 167, 1.16, 57, 43, 16],
248
+ [79, 43, 107, 1.05, 59, 37, 17],
249
+ [71, 46, 89, 0.86, 64, 25, 18],
250
+ [97, 71, 113, 1.17, 88, 31, 19],
251
+ [84, 57, 91, 0.85, 55, 31, 20],
252
+ [87, 63, 101, 0.9, 56, 41, 21],
253
+ [104, 77, 119, 1.09, 73, 48, 22],
254
+ [87, 62, 100, 1, 72, 28, 23],
255
+ [168, 128, 172, 1.49, 97, 56, 24],
256
+ [65, 45, 51, 0.74, 39, 17, 25],
257
+ [39, 24, 38, 0.61, 47, 17, 26],
258
+ [39, 24, 39, 0.59, 50, 19, 27],
259
+ [93, 68, 96, 1.05, 79, 29, 28],
260
+ [188, 143, 197, 1.66, 99, 51, 29],
261
+ [174, 131, 174, 1.55, 108, 50, 30],
262
+ [187, 143, 201, 1.39, 89, 53, 31]
263
+ ];
264
+ const lineStyle = {
265
+ width: 1,
266
+ opacity: 0.5
267
+ };
268
+ option = {
269
+ backgroundColor: '#161627',
270
+ title: {
271
+ text: 'AQI - Radar',
272
+ left: 'center',
273
+ textStyle: {
274
+ color: '#eee'
275
+ }
276
+ },
277
+ legend: {
278
+ bottom: 5,
279
+ data: ['Beijing', 'Shanghai', 'Guangzhou'],
280
+ itemGap: 20,
281
+ textStyle: {
282
+ color: '#fff',
283
+ fontSize: 14
284
+ },
285
+ selectedMode: 'single'
286
+ },
287
+ radar: {
288
+ indicator: [
289
+ { name: 'AQI', max: 300 },
290
+ { name: 'PM2.5', max: 250 },
291
+ { name: 'PM10', max: 300 },
292
+ { name: 'CO', max: 5 },
293
+ { name: 'NO2', max: 200 },
294
+ { name: 'SO2', max: 100 }
295
+ ],
296
+ shape: 'circle',
297
+ splitNumber: 5,
298
+ axisName: {
299
+ color: 'rgb(238, 197, 102)'
300
+ },
301
+ splitLine: {
302
+ lineStyle: {
303
+ color: [
304
+ 'rgba(238, 197, 102, 0.1)',
305
+ 'rgba(238, 197, 102, 0.2)',
306
+ 'rgba(238, 197, 102, 0.4)',
307
+ 'rgba(238, 197, 102, 0.6)',
308
+ 'rgba(238, 197, 102, 0.8)',
309
+ 'rgba(238, 197, 102, 1)'
310
+ ].reverse()
311
+ }
312
+ },
313
+ splitArea: {
314
+ show: false
315
+ },
316
+ axisLine: {
317
+ lineStyle: {
318
+ color: 'rgba(238, 197, 102, 0.5)'
319
+ }
320
+ }
321
+ },
322
+ series: [
323
+ {
324
+ name: 'Beijing',
325
+ type: 'radar',
326
+ lineStyle: lineStyle,
327
+ data: dataBJ,
328
+ symbol: 'none',
329
+ itemStyle: {
330
+ color: '#F9713C'
331
+ },
332
+ areaStyle: {
333
+ opacity: 0.1
334
+ }
335
+ },
336
+ {
337
+ name: 'Shanghai',
338
+ type: 'radar',
339
+ lineStyle: lineStyle,
340
+ data: dataSH,
341
+ symbol: 'none',
342
+ itemStyle: {
343
+ color: '#B3E4A1'
344
+ },
345
+ areaStyle: {
346
+ opacity: 0.05
347
+ }
348
+ },
349
+ {
350
+ name: 'Guangzhou',
351
+ type: 'radar',
352
+ lineStyle: lineStyle,
353
+ data: dataGZ,
354
+ symbol: 'none',
355
+ itemStyle: {
356
+ color: 'rgb(238, 197, 102)'
357
+ },
358
+ areaStyle: {
359
+ opacity: 0.05
360
+ }
361
+ }
362
+ ]
363
+ };
364
+
365
+ option && myChart.setOption(option);
366
+ //悲惨世界任务关系图
367
+ //
368
+ // var ROOT_PATH = 'https://echarts.apache.org/examples';
369
+ //
370
+ // var chartDom = document.getElementById('main');
371
+ // var myChart = echarts.init(chartDom);
372
+ // var option;
373
+ //
374
+ // myChart.showLoading();
375
+ // $.getJSON(ROOT_PATH + '/data/asset/data/les-miserables.json', function (graph) {
376
+ // myChart.hideLoading();
377
+ // graph.nodes.forEach(function (node) {
378
+ // node.label = {
379
+ // show: node.symbolSize > 30
380
+ // };
381
+ // });
382
+ // option = {
383
+ // title: {
384
+ // text: 'Les Miserables',
385
+ // subtext: 'Circular layout',
386
+ // top: 'bottom',
387
+ // left: 'right'
388
+ // },
389
+ // tooltip: {},
390
+ // legend: [
391
+ // {
392
+ // data: graph.categories.map(function (a) {
393
+ // return a.name;
394
+ // })
395
+ // }
396
+ // ],
397
+ // animationDurationUpdate: 1500,
398
+ // animationEasingUpdate: 'quinticInOut',
399
+ // series: [
400
+ // {
401
+ // name: 'Les Miserables',
402
+ // type: 'graph',
403
+ // layout: 'circular',
404
+ // circular: {
405
+ // rotateLabel: true
406
+ // },
407
+ // data: graph.nodes,
408
+ // links: graph.links,
409
+ // categories: graph.categories,
410
+ // roam: true,
411
+ // label: {
412
+ // position: 'right',
413
+ // formatter: '{b}'
414
+ // },
415
+ // lineStyle: {
416
+ // color: 'source',
417
+ // curveness: 0.3
418
+ // }
419
+ // }
420
+ // ]
421
+ // };
422
+ // myChart.setOption(option);
423
+ // });
424
+ //
425
+ // option && myChart.setOption(option);
426
+ //北京公交路线
427
+ // import 'echarts/extension/bmap/bmap';
428
+ //
429
+ // var ROOT_PATH = 'https://echarts.apache.org/examples';
430
+ // var app = {};
431
+ //
432
+ // var chartDom = document.getElementById('main');
433
+ // var myChart = echarts.init(chartDom, 'dark');
434
+ // var option;
435
+ //
436
+ // $.get(ROOT_PATH + '/data/asset/data/lines-bus.json', function (data) {
437
+ // let hStep = 300 / (data.length - 1);
438
+ // let busLines = [].concat.apply(
439
+ // [],
440
+ // data.map(function (busLine, idx) {
441
+ // let prevPt = [];
442
+ // let points = [];
443
+ // for (let i = 0; i < busLine.length; i += 2) {
444
+ // let pt = [busLine[i], busLine[i + 1]];
445
+ // if (i > 0) {
446
+ // pt = [prevPt[0] + pt[0], prevPt[1] + pt[1]];
447
+ // }
448
+ // prevPt = pt;
449
+ // points.push([pt[0] / 1e4, pt[1] / 1e4]);
450
+ // }
451
+ // return {
452
+ // coords: points,
453
+ // lineStyle: {
454
+ // normal: {
455
+ // color: echarts.color.modifyHSL('#5A94DF', Math.round(hStep * idx))
456
+ // }
457
+ // }
458
+ // };
459
+ // })
460
+ // );
461
+ // myChart.setOption(
462
+ // (option = {
463
+ // bmap: {
464
+ // center: [116.46, 39.92],
465
+ // zoom: 10,
466
+ // roam: true,
467
+ // mapStyle: {
468
+ // styleJson: [
469
+ // {
470
+ // featureType: 'water',
471
+ // elementType: 'all',
472
+ // stylers: {
473
+ // color: '#031628'
474
+ // }
475
+ // },
476
+ // {
477
+ // featureType: 'land',
478
+ // elementType: 'geometry',
479
+ // stylers: {
480
+ // color: '#000102'
481
+ // }
482
+ // },
483
+ // {
484
+ // featureType: 'highway',
485
+ // elementType: 'all',
486
+ // stylers: {
487
+ // visibility: 'off'
488
+ // }
489
+ // },
490
+ // {
491
+ // featureType: 'arterial',
492
+ // elementType: 'geometry.fill',
493
+ // stylers: {
494
+ // color: '#000000'
495
+ // }
496
+ // },
497
+ // {
498
+ // featureType: 'arterial',
499
+ // elementType: 'geometry.stroke',
500
+ // stylers: {
501
+ // color: '#0b3d51'
502
+ // }
503
+ // },
504
+ // {
505
+ // featureType: 'local',
506
+ // elementType: 'geometry',
507
+ // stylers: {
508
+ // color: '#000000'
509
+ // }
510
+ // },
511
+ // {
512
+ // featureType: 'railway',
513
+ // elementType: 'geometry.fill',
514
+ // stylers: {
515
+ // color: '#000000'
516
+ // }
517
+ // },
518
+ // {
519
+ // featureType: 'railway',
520
+ // elementType: 'geometry.stroke',
521
+ // stylers: {
522
+ // color: '#08304b'
523
+ // }
524
+ // },
525
+ // {
526
+ // featureType: 'subway',
527
+ // elementType: 'geometry',
528
+ // stylers: {
529
+ // lightness: -70
530
+ // }
531
+ // },
532
+ // {
533
+ // featureType: 'building',
534
+ // elementType: 'geometry.fill',
535
+ // stylers: {
536
+ // color: '#000000'
537
+ // }
538
+ // },
539
+ // {
540
+ // featureType: 'all',
541
+ // elementType: 'labels.text.fill',
542
+ // stylers: {
543
+ // color: '#857f7f'
544
+ // }
545
+ // },
546
+ // {
547
+ // featureType: 'all',
548
+ // elementType: 'labels.text.stroke',
549
+ // stylers: {
550
+ // color: '#000000'
551
+ // }
552
+ // },
553
+ // {
554
+ // featureType: 'building',
555
+ // elementType: 'geometry',
556
+ // stylers: {
557
+ // color: '#022338'
558
+ // }
559
+ // },
560
+ // {
561
+ // featureType: 'green',
562
+ // elementType: 'geometry',
563
+ // stylers: {
564
+ // color: '#062032'
565
+ // }
566
+ // },
567
+ // {
568
+ // featureType: 'boundary',
569
+ // elementType: 'all',
570
+ // stylers: {
571
+ // color: '#465b6c'
572
+ // }
573
+ // },
574
+ // {
575
+ // featureType: 'manmade',
576
+ // elementType: 'all',
577
+ // stylers: {
578
+ // color: '#022338'
579
+ // }
580
+ // },
581
+ // {
582
+ // featureType: 'label',
583
+ // elementType: 'all',
584
+ // stylers: {
585
+ // visibility: 'off'
586
+ // }
587
+ // }
588
+ // ]
589
+ // }
590
+ // },
591
+ // series: [
592
+ // {
593
+ // type: 'lines',
594
+ // coordinateSystem: 'bmap',
595
+ // polyline: true,
596
+ // data: busLines,
597
+ // silent: true,
598
+ // lineStyle: {
599
+ // // color: '#c23531',
600
+ // // color: 'rgb(200, 35, 45)',
601
+ // opacity: 0.2,
602
+ // width: 1
603
+ // },
604
+ // progressiveThreshold: 500,
605
+ // progressive: 200
606
+ // },
607
+ // {
608
+ // type: 'lines',
609
+ // coordinateSystem: 'bmap',
610
+ // polyline: true,
611
+ // data: busLines,
612
+ // lineStyle: {
613
+ // width: 0
614
+ // },
615
+ // effect: {
616
+ // constantSpeed: 20,
617
+ // show: true,
618
+ // trailLength: 0.1,
619
+ // symbolSize: 1.5
620
+ // },
621
+ // zlevel: 1
622
+ // }
623
+ // ]
624
+ // })
625
+ // );
626
+ // });
627
+ //
628
+ // option && myChart.setOption(option);
629
+
630
+ //AQI分布平行坐标
631
+ //
632
+ // var chartDom = document.getElementById('main');
633
+ // var myChart = echarts.init(chartDom);
634
+ // var option;
635
+ //
636
+ // // Schema:
637
+ // // date,AQIindex,PM2.5,PM10,CO,NO2,SO2
638
+ // const dataBJ = [
639
+ // [1, 55, 9, 56, 0.46, 18, 6, '良'],
640
+ // [2, 25, 11, 21, 0.65, 34, 9, '优'],
641
+ // [3, 56, 7, 63, 0.3, 14, 5, '良'],
642
+ // [4, 33, 7, 29, 0.33, 16, 6, '优'],
643
+ // [5, 42, 24, 44, 0.76, 40, 16, '优'],
644
+ // [6, 82, 58, 90, 1.77, 68, 33, '良'],
645
+ // [7, 74, 49, 77, 1.46, 48, 27, '良'],
646
+ // [8, 78, 55, 80, 1.29, 59, 29, '良'],
647
+ // [9, 267, 216, 280, 4.8, 108, 64, '重度污染'],
648
+ // [10, 185, 127, 216, 2.52, 61, 27, '中度污染'],
649
+ // [11, 39, 19, 38, 0.57, 31, 15, '优'],
650
+ // [12, 41, 11, 40, 0.43, 21, 7, '优'],
651
+ // [13, 64, 38, 74, 1.04, 46, 22, '良'],
652
+ // [14, 108, 79, 120, 1.7, 75, 41, '轻度污染'],
653
+ // [15, 108, 63, 116, 1.48, 44, 26, '轻度污染'],
654
+ // [16, 33, 6, 29, 0.34, 13, 5, '优'],
655
+ // [17, 94, 66, 110, 1.54, 62, 31, '良'],
656
+ // [18, 186, 142, 192, 3.88, 93, 79, '中度污染'],
657
+ // [19, 57, 31, 54, 0.96, 32, 14, '良'],
658
+ // [20, 22, 8, 17, 0.48, 23, 10, '优'],
659
+ // [21, 39, 15, 36, 0.61, 29, 13, '优'],
660
+ // [22, 94, 69, 114, 2.08, 73, 39, '良'],
661
+ // [23, 99, 73, 110, 2.43, 76, 48, '良'],
662
+ // [24, 31, 12, 30, 0.5, 32, 16, '优'],
663
+ // [25, 42, 27, 43, 1, 53, 22, '优'],
664
+ // [26, 154, 117, 157, 3.05, 92, 58, '中度污染'],
665
+ // [27, 234, 185, 230, 4.09, 123, 69, '重度污染'],
666
+ // [28, 160, 120, 186, 2.77, 91, 50, '中度污染'],
667
+ // [29, 134, 96, 165, 2.76, 83, 41, '轻度污染'],
668
+ // [30, 52, 24, 60, 1.03, 50, 21, '良'],
669
+ // [31, 46, 5, 49, 0.28, 10, 6, '优']
670
+ // ];
671
+ // var dataGZ = [
672
+ // [1, 26, 37, 27, 1.163, 27, 13, '优'],
673
+ // [2, 85, 62, 71, 1.195, 60, 8, '良'],
674
+ // [3, 78, 38, 74, 1.363, 37, 7, '良'],
675
+ // [4, 21, 21, 36, 0.634, 40, 9, '优'],
676
+ // [5, 41, 42, 46, 0.915, 81, 13, '优'],
677
+ // [6, 56, 52, 69, 1.067, 92, 16, '良'],
678
+ // [7, 64, 30, 28, 0.924, 51, 2, '良'],
679
+ // [8, 55, 48, 74, 1.236, 75, 26, '良'],
680
+ // [9, 76, 85, 113, 1.237, 114, 27, '良'],
681
+ // [10, 91, 81, 104, 1.041, 56, 40, '良'],
682
+ // [11, 84, 39, 60, 0.964, 25, 11, '良'],
683
+ // [12, 64, 51, 101, 0.862, 58, 23, '良'],
684
+ // [13, 70, 69, 120, 1.198, 65, 36, '良'],
685
+ // [14, 77, 105, 178, 2.549, 64, 16, '良'],
686
+ // [15, 109, 68, 87, 0.996, 74, 29, '轻度污染'],
687
+ // [16, 73, 68, 97, 0.905, 51, 34, '良'],
688
+ // [17, 54, 27, 47, 0.592, 53, 12, '良'],
689
+ // [18, 51, 61, 97, 0.811, 65, 19, '良'],
690
+ // [19, 91, 71, 121, 1.374, 43, 18, '良'],
691
+ // [20, 73, 102, 182, 2.787, 44, 19, '良'],
692
+ // [21, 73, 50, 76, 0.717, 31, 20, '良'],
693
+ // [22, 84, 94, 140, 2.238, 68, 18, '良'],
694
+ // [23, 93, 77, 104, 1.165, 53, 7, '良'],
695
+ // [24, 99, 130, 227, 3.97, 55, 15, '良'],
696
+ // [25, 146, 84, 139, 1.094, 40, 17, '轻度污染'],
697
+ // [26, 113, 108, 137, 1.481, 48, 15, '轻度污染'],
698
+ // [27, 81, 48, 62, 1.619, 26, 3, '良'],
699
+ // [28, 56, 48, 68, 1.336, 37, 9, '良'],
700
+ // [29, 82, 92, 174, 3.29, 0, 13, '良'],
701
+ // [30, 106, 116, 188, 3.628, 101, 16, '轻度污染'],
702
+ // [31, 118, 50, 0, 1.383, 76, 11, '轻度污染']
703
+ // ];
704
+ // var dataSH = [
705
+ // [1, 91, 45, 125, 0.82, 34, 23, '良'],
706
+ // [2, 65, 27, 78, 0.86, 45, 29, '良'],
707
+ // [3, 83, 60, 84, 1.09, 73, 27, '良'],
708
+ // [4, 109, 81, 121, 1.28, 68, 51, '轻度污染'],
709
+ // [5, 106, 77, 114, 1.07, 55, 51, '轻度污染'],
710
+ // [6, 109, 81, 121, 1.28, 68, 51, '轻度污染'],
711
+ // [7, 106, 77, 114, 1.07, 55, 51, '轻度污染'],
712
+ // [8, 89, 65, 78, 0.86, 51, 26, '良'],
713
+ // [9, 53, 33, 47, 0.64, 50, 17, '良'],
714
+ // [10, 80, 55, 80, 1.01, 75, 24, '良'],
715
+ // [11, 117, 81, 124, 1.03, 45, 24, '轻度污染'],
716
+ // [12, 99, 71, 142, 1.1, 62, 42, '良'],
717
+ // [13, 95, 69, 130, 1.28, 74, 50, '良'],
718
+ // [14, 116, 87, 131, 1.47, 84, 40, '轻度污染'],
719
+ // [15, 108, 80, 121, 1.3, 85, 37, '轻度污染'],
720
+ // [16, 134, 83, 167, 1.16, 57, 43, '轻度污染'],
721
+ // [17, 79, 43, 107, 1.05, 59, 37, '良'],
722
+ // [18, 71, 46, 89, 0.86, 64, 25, '良'],
723
+ // [19, 97, 71, 113, 1.17, 88, 31, '良'],
724
+ // [20, 84, 57, 91, 0.85, 55, 31, '良'],
725
+ // [21, 87, 63, 101, 0.9, 56, 41, '良'],
726
+ // [22, 104, 77, 119, 1.09, 73, 48, '轻度污染'],
727
+ // [23, 87, 62, 100, 1, 72, 28, '良'],
728
+ // [24, 168, 128, 172, 1.49, 97, 56, '中度污染'],
729
+ // [25, 65, 45, 51, 0.74, 39, 17, '良'],
730
+ // [26, 39, 24, 38, 0.61, 47, 17, '优'],
731
+ // [27, 39, 24, 39, 0.59, 50, 19, '优'],
732
+ // [28, 93, 68, 96, 1.05, 79, 29, '良'],
733
+ // [29, 188, 143, 197, 1.66, 99, 51, '中度污染'],
734
+ // [30, 174, 131, 174, 1.55, 108, 50, '中度污染'],
735
+ // [31, 187, 143, 201, 1.39, 89, 53, '中度污染']
736
+ // ];
737
+ // var schema = [
738
+ // { name: 'date', index: 0, text: '日期' },
739
+ // { name: 'AQIindex', index: 1, text: 'AQI' },
740
+ // { name: 'PM25', index: 2, text: 'PM2.5' },
741
+ // { name: 'PM10', index: 3, text: 'PM10' },
742
+ // { name: 'CO', index: 4, text: ' CO' },
743
+ // { name: 'NO2', index: 5, text: 'NO2' },
744
+ // { name: 'SO2', index: 6, text: 'SO2' },
745
+ // { name: '等级', index: 7, text: '等级' }
746
+ // ];
747
+ // var lineStyle = {
748
+ // width: 1,
749
+ // opacity: 0.5
750
+ // };
751
+ // option = {
752
+ // backgroundColor: '#333',
753
+ // legend: {
754
+ // bottom: 30,
755
+ // data: ['Beijing', 'Shanghai', 'Guangzhou'],
756
+ // itemGap: 20,
757
+ // textStyle: {
758
+ // color: '#fff',
759
+ // fontSize: 14
760
+ // }
761
+ // },
762
+ // tooltip: {
763
+ // padding: 10,
764
+ // backgroundColor: '#222',
765
+ // borderColor: '#777',
766
+ // borderWidth: 1
767
+ // },
768
+ // parallelAxis: [
769
+ // {
770
+ // dim: 0,
771
+ // name: schema[0].text,
772
+ // inverse: true,
773
+ // max: 31,
774
+ // nameLocation: 'start'
775
+ // },
776
+ // { dim: 1, name: schema[1].text },
777
+ // { dim: 2, name: schema[2].text },
778
+ // { dim: 3, name: schema[3].text },
779
+ // { dim: 4, name: schema[4].text },
780
+ // { dim: 5, name: schema[5].text },
781
+ // { dim: 6, name: schema[6].text },
782
+ // {
783
+ // dim: 7,
784
+ // name: schema[7].text,
785
+ // type: 'category',
786
+ // data: ['优', '良', '轻度污染', '中度污染', '重度污染', '严重污染']
787
+ // }
788
+ // ],
789
+ // visualMap: {
790
+ // show: true,
791
+ // min: 0,
792
+ // max: 150,
793
+ // dimension: 2,
794
+ // inRange: {
795
+ // color: ['#d94e5d', '#eac736', '#50a3ba'].reverse()
796
+ // // colorAlpha: [0, 1]
797
+ // }
798
+ // },
799
+ // parallel: {
800
+ // left: '5%',
801
+ // right: '18%',
802
+ // bottom: 100,
803
+ // parallelAxisDefault: {
804
+ // type: 'value',
805
+ // name: 'AQI指数',
806
+ // nameLocation: 'end',
807
+ // nameGap: 20,
808
+ // nameTextStyle: {
809
+ // color: '#fff',
810
+ // fontSize: 12
811
+ // },
812
+ // axisLine: {
813
+ // lineStyle: {
814
+ // color: '#aaa'
815
+ // }
816
+ // },
817
+ // axisTick: {
818
+ // lineStyle: {
819
+ // color: '#777'
820
+ // }
821
+ // },
822
+ // splitLine: {
823
+ // show: false
824
+ // },
825
+ // axisLabel: {
826
+ // color: '#fff'
827
+ // }
828
+ // }
829
+ // },
830
+ // series: [
831
+ // {
832
+ // name: 'Beijing',
833
+ // type: 'parallel',
834
+ // lineStyle: lineStyle,
835
+ // data: dataBJ
836
+ // },
837
+ // {
838
+ // name: 'Shanghai',
839
+ // type: 'parallel',
840
+ // lineStyle: lineStyle,
841
+ // data: dataSH
842
+ // },
843
+ // {
844
+ // name: 'Guangzhou',
845
+ // type: 'parallel',
846
+ // lineStyle: lineStyle,
847
+ // data: dataGZ
848
+ // }
849
+ // ]
850
+ // };
851
+ //
852
+ // option && myChart.setOption(option);
853
+ // //
854
+ //
855
+
856
+ },
857
+ }
858
+ </script>
859
+ <style>
860
+ .cla{
861
+ }
862
+ </style>