From 307a5c79539b72b640c2c8545acaf68bb0d7dda5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8F=AC=E9=9B=AA?= <1637048769@qq.com> Date: Wed, 11 Nov 2020 17:10:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8A=82=E7=82=B9=E4=BF=A1=E6=81=AF=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/hardware/node.js | 4 +- src/views/hardware/productList/index.vue | 131 +++++++++++++++++++---- 2 files changed, 113 insertions(+), 22 deletions(-) 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 @@ 取 消 + + + 批量删除 + + + + + + + + + + +