From c3419fe63f7a6295d212d3840b5b4e02fc387e5c Mon Sep 17 00:00:00 2001 From: Comair <1464> Date: Sun, 14 May 2023 17:12:04 +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 | 8 ++++++ src/views/wcs/configuration/index.vue | 36 ++++++++++++++++++++++++++- 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/src/api/wcs/configuration.js b/src/api/wcs/configuration.js index 1118c11..8b108c7 100644 --- a/src/api/wcs/configuration.js +++ b/src/api/wcs/configuration.js @@ -17,4 +17,12 @@ export function updateStemConfiguration(data) { data: data }) } +// 切离 +export function handleCutOff(data) { + return request({ + url: '/wcs/configuration/handleCutOff', + method: 'put', + data: data + }) +} diff --git a/src/views/wcs/configuration/index.vue b/src/views/wcs/configuration/index.vue index 8d59353..018e035 100644 --- a/src/views/wcs/configuration/index.vue +++ b/src/views/wcs/configuration/index.vue @@ -46,6 +46,7 @@ :tableProps="tableProps" @current-change="getList" @handleUpdate="handleUpdate" + @handleCutOff="handleCutOff" > @@ -79,7 +80,7 @@