xiangpei
2024-04-07 b2ef755893a694ea07b7ca2f46e4571bbc8e9cb9
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
60
61
62
63
64
65
66
67
68
69
70
71
72
import request from '@/utils/request'
 
// 查询运维点位列表
export function listPoint(query) {
  return request({
    url: '/yw-point/page',
    method: 'get',
    params: query
  })
}
 
// 查询运维点位详细
export function getPoint(id) {
  return request({
    url: '/yw-point/' + id,
    method: 'get'
  })
}
 
// 新增运维点位
export function addPoint(data) {
  return request({
    url: '/yw-point',
    method: 'post',
    data: data
  })
}
 
// 新增运维点位-批量
export function addPointBatch(data) {
  return request({
    url: '/yw-point/batch',
    method: 'post',
    data: data
  })
}
 
// 修改运维点位
export function updatePoint(data) {
  return request({
    url: '/yw-point',
    method: 'put',
    data: data
  })
}
 
// 批量修改运维点位
export function batchEdit(data) {
  return request({
    url: '/yw-point/batch',
    method: 'put',
    data: data
  })
}
 
 
// 删除运维点位
export function delPoint(id) {
  return request({
    url: '/yw-point/' + id,
    method: 'delete'
  })
}
 
// 点位下拉列表
export function pointSelectData(param) {
  return request({
    url: '/yw-point/select',
    method: 'get',
    params: param
  })
}