From a543aa79d1cc1761f24ec441558e8a1808e39f7e Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Tue, 7 Jul 2020 17:45:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=99=BB=E5=BD=95=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/project.js | 16 +++++++++++ src/utils/baseUrl.js | 4 +-- src/views/iscs/iscsSystem/groupNav.vue | 39 ++++++++++++++++++++++---- 3 files changed, 51 insertions(+), 8 deletions(-) diff --git a/src/api/project.js b/src/api/project.js index 82d0ed706..a0866d6d0 100644 --- a/src/api/project.js +++ b/src/api/project.js @@ -99,3 +99,19 @@ export function getDevicesByType(type) { method: 'get' }); } +/** 添加/修改车站综合监控配置 */ +export function setIscsLwConfig(id, data) { + return request({ + url: `/api/device/${id}/config/iscslw`, + method: 'put', + data: data + }); +} +/** 添加/修改中心综合监控配置 */ +export function setIscsCwConfig(id, data) { + return request({ + url: `/api/device/${id}/config/iscscw`, + method: 'put', + data: data + }); +} diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 778caeb7b..c59924e25 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -2,9 +2,9 @@ export function getBaseUrl() { let BASE_API; if (process.env.NODE_ENV === 'development') { // BASE_API = 'https://joylink.club/jlcloud'; - BASE_API = 'https://test.joylink.club/jlcloud'; + // BASE_API = 'https://test.joylink.club/jlcloud'; // BASE_API = 'http://192.168.3.5:9000'; // 袁琪 - // BASE_API = 'http://192.168.3.6:9000'; // 旭强 + BASE_API = 'http://192.168.3.6:9000'; // 旭强 // BASE_API = 'http://192.168.3.41:9000'; // 张赛 // BASE_API = 'http://192.168.3.82:9000'; // 杜康 // BASE_API = 'http://b29z135112.zicp.vip'; diff --git a/src/views/iscs/iscsSystem/groupNav.vue b/src/views/iscs/iscsSystem/groupNav.vue index 4f7fc6d4a..9696b74bf 100644 --- a/src/views/iscs/iscsSystem/groupNav.vue +++ b/src/views/iscs/iscsSystem/groupNav.vue @@ -16,7 +16,7 @@