jsy-app/api/dev-ops/index.js

57 lines
1.0 KiB
JavaScript
Raw Normal View History

2024-12-28 21:29:59 +08:00
import request from '@/utils/request'
2024-12-31 19:42:29 +08:00
// 查询基站列表
2024-12-28 21:29:59 +08:00
export function getStationList(landId) {
2024-12-31 19:42:29 +08:00
return request({
url: "/system/dev-ops/getStationlist/" + landId,
method: 'get'
})
2024-12-28 21:29:59 +08:00
}
2024-12-31 19:42:29 +08:00
// 查询基站下阀门列表
export function getStationValvelist(landId, stationId) {
return request({
url: `/system/dev-ops/getStationValvelist/${landId}/${stationId}`,
method: 'get'
})
}
// 下发列表
2025-01-02 17:54:53 +08:00
export function gvl(code) {
2024-12-31 19:42:29 +08:00
return request({
2025-01-02 17:54:53 +08:00
url: `/system/dev-ops/gvl/${code}`,
2024-12-31 19:42:29 +08:00
method: 'get'
})
}
//修改频段-基站
2025-01-02 17:54:53 +08:00
export function slf(param) {
2024-12-31 19:42:29 +08:00
return request({
2025-01-02 17:54:53 +08:00
url: "/system/dev-ops/slf",
2024-12-31 19:42:29 +08:00
method: 'post',
data: param
})
}
//修改频段新
2025-01-02 17:54:53 +08:00
export function vlf(param) {
2024-12-31 19:42:29 +08:00
return request({
2025-01-02 17:54:53 +08:00
url: "/system/dev-ops/vlf",
2024-12-31 19:42:29 +08:00
method: 'post',
data: param
})
2025-01-02 17:54:53 +08:00
}
//获取基站配置
export function gsc(code) {
return request({
url: `/system/dev-ops/gsc/${code}`,
method: 'get'
})
}
//获取阀门配置
export function gvc(code) {
return request({
url: `/system/dev-ops/gvc/${code}`,
method: 'get'
})
2024-12-31 19:42:29 +08:00
}