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