From 75339c763a7c70798a3986dbf2cad7bb624d76d3 Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Thu, 13 Jul 2023 11:00:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=86=E5=A1=94=E7=BA=BF=E8=B7=AF=E8=A3=85?= =?UTF-8?q?=E7=BD=AE=E5=85=B3=E8=81=94=E7=82=B9=E5=87=BB=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/alarmHandling/index.vue | 9 +++++ .../photographicDevice/index.vue | 36 +++++++++++++++-- .../userEquipment/lineInformation/index.vue | 4 ++ .../userEquipment/towerInformation/index.vue | 39 ++++++++++++++++--- src/views/pictureRotation/index.vue | 11 +++--- src/views/realTimeMonitor/index.vue | 2 - 6 files changed, 85 insertions(+), 16 deletions(-) diff --git a/src/views/alarmHandling/index.vue b/src/views/alarmHandling/index.vue index 2965a7f..56b912b 100644 --- a/src/views/alarmHandling/index.vue +++ b/src/views/alarmHandling/index.vue @@ -399,6 +399,15 @@ export default { current: 0, }; }, + created() { + var that = this; + document.onkeydown = function (e) { + var key = window.event.keyCode; + if (key === 13) { + that.onSubmit(); // 触发事件 + } + }; + }, mounted() { // this.$set(this.formdata, "timeVal", [ // new Date(new Date().toLocaleDateString()).getTime(), diff --git a/src/views/management/monitoringEquipment/photographicDevice/index.vue b/src/views/management/monitoringEquipment/photographicDevice/index.vue index 5f05186..d89b174 100644 --- a/src/views/management/monitoringEquipment/photographicDevice/index.vue +++ b/src/views/management/monitoringEquipment/photographicDevice/index.vue @@ -83,6 +83,11 @@ show-overflow-tooltip min-width="120" > + + + > + + - + +

- {{ item.linename }}-{{ - item.displayname !== null && item.displayname !== "" - ? item.displayname - : item.cmdid - }}-{{ + {{ item.linename }}-{{ item.towername }}-{{ item.alias !== null && item.alias !== "" ? item.alias : item.channnelname }} +

{{ $moment(item.photoTime).format("yy-MM-DD HH:mm:ss") }}  diff --git a/src/views/realTimeMonitor/index.vue b/src/views/realTimeMonitor/index.vue index 4a6fbfb..9dba017 100644 --- a/src/views/realTimeMonitor/index.vue +++ b/src/views/realTimeMonitor/index.vue @@ -608,7 +608,6 @@ export default { console.log(res); if (res.data.isonline) { this.btnpicloading = true; - getLatestPhotoJoggle({ captureType: 0, channel: command, @@ -628,7 +627,6 @@ export default { this.newPicData = res.data; console.log(this.newPicData); console.log(this.newTermId); - this.timer = window.setInterval(() => { this.newPicApi(); this.i++;