From 1b9bfe128f64c55f90071244967160ece0d89d00 Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Tue, 17 Aug 2021 14:51:58 +0800 Subject: [PATCH] 按钮颜色 --- src/views/highVideo.vue | 238 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------------------------- 1 file changed, 108 insertions(+), 130 deletions(-) diff --git a/src/views/highVideo.vue b/src/views/highVideo.vue index a440070..ab33995 100644 --- a/src/views/highVideo.vue +++ b/src/views/highVideo.vue @@ -1,6 +1,6 @@ @@ -188,24 +169,17 @@ export default { currentIndex:0, list:[], time: '', - timer:'', + radio: 3, // 车辆类型 + timer:'', // 定时器 handleShow:true, centerDialogVisible: false, carnum: '', - carNumber: '京A123312', + carNumber: '', examineStateVal:'', - swiperOption: { - autoplay: 5000,//可选选项,自动滑动 - loop: true,//可选选项,开启循环 - }, - attachmentList: [ - 'https://img-blog.csdnimg.cn/img_convert/26200f8ecce45d09d4f4bc5a8f4572c5.png', - 'https://img-blog.csdnimg.cn/20190504154805438.png', - 'https://img-blog.csdnimg.cn/img_convert/26200f8ecce45d09d4f4bc5a8f4572c5.png', - 'https://img-blog.csdnimg.cn/20190504154805438.png', - 'https://img-blog.csdnimg.cn/img_convert/26200f8ecce45d09d4f4bc5a8f4572c5.png', - 'https://img-blog.csdnimg.cn/20190504154805438.png', - ] + attachmentList: [], + operCurrentCount:'', //今日已处理 + operPassCount:'', //今日通过 + operDiscardCount:'', // 今日作废 } }, created() { @@ -224,7 +198,8 @@ export default { },10000) return } - clearInterval(this.timer) + window.clearInterval(this.timer) + this.timer = null this.list = response.data.dataList this.plNo = response.data.plNo this.berthNo = response.data.berthNo @@ -234,6 +209,9 @@ export default { this.carnum = this.list[this.currentIndex].carNumber this.time = this.list[this.currentIndex].parkTime this.examineStateVal = this.list[this.currentIndex].examineState + this.operCurrentCount = response.data.operCurrentCount //今日已处理 + this.operPassCount = response.data.operPassCount //今日通过 + this.operDiscardCount = response.data.operDiscardCount // 今日作废 }) }, -- libgit2 0.21.4