| | |
| | | |
| | | // 查询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 }) |
| | | } |