提交 | 用户 | 时间
|
0ca254
|
1 |
import request from '@/utils/request' |
A |
2 |
|
|
3 |
// 查询点检任务-项目列表 |
|
4 |
export function listInspectionPlanItemsProject(query) { |
|
5 |
return request({ |
|
6 |
url: '/em/inspectionPlanItemsProject/list', |
|
7 |
method: 'get', |
|
8 |
params: query |
|
9 |
}) |
|
10 |
} |
|
11 |
|
|
12 |
// 查询点检任务-项目详细 |
|
13 |
export function getInspectionPlanItemsProject(id) { |
|
14 |
return request({ |
|
15 |
url: '/em/inspectionPlanItemsProject/' + id, |
|
16 |
method: 'get' |
|
17 |
}) |
|
18 |
} |
|
19 |
|
|
20 |
// 新增点检任务-项目 |
|
21 |
export function addInspectionPlanItemsProject(data) { |
|
22 |
return request({ |
|
23 |
url: '/em/inspectionPlanItemsProject', |
|
24 |
method: 'post', |
|
25 |
data: data |
|
26 |
}) |
|
27 |
} |
|
28 |
|
|
29 |
// 修改点检任务-项目 |
|
30 |
export function updateInspectionPlanItemsProject(data) { |
|
31 |
return request({ |
|
32 |
url: '/em/inspectionPlanItemsProject', |
|
33 |
method: 'put', |
|
34 |
data: data |
|
35 |
}) |
|
36 |
} |
|
37 |
|
|
38 |
// 删除点检任务-项目 |
|
39 |
export function delInspectionPlanItemsProject(id) { |
|
40 |
return request({ |
|
41 |
url: '/em/inspectionPlanItemsProject/' + id, |
|
42 |
method: 'delete' |
|
43 |
}) |
|
44 |
} |