|
|
@ -66,6 +66,7 @@ export default { |
|
|
|
for (let i = 0; i < data.length; i++) { |
|
|
|
let it = data[i]; |
|
|
|
if (it.warningState == 1) { |
|
|
|
// it.number = 86; |
|
|
|
echartsData.push({ |
|
|
|
name: "上报", |
|
|
|
value: it.number |
|
|
@ -141,10 +142,10 @@ export default { |
|
|
|
context.lineWidth = 1; // 设置线段宽度 |
|
|
|
|
|
|
|
// 绘制圆角矩形 |
|
|
|
drawRoundRect(context, 242, 36, 180, 24, 12, gr) |
|
|
|
drawRoundRect(context, 242, 63, 180, 24, 12, gr) |
|
|
|
drawRoundRect(context, 242, 90, 180, 24, 12, gr) |
|
|
|
drawRoundRect(context, 242, 117, 180, 24, 12, gr) |
|
|
|
drawRoundRect(context, 230, 36, 180, 24, 12, gr) |
|
|
|
drawRoundRect(context, 230, 63, 180, 24, 12, gr) |
|
|
|
drawRoundRect(context, 230, 90, 180, 24, 12, gr) |
|
|
|
drawRoundRect(context, 230, 117, 180, 24, 12, gr) |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|