|
|
@@ -262,21 +262,21 @@
|
|
262
|
262
|
bieopts: {
|
|
263
|
263
|
rotate: false,
|
|
264
|
264
|
rotateLock: false,
|
|
265
|
|
- color: ["#1890FF", "#91CB74", "#FAC858", "#EE6666", "#73C0DE", "#3CA272", "#FC8452", "#9A60B4",
|
|
266
|
|
- "#ea7ccc", "#aaaa7f", "#00aaff", "#ff5500"
|
|
|
265
|
+ color: ["#1890FF", "#91CB74", "#FAC858", "#EE6666", "#73C0DE", "#3CA272", "#FC8452", "#ff007f",
|
|
|
266
|
+ "#ea7ccc", "#aa557f", "#aaaa00", "#ff5500"
|
|
267
|
267
|
],
|
|
268
|
268
|
padding: [5, 5, 5, 5],
|
|
269
|
269
|
dataLabel: true,
|
|
270
|
270
|
enableScroll: false,
|
|
271
|
271
|
legend: {
|
|
272
|
272
|
show: true,
|
|
273
|
|
- position: "top",
|
|
|
273
|
+ position: "right",
|
|
274
|
274
|
lineHeight: 20,
|
|
275
|
275
|
fontSize: 12
|
|
276
|
276
|
},
|
|
277
|
277
|
title: {
|
|
278
|
278
|
name: "报工类型",
|
|
279
|
|
- fontSize: 12,
|
|
|
279
|
+ fontSize: 14,
|
|
280
|
280
|
color: "#3f3f3f"
|
|
281
|
281
|
},
|
|
282
|
282
|
subtitle: {
|
|
|
@@ -290,9 +290,9 @@
|
|
290
|
290
|
activeOpacity: 0.5,
|
|
291
|
291
|
activeRadius: 5,
|
|
292
|
292
|
offsetAngle: 0,
|
|
293
|
|
- labelWidth: 2,
|
|
|
293
|
+ labelWidth: 10,
|
|
294
|
294
|
border: false,
|
|
295
|
|
- borderWidth: 3,
|
|
|
295
|
+ borderWidth: 2,
|
|
296
|
296
|
borderColor: "#FFFFFF",
|
|
297
|
297
|
centerColor: "#d6ebff"
|
|
298
|
298
|
}
|
|
|
@@ -480,17 +480,17 @@
|
|
480
|
480
|
var data = []
|
|
481
|
481
|
var othercon = 0
|
|
482
|
482
|
for (var i = 0; i < response.data.dt.length; i++) {
|
|
483
|
|
- if (i <= 11) {
|
|
|
483
|
+ if (i < 11) {
|
|
484
|
484
|
data.push(response.data.dt[i])
|
|
485
|
485
|
}
|
|
486
|
486
|
if (i > 11) {
|
|
487
|
487
|
othercon += Number(response.data.dt[i].value)
|
|
488
|
|
- data.push({
|
|
489
|
|
- name: "其他",
|
|
490
|
|
- value: othercon
|
|
491
|
|
- })
|
|
492
|
488
|
}
|
|
493
|
|
- }
|
|
|
489
|
+ }
|
|
|
490
|
+ data.push({
|
|
|
491
|
+ name: "其他",
|
|
|
492
|
+ value: othercon
|
|
|
493
|
+ })
|
|
494
|
494
|
var res = {
|
|
495
|
495
|
series: [{
|
|
496
|
496
|
data: data
|
|
|
@@ -993,7 +993,7 @@
|
|
993
|
993
|
.bieechart {
|
|
994
|
994
|
margin-top: 0px;
|
|
995
|
995
|
width: 100%;
|
|
996
|
|
- height: 600rpx;
|
|
|
996
|
+ height: 650rpx;
|
|
997
|
997
|
}
|
|
998
|
998
|
|
|
999
|
999
|
#echartbox {
|