From 0b04a185a54444b72151eabf71164008712fb80d Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期三, 11 十二月 2024 10:15:38 +0800 Subject: [PATCH] 请求路径批量修改 --- src/api/xmcpms/coal-quality/analysis/full/index.ts | 10 +- src/api/prod/targetConsume.ts | 16 +- src/api/prod/rawCoalToWash.ts | 16 +- src/api/prod/dispatchLog.ts | 16 +- src/api/prod/powerConsume.ts | 16 +- src/api/prod/rawCoalStock.ts | 16 +- src/api/xmcpms/coal-quality/analysis/wash-curves/wash-curves-chart.ts | 4 src/api/xmcpms/coal-quality/detection/quick/index.ts | 10 +- src/api/prod/dailySales.ts | 16 +- src/api/xmcpms/coal-quality/analysis/wash-curves/index.ts | 10 +- src/api/xmcpms/coal-quality/analysis/wash/target.ts | 10 +- src/api/prod/rawCoalTransferIn.ts | 16 +- src/api/prod/prodAccident.ts | 16 +- src/api/prod/runTime.ts | 16 +- src/api/prod/productStock.ts | 16 +- src/api/prod/hourVolume.ts | 16 +- src/api/prod/onDutyInfo.ts | 16 +- src/api/xmcpms/coal-quality/analysis/wash-curves/wash-curves-det.ts | 2 src/api/xmcpms/coal-quality/analysis/full/full-det.ts | 8 src/api/prod/prodVolume.ts | 16 +- 20 files changed, 131 insertions(+), 131 deletions(-) diff --git a/src/api/prod/dailySales.ts b/src/api/prod/dailySales.ts index cdca2e6..038c070 100644 --- a/src/api/prod/dailySales.ts +++ b/src/api/prod/dailySales.ts @@ -19,40 +19,40 @@ // 查询DailySales列表 export const getDailySalesPage = (params: DailySalesPageReqVO) => { - return request.get({ url: '/prod/sale/volume/page', params }) + return request.get({ url: '/xmcpms/prod/sale/volume/page', params }) } // 查询DailySales列表 export const getPointList = (params: DailySalesPageReqVO) => { - return request.get({ url: '/prod/sale/volume/list', params }) + return request.get({ url: '/xmcpms/prod/sale/volume/list', params }) } // 查询DailySales详情 export const getDailySales = (id: number) => { - return request.get({ url: `/prod/sale/volume/info/${id}`}) + return request.get({ url: `/xmcpms/prod/sale/volume/info/${id}`}) } // 新增DailySales export const createDailySales = (data: DailySalesVO) => { - return request.post({ url: '/prod/sale/volume/create', data }) + return request.post({ url: '/xmcpms/prod/sale/volume/create', data }) } // 修改DailySales export const updateDailySales = (data: DailySalesVO) => { - return request.put({ url: '/prod/sale/volume/update', data }) + return request.put({ url: '/xmcpms/prod/sale/volume/update', data }) } // 删除DailySales export const deleteDailySales = (id: number) => { - return request.delete({ url: '/prod/sale/volume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/prod/sale/volume/delete?id=' + id }) } //导出DailySalesList export const exportDailySales = (params) => { - return request.download({ url: '/prod/sale/volume/export', params }) + return request.download({ url: '/xmcpms/prod/sale/volume/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/prod/sale/volume/get-import-template' }) + return request.download({ url: '/xmcpms/prod/sale/volume/get-import-template' }) } diff --git a/src/api/prod/dispatchLog.ts b/src/api/prod/dispatchLog.ts index eb22ee4..dbb3b83 100644 --- a/src/api/prod/dispatchLog.ts +++ b/src/api/prod/dispatchLog.ts @@ -10,40 +10,40 @@ // 查询DispatchLog列表 export const getDispatchLogPage = (params: DispatchLogPageReqVO) => { - return request.get({ url: '/prod/work/dispatchLog/page', params }) + return request.get({ url: '/xmcpms/prod/work/dispatchLog/page', params }) } // 查询DispatchLog列表 export const getPointList = (params: DispatchLogPageReqVO) => { - return request.get({ url: '/prod/work/dispatchLog/list', params }) + return request.get({ url: '/xmcpms/prod/work/dispatchLog/list', params }) } // 查询DispatchLog详情 export const getDispatchLog = (id: number) => { - return request.get({ url: `/prod/work/dispatchLog/info/${id}`}) + return request.get({ url: `/xmcpms/prod/work/dispatchLog/info/${id}`}) } // 新增DispatchLog export const createDispatchLog = (data: DispatchLogVO) => { - return request.post({ url: '/prod/work/dispatchLog/create', data }) + return request.post({ url: '/xmcpms/prod/work/dispatchLog/create', data }) } // 修改DispatchLog export const updateDispatchLog = (data: DispatchLogVO) => { - return request.put({ url: '/prod/work/dispatchLog/update', data }) + return request.put({ url: '/xmcpms/prod/work/dispatchLog/update', data }) } // 删除DispatchLog export const deleteDispatchLog = (id: number) => { - return request.delete({ url: '/prod/work/dispatchLog/delete?id=' + id }) + return request.delete({ url: '/xmcpms/prod/work/dispatchLog/delete?id=' + id }) } //导出DispatchLogList export const exportDispatchLog = (params) => { - return request.download({ url: '/prod/work/dispatchLog/export', params }) + return request.download({ url: '/xmcpms/prod/work/dispatchLog/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/prod/work/dispatchLog/get-import-template' }) + return request.download({ url: '/xmcpms/prod/work/dispatchLog/get-import-template' }) } diff --git a/src/api/prod/hourVolume.ts b/src/api/prod/hourVolume.ts index 8cb90f8..91be4a8 100644 --- a/src/api/prod/hourVolume.ts +++ b/src/api/prod/hourVolume.ts @@ -25,40 +25,40 @@ // 查询HourVolume列表 export const getHourVolumePage = (params: HourVolumePageReqVO) => { - return request.get({ url: '/prod/wash/hourVolume/page', params }) + return request.get({ url: '/xmcpms/prod/wash/hourVolume/page', params }) } // 查询HourVolume列表 export const getPointList = (params: HourVolumePageReqVO) => { - return request.get({ url: '/prod/wash/hourVolume/list', params }) + return request.get({ url: '/xmcpms/prod/wash/hourVolume/list', params }) } // 查询HourVolume详情 export const getHourVolume = (id: number) => { - return request.get({ url: `/prod/wash/hourVolume/info/${id}`}) + return request.get({ url: `/xmcpms/prod/wash/hourVolume/info/${id}`}) } // 新增HourVolume export const createHourVolume = (data: HourVolumeVO) => { - return request.post({ url: '/prod/wash/hourVolume/create', data }) + return request.post({ url: '/xmcpms/prod/wash/hourVolume/create', data }) } // 修改HourVolume export const updateHourVolume = (data: HourVolumeVO) => { - return request.put({ url: '/prod/wash/hourVolume/update', data }) + return request.put({ url: '/xmcpms/prod/wash/hourVolume/update', data }) } // 删除HourVolume export const deleteHourVolume = (id: number) => { - return request.delete({ url: '/prod/wash/hourVolume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/prod/wash/hourVolume/delete?id=' + id }) } //导出HourVolumeList export const exportHourVolume = (params) => { - return request.download({ url: '/prod/wash/hourVolume/export', params }) + return request.download({ url: '/xmcpms/prod/wash/hourVolume/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/prod/wash/hourVolume/get-import-template' }) + return request.download({ url: '/xmcpms/prod/wash/hourVolume/get-import-template' }) } diff --git a/src/api/prod/onDutyInfo.ts b/src/api/prod/onDutyInfo.ts index 48513f1..16f0b83 100644 --- a/src/api/prod/onDutyInfo.ts +++ b/src/api/prod/onDutyInfo.ts @@ -10,40 +10,40 @@ // 查询OnDutyInfo列表 export const getOnDutyInfoPage = (params: OnDutyInfoPageReqVO) => { - return request.get({ url: '/prod/work/onDutyInfo/page', params }) + return request.get({ url: '/xmcpms/prod/work/onDutyInfo/page', params }) } // 查询OnDutyInfo列表 export const getPointList = (params: OnDutyInfoPageReqVO) => { - return request.get({ url: '/prod/work/onDutyInfo/list', params }) + return request.get({ url: '/xmcpms/prod/work/onDutyInfo/list', params }) } // 查询OnDutyInfo详情 export const getOnDutyInfo = (id: number) => { - return request.get({ url: `/prod/work/onDutyInfo/info/${id}`}) + return request.get({ url: `/xmcpms/prod/work/onDutyInfo/info/${id}`}) } // 新增OnDutyInfo export const createOnDutyInfo = (data: OnDutyInfoVO) => { - return request.post({ url: '/prod/work/onDutyInfo/create', data }) + return request.post({ url: '/xmcpms/prod/work/onDutyInfo/create', data }) } // 修改OnDutyInfo export const updateOnDutyInfo = (data: OnDutyInfoVO) => { - return request.put({ url: '/prod/work/onDutyInfo/update', data }) + return request.put({ url: '/xmcpms/prod/work/onDutyInfo/update', data }) } // 删除OnDutyInfo export const deleteOnDutyInfo = (id: number) => { - return request.delete({ url: '/prod/work/onDutyInfo/delete?id=' + id }) + return request.delete({ url: '/xmcpms/prod/work/onDutyInfo/delete?id=' + id }) } //导出OnDutyInfoList export const exportOnDutyInfo = (params) => { - return request.download({ url: '/prod/work/onDutyInfo/export', params }) + return request.download({ url: '/xmcpms/prod/work/onDutyInfo/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/prod/work/onDutyInfo/get-import-template' }) + return request.download({ url: '/xmcpms/prod/work/onDutyInfo/get-import-template' }) } diff --git a/src/api/prod/powerConsume.ts b/src/api/prod/powerConsume.ts index 7fe4667..d0a2577 100644 --- a/src/api/prod/powerConsume.ts +++ b/src/api/prod/powerConsume.ts @@ -10,40 +10,40 @@ // 查询PowerConsume列表 export const getPowerConsumePage = (params: PowerConsumePageReqVO) => { - return request.get({ url: '/prod/powerConsume/page', params }) + return request.get({ url: '/xmcpms/prod/powerConsume/page', params }) } // 查询PowerConsume列表 export const getPointList = (params: PowerConsumePageReqVO) => { - return request.get({ url: '/prod/powerConsume/list', params }) + return request.get({ url: '/xmcpms/prod/powerConsume/list', params }) } // 查询PowerConsume详情 export const getPowerConsume = (id: number) => { - return request.get({ url: `/prod/powerConsume/info/${id}`}) + return request.get({ url: `/xmcpms/prod/powerConsume/info/${id}`}) } // 新增PowerConsume export const createPowerConsume = (data: PowerConsumeVO) => { - return request.post({ url: '/prod/powerConsume/create', data }) + return request.post({ url: '/xmcpms/prod/powerConsume/create', data }) } // 修改PowerConsume export const updatePowerConsume = (data: PowerConsumeVO) => { - return request.put({ url: '/prod/powerConsume/update', data }) + return request.put({ url: '/xmcpms/prod/powerConsume/update', data }) } // 删除PowerConsume export const deletePowerConsume = (id: number) => { - return request.delete({ url: '/prod/powerConsume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/prod/powerConsume/delete?id=' + id }) } //导出PowerConsumeList export const exportPowerConsume = (params) => { - return request.download({ url: '/prod/powerConsume/export', params }) + return request.download({ url: '/xmcpms/prod/powerConsume/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/prod/powerConsume/get-import-template' }) + return request.download({ url: '/xmcpms/prod/powerConsume/get-import-template' }) } diff --git a/src/api/prod/prodAccident.ts b/src/api/prod/prodAccident.ts index 22e5899..92ff12f 100644 --- a/src/api/prod/prodAccident.ts +++ b/src/api/prod/prodAccident.ts @@ -10,40 +10,40 @@ // 查询ProdAccident列表 export const getProdAccidentPage = (params: ProdAccidentPageReqVO) => { - return request.get({ url: '/prod/work/prodAccident/page', params }) + return request.get({ url: '/xmcpms/prod/work/prodAccident/page', params }) } // 查询ProdAccident列表 export const getPointList = (params: ProdAccidentPageReqVO) => { - return request.get({ url: '/prod/work/prodAccident/list', params }) + return request.get({ url: '/xmcpms/prod/work/prodAccident/list', params }) } // 查询ProdAccident详情 export const getProdAccident = (id: number) => { - return request.get({ url: `/prod/work/prodAccident/info/${id}`}) + return request.get({ url: `/xmcpms/prod/work/prodAccident/info/${id}`}) } // 新增ProdAccident export const createProdAccident = (data: ProdAccidentVO) => { - return request.post({ url: '/prod/work/prodAccident/create', data }) + return request.post({ url: '/xmcpms/prod/work/prodAccident/create', data }) } // 修改ProdAccident export const updateProdAccident = (data: ProdAccidentVO) => { - return request.put({ url: '/prod/work/prodAccident/update', data }) + return request.put({ url: '/xmcpms/prod/work/prodAccident/update', data }) } // 删除ProdAccident export const deleteProdAccident = (id: number) => { - return request.delete({ url: '/prod/work/prodAccident/delete?id=' + id }) + return request.delete({ url: '/xmcpms/prod/work/prodAccident/delete?id=' + id }) } //导出ProdAccidentList export const exportProdAccident = (params) => { - return request.download({ url: '/prod/work/prodAccident/export', params }) + return request.download({ url: '/xmcpms/prod/work/prodAccident/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/prod/work/prodAccident/get-import-template' }) + return request.download({ url: '/xmcpms/prod/work/prodAccident/get-import-template' }) } diff --git a/src/api/prod/prodVolume.ts b/src/api/prod/prodVolume.ts index 53c2f73..fcbc95c 100644 --- a/src/api/prod/prodVolume.ts +++ b/src/api/prod/prodVolume.ts @@ -10,40 +10,40 @@ // 查询ProdVolume列表 export const getProdVolumePage = (params: ProdVolumePageReqVO) => { - return request.get({ url: '/prod/wash/prodVolume/page', params }) + return request.get({ url: '/xmcpms/prod/wash/prodVolume/page', params }) } // 查询ProdVolume列表 export const getPointList = (params: ProdVolumePageReqVO) => { - return request.get({ url: '/prod/wash/prodVolume/list', params }) + return request.get({ url: '/xmcpms/prod/wash/prodVolume/list', params }) } // 查询ProdVolume详情 export const getProdVolume = (id: number) => { - return request.get({ url: `/prod/wash/prodVolume/info/${id}`}) + return request.get({ url: `/xmcpms/prod/wash/prodVolume/info/${id}`}) } // 新增ProdVolume export const createProdVolume = (data: ProdVolumeVO) => { - return request.post({ url: '/prod/wash/prodVolume/create', data }) + return request.post({ url: '/xmcpms/prod/wash/prodVolume/create', data }) } // 修改ProdVolume export const updateProdVolume = (data: ProdVolumeVO) => { - return request.put({ url: '/prod/wash/prodVolume/update', data }) + return request.put({ url: '/xmcpms/prod/wash/prodVolume/update', data }) } // 删除ProdVolume export const deleteProdVolume = (id: number) => { - return request.delete({ url: '/prod/wash/prodVolume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/prod/wash/prodVolume/delete?id=' + id }) } //导出ProdVolumeList export const exportProdVolume = (params) => { - return request.download({ url: '/prod/wash/prodVolume/export', params }) + return request.download({ url: '/xmcpms/prod/wash/prodVolume/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/prod/wash/prodVolume/get-import-template' }) + return request.download({ url: '/xmcpms/prod/wash/prodVolume/get-import-template' }) } diff --git a/src/api/prod/productStock.ts b/src/api/prod/productStock.ts index 4567ad6..8247305 100644 --- a/src/api/prod/productStock.ts +++ b/src/api/prod/productStock.ts @@ -10,40 +10,40 @@ // 查询ProductStock列表 export const getProductStockPage = (params: ProductStockPageReqVO) => { - return request.get({ url: '/prod/productStock/page', params }) + return request.get({ url: '/xmcpms/prod/productStock/page', params }) } // 查询ProductStock列表 export const getPointList = (params: ProductStockPageReqVO) => { - return request.get({ url: '/prod/productStock/list', params }) + return request.get({ url: '/xmcpms/prod/productStock/list', params }) } // 查询ProductStock详情 export const getProductStock = (id: number) => { - return request.get({ url: `/prod/productStock/info/${id}`}) + return request.get({ url: `/xmcpms/prod/productStock/info/${id}`}) } // 新增ProductStock export const createProductStock = (data: ProductStockVO) => { - return request.post({ url: '/prod/productStock/create', data }) + return request.post({ url: '/xmcpms/prod/productStock/create', data }) } // 修改ProductStock export const updateProductStock = (data: ProductStockVO) => { - return request.put({ url: '/prod/productStock/update', data }) + return request.put({ url: '/xmcpms/prod/productStock/update', data }) } // 删除ProductStock export const deleteProductStock = (id: number) => { - return request.delete({ url: '/prod/productStock/delete?id=' + id }) + return request.delete({ url: '/xmcpms/prod/productStock/delete?id=' + id }) } //导出ProductStockList export const exportProductStock = (params) => { - return request.download({ url: '/prod/productStock/export', params }) + return request.download({ url: '/xmcpms/prod/productStock/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/prod/productStock/get-import-template' }) + return request.download({ url: '/xmcpms/prod/productStock/get-import-template' }) } diff --git a/src/api/prod/rawCoalStock.ts b/src/api/prod/rawCoalStock.ts index ef799a9..02d558f 100644 --- a/src/api/prod/rawCoalStock.ts +++ b/src/api/prod/rawCoalStock.ts @@ -10,40 +10,40 @@ // 查询RawCoalStock列表 export const getRawCoalStockPage = (params: RawCoalStockPageReqVO) => { - return request.get({ url: '/prod/warehouse/item/page', params }) + return request.get({ url: '/xmcpms/prod/warehouse/item/page', params }) } // 查询RawCoalStock列表 export const getPointList = (params: RawCoalStockPageReqVO) => { - return request.get({ url: '/prod/warehouse/item/list', params }) + return request.get({ url: '/xmcpms/prod/warehouse/item/list', params }) } // 查询RawCoalStock详情 export const getRawCoalStock = (id: number) => { - return request.get({ url: `/prod/warehouse/item/info/${id}`}) + return request.get({ url: `/xmcpms/prod/warehouse/item/info/${id}`}) } // 新增RawCoalStock export const createRawCoalStock = (data: RawCoalStockVO) => { - return request.post({ url: '/prod/warehouse/item/create', data }) + return request.post({ url: '/xmcpms/prod/warehouse/item/create', data }) } // 修改RawCoalStock export const updateRawCoalStock = (data: RawCoalStockVO) => { - return request.put({ url: '/prod/warehouse/item/update', data }) + return request.put({ url: '/xmcpms/prod/warehouse/item/update', data }) } // 删除RawCoalStock export const deleteRawCoalStock = (id: number) => { - return request.delete({ url: '/prod/warehouse/item/delete?id=' + id }) + return request.delete({ url: '/xmcpms/prod/warehouse/item/delete?id=' + id }) } //导出RawCoalStockList export const exportRawCoalStock = (params) => { - return request.download({ url: '/prod/warehouse/item/export', params }) + return request.download({ url: '/xmcpms/prod/warehouse/item/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/prod/warehouse/item/get-import-template' }) + return request.download({ url: '/xmcpms/prod/warehouse/item/get-import-template' }) } diff --git a/src/api/prod/rawCoalToWash.ts b/src/api/prod/rawCoalToWash.ts index f30cfd6..05e6a56 100644 --- a/src/api/prod/rawCoalToWash.ts +++ b/src/api/prod/rawCoalToWash.ts @@ -10,40 +10,40 @@ // 查询RawCoalToWash列表 export const getRawCoalToWashPage = (params: RawCoalToWashPageReqVO) => { - return request.get({ url: '/prod/wash/toWash/page', params }) + return request.get({ url: '/xmcpms/prod/wash/toWash/page', params }) } // 查询RawCoalToWash列表 export const getPointList = (params: RawCoalToWashPageReqVO) => { - return request.get({ url: '/prod/wash/toWash/list', params }) + return request.get({ url: '/xmcpms/prod/wash/toWash/list', params }) } // 查询RawCoalToWash详情 export const getRawCoalToWash = (id: number) => { - return request.get({ url: `/prod/wash/toWash/info/${id}`}) + return request.get({ url: `/xmcpms/prod/wash/toWash/info/${id}`}) } // 新增RawCoalToWash export const createRawCoalToWash = (data: RawCoalToWashVO) => { - return request.post({ url: '/prod/wash/toWash/create', data }) + return request.post({ url: '/xmcpms/prod/wash/toWash/create', data }) } // 修改RawCoalToWash export const updateRawCoalToWash = (data: RawCoalToWashVO) => { - return request.put({ url: '/prod/wash/toWash/update', data }) + return request.put({ url: '/xmcpms/prod/wash/toWash/update', data }) } // 删除RawCoalToWash export const deleteRawCoalToWash = (id: number) => { - return request.delete({ url: '/prod/wash/toWash/delete?id=' + id }) + return request.delete({ url: '/xmcpms/prod/wash/toWash/delete?id=' + id }) } //导出RawCoalToWashList export const exportRawCoalToWash = (params) => { - return request.download({ url: '/prod/wash/toWash/export', params }) + return request.download({ url: '/xmcpms/prod/wash/toWash/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/prod/wash/toWash/get-import-template' }) + return request.download({ url: '/xmcpms/prod/wash/toWash/get-import-template' }) } diff --git a/src/api/prod/rawCoalTransferIn.ts b/src/api/prod/rawCoalTransferIn.ts index 707c1f0..ca5f957 100644 --- a/src/api/prod/rawCoalTransferIn.ts +++ b/src/api/prod/rawCoalTransferIn.ts @@ -10,40 +10,40 @@ // 查询RawCoalTransferIn列表 export const getRawCoalTransferInPage = (params: RawCoalTransferInPageReqVO) => { - return request.get({ url: '/prod/wash/transferIn/page', params }) + return request.get({ url: '/xmcpms/prod/wash/transferIn/page', params }) } // 查询RawCoalTransferIn列表 export const getPointList = (params: RawCoalTransferInPageReqVO) => { - return request.get({ url: '/prod/wash/transferIn/list', params }) + return request.get({ url: '/xmcpms/prod/wash/transferIn/list', params }) } // 查询RawCoalTransferIn详情 export const getRawCoalTransferIn = (id: number) => { - return request.get({ url: `/prod/wash/transferIn/info/${id}`}) + return request.get({ url: `/xmcpms/prod/wash/transferIn/info/${id}`}) } // 新增RawCoalTransferIn export const createRawCoalTransferIn = (data: RawCoalTransferInVO) => { - return request.post({ url: '/prod/wash/transferIn/create', data }) + return request.post({ url: '/xmcpms/prod/wash/transferIn/create', data }) } // 修改RawCoalTransferIn export const updateRawCoalTransferIn = (data: RawCoalTransferInVO) => { - return request.put({ url: '/prod/wash/transferIn/update', data }) + return request.put({ url: '/xmcpms/prod/wash/transferIn/update', data }) } // 删除RawCoalTransferIn export const deleteRawCoalTransferIn = (id: number) => { - return request.delete({ url: '/prod/wash/transferIn/delete?id=' + id }) + return request.delete({ url: '/xmcpms/prod/wash/transferIn/delete?id=' + id }) } //导出RawCoalTransferInList export const exportRawCoalTransferIn = (params) => { - return request.download({ url: '/prod/wash/transferIn/export', params }) + return request.download({ url: '/xmcpms/prod/wash/transferIn/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/prod/wash/transferIn/get-import-template' }) + return request.download({ url: '/xmcpms/prod/wash/transferIn/get-import-template' }) } diff --git a/src/api/prod/runTime.ts b/src/api/prod/runTime.ts index 767a2b7..c149f03 100644 --- a/src/api/prod/runTime.ts +++ b/src/api/prod/runTime.ts @@ -18,40 +18,40 @@ // 查询RunTime列表 export const getRunTimePage = (params: RunTimePageReqVO) => { - return request.get({ url: '/prod/device/runTime/page', params }) + return request.get({ url: '/xmcpms/prod/device/runTime/page', params }) } // 查询RunTime列表 export const getPointList = (params: RunTimePageReqVO) => { - return request.get({ url: '/prod/device/runTime/list', params }) + return request.get({ url: '/xmcpms/prod/device/runTime/list', params }) } // 查询RunTime详情 export const getRunTime = (id: number) => { - return request.get({ url: `/prod/device/runTime/info/${id}`}) + return request.get({ url: `/xmcpms/prod/device/runTime/info/${id}`}) } // 新增RunTime export const createRunTime = (data: RunTimeVO) => { - return request.post({ url: '/prod/device/runTime/create', data }) + return request.post({ url: '/xmcpms/prod/device/runTime/create', data }) } // 修改RunTime export const updateRunTime = (data: RunTimeVO) => { - return request.put({ url: '/prod/device/runTime/update', data }) + return request.put({ url: '/xmcpms/prod/device/runTime/update', data }) } // 删除RunTime export const deleteRunTime = (id: number) => { - return request.delete({ url: '/prod/device/runTime/delete?id=' + id }) + return request.delete({ url: '/xmcpms/prod/device/runTime/delete?id=' + id }) } //导出RunTimeList export const exportRunTime = (params) => { - return request.download({ url: '/prod/device/runTime/export', params }) + return request.download({ url: '/xmcpms/prod/device/runTime/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/prod/device/runTime/get-import-template' }) + return request.download({ url: '/xmcpms/prod/device/runTime/get-import-template' }) } diff --git a/src/api/prod/targetConsume.ts b/src/api/prod/targetConsume.ts index c653472..96e1b09 100644 --- a/src/api/prod/targetConsume.ts +++ b/src/api/prod/targetConsume.ts @@ -10,40 +10,40 @@ // 查询TargetConsume列表 export const getTargetConsumePage = (params: TargetConsumePageReqVO) => { - return request.get({ url: '/prod/targetConsume/page', params }) + return request.get({ url: '/xmcpms/prod/targetConsume/page', params }) } // 查询TargetConsume列表 export const getPointList = (params: TargetConsumePageReqVO) => { - return request.get({ url: '/prod/targetConsume/list', params }) + return request.get({ url: '/xmcpms/prod/targetConsume/list', params }) } // 查询TargetConsume详情 export const getTargetConsume = (id: number) => { - return request.get({ url: `/prod/targetConsume/info/${id}`}) + return request.get({ url: `/xmcpms/prod/targetConsume/info/${id}`}) } // 新增TargetConsume export const createTargetConsume = (data: TargetConsumeVO) => { - return request.post({ url: '/prod/targetConsume/create', data }) + return request.post({ url: '/xmcpms/prod/targetConsume/create', data }) } // 修改TargetConsume export const updateTargetConsume = (data: TargetConsumeVO) => { - return request.put({ url: '/prod/targetConsume/update', data }) + return request.put({ url: '/xmcpms/prod/targetConsume/update', data }) } // 删除TargetConsume export const deleteTargetConsume = (id: number) => { - return request.delete({ url: '/prod/targetConsume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/prod/targetConsume/delete?id=' + id }) } //导出TargetConsumeList export const exportTargetConsume = (params) => { - return request.download({ url: '/prod/targetConsume/export', params }) + return request.download({ url: '/xmcpms/prod/targetConsume/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/prod/targetConsume/get-import-template' }) + return request.download({ url: '/xmcpms/prod/targetConsume/get-import-template' }) } diff --git a/src/api/xmcpms/coal-quality/analysis/full/full-det.ts b/src/api/xmcpms/coal-quality/analysis/full/full-det.ts index b9919ca..ccf31ac 100644 --- a/src/api/xmcpms/coal-quality/analysis/full/full-det.ts +++ b/src/api/xmcpms/coal-quality/analysis/full/full-det.ts @@ -18,20 +18,20 @@ // 查询AnalysisDetVO详情 export const getAnalysisDetVO = (id: number) => { - return request.get({ url: `/data/da/point/info/${id}`}) + return request.get({ url: `/xmcpms/data/da/point/info/${id}`}) } // 新增AnalysisDetVO export const createAnalysisDetVO = (data: AnalysisDetVO) => { - return request.post({ url: '/data/da/point/create', data }) + return request.post({ url: '/xmcpms/data/da/point/create', data }) } // 修改AnalysisDetVO export const updateAnalysisDetVO = (data: AnalysisDetVO) => { - return request.put({ url: '/data/da/point/update', data }) + return request.put({ url: '/xmcpms/data/da/point/update', data }) } // 删除AnalysisDetVO export const deleteAnalysisDetVO = (id: number) => { - return request.delete({ url: '/data/da/point/delete?id=' + id }) + return request.delete({ url: '/xmcpms/data/da/point/delete?id=' + id }) } diff --git a/src/api/xmcpms/coal-quality/analysis/full/index.ts b/src/api/xmcpms/coal-quality/analysis/full/index.ts index fe19116..46e8703 100644 --- a/src/api/xmcpms/coal-quality/analysis/full/index.ts +++ b/src/api/xmcpms/coal-quality/analysis/full/index.ts @@ -24,25 +24,25 @@ // 查询Analysis列表 export const getAnalysisFullPage = (params: AnalysisFullPageReqVO) => { - return request.get({ url: '/coal-quality/analysis/full/page', params }) + return request.get({ url: '/xmcpms/coal-quality/analysis/full/page', params }) } // 查询Analysis详情 export const getAnalysis = (id: string) => { - return request.get({ url: '/coal-quality/analysis/full/get?id=' + id}) + return request.get({ url: '/xmcpms/coal-quality/analysis/full/get?id=' + id}) } // 新增Analysis export const createAnalysis = (data: AnalysisFullVO) => { - return request.post({ url: '/coal-quality/analysis/full/create', data }) + return request.post({ url: '/xmcpms/coal-quality/analysis/full/create', data }) } // 修改Analysis export const updateAnalysis = (data: AnalysisFullVO) => { - return request.put({ url: '/coal-quality/analysis/full/update', data }) + return request.put({ url: '/xmcpms/coal-quality/analysis/full/update', data }) } // 删除Analysis export const deleteAnalysis = (id: number) => { - return request.delete({ url: '/coal-quality/analysis/full/delete?id=' + id }) + return request.delete({ url: '/xmcpms/coal-quality/analysis/full/delete?id=' + id }) } diff --git a/src/api/xmcpms/coal-quality/analysis/wash-curves/index.ts b/src/api/xmcpms/coal-quality/analysis/wash-curves/index.ts index 5c276f1..d5acf47 100644 --- a/src/api/xmcpms/coal-quality/analysis/wash-curves/index.ts +++ b/src/api/xmcpms/coal-quality/analysis/wash-curves/index.ts @@ -20,26 +20,26 @@ // 查询WashCurves列表 export const getWashCurvesPage = (params: WashCurvesPageReqVO) => { - return request.get({ url: '/coal-quality/analysis/wash-curves/page', params }) + return request.get({ url: '/xmcpms/coal-quality/analysis/wash-curves/page', params }) } // 查询WashCurves详情 export const getWashCurvesInfo = (id: string) => { - return request.get({ url: '/coal-quality/analysis/wash-curves/get?id=' + id}) + return request.get({ url: '/xmcpms/coal-quality/analysis/wash-curves/get?id=' + id}) } // 新增WashCurves export const createWashCurves = (data: WashCurvesVO) => { - return request.post({ url: '/coal-quality/analysis/wash-curves/create', data }) + return request.post({ url: '/xmcpms/coal-quality/analysis/wash-curves/create', data }) } // 修改WashCurves export const updateWashCurves = (data: WashCurvesVO) => { - return request.put({ url: '/coal-quality/analysis/wash-curves/update', data }) + return request.put({ url: '/xmcpms/coal-quality/analysis/wash-curves/update', data }) } // 删除WashCurves export const deleteWashCurves = (ids) => { const data = ids - return request.delete({ url: '/coal-quality/analysis/wash-curves/delete', data}) + return request.delete({ url: '/xmcpms/coal-quality/analysis/wash-curves/delete', data}) } diff --git a/src/api/xmcpms/coal-quality/analysis/wash-curves/wash-curves-chart.ts b/src/api/xmcpms/coal-quality/analysis/wash-curves/wash-curves-chart.ts index 41788d8..3ce00a0 100644 --- a/src/api/xmcpms/coal-quality/analysis/wash-curves/wash-curves-chart.ts +++ b/src/api/xmcpms/coal-quality/analysis/wash-curves/wash-curves-chart.ts @@ -9,10 +9,10 @@ // 查询WashCurves详情 export const getWashCurvesChart = (curvesId: number) => { - return request.get({ url: '/coal-quality/analysis/wash-curves-chart/get?curvesId=' + curvesId }) + return request.get({ url: '/xmcpms/coal-quality/analysis/wash-curves-chart/get?curvesId=' + curvesId }) } export const drawWashCurvesChart = (data : WashCurvesChartVO) => { - return request.post({ url: '/coal-quality/analysis/wash-curves-chart/draw', data}) + return request.post({ url: '/xmcpms/coal-quality/analysis/wash-curves-chart/draw', data}) } diff --git a/src/api/xmcpms/coal-quality/analysis/wash-curves/wash-curves-det.ts b/src/api/xmcpms/coal-quality/analysis/wash-curves/wash-curves-det.ts index fbaa509..ac8fad4 100644 --- a/src/api/xmcpms/coal-quality/analysis/wash-curves/wash-curves-det.ts +++ b/src/api/xmcpms/coal-quality/analysis/wash-curves/wash-curves-det.ts @@ -3,6 +3,6 @@ // 查询WashCurves详情 export const getWashCurvesDet = (curvesId: number) => { - return request.get({ url: '/coal-quality/analysis/wash-curves-det/list?curvesId=' + curvesId }) + return request.get({ url: '/xmcpms/coal-quality/analysis/wash-curves-det/list?curvesId=' + curvesId }) } diff --git a/src/api/xmcpms/coal-quality/analysis/wash/target.ts b/src/api/xmcpms/coal-quality/analysis/wash/target.ts index dbd9778..044bc99 100644 --- a/src/api/xmcpms/coal-quality/analysis/wash/target.ts +++ b/src/api/xmcpms/coal-quality/analysis/wash/target.ts @@ -27,26 +27,26 @@ // 查询WashTarget列表 export const getWashTargetPage = (params: WashTargetVO) => { - return request.get({ url: '/coal-quality/wash/target/page', params }) + return request.get({ url: '/xmcpms/coal-quality/wash/target/page', params }) } // 查询WashTarget详情 export const getWashTarget = (id: string) => { - return request.get({ url: '/coal-quality/wash/target/get?id=' + id}) + return request.get({ url: '/xmcpms/coal-quality/wash/target/get?id=' + id}) } // 新增WashTarget export const createWashTarget = (data: WashTargetVO) => { - return request.post({ url: '/coal-quality/wash/target/create', data }) + return request.post({ url: '/xmcpms/coal-quality/wash/target/create', data }) } // 修改WashTarget export const updateWashTarget = (data: WashTargetVO) => { - return request.put({ url: '/coal-quality/wash/target/update', data }) + return request.put({ url: '/xmcpms/coal-quality/wash/target/update', data }) } // 删除WashTarget export const deleteWashTarget = (ids) => { const data = ids - return request.delete({ url: '/coal-quality/wash/target/delete?id=' + data }) + return request.delete({ url: '/xmcpms/coal-quality/wash/target/delete?id=' + data }) } diff --git a/src/api/xmcpms/coal-quality/detection/quick/index.ts b/src/api/xmcpms/coal-quality/detection/quick/index.ts index 6ffb8fe..787e94f 100644 --- a/src/api/xmcpms/coal-quality/detection/quick/index.ts +++ b/src/api/xmcpms/coal-quality/detection/quick/index.ts @@ -36,25 +36,25 @@ // 查询QualityDetection列表 export const getQualityDetectionPage = (params: QualityDetectionPageReqVO) => { - return request.get({ url: '/coal-quality/QualityDetection/full/page', params }) + return request.get({ url: '/xmcpms/coal-quality/QualityDetection/full/page', params }) } // 查询QualityDetection详情 export const getQualityDetection = (id: number) => { - return request.get({ url: '/coal-quality/QualityDetection/full/get?id=' + id}) + return request.get({ url: '/xmcpms/coal-quality/QualityDetection/full/get?id=' + id}) } // 新增QualityDetection export const createQualityDetection = (data: QualityDetectionVO) => { - return request.post({ url: '/coal-quality/QualityDetection/full/create', data }) + return request.post({ url: '/xmcpms/coal-quality/QualityDetection/full/create', data }) } // 修改QualityDetection export const updateQualityDetection = (data: QualityDetectionVO) => { - return request.put({ url: '/coal-quality/QualityDetection/full/update', data }) + return request.put({ url: '/xmcpms/coal-quality/QualityDetection/full/update', data }) } // 删除QualityDetection export const deleteQualityDetection = (id: number) => { - return request.delete({ url: '/coal-quality/QualityDetection/full/delete?id=' + id }) + return request.delete({ url: '/xmcpms/coal-quality/QualityDetection/full/delete?id=' + id }) } -- Gitblit v1.9.3