设备管理
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
643 B

import { eamServer } from '../../index'
export interface IStorageOutParam {
id?: string
customerId: string
name: string
description: string
deviceId: number
price: string
}
export const storageOutDevice = (params: IStorageOutParam) =>
eamServer({
url: `/device/out-storage`,
method: 'post',
data: params,
})
export const getStorageOutByDeviceId = (deviceId: number) =>
eamServer({
url: `/out-storage/get-by-device-id`,
method: 'get',
params: { deviceId },
})
7 months ago
export const getStorageOutPage = (params: PageParam) =>
eamServer({
url: `/out-storage/page`,
method: 'get',
params,
})