|
|
@@ -1,84 +1,247 @@
|
|
1
|
|
-
|
|
2
|
1
|
//part 1 //投诉类别月统计 对接完毕
|
|
3
|
|
-var part_1 = echarts.init(document.getElementById('part_1'));
|
|
4
|
|
-part_1.setOption({
|
|
5
|
|
- title: {
|
|
6
|
|
- text: ''
|
|
7
|
|
- },
|
|
8
|
|
- tooltip: {
|
|
9
|
|
- trigger: 'axis'
|
|
10
|
|
- },
|
|
11
|
|
- legend: {
|
|
12
|
|
- x: 'center',
|
|
13
|
|
- data:['']
|
|
14
|
|
- },
|
|
15
|
|
- textStyle: {
|
|
16
|
|
- fontSize: 36
|
|
17
|
|
- },
|
|
18
|
|
- radar: [
|
|
19
|
|
- {
|
|
20
|
|
- indicator: [
|
|
21
|
|
- {text: '咨询',max: 99999},
|
|
22
|
|
- {text: '投诉',max: 99999},
|
|
23
|
|
- {text: '求助',max: 99999},
|
|
24
|
|
- {text: '表扬',max: 99999},
|
|
25
|
|
- {text: '建议',max: 99999},
|
|
26
|
|
- {text: '其它',max: 99999}
|
|
27
|
|
- ],
|
|
28
|
|
- splitArea: {
|
|
29
|
|
- areaStyle: {
|
|
30
|
|
- color: ['rgba(114, 172, 209, 0.1)',
|
|
31
|
|
- 'rgba(114, 172, 209, 0.2)', 'rgba(114, 172, 209, 0.3)',
|
|
32
|
|
- 'rgba(114, 172, 209, 0.4)', 'rgba(114, 172, 209, 0.5)',
|
|
33
|
|
- 'rgba(114, 172, 209, 0.6)'],
|
|
34
|
|
- shadowColor: 'rgba(0, 0, 0, 0.3)',
|
|
35
|
|
- shadowBlur: 10
|
|
36
|
|
- }
|
|
37
|
|
- },
|
|
38
|
|
- center: ['50%','50%'],
|
|
39
|
|
- radius: 300
|
|
40
|
|
- }
|
|
41
|
|
- ],
|
|
42
|
|
- series: [
|
|
43
|
|
- {
|
|
44
|
|
- type: 'radar',
|
|
45
|
|
- tooltip: {
|
|
46
|
|
- trigger: 'item'
|
|
47
|
|
- },
|
|
48
|
|
- itemStyle: {normal: {areaStyle: {type: 'default'}}},
|
|
49
|
|
- data: [
|
|
50
|
|
- {
|
|
51
|
|
- value: [65926,8611,428,1532,1776,736],
|
|
52
|
|
- name: '业务类型',
|
|
53
|
|
- areaStyle: {
|
|
54
|
|
- normal: {
|
|
55
|
|
- color: 'rgba(255, 255, 255, 0.0)'
|
|
56
|
|
- }
|
|
57
|
|
- }
|
|
58
|
|
- }
|
|
59
|
|
- ]
|
|
60
|
|
- }
|
|
61
|
|
- ]
|
|
62
|
|
-});
|
|
63
|
2
|
|
|
64
|
|
-//function partTwo() {
|
|
65
|
|
-// part_1.setOption({
|
|
66
|
|
-// series: {
|
|
67
|
|
-// data:{
|
|
68
|
|
-// value: [80,80,80,80,80,80],
|
|
69
|
|
-// name: '某软件',
|
|
70
|
|
-// areaStyle: {
|
|
71
|
|
-// normal: {
|
|
72
|
|
-// color: 'rgba(255, 214, 103, 0.0)'
|
|
73
|
|
-// }
|
|
74
|
|
-// }
|
|
75
|
|
-// }
|
|
76
|
|
-// }
|
|
77
|
|
-// });
|
|
78
|
|
-//}
|
|
|
3
|
+part_2();
|
|
|
4
|
+//
|
|
|
5
|
+function part_1() {
|
|
|
6
|
+ var part_1 = echarts.init(document.getElementById('part_1'));
|
|
|
7
|
+ part_1.setOption({
|
|
|
8
|
+ title: {
|
|
|
9
|
+ text: ''
|
|
|
10
|
+ },
|
|
|
11
|
+ tooltip: {
|
|
|
12
|
+ trigger: 'axis'
|
|
|
13
|
+ },
|
|
|
14
|
+ legend: {
|
|
|
15
|
+ x: 'center',
|
|
|
16
|
+ data: ['']
|
|
|
17
|
+ },
|
|
|
18
|
+ textStyle: {
|
|
|
19
|
+ fontSize: 36
|
|
|
20
|
+ },
|
|
|
21
|
+ radar: [{
|
|
|
22
|
+ indicator: [{
|
|
|
23
|
+ text: '咨询',
|
|
|
24
|
+ max: 9999
|
|
|
25
|
+ },
|
|
|
26
|
+ {
|
|
|
27
|
+ text: '投诉',
|
|
|
28
|
+ max: 9999
|
|
|
29
|
+ },
|
|
|
30
|
+ {
|
|
|
31
|
+ text: '求助',
|
|
|
32
|
+ max: 9999
|
|
|
33
|
+ },
|
|
|
34
|
+ {
|
|
|
35
|
+ text: '表扬',
|
|
|
36
|
+ max: 9999
|
|
|
37
|
+ },
|
|
|
38
|
+ {
|
|
|
39
|
+ text: '建议',
|
|
|
40
|
+ max: 9999
|
|
|
41
|
+ },
|
|
|
42
|
+ {
|
|
|
43
|
+ text: '其它',
|
|
|
44
|
+ max: 9999
|
|
|
45
|
+ }
|
|
|
46
|
+ ],
|
|
|
47
|
+ splitArea: {
|
|
|
48
|
+ areaStyle: {
|
|
|
49
|
+ color: ['rgba(114, 172, 209, 0.1)',
|
|
|
50
|
+ 'rgba(114, 172, 209, 0.2)', 'rgba(114, 172, 209, 0.3)',
|
|
|
51
|
+ 'rgba(114, 172, 209, 0.4)', 'rgba(114, 172, 209, 0.5)',
|
|
|
52
|
+ 'rgba(114, 172, 209, 0.6)'
|
|
|
53
|
+ ],
|
|
|
54
|
+ shadowColor: 'rgba(0, 0, 0, 0.3)',
|
|
|
55
|
+ shadowBlur: 10
|
|
|
56
|
+ }
|
|
|
57
|
+ },
|
|
|
58
|
+ center: ['50%', '50%'],
|
|
|
59
|
+ radius: 300
|
|
|
60
|
+ }],
|
|
|
61
|
+ series: [{
|
|
|
62
|
+ type: 'radar',
|
|
|
63
|
+ tooltip: {
|
|
|
64
|
+ trigger: 'item'
|
|
|
65
|
+ },
|
|
|
66
|
+ itemStyle: {
|
|
|
67
|
+ normal: {
|
|
|
68
|
+ areaStyle: {
|
|
|
69
|
+ type: 'default'
|
|
|
70
|
+ }
|
|
|
71
|
+ }
|
|
|
72
|
+ },
|
|
|
73
|
+ data: [{
|
|
|
74
|
+ value: [2032, 604, 16, 83, 87, 25],
|
|
|
75
|
+ name: '业务类型',
|
|
|
76
|
+ areaStyle: {
|
|
|
77
|
+ normal: {
|
|
|
78
|
+ color: 'rgba(255, 255, 255, 0.0)'
|
|
|
79
|
+ }
|
|
|
80
|
+ }
|
|
|
81
|
+ }]
|
|
|
82
|
+ }]
|
|
|
83
|
+ });
|
|
|
84
|
+
|
|
|
85
|
+}
|
|
79
|
86
|
|
|
|
87
|
+function part_2() {
|
|
|
88
|
+ var part_2 = echarts.init(document.getElementById('part_2'));
|
|
|
89
|
+ part_2.setOption({
|
|
|
90
|
+ title: {
|
|
|
91
|
+ text: ''
|
|
|
92
|
+ },
|
|
|
93
|
+ tooltip: {
|
|
|
94
|
+ trigger: 'axis'
|
|
|
95
|
+ },
|
|
|
96
|
+ legend: {
|
|
|
97
|
+ x: 'center',
|
|
|
98
|
+ data: ['']
|
|
|
99
|
+ },
|
|
|
100
|
+ textStyle: {
|
|
|
101
|
+ fontSize: 36
|
|
|
102
|
+ },
|
|
|
103
|
+ radar: [{
|
|
|
104
|
+ indicator: [{
|
|
|
105
|
+ text: '咨询',
|
|
|
106
|
+ max: 99999
|
|
|
107
|
+ },
|
|
|
108
|
+ {
|
|
|
109
|
+ text: '投诉',
|
|
|
110
|
+ max: 99999
|
|
|
111
|
+ },
|
|
|
112
|
+ {
|
|
|
113
|
+ text: '求助',
|
|
|
114
|
+ max: 99999
|
|
|
115
|
+ },
|
|
|
116
|
+ {
|
|
|
117
|
+ text: '表扬',
|
|
|
118
|
+ max: 99999
|
|
|
119
|
+ },
|
|
|
120
|
+ {
|
|
|
121
|
+ text: '建议',
|
|
|
122
|
+ max: 99999
|
|
|
123
|
+ },
|
|
|
124
|
+ {
|
|
|
125
|
+ text: '其它',
|
|
|
126
|
+ max: 99999
|
|
|
127
|
+ }
|
|
|
128
|
+ ],
|
|
|
129
|
+ splitArea: {
|
|
|
130
|
+ areaStyle: {
|
|
|
131
|
+ color: ['rgba(114, 172, 209, 0.1)',
|
|
|
132
|
+ 'rgba(114, 172, 209, 0.2)', 'rgba(114, 172, 209, 0.3)',
|
|
|
133
|
+ 'rgba(114, 172, 209, 0.4)', 'rgba(114, 172, 209, 0.5)',
|
|
|
134
|
+ 'rgba(114, 172, 209, 0.6)'
|
|
|
135
|
+ ],
|
|
|
136
|
+ shadowColor: 'rgba(0, 0, 0, 0.3)',
|
|
|
137
|
+ shadowBlur: 10
|
|
|
138
|
+ }
|
|
|
139
|
+ },
|
|
|
140
|
+ center: ['50%', '50%'],
|
|
|
141
|
+ radius: 300
|
|
|
142
|
+ }],
|
|
|
143
|
+ series: [{
|
|
|
144
|
+ type: 'radar',
|
|
|
145
|
+ tooltip: {
|
|
|
146
|
+ trigger: 'item'
|
|
|
147
|
+ },
|
|
|
148
|
+ itemStyle: {
|
|
|
149
|
+ normal: {
|
|
|
150
|
+ areaStyle: {
|
|
|
151
|
+ type: 'default'
|
|
|
152
|
+ }
|
|
|
153
|
+ }
|
|
|
154
|
+ },
|
|
|
155
|
+ data: [{
|
|
|
156
|
+ value: [65926, 8611, 428, 1532, 1776, 736],
|
|
|
157
|
+ name: '业务类型',
|
|
|
158
|
+ areaStyle: {
|
|
|
159
|
+ normal: {
|
|
|
160
|
+ color: 'rgba(255, 255, 255, 0.0)'
|
|
|
161
|
+ }
|
|
|
162
|
+ }
|
|
|
163
|
+ }]
|
|
|
164
|
+ }]
|
|
|
165
|
+ });
|
|
|
166
|
+}
|
|
80
|
167
|
|
|
81
|
|
-//Ajax1();
|
|
82
|
|
-//function Ajax1() {
|
|
83
|
|
-// partTwo()
|
|
84
|
|
-//}
|
|
|
168
|
+function part_3() {
|
|
|
169
|
+ var part_3 = echarts.init(document.getElementById('part_3'));
|
|
|
170
|
+ part_3.setOption({
|
|
|
171
|
+ title: {
|
|
|
172
|
+ text: ''
|
|
|
173
|
+ },
|
|
|
174
|
+ tooltip: {
|
|
|
175
|
+ trigger: 'axis'
|
|
|
176
|
+ },
|
|
|
177
|
+ legend: {
|
|
|
178
|
+ x: 'center',
|
|
|
179
|
+ data: ['']
|
|
|
180
|
+ },
|
|
|
181
|
+ textStyle: {
|
|
|
182
|
+ fontSize: 36
|
|
|
183
|
+ },
|
|
|
184
|
+ radar: [{
|
|
|
185
|
+ indicator: [{
|
|
|
186
|
+ text: '咨询',
|
|
|
187
|
+ max: 999999
|
|
|
188
|
+ },
|
|
|
189
|
+ {
|
|
|
190
|
+ text: '投诉',
|
|
|
191
|
+ max: 999999
|
|
|
192
|
+ },
|
|
|
193
|
+ {
|
|
|
194
|
+ text: '求助',
|
|
|
195
|
+ max: 999999
|
|
|
196
|
+ },
|
|
|
197
|
+ {
|
|
|
198
|
+ text: '表扬',
|
|
|
199
|
+ max: 999999
|
|
|
200
|
+ },
|
|
|
201
|
+ {
|
|
|
202
|
+ text: '建议',
|
|
|
203
|
+ max: 999999
|
|
|
204
|
+ },
|
|
|
205
|
+ {
|
|
|
206
|
+ text: '其它',
|
|
|
207
|
+ max: 999999
|
|
|
208
|
+ }
|
|
|
209
|
+ ],
|
|
|
210
|
+ splitArea: {
|
|
|
211
|
+ areaStyle: {
|
|
|
212
|
+ color: ['rgba(114, 172, 209, 0.1)',
|
|
|
213
|
+ 'rgba(114, 172, 209, 0.2)', 'rgba(114, 172, 209, 0.3)',
|
|
|
214
|
+ 'rgba(114, 172, 209, 0.4)', 'rgba(114, 172, 209, 0.5)',
|
|
|
215
|
+ 'rgba(114, 172, 209, 0.6)'
|
|
|
216
|
+ ],
|
|
|
217
|
+ shadowColor: 'rgba(0, 0, 0, 0.3)',
|
|
|
218
|
+ shadowBlur: 10
|
|
|
219
|
+ }
|
|
|
220
|
+ },
|
|
|
221
|
+ center: ['50%', '50%'],
|
|
|
222
|
+ radius: 300
|
|
|
223
|
+ }],
|
|
|
224
|
+ series: [{
|
|
|
225
|
+ type: 'radar',
|
|
|
226
|
+ tooltip: {
|
|
|
227
|
+ trigger: 'item'
|
|
|
228
|
+ },
|
|
|
229
|
+ itemStyle: {
|
|
|
230
|
+ normal: {
|
|
|
231
|
+ areaStyle: {
|
|
|
232
|
+ type: 'default'
|
|
|
233
|
+ }
|
|
|
234
|
+ }
|
|
|
235
|
+ },
|
|
|
236
|
+ data: [{
|
|
|
237
|
+ value: [725186, 94721, 931, 16852, 27236, 5632],
|
|
|
238
|
+ name: '业务类型',
|
|
|
239
|
+ areaStyle: {
|
|
|
240
|
+ normal: {
|
|
|
241
|
+ color: 'rgba(255, 255, 255, 0.0)'
|
|
|
242
|
+ }
|
|
|
243
|
+ }
|
|
|
244
|
+ }]
|
|
|
245
|
+ }]
|
|
|
246
|
+ });
|
|
|
247
|
+}
|