| | |
| | | |
| | | // 查询MmPredictItem列表 |
| | | export const getMmPredictItemPage = (params: MmPredictItemPageReqVO) => { |
| | | return request.get({ url: '/pre/predict-item/page', params }) |
| | | return request.get({ url: '/pre/result-table/page', params }) |
| | | } |
| | | |
| | | // 查询MmPredictItem详情 |
| | | export const getMmPredictItem = (id: number) => { |
| | | return request.get({ url: `/pre/predict-item/get/${id}`}) |
| | | return request.get({ url: `/pre/result-table/get/${id}`}) |
| | | } |
| | | |
| | | // 新增MmPredictItem |
| | | export const createMmPredictItem = (data: MmPredictItemVO) => { |
| | | return request.post({ url: '/pre/predict-item/create', data }) |
| | | return request.post({ url: '/pre/result-table/create', data }) |
| | | } |
| | | |
| | | // 修改MmPredictItem |
| | | export const updateMmPredictItem = (data: MmPredictItemVO) => { |
| | | return request.put({ url: '/pre/predict-item/update', data }) |
| | | return request.put({ url: '/pre/result-table/update', data }) |
| | | } |
| | | |
| | | // 删除MmPredictItem |
| | | export const deleteMmPredictItem = (id: number) => { |
| | | return request.delete({ url: '/pre/predict-item/delete?id=' + id }) |
| | | return request.delete({ url: '/pre/result-table/delete?id=' + id }) |
| | | } |