From 373c500356889c6c0eac99a08dfa5a85bfe97c7d Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期四, 12 十二月 2024 11:21:58 +0800 Subject: [PATCH] 请求路径修改 --- src/api/process/temp.ts | 16 +- src/api/prod/targetConsume.ts | 14 +- src/api/prod/rawCoalToWash.ts | 14 +- src/api/prod/dispatchLog.ts | 14 +- src/api/prod/powerConsume.ts | 14 +- src/api/prod/rawCoalStock.ts | 14 +- src/api/prod/dailySales.ts | 14 +- src/api/prod/rawCoalTransferIn.ts | 14 +- src/api/prod/prodAccident.ts | 14 +- src/api/process/prod.ts | 16 +- src/api/process/task.ts | 16 +- src/views/process/task/list.vue | 11 -- src/api/prod/runTime.ts | 14 +- src/api/prod/productStock.ts | 14 +- src/api/prod/hourVolume.ts | 14 +- src/api/process/remind.ts | 16 +- src/api/process/log.ts | 16 +- src/api/prod/onDutyInfo.ts | 14 +- src/api/process/maintain.ts | 16 +- src/api/prod/prodVolume.ts | 14 +- 20 files changed, 140 insertions(+), 149 deletions(-) diff --git a/src/api/process/log.ts b/src/api/process/log.ts index 33d5261..99e94ac 100644 --- a/src/api/process/log.ts +++ b/src/api/process/log.ts @@ -19,40 +19,40 @@ // 查询ProcessLog列表 export const getProcessLogPage = (params: ProcessLogPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/sale/volume/page', params }) + return request.get({ url: '/xmcpms/process/log/page', params }) } // 查询ProcessLog列表 export const getPointList = (params: ProcessLogPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/sale/volume/list', params }) + return request.get({ url: '/xmcpms/process/log/list', params }) } // 查询ProcessLog详情 export const getProcessLog = (id: number) => { - return request.get({ url: `/xmcpms/prod/sale/volume/info/${id}`}) + return request.get({ url: `/xmcpms/process/log/info/${id}`}) } // 新增ProcessLog export const createProcessLog = (data: ProcessLogVO) => { - return request.post({ url: '/xmcpms/order-prod/sale/volume/create', data }) + return request.post({ url: '/xmcpms/process/log/create', data }) } // 修改ProcessLog export const updateProcessLog = (data: ProcessLogVO) => { - return request.put({ url: '/xmcpms/order-prod/sale/volume/update', data }) + return request.put({ url: '/xmcpms/process/log/update', data }) } // 删除ProcessLog export const deleteProcessLog = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/sale/volume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/process/log/delete?id=' + id }) } //导出ProcessLogList export const exportProcessLog = (params) => { - return request.download({ url: '/xmcpms/order-prod/sale/volume/export', params }) + return request.download({ url: '/xmcpms/process/log/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/sale/volume/get-import-template' }) + return request.download({ url: '/xmcpms/process/log/get-import-template' }) } diff --git a/src/api/process/maintain.ts b/src/api/process/maintain.ts index 9244bea..1163a58 100644 --- a/src/api/process/maintain.ts +++ b/src/api/process/maintain.ts @@ -19,40 +19,40 @@ // 查询DailySales列表 export const getDailySalesPage = (params: DailySalesPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/sale/volume/page', params }) + return request.get({ url: '/xmcpms/process/maintainOrder/page', params }) } // 查询DailySales列表 export const getPointList = (params: DailySalesPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/sale/volume/list', params }) + return request.get({ url: '/xmcpms/process/maintainOrder/list', params }) } // 查询DailySales详情 export const getDailySales = (id: number) => { - return request.get({ url: `/xmcpms/prod/sale/volume/info/${id}`}) + return request.get({ url: `/xmcpms/process/maintainOrder/info/${id}`}) } // 新增DailySales export const createDailySales = (data: DailySalesVO) => { - return request.post({ url: '/xmcpms/order-prod/sale/volume/create', data }) + return request.post({ url: '/xmcpms/process/maintainOrder/create', data }) } // 修改DailySales export const updateDailySales = (data: DailySalesVO) => { - return request.put({ url: '/xmcpms/order-prod/sale/volume/update', data }) + return request.put({ url: '/xmcpms/process/maintainOrder/update', data }) } // 删除DailySales export const deleteDailySales = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/sale/volume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/process/maintainOrder/delete?id=' + id }) } //导出DailySalesList export const exportDailySales = (params) => { - return request.download({ url: '/xmcpms/order-prod/sale/volume/export', params }) + return request.download({ url: '/xmcpms/process/maintainOrder/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/sale/volume/get-import-template' }) + return request.download({ url: '/xmcpms/process/maintainOrder/get-import-template' }) } diff --git a/src/api/process/prod.ts b/src/api/process/prod.ts index 9244bea..6cea9f2 100644 --- a/src/api/process/prod.ts +++ b/src/api/process/prod.ts @@ -19,40 +19,40 @@ // 查询DailySales列表 export const getDailySalesPage = (params: DailySalesPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/sale/volume/page', params }) + return request.get({ url: '/xmcpms/process/prodOrder/page', params }) } // 查询DailySales列表 export const getPointList = (params: DailySalesPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/sale/volume/list', params }) + return request.get({ url: '/xmcpms/process/prodOrder/list', params }) } // 查询DailySales详情 export const getDailySales = (id: number) => { - return request.get({ url: `/xmcpms/prod/sale/volume/info/${id}`}) + return request.get({ url: `/xmcpms/process/prodOrder/info/${id}`}) } // 新增DailySales export const createDailySales = (data: DailySalesVO) => { - return request.post({ url: '/xmcpms/order-prod/sale/volume/create', data }) + return request.post({ url: '/xmcpms/process/prodOrder/create', data }) } // 修改DailySales export const updateDailySales = (data: DailySalesVO) => { - return request.put({ url: '/xmcpms/order-prod/sale/volume/update', data }) + return request.put({ url: '/xmcpms/process/prodOrder/update', data }) } // 删除DailySales export const deleteDailySales = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/sale/volume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/process/prodOrder/delete?id=' + id }) } //导出DailySalesList export const exportDailySales = (params) => { - return request.download({ url: '/xmcpms/order-prod/sale/volume/export', params }) + return request.download({ url: '/xmcpms/process/prodOrder/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/sale/volume/get-import-template' }) + return request.download({ url: '/xmcpms/process/prodOrder/get-import-template' }) } diff --git a/src/api/process/remind.ts b/src/api/process/remind.ts index 9244bea..dd52002 100644 --- a/src/api/process/remind.ts +++ b/src/api/process/remind.ts @@ -19,40 +19,40 @@ // 查询DailySales列表 export const getDailySalesPage = (params: DailySalesPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/sale/volume/page', params }) + return request.get({ url: '/xmcpms/process/remindOrder/page', params }) } // 查询DailySales列表 export const getPointList = (params: DailySalesPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/sale/volume/list', params }) + return request.get({ url: '/xmcpms/process/remindOrder/list', params }) } // 查询DailySales详情 export const getDailySales = (id: number) => { - return request.get({ url: `/xmcpms/prod/sale/volume/info/${id}`}) + return request.get({ url: `/xmcpms/process/remindOrder/info/${id}`}) } // 新增DailySales export const createDailySales = (data: DailySalesVO) => { - return request.post({ url: '/xmcpms/order-prod/sale/volume/create', data }) + return request.post({ url: '/xmcpms/process/remindOrder/create', data }) } // 修改DailySales export const updateDailySales = (data: DailySalesVO) => { - return request.put({ url: '/xmcpms/order-prod/sale/volume/update', data }) + return request.put({ url: '/xmcpms/process/remindOrder/update', data }) } // 删除DailySales export const deleteDailySales = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/sale/volume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/process/remindOrder/delete?id=' + id }) } //导出DailySalesList export const exportDailySales = (params) => { - return request.download({ url: '/xmcpms/order-prod/sale/volume/export', params }) + return request.download({ url: '/xmcpms/process/remindOrder/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/sale/volume/get-import-template' }) + return request.download({ url: '/xmcpms/process/remindOrder/get-import-template' }) } diff --git a/src/api/process/task.ts b/src/api/process/task.ts index 9244bea..8887cdb 100644 --- a/src/api/process/task.ts +++ b/src/api/process/task.ts @@ -19,40 +19,40 @@ // 查询DailySales列表 export const getDailySalesPage = (params: DailySalesPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/sale/volume/page', params }) + return request.get({ url: '/xmcpms/process/task/page', params }) } // 查询DailySales列表 export const getPointList = (params: DailySalesPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/sale/volume/list', params }) + return request.get({ url: '/xmcpms/process/task/list', params }) } // 查询DailySales详情 export const getDailySales = (id: number) => { - return request.get({ url: `/xmcpms/prod/sale/volume/info/${id}`}) + return request.get({ url: `/xmcpms/process/task/info/${id}`}) } // 新增DailySales export const createDailySales = (data: DailySalesVO) => { - return request.post({ url: '/xmcpms/order-prod/sale/volume/create', data }) + return request.post({ url: '/xmcpms/process/task/create', data }) } // 修改DailySales export const updateDailySales = (data: DailySalesVO) => { - return request.put({ url: '/xmcpms/order-prod/sale/volume/update', data }) + return request.put({ url: '/xmcpms/process/task/update', data }) } // 删除DailySales export const deleteDailySales = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/sale/volume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/process/task/delete?id=' + id }) } //导出DailySalesList export const exportDailySales = (params) => { - return request.download({ url: '/xmcpms/order-prod/sale/volume/export', params }) + return request.download({ url: '/xmcpms/process/task/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/sale/volume/get-import-template' }) + return request.download({ url: '/xmcpms/process/task/get-import-template' }) } diff --git a/src/api/process/temp.ts b/src/api/process/temp.ts index 9244bea..10c2efe 100644 --- a/src/api/process/temp.ts +++ b/src/api/process/temp.ts @@ -19,40 +19,40 @@ // 查询DailySales列表 export const getDailySalesPage = (params: DailySalesPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/sale/volume/page', params }) + return request.get({ url: '/xmcpms/process/tempOrder/page', params }) } // 查询DailySales列表 export const getPointList = (params: DailySalesPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/sale/volume/list', params }) + return request.get({ url: '/xmcpms/process/tempOrder/list', params }) } // 查询DailySales详情 export const getDailySales = (id: number) => { - return request.get({ url: `/xmcpms/prod/sale/volume/info/${id}`}) + return request.get({ url: `/xmcpms/process/tempOrder/info/${id}`}) } // 新增DailySales export const createDailySales = (data: DailySalesVO) => { - return request.post({ url: '/xmcpms/order-prod/sale/volume/create', data }) + return request.post({ url: '/xmcpms/process/tempOrder/create', data }) } // 修改DailySales export const updateDailySales = (data: DailySalesVO) => { - return request.put({ url: '/xmcpms/order-prod/sale/volume/update', data }) + return request.put({ url: '/xmcpms/process/tempOrder/update', data }) } // 删除DailySales export const deleteDailySales = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/sale/volume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/process/tempOrder/delete?id=' + id }) } //导出DailySalesList export const exportDailySales = (params) => { - return request.download({ url: '/xmcpms/order-prod/sale/volume/export', params }) + return request.download({ url: '/xmcpms/process/tempOrder/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/sale/volume/get-import-template' }) + return request.download({ url: '/xmcpms/process/tempOrder/get-import-template' }) } diff --git a/src/api/prod/dailySales.ts b/src/api/prod/dailySales.ts index 9244bea..57a816a 100644 --- a/src/api/prod/dailySales.ts +++ b/src/api/prod/dailySales.ts @@ -19,12 +19,12 @@ // 查询DailySales列表 export const getDailySalesPage = (params: DailySalesPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/sale/volume/page', params }) + return request.get({ url: '/xmcpms/sale/volume/page', params }) } // 查询DailySales列表 export const getPointList = (params: DailySalesPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/sale/volume/list', params }) + return request.get({ url: '/xmcpms/sale/volume/list', params }) } // 查询DailySales详情 @@ -34,25 +34,25 @@ // 新增DailySales export const createDailySales = (data: DailySalesVO) => { - return request.post({ url: '/xmcpms/order-prod/sale/volume/create', data }) + return request.post({ url: '/xmcpms/sale/volume/create', data }) } // 修改DailySales export const updateDailySales = (data: DailySalesVO) => { - return request.put({ url: '/xmcpms/order-prod/sale/volume/update', data }) + return request.put({ url: '/xmcpms/sale/volume/update', data }) } // 删除DailySales export const deleteDailySales = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/sale/volume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/sale/volume/delete?id=' + id }) } //导出DailySalesList export const exportDailySales = (params) => { - return request.download({ url: '/xmcpms/order-prod/sale/volume/export', params }) + return request.download({ url: '/xmcpms/sale/volume/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/sale/volume/get-import-template' }) + return request.download({ url: '/xmcpms/sale/volume/get-import-template' }) } diff --git a/src/api/prod/dispatchLog.ts b/src/api/prod/dispatchLog.ts index 43fd986..a307ea0 100644 --- a/src/api/prod/dispatchLog.ts +++ b/src/api/prod/dispatchLog.ts @@ -10,12 +10,12 @@ // 查询DispatchLog列表 export const getDispatchLogPage = (params: DispatchLogPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/work/dispatchLog/page', params }) + return request.get({ url: '/xmcpms/work/dispatchLog/page', params }) } // 查询DispatchLog列表 export const getPointList = (params: DispatchLogPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/work/dispatchLog/list', params }) + return request.get({ url: '/xmcpms/work/dispatchLog/list', params }) } // 查询DispatchLog详情 @@ -25,25 +25,25 @@ // 新增DispatchLog export const createDispatchLog = (data: DispatchLogVO) => { - return request.post({ url: '/xmcpms/order-prod/work/dispatchLog/create', data }) + return request.post({ url: '/xmcpms/work/dispatchLog/create', data }) } // 修改DispatchLog export const updateDispatchLog = (data: DispatchLogVO) => { - return request.put({ url: '/xmcpms/order-prod/work/dispatchLog/update', data }) + return request.put({ url: '/xmcpms/work/dispatchLog/update', data }) } // 删除DispatchLog export const deleteDispatchLog = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/work/dispatchLog/delete?id=' + id }) + return request.delete({ url: '/xmcpms/work/dispatchLog/delete?id=' + id }) } //导出DispatchLogList export const exportDispatchLog = (params) => { - return request.download({ url: '/xmcpms/order-prod/work/dispatchLog/export', params }) + return request.download({ url: '/xmcpms/work/dispatchLog/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/work/dispatchLog/get-import-template' }) + return request.download({ url: '/xmcpms/work/dispatchLog/get-import-template' }) } diff --git a/src/api/prod/hourVolume.ts b/src/api/prod/hourVolume.ts index be6eb23..134caf0 100644 --- a/src/api/prod/hourVolume.ts +++ b/src/api/prod/hourVolume.ts @@ -25,12 +25,12 @@ // 查询HourVolume列表 export const getHourVolumePage = (params: HourVolumePageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/wash/hourVolume/page', params }) + return request.get({ url: '/xmcpms/wash/hourVolume/page', params }) } // 查询HourVolume列表 export const getPointList = (params: HourVolumePageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/wash/hourVolume/list', params }) + return request.get({ url: '/xmcpms/wash/hourVolume/list', params }) } // 查询HourVolume详情 @@ -40,25 +40,25 @@ // 新增HourVolume export const createHourVolume = (data: HourVolumeVO) => { - return request.post({ url: '/xmcpms/order-prod/wash/hourVolume/create', data }) + return request.post({ url: '/xmcpms/wash/hourVolume/create', data }) } // 修改HourVolume export const updateHourVolume = (data: HourVolumeVO) => { - return request.put({ url: '/xmcpms/order-prod/wash/hourVolume/update', data }) + return request.put({ url: '/xmcpms/wash/hourVolume/update', data }) } // 删除HourVolume export const deleteHourVolume = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/wash/hourVolume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/wash/hourVolume/delete?id=' + id }) } //导出HourVolumeList export const exportHourVolume = (params) => { - return request.download({ url: '/xmcpms/order-prod/wash/hourVolume/export', params }) + return request.download({ url: '/xmcpms/wash/hourVolume/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/wash/hourVolume/get-import-template' }) + return request.download({ url: '/xmcpms/wash/hourVolume/get-import-template' }) } diff --git a/src/api/prod/onDutyInfo.ts b/src/api/prod/onDutyInfo.ts index 3649530..4d040de 100644 --- a/src/api/prod/onDutyInfo.ts +++ b/src/api/prod/onDutyInfo.ts @@ -10,12 +10,12 @@ // 查询OnDutyInfo列表 export const getOnDutyInfoPage = (params: OnDutyInfoPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/work/onDutyInfo/page', params }) + return request.get({ url: '/xmcpms/work/onDutyInfo/page', params }) } // 查询OnDutyInfo列表 export const getPointList = (params: OnDutyInfoPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/work/onDutyInfo/list', params }) + return request.get({ url: '/xmcpms/work/onDutyInfo/list', params }) } // 查询OnDutyInfo详情 @@ -25,25 +25,25 @@ // 新增OnDutyInfo export const createOnDutyInfo = (data: OnDutyInfoVO) => { - return request.post({ url: '/xmcpms/order-prod/work/onDutyInfo/create', data }) + return request.post({ url: '/xmcpms/work/onDutyInfo/create', data }) } // 修改OnDutyInfo export const updateOnDutyInfo = (data: OnDutyInfoVO) => { - return request.put({ url: '/xmcpms/order-prod/work/onDutyInfo/update', data }) + return request.put({ url: '/xmcpms/work/onDutyInfo/update', data }) } // 删除OnDutyInfo export const deleteOnDutyInfo = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/work/onDutyInfo/delete?id=' + id }) + return request.delete({ url: '/xmcpms/work/onDutyInfo/delete?id=' + id }) } //导出OnDutyInfoList export const exportOnDutyInfo = (params) => { - return request.download({ url: '/xmcpms/order-prod/work/onDutyInfo/export', params }) + return request.download({ url: '/xmcpms/work/onDutyInfo/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/work/onDutyInfo/get-import-template' }) + return request.download({ url: '/xmcpms/work/onDutyInfo/get-import-template' }) } diff --git a/src/api/prod/powerConsume.ts b/src/api/prod/powerConsume.ts index 0ec95c9..7eba164 100644 --- a/src/api/prod/powerConsume.ts +++ b/src/api/prod/powerConsume.ts @@ -10,12 +10,12 @@ // 查询PowerConsume列表 export const getPowerConsumePage = (params: PowerConsumePageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/powerConsume/page', params }) + return request.get({ url: '/xmcpms/powerConsume/page', params }) } // 查询PowerConsume列表 export const getPointList = (params: PowerConsumePageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/powerConsume/list', params }) + return request.get({ url: '/xmcpms/powerConsume/list', params }) } // 查询PowerConsume详情 @@ -25,25 +25,25 @@ // 新增PowerConsume export const createPowerConsume = (data: PowerConsumeVO) => { - return request.post({ url: '/xmcpms/order-prod/powerConsume/create', data }) + return request.post({ url: '/xmcpms/powerConsume/create', data }) } // 修改PowerConsume export const updatePowerConsume = (data: PowerConsumeVO) => { - return request.put({ url: '/xmcpms/order-prod/powerConsume/update', data }) + return request.put({ url: '/xmcpms/powerConsume/update', data }) } // 删除PowerConsume export const deletePowerConsume = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/powerConsume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/powerConsume/delete?id=' + id }) } //导出PowerConsumeList export const exportPowerConsume = (params) => { - return request.download({ url: '/xmcpms/order-prod/powerConsume/export', params }) + return request.download({ url: '/xmcpms/powerConsume/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/powerConsume/get-import-template' }) + return request.download({ url: '/xmcpms/powerConsume/get-import-template' }) } diff --git a/src/api/prod/prodAccident.ts b/src/api/prod/prodAccident.ts index a1711be..359cb04 100644 --- a/src/api/prod/prodAccident.ts +++ b/src/api/prod/prodAccident.ts @@ -10,12 +10,12 @@ // 查询ProdAccident列表 export const getProdAccidentPage = (params: ProdAccidentPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/work/prodAccident/page', params }) + return request.get({ url: '/xmcpms/work/prodAccident/page', params }) } // 查询ProdAccident列表 export const getPointList = (params: ProdAccidentPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/work/prodAccident/list', params }) + return request.get({ url: '/xmcpms/work/prodAccident/list', params }) } // 查询ProdAccident详情 @@ -25,25 +25,25 @@ // 新增ProdAccident export const createProdAccident = (data: ProdAccidentVO) => { - return request.post({ url: '/xmcpms/order-prod/work/prodAccident/create', data }) + return request.post({ url: '/xmcpms/work/prodAccident/create', data }) } // 修改ProdAccident export const updateProdAccident = (data: ProdAccidentVO) => { - return request.put({ url: '/xmcpms/order-prod/work/prodAccident/update', data }) + return request.put({ url: '/xmcpms/work/prodAccident/update', data }) } // 删除ProdAccident export const deleteProdAccident = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/work/prodAccident/delete?id=' + id }) + return request.delete({ url: '/xmcpms/work/prodAccident/delete?id=' + id }) } //导出ProdAccidentList export const exportProdAccident = (params) => { - return request.download({ url: '/xmcpms/order-prod/work/prodAccident/export', params }) + return request.download({ url: '/xmcpms/work/prodAccident/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/work/prodAccident/get-import-template' }) + return request.download({ url: '/xmcpms/work/prodAccident/get-import-template' }) } diff --git a/src/api/prod/prodVolume.ts b/src/api/prod/prodVolume.ts index 5fc7dcf..e2ea74f 100644 --- a/src/api/prod/prodVolume.ts +++ b/src/api/prod/prodVolume.ts @@ -10,12 +10,12 @@ // 查询ProdVolume列表 export const getProdVolumePage = (params: ProdVolumePageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/wash/prodVolume/page', params }) + return request.get({ url: '/xmcpms/wash/prodVolume/page', params }) } // 查询ProdVolume列表 export const getPointList = (params: ProdVolumePageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/wash/prodVolume/list', params }) + return request.get({ url: '/xmcpms/wash/prodVolume/list', params }) } // 查询ProdVolume详情 @@ -25,25 +25,25 @@ // 新增ProdVolume export const createProdVolume = (data: ProdVolumeVO) => { - return request.post({ url: '/xmcpms/order-prod/wash/prodVolume/create', data }) + return request.post({ url: '/xmcpms/wash/prodVolume/create', data }) } // 修改ProdVolume export const updateProdVolume = (data: ProdVolumeVO) => { - return request.put({ url: '/xmcpms/order-prod/wash/prodVolume/update', data }) + return request.put({ url: '/xmcpms/wash/prodVolume/update', data }) } // 删除ProdVolume export const deleteProdVolume = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/wash/prodVolume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/wash/prodVolume/delete?id=' + id }) } //导出ProdVolumeList export const exportProdVolume = (params) => { - return request.download({ url: '/xmcpms/order-prod/wash/prodVolume/export', params }) + return request.download({ url: '/xmcpms/wash/prodVolume/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/wash/prodVolume/get-import-template' }) + return request.download({ url: '/xmcpms/wash/prodVolume/get-import-template' }) } diff --git a/src/api/prod/productStock.ts b/src/api/prod/productStock.ts index bf7e48f..f3e544c 100644 --- a/src/api/prod/productStock.ts +++ b/src/api/prod/productStock.ts @@ -10,12 +10,12 @@ // 查询ProductStock列表 export const getProductStockPage = (params: ProductStockPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/productStock/page', params }) + return request.get({ url: '/xmcpms/productStock/page', params }) } // 查询ProductStock列表 export const getPointList = (params: ProductStockPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/productStock/list', params }) + return request.get({ url: '/xmcpms/productStock/list', params }) } // 查询ProductStock详情 @@ -25,25 +25,25 @@ // 新增ProductStock export const createProductStock = (data: ProductStockVO) => { - return request.post({ url: '/xmcpms/order-prod/productStock/create', data }) + return request.post({ url: '/xmcpms/productStock/create', data }) } // 修改ProductStock export const updateProductStock = (data: ProductStockVO) => { - return request.put({ url: '/xmcpms/order-prod/productStock/update', data }) + return request.put({ url: '/xmcpms/productStock/update', data }) } // 删除ProductStock export const deleteProductStock = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/productStock/delete?id=' + id }) + return request.delete({ url: '/xmcpms/productStock/delete?id=' + id }) } //导出ProductStockList export const exportProductStock = (params) => { - return request.download({ url: '/xmcpms/order-prod/productStock/export', params }) + return request.download({ url: '/xmcpms/productStock/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/productStock/get-import-template' }) + return request.download({ url: '/xmcpms/productStock/get-import-template' }) } diff --git a/src/api/prod/rawCoalStock.ts b/src/api/prod/rawCoalStock.ts index 696a838..c586e98 100644 --- a/src/api/prod/rawCoalStock.ts +++ b/src/api/prod/rawCoalStock.ts @@ -10,12 +10,12 @@ // 查询RawCoalStock列表 export const getRawCoalStockPage = (params: RawCoalStockPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/warehouse/item/page', params }) + return request.get({ url: '/xmcpms/warehouse/item/page', params }) } // 查询RawCoalStock列表 export const getPointList = (params: RawCoalStockPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/warehouse/item/list', params }) + return request.get({ url: '/xmcpms/warehouse/item/list', params }) } // 查询RawCoalStock详情 @@ -25,25 +25,25 @@ // 新增RawCoalStock export const createRawCoalStock = (data: RawCoalStockVO) => { - return request.post({ url: '/xmcpms/order-prod/warehouse/item/create', data }) + return request.post({ url: '/xmcpms/warehouse/item/create', data }) } // 修改RawCoalStock export const updateRawCoalStock = (data: RawCoalStockVO) => { - return request.put({ url: '/xmcpms/order-prod/warehouse/item/update', data }) + return request.put({ url: '/xmcpms/warehouse/item/update', data }) } // 删除RawCoalStock export const deleteRawCoalStock = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/warehouse/item/delete?id=' + id }) + return request.delete({ url: '/xmcpms/warehouse/item/delete?id=' + id }) } //导出RawCoalStockList export const exportRawCoalStock = (params) => { - return request.download({ url: '/xmcpms/order-prod/warehouse/item/export', params }) + return request.download({ url: '/xmcpms/warehouse/item/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/warehouse/item/get-import-template' }) + return request.download({ url: '/xmcpms/warehouse/item/get-import-template' }) } diff --git a/src/api/prod/rawCoalToWash.ts b/src/api/prod/rawCoalToWash.ts index 5a9e462..c55e6a1 100644 --- a/src/api/prod/rawCoalToWash.ts +++ b/src/api/prod/rawCoalToWash.ts @@ -10,12 +10,12 @@ // 查询RawCoalToWash列表 export const getRawCoalToWashPage = (params: RawCoalToWashPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/wash/toWash/page', params }) + return request.get({ url: '/xmcpms/wash/toWash/page', params }) } // 查询RawCoalToWash列表 export const getPointList = (params: RawCoalToWashPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/wash/toWash/list', params }) + return request.get({ url: '/xmcpms/wash/toWash/list', params }) } // 查询RawCoalToWash详情 @@ -25,25 +25,25 @@ // 新增RawCoalToWash export const createRawCoalToWash = (data: RawCoalToWashVO) => { - return request.post({ url: '/xmcpms/order-prod/wash/toWash/create', data }) + return request.post({ url: '/xmcpms/wash/toWash/create', data }) } // 修改RawCoalToWash export const updateRawCoalToWash = (data: RawCoalToWashVO) => { - return request.put({ url: '/xmcpms/order-prod/wash/toWash/update', data }) + return request.put({ url: '/xmcpms/wash/toWash/update', data }) } // 删除RawCoalToWash export const deleteRawCoalToWash = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/wash/toWash/delete?id=' + id }) + return request.delete({ url: '/xmcpms/wash/toWash/delete?id=' + id }) } //导出RawCoalToWashList export const exportRawCoalToWash = (params) => { - return request.download({ url: '/xmcpms/order-prod/wash/toWash/export', params }) + return request.download({ url: '/xmcpms/wash/toWash/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/wash/toWash/get-import-template' }) + return request.download({ url: '/xmcpms/wash/toWash/get-import-template' }) } diff --git a/src/api/prod/rawCoalTransferIn.ts b/src/api/prod/rawCoalTransferIn.ts index 3d2218e..2960cd1 100644 --- a/src/api/prod/rawCoalTransferIn.ts +++ b/src/api/prod/rawCoalTransferIn.ts @@ -10,12 +10,12 @@ // 查询RawCoalTransferIn列表 export const getRawCoalTransferInPage = (params: RawCoalTransferInPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/wash/transferIn/page', params }) + return request.get({ url: '/xmcpms/wash/transferIn/page', params }) } // 查询RawCoalTransferIn列表 export const getPointList = (params: RawCoalTransferInPageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/wash/transferIn/list', params }) + return request.get({ url: '/xmcpms/wash/transferIn/list', params }) } // 查询RawCoalTransferIn详情 @@ -25,25 +25,25 @@ // 新增RawCoalTransferIn export const createRawCoalTransferIn = (data: RawCoalTransferInVO) => { - return request.post({ url: '/xmcpms/order-prod/wash/transferIn/create', data }) + return request.post({ url: '/xmcpms/wash/transferIn/create', data }) } // 修改RawCoalTransferIn export const updateRawCoalTransferIn = (data: RawCoalTransferInVO) => { - return request.put({ url: '/xmcpms/order-prod/wash/transferIn/update', data }) + return request.put({ url: '/xmcpms/wash/transferIn/update', data }) } // 删除RawCoalTransferIn export const deleteRawCoalTransferIn = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/wash/transferIn/delete?id=' + id }) + return request.delete({ url: '/xmcpms/wash/transferIn/delete?id=' + id }) } //导出RawCoalTransferInList export const exportRawCoalTransferIn = (params) => { - return request.download({ url: '/xmcpms/order-prod/wash/transferIn/export', params }) + return request.download({ url: '/xmcpms/wash/transferIn/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/wash/transferIn/get-import-template' }) + return request.download({ url: '/xmcpms/wash/transferIn/get-import-template' }) } diff --git a/src/api/prod/runTime.ts b/src/api/prod/runTime.ts index b62f8e8..035b781 100644 --- a/src/api/prod/runTime.ts +++ b/src/api/prod/runTime.ts @@ -18,12 +18,12 @@ // 查询RunTime列表 export const getRunTimePage = (params: RunTimePageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/device/runTime/page', params }) + return request.get({ url: '/xmcpms/device/runTime/page', params }) } // 查询RunTime列表 export const getPointList = (params: RunTimePageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/device/runTime/list', params }) + return request.get({ url: '/xmcpms/device/runTime/list', params }) } // 查询RunTime详情 @@ -33,25 +33,25 @@ // 新增RunTime export const createRunTime = (data: RunTimeVO) => { - return request.post({ url: '/xmcpms/order-prod/device/runTime/create', data }) + return request.post({ url: '/xmcpms/device/runTime/create', data }) } // 修改RunTime export const updateRunTime = (data: RunTimeVO) => { - return request.put({ url: '/xmcpms/order-prod/device/runTime/update', data }) + return request.put({ url: '/xmcpms/device/runTime/update', data }) } // 删除RunTime export const deleteRunTime = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/device/runTime/delete?id=' + id }) + return request.delete({ url: '/xmcpms/device/runTime/delete?id=' + id }) } //导出RunTimeList export const exportRunTime = (params) => { - return request.download({ url: '/xmcpms/order-prod/device/runTime/export', params }) + return request.download({ url: '/xmcpms/device/runTime/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/device/runTime/get-import-template' }) + return request.download({ url: '/xmcpms/device/runTime/get-import-template' }) } diff --git a/src/api/prod/targetConsume.ts b/src/api/prod/targetConsume.ts index c99d7ec..7eead04 100644 --- a/src/api/prod/targetConsume.ts +++ b/src/api/prod/targetConsume.ts @@ -10,12 +10,12 @@ // 查询TargetConsume列表 export const getTargetConsumePage = (params: TargetConsumePageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/targetConsume/page', params }) + return request.get({ url: '/xmcpms/targetConsume/page', params }) } // 查询TargetConsume列表 export const getPointList = (params: TargetConsumePageReqVO) => { - return request.get({ url: '/xmcpms/order-prod/targetConsume/list', params }) + return request.get({ url: '/xmcpms/targetConsume/list', params }) } // 查询TargetConsume详情 @@ -25,25 +25,25 @@ // 新增TargetConsume export const createTargetConsume = (data: TargetConsumeVO) => { - return request.post({ url: '/xmcpms/order-prod/targetConsume/create', data }) + return request.post({ url: '/xmcpms/targetConsume/create', data }) } // 修改TargetConsume export const updateTargetConsume = (data: TargetConsumeVO) => { - return request.put({ url: '/xmcpms/order-prod/targetConsume/update', data }) + return request.put({ url: '/xmcpms/targetConsume/update', data }) } // 删除TargetConsume export const deleteTargetConsume = (id: number) => { - return request.delete({ url: '/xmcpms/order-prod/targetConsume/delete?id=' + id }) + return request.delete({ url: '/xmcpms/targetConsume/delete?id=' + id }) } //导出TargetConsumeList export const exportTargetConsume = (params) => { - return request.download({ url: '/xmcpms/order-prod/targetConsume/export', params }) + return request.download({ url: '/xmcpms/targetConsume/export', params }) } // 下载用户导入模板 export const importPointTemplate = () => { - return request.download({ url: '/xmcpms/order-prod/targetConsume/get-import-template' }) + return request.download({ url: '/xmcpms/targetConsume/get-import-template' }) } diff --git a/src/views/process/task/list.vue b/src/views/process/task/list.vue index 8f79896..1e3ca20 100644 --- a/src/views/process/task/list.vue +++ b/src/views/process/task/list.vue @@ -72,16 +72,7 @@ </el-button> <el-button @click="resetQuery"> <Icon icon="ep:refresh" class="mr-5px"/> - 重置 - </el-button> - <el-button - type="primary" - plain - @click="openForm('create')" - v-hasPermi="['data:point:create']" - > - <Icon icon="ep:plus" class="mr-5px"/> - 新增 + 刷新 </el-button> </el-form-item> </el-form> -- Gitblit v1.9.3