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 @@