spring
8 小时以前 185c800fa17b97c01462ebcb1f89d71979100ff6
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
import request from "@/utils/request";
 
// 查询无人值守地磅系统分页列表
export function listWeighbridgeSystem(query) {
  return request({
    url: "/environmentAccess/weighbridgeSystemPage",
    method: "get",
    params: query,
  });
}
 
// 新增无人值守地磅系统
export function addWeighbridgeSystem(data) {
  return request({
    url: "/environmentAccess/weighbridgeSystemAdd",
    method: "post",
    data,
  });
}
 
// 修改无人值守地磅系统
export function updateWeighbridgeSystem(data) {
  return request({
    url: "/environmentAccess/weighbridgeSystemUpdate",
    method: "put",
    data,
  });
}
 
// 删除无人值守地磅系统(支持批量)
export function delWeighbridgeSystem(ids) {
  return request({
    url: "/environmentAccess/weighbridgeSystemDelete",
    method: "delete",
    data: ids,
  });
}
 
// 查询单条记录详情
export function getWeighbridgeSystem(id) {
  return request({
    url: "/environmentAccess/weighbridgeSystemInfo",
    method: "get",
    params: { id },
  });
}