From 4aa18787c3383a7e4a7261d0246d09fa9cfcaf5d Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Wed, 1 Nov 2023 10:38:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/setschedule.vue | 31 ++++++++++++++++--- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/src/views/realTimeMonitor/components/setschedule.vue b/src/views/realTimeMonitor/components/setschedule.vue index 0520478..fbbba1d 100644 --- a/src/views/realTimeMonitor/components/setschedule.vue +++ b/src/views/realTimeMonitor/components/setschedule.vue @@ -38,7 +38,12 @@
-

时间表({{ baseTimeList.length }})

+

+ 时间表({{ baseTimeList.length }}) + 偏移量({{ offsetNumTime }}分钟) +

{{ $moment(item).format("HH:mm") }} @@ -51,9 +56,10 @@

装置时间表({{ deviceTimeList.length }}) - 偏移量({{ offsetNumTime }}分钟)刷新装置时间表

@@ -277,6 +283,11 @@ export default { methods: { handleClick(tab, event) { console.log(tab, event); + if (tab.name == 1) { + this.selectChannel = 1; + this.getDataBaseTime(this.areaData.id, this.selectChannel); + } + //下发的时候执行获取列表 if (tab.name == 2) { this.deviceTimeList = []; @@ -893,6 +904,18 @@ export default { border-radius: 4px; border: 1px solid #eee; padding: 12px; + h3 { + .el-button { + margin-left: 14px; + } + } + } + .timeLeft, + .timeRight { + h3 { + line-height: 24px; + height: 24px; + } } .tagsBox { height: 308px;