|
|
@ -17,12 +17,12 @@ export interface DeviceRepairVO { |
|
|
|
|
|
|
|
// 查询报修申请列表
|
|
|
|
export const getDeviceRepairPage = async (params) => { |
|
|
|
params.type = 'DEVICE' |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = { ...params } |
|
|
|
return await request.post({ url: '/eam/device-repair-request/senior', data }) |
|
|
|
} else { |
|
|
|
params.type = 'DEVICE' |
|
|
|
return await request.get({ url: `/eam/device-repair-request/page`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|