From f34aa4b48051690f035b0db550374a3cbdd9122d Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Fri, 20 Dec 2024 16:51:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/carouselChart.vue | 1 + .../components/ptzDevice/ptzDraw.vue | 65 +++++++++++++++++-- 2 files changed, 60 insertions(+), 6 deletions(-) diff --git a/src/views/realTimeMonitor/components/carouselChart.vue b/src/views/realTimeMonitor/components/carouselChart.vue index 18bcc0b..341535b 100644 --- a/src/views/realTimeMonitor/components/carouselChart.vue +++ b/src/views/realTimeMonitor/components/carouselChart.vue @@ -145,6 +145,7 @@ : item.channelName }} + -- {{ item.presetId }} (已告警)

diff --git a/src/views/realTimeMonitor/components/ptzDevice/ptzDraw.vue b/src/views/realTimeMonitor/components/ptzDevice/ptzDraw.vue index d457f34..a7380ac 100644 --- a/src/views/realTimeMonitor/components/ptzDevice/ptzDraw.vue +++ b/src/views/realTimeMonitor/components/ptzDevice/ptzDraw.vue @@ -97,7 +97,7 @@ - 镜头除雾 +
-

预置位

+
+

预置位

+
+ + 调用预置位 +
+
+
{}); }, + //手动调用预置位 + handleDyPreset() { + if (this.areaData.protocol == "65281") { + console.log("安徽规约"); + this.fucType = 1; + } else { + console.log("其它规约规约"); + this.fucType = 2; + } + // this.fucType = 1; + this.presetNum = this.inputpresetValue; + this.termstatusFun(); + }, //获取设备状态 termstatusFun() { // act=cameractrl --cmdid=XYYFV11-HENA-0003 --channel=1 --preset=0 --ctrl=2 @@ -936,12 +966,35 @@ export default { .presetList { height: calc(100% - 390px); margin-top: 12px; - h3 { - font-size: 14px; - font-weight: bold; + .titleHead { + display: flex; + align-items: center; + height: 32px; + margin-bottom: 12px; + h3 { + font-size: 14px; + font-weight: bold; + margin-right: 8px; + margin-bottom: 0px; + } + .presetBox { + display: flex; + align-items: center; + .el-input { + width: 140px; + .el-input__inner { + padding-right: 12px; + } + } + .el-button { + margin-left: 8px; + margin-bottom: 0px; + } + } } + .presetTable { - height: calc(100% - 26px); + height: calc(100% - 38px); .el-table--border { border-bottom: 1px solid #ebeef5; }