From 7f1d6eb9f555b1f38d85e84d57bc17192cceb274 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期二, 07 一月 2025 14:22:40 +0800 Subject: [PATCH] 1、修改logo图标 2、修改config.ts plat_url值 3、移除VITE_PLAT_API_URL 4、将应用改为目录 --- src/api/prod/runTime.ts | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) 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' }) } -- Gitblit v1.9.3