提交 | 用户 | 时间
|
550970
|
1 |
import request from '@/config/axios' |
L |
2 |
|
|
3 |
export interface MmResultTableVO { |
|
4 |
id: string |
|
5 |
tablename: string, |
|
6 |
} |
|
7 |
|
|
8 |
export interface MmResultTablePageReqVO extends PageParam { |
|
9 |
tablename?: string |
|
10 |
} |
|
11 |
|
|
12 |
// 查询MmResultTable列表 |
|
13 |
export const getMmResultTablePage = (params: MmResultTablePageReqVO) => { |
|
14 |
return request.get({ url: '/pre/predict-item/page', params }) |
|
15 |
} |
|
16 |
|
|
17 |
// 查询MmResultTable详情 |
|
18 |
export const getMmResultTable = (id: number) => { |
|
19 |
return request.get({ url: `/pre/predict-item/get/${id}`}) |
|
20 |
} |
|
21 |
|
|
22 |
// 新增MmResultTable |
|
23 |
export const createMmResultTable = (data: MmResultTableVO) => { |
|
24 |
return request.post({ url: '/pre/predict-item/create', data }) |
|
25 |
} |
|
26 |
|
|
27 |
// 修改MmResultTable |
|
28 |
export const updateMmResultTable = (data: MmResultTableVO) => { |
|
29 |
return request.put({ url: '/pre/predict-item/update', data }) |
|
30 |
} |
|
31 |
|
|
32 |
// 删除MmResultTable |
|
33 |
export const deleteMmResultTable = (id: number) => { |
|
34 |
return request.delete({ url: '/pre/predict-item/delete?id=' + id }) |
|
35 |
} |