提交 | 用户 | 时间
|
b79f97
|
1 |
import request from '@/utils/request' |
H |
2 |
|
|
3 |
// 查询工位终端配置列表 |
|
4 |
export function listStationConf(query) { |
|
5 |
return request({ |
|
6 |
url: '/sc/stationConf/list', |
|
7 |
method: 'get', |
|
8 |
params: query |
|
9 |
}) |
|
10 |
} |
|
11 |
|
49ac5c
|
12 |
// 查询IP |
懒 |
13 |
export function getIpv4() { |
|
14 |
return request({ |
|
15 |
url: '/sc/stationConf/getIpv4', |
|
16 |
method: 'get', |
|
17 |
}) |
|
18 |
} |
|
19 |
|
b79f97
|
20 |
// 查询工位终端配置详细 |
H |
21 |
export function getStationConf(id) { |
|
22 |
return request({ |
|
23 |
url: '/sc/stationConf/' + id, |
|
24 |
method: 'get' |
|
25 |
}) |
|
26 |
} |
|
27 |
|
|
28 |
// 新增工位终端配置 |
|
29 |
export function addStationConf(data) { |
|
30 |
return request({ |
|
31 |
url: '/sc/stationConf', |
|
32 |
method: 'post', |
|
33 |
data: data |
|
34 |
}) |
|
35 |
} |
|
36 |
|
|
37 |
// 修改工位终端配置 |
|
38 |
export function updateStationConf(data) { |
|
39 |
return request({ |
|
40 |
url: '/sc/stationConf', |
|
41 |
method: 'put', |
|
42 |
data: data |
|
43 |
}) |
|
44 |
} |
|
45 |
|
|
46 |
// 删除工位终端配置 |
|
47 |
export function delStationConf(id) { |
|
48 |
return request({ |
|
49 |
url: '/sc/stationConf/' + id, |
|
50 |
method: 'delete' |
|
51 |
}) |
|
52 |
} |