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 @@