From c761e07ba28e1ea853ee0cd55d1a4d2554428873 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Thu, 16 Jul 2020 13:31:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E9=85=8D=E7=BD=AE=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/components/QueryListPage/DataForm.vue | 8 +- src/scripts/ConstConfig.js | 3 +- src/utils/baseUrl.js | 4 +- .../jointTrainingNew/newChatView/chatBox.vue | 4 + .../system/deviceManage/editConfigGateway.vue | 173 +++++++++++++----- .../system/deviceManage/editConfigIbp.vue | 53 ++++++ src/views/system/deviceManage/index.vue | 12 +- 8 files changed, 224 insertions(+), 49 deletions(-) create mode 100644 src/views/system/deviceManage/editConfigIbp.vue diff --git a/src/api/project.js b/src/api/project.js index 10cc6b37b..09f9ef76d 100644 --- a/src/api/project.js +++ b/src/api/project.js @@ -68,6 +68,22 @@ export function setSwitchConfig(id, data) { data: data }); } +/** 添加/修改端头控制盒网关映射配置 */ +export function setPslConfig(id, data) { + return request({ + url: `/api/device/${id}/config/psl`, + method: 'put', + data: data + }); +} +/** 添加/修改ibp盘网关映射配置 */ +export function setIbpConfig(id, data) { + return request({ + url: `/api/device/${id}/config/ibp`, + method: 'put', + data: data + }); +} /** 查询项目下的所有设备 */ export function getAllDeviceInProject(params) { return request({ diff --git a/src/components/QueryListPage/DataForm.vue b/src/components/QueryListPage/DataForm.vue index aa6718737..0cf7b57c5 100644 --- a/src/components/QueryListPage/DataForm.vue +++ b/src/components/QueryListPage/DataForm.vue @@ -1,5 +1,5 @@