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
| import request from "@/utils/request";
|
| /**
| * 线路巡检API接口
| */
|
| // 获取线路巡检列表
| export function getLineInspectionList(params) {
| return request({
| url: "/device/lineInspection/list",
| method: "get",
| params,
| });
| }
|
| // 新增或修改线路巡检记录
| export function addOrEditLineInspection(data) {
| return request({
| url: "/device/lineInspection/addOrEdit",
| method: "post",
| data,
| });
| }
|
| // 删除线路巡检记录
| export function deleteLineInspection(ids) {
| return request({
| url: "/device/lineInspection/delete",
| method: "delete",
| data: ids,
| });
| }
|
| // 导出线路巡检记录
| export function exportLineInspection(params) {
| return request({
| url: "/device/lineInspection/export",
| method: "post",
| params,
| responseType: 'blob',
| });
| }
|
|