|
@ -3,7 +3,7 @@ |
|
|
* @email: 18603454788@163.com |
|
|
* @email: 18603454788@163.com |
|
|
* @Date: 2021-01-29 14:45:02 |
|
|
* @Date: 2021-01-29 14:45:02 |
|
|
* @LastEditors: wally |
|
|
* @LastEditors: wally |
|
|
* @LastEditTime: 2021-05-14 09:46:26 |
|
|
* @LastEditTime: 2021-05-20 18:48:35 |
|
|
--> |
|
|
--> |
|
|
<template> |
|
|
<template> |
|
|
<!-- <div>数据统计组件</div> --> |
|
|
<!-- <div>数据统计组件</div> --> |
|
@ -55,10 +55,7 @@ export default { |
|
|
// 绘制图表 |
|
|
// 绘制图表 |
|
|
await this.getData(); |
|
|
await this.getData(); |
|
|
var option = { |
|
|
var option = { |
|
|
legend: { |
|
|
legend: { data: ['新建', '数据收集按时完成', '数据收集中', '废弃', '数据收集超时'] }, |
|
|
data: ['新建', '数据收集按时完成', '数据收集中', '废弃', '数据收集超时'], |
|
|
|
|
|
top: 30, |
|
|
|
|
|
}, |
|
|
|
|
|
xAxis: [ |
|
|
xAxis: [ |
|
|
{ |
|
|
{ |
|
|
type: 'category', |
|
|
type: 'category', |
|
|