From 42faf991054ee90e823f8b48897aeef0a332cc5c Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期三, 11 五月 2022 14:53:54 +0800
Subject: [PATCH] lct
---
src/views/doublePreventAction/hiddenDanger/inspectionStatistics/components/inspectionPerson/index.vue | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/views/doublePreventAction/hiddenDanger/inspectionStatistics/components/inspectionPerson/index.vue b/src/views/doublePreventAction/hiddenDanger/inspectionStatistics/components/inspectionPerson/index.vue
index ab48306..ab266c5 100644
--- a/src/views/doublePreventAction/hiddenDanger/inspectionStatistics/components/inspectionPerson/index.vue
+++ b/src/views/doublePreventAction/hiddenDanger/inspectionStatistics/components/inspectionPerson/index.vue
@@ -17,6 +17,14 @@
this.drawLine()
},
methods:{
+ // setCount(val){
+ // this.numData = val.map(item =>{
+ // return item.num
+ // })
+ // this.timeData = val.map(item =>{
+ // return item.errorTaskIdList
+ // })
+ // },
async drawLine(){
this.myChart = this.$echarts.init(document.getElementById('inspectionPerson'))
this.myChart.setOption({
@@ -30,7 +38,7 @@
color:'#fac858',
xAxis: {
type: 'category',
- data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
+ data: ['2022-4-1', '2022-4-2', '2022-4-4', '2022-4-4', '2022-4-5', '2022-4-6', '2022-4-7']
},
yAxis: {
type: 'value'
--
Gitblit v1.9.2