|
|
@ -76,17 +76,17 @@ export const getProcessPage = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return await request.post({ url: '/wms/process/senior', data }) |
|
|
|
return await request.post({ url: '/mes/production-process/senior', data }) |
|
|
|
} else { |
|
|
|
return await request.get({ url: `/wms/process/pageListByWorkstationCode`, params }) |
|
|
|
return await request.get({ url: `/mes/production-process/pageListByWorkstationCode`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
export const getProductionPage = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return await request.post({ url: '/wms/production/senior', data }) |
|
|
|
return await request.post({ url: '/mes/production-process/senior', data }) |
|
|
|
} else { |
|
|
|
return await request.get({ url: `/wms/production/pageListByWorkstationCode`, params }) |
|
|
|
return await request.get({ url: `/mes/production-process/pageListByWorkstationCode`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|