From eb68040d26483dd863bdf02fc5a7037537f27905 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=BB=E7=A0=96-JAVA=5CAdministrator?= <591141169@qq.com> Date: Tue, 26 Mar 2024 08:33:54 +0800 Subject: [PATCH 1/2] =?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/item/itemAccounts/index.ts | 6 + src/views/eam/basic/item/index.vue | 7 - src/views/eam/device/deviceAccounts/index.vue | 831 +++++++++--------- .../deviceInternalAudit.data.ts | 175 +++- src/views/eam/item/itemAccounts/index.vue | 29 +- 5 files changed, 565 insertions(+), 483 deletions(-) diff --git a/src/api/eam/item/itemAccounts/index.ts b/src/api/eam/item/itemAccounts/index.ts index e3e5524..88fb3d1 100644 --- a/src/api/eam/item/itemAccounts/index.ts +++ b/src/api/eam/item/itemAccounts/index.ts @@ -55,3 +55,9 @@ export const importTemplate = () => { export const replaceLocation = async (data: Array) => { return await request.post({url: `/eam/item-accounts/replaceLocation `, data }); }; + +// 备件不分页 + +export const getItemAccountsNoPage = async (params) => { + return await request.get({ url: `/eam/item-accounts/noPage`, params }) +} diff --git a/src/views/eam/basic/item/index.vue b/src/views/eam/basic/item/index.vue index fb2146c..2ffaf68 100644 --- a/src/views/eam/basic/item/index.vue +++ b/src/views/eam/basic/item/index.vue @@ -122,13 +122,6 @@ } } - /** 添加设备操作 */ - // const searchTableRef = ref() - // const openItem = (number : String) => { - // itemNumber.value = number; - // searchTableRef.value.open('设备列表', DeviceAccounts.allSchemas, DeviceAccountsApi.getDeviceAccountsPage(), null, Item.allSchemas.searchSchema, true, null, null, null, null); - // } - const searchTableRef = ref() /** 绑定备件操作 */ const openItem = async (number : String) => { diff --git a/src/views/eam/device/deviceAccounts/index.vue b/src/views/eam/device/deviceAccounts/index.vue index 6e3c831..0f44217 100644 --- a/src/views/eam/device/deviceAccounts/index.vue +++ b/src/views/eam/device/deviceAccounts/index.vue @@ -1,36 +1,20 @@