1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
| import request from '@/config/axios'
|
| export interface MmPredictItemVO {
| id: string
| itemno: string,
| itemname: string,
| itemtypeid: string,
| itemtypename: string,
| granularity: number,
| isfuse: number,
| workchecked: number,
| moduleid: string,
| itemorder: number,
| status: number,
| categoryid: string,
| pointid: string,
| tagname: string,
| resulttableid: string,
| tablename: string,
| }
|
| export interface MmPredictItemPageReqVO extends PageParam {
| itemno?: string,
| itemname?: string,
| }
|
| // 查询MmPredictItem列表
| export const getMmPredictItemPage = (params: MmPredictItemPageReqVO) => {
| return request.get({ url: '/pre/result-table/page', params })
| }
|
| // 查询MmPredictItem详情
| export const getMmPredictItem = (id: number) => {
| return request.get({ url: `/pre/result-table/get/${id}`})
| }
|
| // 新增MmPredictItem
| export const createMmPredictItem = (data: MmPredictItemVO) => {
| return request.post({ url: '/pre/result-table/create', data })
| }
|
| // 修改MmPredictItem
| export const updateMmPredictItem = (data: MmPredictItemVO) => {
| return request.put({ url: '/pre/result-table/update', data })
| }
|
| // 删除MmPredictItem
| export const deleteMmPredictItem = (id: number) => {
| return request.delete({ url: '/pre/result-table/delete?id=' + id })
| }
|
|