From 6e5abdd757ab3b54193d1e8e859494ec0ed9d5ca Mon Sep 17 00:00:00 2001 From: Comair <1464> Date: Tue, 16 May 2023 11:22:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wcs/configuration.js | 9 ++++++++ src/views/wcs/configuration/index.vue | 31 +++++++++++++++++++++++++-- 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/src/api/wcs/configuration.js b/src/api/wcs/configuration.js index b0aca5a..cda664e 100644 --- a/src/api/wcs/configuration.js +++ b/src/api/wcs/configuration.js @@ -26,3 +26,12 @@ export function handleCutOff(data) { }) } +// 恢复 +export function handleCutIn(data) { + return request({ + url: '/wcs/configuration/handleCutIn', + method: 'post', + data: data + }) +} + diff --git a/src/views/wcs/configuration/index.vue b/src/views/wcs/configuration/index.vue index 018e035..ae12027 100644 --- a/src/views/wcs/configuration/index.vue +++ b/src/views/wcs/configuration/index.vue @@ -47,6 +47,7 @@ @current-change="getList" @handleUpdate="handleUpdate" @handleCutOff="handleCutOff" + @handleCutIn="handleCutIn" > @@ -80,7 +81,7 @@