From b1d13bf1b5bf4eb746e371bd5024c0212596bdb9 Mon Sep 17 00:00:00 2001 From: hayu <1604366271@qq.com> Date: Fri, 29 Aug 2025 17:23:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ma/device.js | 26 ++++ src/views/material/ma/gadget/index.vue | 169 +++++++++++++++++-------- 2 files changed, 144 insertions(+), 51 deletions(-) diff --git a/src/api/ma/device.js b/src/api/ma/device.js index 5f104f14..c99c6ed5 100644 --- a/src/api/ma/device.js +++ b/src/api/ma/device.js @@ -122,3 +122,29 @@ export function addWsMaInfoData(data) { data: data, }) } + +// 小工具编码信息列表--删除 +export function delGadget(data) { + return request({ + url: '/material/wsMaInfo/delGadget', + method: 'post', + data: data, + }) +} + +//查看机具类型管理列表详细信息 +export function getGadgetInfo(id) { + return request({ + url: '/material/wsMaInfo/getGadgetInfo/'+ id, + method: 'get', + }) +} + +// 小工具编码信息列表--修改 +export function updateGadgetInfo(data) { + return request({ + url: '/material/wsMaInfo/updateGadgetInfo', + method: 'post', + data: data, + }) +} diff --git a/src/views/material/ma/gadget/index.vue b/src/views/material/ma/gadget/index.vue index 91541d7f..4401247f 100644 --- a/src/views/material/ma/gadget/index.vue +++ b/src/views/material/ma/gadget/index.vue @@ -43,6 +43,22 @@ + + + - + @@ -103,9 +120,9 @@ - + @@ -146,11 +163,11 @@ - + @@ -167,8 +184,8 @@