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
51
52
53
54
55
56
57
58
59
| import request from '/@/utils/request';
|
| export function workProcessApi() {
| return {
| // 分页获取检测列表
| getDetectionListPage: (data: object) => {
| return request({
| url: import.meta.env.VITE_API_URL + `/work/process/detection/page/list`,
| method: 'post',
| data: data
| });
| },
|
| // 分页获取检查列表
| getCheckListPage: (data: object) => {
| return request({
| url: import.meta.env.VITE_API_URL + `/specialwork9step/process/check/page/list`,
| method: 'post',
| data: data
| });
| },
|
| // 检测上报
| postDetectionReport: (data: object) => {
| return request({
| url: import.meta.env.VITE_API_URL + `/work/process/detection/report`,
| method: 'post',
| data: data
| });
| },
|
| // 检查上报
| postCheckReport: (data: object) => {
| return request({
| url: import.meta.env.VITE_API_URL + `/specialwork9step/process/check/report`,
| method: 'post',
| data: data
| });
| },
|
| // 获取可上报作业列表
| postReportList: (data: object) => {
| return request({
| url: import.meta.env.VITE_API_URL + `/specialwork9step/process/workApply/list`,
| method: 'post',
| data: data
| });
| },
|
| // 获取预警记录
| postAlertList: (data: object) => {
| return request({
| url: import.meta.env.VITE_API_URL + `/specialwork9step/process/warning/page/list`,
| method: 'post',
| data: data
| });
| },
| };
| }
|
|