diff --git a/src/api/hardware/node.js b/src/api/hardware/node.js index c521fbd..62f5f10 100644 --- a/src/api/hardware/node.js +++ b/src/api/hardware/node.js @@ -1,7 +1,7 @@ import request from '@/utils/request' // 获取节点列表 -export function list (params) { +export function nodeList (params) { return request({ url: '/system/node/list', method: 'get', @@ -27,7 +27,7 @@ export function addNode (data) { } // 删除节点 -export function del (ids) { +export function delNode (ids) { return request({ url: '/system/node/' + ids, method: 'delete' diff --git a/src/views/hardware/productList/index.vue b/src/views/hardware/productList/index.vue index 16c0108..cb1fe01 100644 --- a/src/views/hardware/productList/index.vue +++ b/src/views/hardware/productList/index.vue @@ -45,14 +45,17 @@ - + @@ -87,10 +90,10 @@ - + - - + + @@ -110,22 +113,45 @@ 取 消 + + + 批量删除 + + + + + + + + + + +