From 01f62968de39cacddaed903bb936cc5163573fc4 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Fri, 23 Dec 2022 14:51:37 +0800
Subject: [PATCH] 更改列表显示
---
src/views/doublePreventAction/hiddenDanger/inspectionStatistics/components/todayUnusual/index.vue | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/views/doublePreventAction/hiddenDanger/inspectionStatistics/components/todayUnusual/index.vue b/src/views/doublePreventAction/hiddenDanger/inspectionStatistics/components/todayUnusual/index.vue
index 77f7d80..5422a71 100644
--- a/src/views/doublePreventAction/hiddenDanger/inspectionStatistics/components/todayUnusual/index.vue
+++ b/src/views/doublePreventAction/hiddenDanger/inspectionStatistics/components/todayUnusual/index.vue
@@ -19,10 +19,8 @@
},
methods:{
async updateData(val) {
- debugger
let res = await getInspectTask(val)
if(res.data.code === '200'){
- debugger
this.claimedData = res.data.data.claimed.map(item =>{
return item.num
})
@@ -52,7 +50,7 @@
legend: {
left: 'center',
top: '5%',
- data:['任务数量','已完成','未完成']
+ data:['当日认领数量','当日完成数量','累计领取未完成数量']
},
xAxis: {
type: 'category',
@@ -66,7 +64,7 @@
{
data: this.claimedData,
type: 'bar',
- name:'任务数量',
+ name:'当日认领数量',
showBackground: true,
backgroundStyle: {
color: '#91cc75'
@@ -75,7 +73,7 @@
{
data: this.completedData,
type: 'bar',
- name:'已完成',
+ name:'当日完成数量',
showBackground: true,
backgroundStyle: {
color: '#fac858'
@@ -84,7 +82,7 @@
{
data: this.uncompletedData,
type: 'bar',
- name:'未完成',
+ name:'累计领取未完成数量',
showBackground: true,
backgroundStyle: {
color: '#ee6666'
--
Gitblit v1.9.2