From 9399138d371945a541a9907898b09bae8c210bb0 Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Tue, 25 Jul 2023 13:50:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A7=E5=88=B6=E9=80=9A=E9=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/api/index.js | 11 +++++++ src/views/alarmHandling/index.vue | 19 ++--------- src/views/system/globalTools/index.vue | 45 +++++++++++++++++++++++++- 3 files changed, 57 insertions(+), 18 deletions(-) diff --git a/src/utils/api/index.js b/src/utils/api/index.js index b70088e..6880bc0 100644 --- a/src/utils/api/index.js +++ b/src/utils/api/index.js @@ -752,7 +752,18 @@ export function updateMarkEnableStatus(data) { }, }); } +//全局设置通道 +export function updateAlarmChannel(data) { + return request({ + url: "/api/updateAlarmChannel", + method: "post", + data, + headers: { + "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8", + }, + }); +} ///api/getTermStatus export function getTermStatus(data) { return request({ diff --git a/src/views/alarmHandling/index.vue b/src/views/alarmHandling/index.vue index 776959a..0286948 100644 --- a/src/views/alarmHandling/index.vue +++ b/src/views/alarmHandling/index.vue @@ -37,16 +37,7 @@ > - - - - - +