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
| 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 },
| });
| }
|
|