From 771e0da9c6082c78a28f5286f89f4f36b05689d3 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Tue, 27 Dec 2022 14:31:45 +0800
Subject: [PATCH] 默认更改列表
---
src/views/doubleIndex/saftyScreen/components/screen.vue | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/src/views/doubleIndex/saftyScreen/components/screen.vue b/src/views/doubleIndex/saftyScreen/components/screen.vue
index d2440ba..1b881c6 100644
--- a/src/views/doubleIndex/saftyScreen/components/screen.vue
+++ b/src/views/doubleIndex/saftyScreen/components/screen.vue
@@ -311,9 +311,11 @@
this.$router.push({
path:"/fullScreen"
})
+ this.$parent.clickFullscreen()
},
back(){
window.history.go(-1);
+ this.$parent.clickFullscreen()
},
// 获取部门列表
@@ -516,14 +518,14 @@
await this.initRiskLevel()
},
changeInspectionTask() {
- this.updateMission(this.personListQuery)
+ this.updateMission(this.taskListQuery)
},
changeTimeTask(){
if(this.value3 !== null){
- this.taskListQuery.startTime = this.value1[0]
- this.taskListQuery.endTime = this.value1[1]
+ this.taskListQuery.startTime = this.value3[0]
+ this.taskListQuery.endTime = this.value3[1]
}
- this.updateMission(this.personListQuery)
+ this.updateMission(this.taskListQuery)
},
// 各部门预约
@@ -725,8 +727,7 @@
if (option && typeof option === 'object') {
myChart.setOption(option);
- t.myVar = setInterval(function(){
- console.log('tik')
+ t.myVar = window.setInterval(function(){
if (option.dataZoom[0].endValue == t.depList.length ) {
option.dataZoom[0].endValue = 6;
option.dataZoom[0].startValue = 0;
@@ -885,7 +886,7 @@
},
series: [
{
- name: '任务数量',
+ name: '当日认领数量',
type: 'bar',
data: this.claimedData,
itemStyle:{
@@ -893,7 +894,7 @@
}
},
{
- name: '已完成',
+ name: '当日完成数量',
type: 'bar',
data: this.completedData,
itemStyle:{
@@ -901,7 +902,7 @@
}
},
{
- name: '未完成',
+ name: '累计领取未完成数量',
type: 'bar',
data: this.uncompletedData,
itemStyle:{
--
Gitblit v1.9.2