提交 | 用户 | 时间
|
fd2207
|
1 |
import request from '@/utils/request' |
懒 |
2 |
|
|
3 |
// 查询返修记录列表 |
|
4 |
export function listRepairRecord(query) { |
|
5 |
return request({ |
|
6 |
url: '/rm/repairRecord/list', |
|
7 |
method: 'get', |
|
8 |
params: query |
|
9 |
}) |
|
10 |
} |
8aafc5
|
11 |
//查询报表 |
W |
12 |
export function getRepairData(query) { |
|
13 |
return request({ |
|
14 |
url: '/rm/repairRecord/getRepairReportList', |
|
15 |
method: 'get', |
|
16 |
params: query |
|
17 |
}) |
|
18 |
} |
5fc587
|
19 |
// 查询返修记录列表 |
懒 |
20 |
export function noPagelist(query) { |
|
21 |
return request({ |
|
22 |
url: '/rm/repairRecord/noPagelist', |
|
23 |
method: 'get', |
|
24 |
params: query |
|
25 |
}) |
|
26 |
} |
|
27 |
|
|
28 |
// 不分页查询返修记录详细 |
fd2207
|
29 |
export function getRepairRecord(id) { |
懒 |
30 |
return request({ |
|
31 |
url: '/rm/repairRecord/' + id, |
|
32 |
method: 'get' |
|
33 |
}) |
|
34 |
} |
|
35 |
|
|
36 |
// 新增返修记录 |
|
37 |
export function addRepairRecord(data) { |
|
38 |
return request({ |
|
39 |
url: '/rm/repairRecord', |
|
40 |
method: 'post', |
|
41 |
data: data |
|
42 |
}) |
|
43 |
} |
|
44 |
|
|
45 |
// 修改返修记录 |
|
46 |
export function updateRepairRecord(data) { |
|
47 |
return request({ |
|
48 |
url: '/rm/repairRecord', |
|
49 |
method: 'put', |
|
50 |
data: data |
|
51 |
}) |
|
52 |
} |
|
53 |
|
|
54 |
// 删除返修记录 |
|
55 |
export function delRepairRecord(id) { |
|
56 |
return request({ |
|
57 |
url: '/rm/repairRecord/' + id, |
|
58 |
method: 'delete' |
|
59 |
}) |
|
60 |
} |