From 0d05e6f83227b8a6dfc970fbf88b7f3fe7c3f0a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=BB=E7=A0=96-JAVA=5CAdministrator?= <591141169@qq.com> Date: Thu, 21 Mar 2024 18:17:14 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/eam/basic/item/index.ts | 10 +++++----- src/views/eam/basic/item/index.vue | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/api/eam/basic/item/index.ts b/src/api/eam/basic/item/index.ts index 0ab9652..35d3e10 100644 --- a/src/api/eam/basic/item/index.ts +++ b/src/api/eam/basic/item/index.ts @@ -68,13 +68,13 @@ export const getItemList = async (params) => { return await request.get({ url: `/eam/item/getListByNumber`, params }) } -// 删除备件 -export const getaaa = async () => { - return await request.get({ url: `/eam/producePlan/produce`}) -} +// // 删除备件 +// export const getaaa = async () => { +// return await request.get({ url: `/eam/producePlan/produce`}) +// } // 备件不分页 export const getItemNoPage = async (params) => { return await request.get({ url: `/eam/item/noPage`, params }) -} \ No newline at end of file +} diff --git a/src/views/eam/basic/item/index.vue b/src/views/eam/basic/item/index.vue index e4d02e7..a0604b2 100644 --- a/src/views/eam/basic/item/index.vue +++ b/src/views/eam/basic/item/index.vue @@ -239,7 +239,7 @@ // 删除的二次确认 await message.delConfirm() // 发起删除 - await ItemApi.getaaa() + await ItemApi.deleteItem(id) message.success(t('common.delSuccess')) // 刷新列表 await getList()