From 36b9dab83fd8044587e1d1e4a74afc7de4f200e3 Mon Sep 17 00:00:00 2001
From: fanluyan <754122931@qq.com>
Date: Sat, 13 May 2023 19:36:33 +0800
Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=8B=8D=E7=85=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main.js | 2 +-
src/views/components/carouselChart.vue | 45 ++++-
.../components/setdevice.vue | 94 ++++++----
src/views/devicePhotoSchedule/index.vue | 16 +-
.../components/setschedule.vue | 161 ++++++++----------
src/views/realTimeMonitor/index.vue | 126 ++++++++++++--
6 files changed, 291 insertions(+), 153 deletions(-)
diff --git a/src/main.js b/src/main.js
index 3cbdfcb..6d89aab 100644
--- a/src/main.js
+++ b/src/main.js
@@ -60,7 +60,7 @@ Vue.directive("debounce", {
}
timer = setTimeout(() => {
binding.value();
- }, 2000);
+ }, 500);
});
},
});
diff --git a/src/views/components/carouselChart.vue b/src/views/components/carouselChart.vue
index 3f591fa..c69bd72 100644
--- a/src/views/components/carouselChart.vue
+++ b/src/views/components/carouselChart.vue
@@ -3,8 +3,10 @@
+
+
+
@@ -33,7 +43,13 @@
@click="handleBigpic(item, index)"
:class="activeSmall === index ? 'borderActive' : ''"
>
-
+
--通道{{ item.channelId }}
+
+
+
@@ -108,6 +135,14 @@ export default {
this.bigPicPath = this.terminalPhoto[0].path;
this.fiveList = this.terminalPhoto.slice(this.page - 1, this.pagesize);
this.total = this.terminalPhoto.length / this.pagesize;
+ console.log("this.bigPicPath");
+ },
+ watch: {
+ terminalPhoto: function (newVal, oldVal) {
+ this.bigPicPath = this.terminalPhoto[0].path;
+ this.fiveList = this.terminalPhoto.slice(this.page - 1, this.pagesize);
+ this.total = this.terminalPhoto.length / this.pagesize;
+ },
},
methods: {
@@ -180,7 +215,7 @@ export default {
width: 100%;
display: flex;
flex-direction: column;
- height: calc(100% - 24px);
+ height: calc(100% - 0px);
box-sizing: border-box;
.picTop {
width: 100%;
@@ -250,7 +285,7 @@ export default {
}
.picBottom {
width: 100%;
- height: 18%;
+ height: 20%;
position: relative;
.smallPicBox {
width: 100%;
diff --git a/src/views/devicePhotoSchedule/components/setdevice.vue b/src/views/devicePhotoSchedule/components/setdevice.vue
index 2f85bb0..f37e6eb 100644
--- a/src/views/devicePhotoSchedule/components/setdevice.vue
+++ b/src/views/devicePhotoSchedule/components/setdevice.vue
@@ -4,14 +4,27 @@
title="设置"
:visible.sync="isShow"
:close-on-click-modal="false"
- width="720px"
+ width="1020px"
>
时间表规则
-
- {{ val.startTime }}
- {{ val.endTime }}
-
+
+ {{
+ val.startTime
+ }}
+ {{
+ val.endTime
+ }}
+
{{ val.span }}
@@ -19,13 +32,28 @@
-
- {{ val.name }}
-
+
+
+ {{ val.name }}
+