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 { publicRequest } from '@/utils/request'
|
|
| /**
| * 获取监控点列表
| */
| export const getMonitorTypeList = (data) => {
| return publicRequest({
| url: `/waterMonitoryPointType/search`,
| method: 'post',
| data
| });
| }
|
|
| /**
| * 创建监控点
| */
|
| export const createMonitor = (data) => {
| return publicRequest({
| url: '/waterMonitoryPointType/create',
| method: 'post',
| data
| })
| }
|
|
| /**
| * 修改监控点
| */
|
| export const updateMonitor = (data) => {
| return publicRequest({
| url: '/waterMonitoryPointType/modify',
| method: 'post',
| data
| })
| }
|
| /**
| * 查询单个监控点
| */
|
| export const getSingleMonitor = () => {
| return publicRequest({
| url: `/waterMonitoryPointType/get/${id}`,
| method: 'get'
| })
| }
|
|