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

73 lines
1.3 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
// 查询基站列表
2025-01-13 12:02:37 +08:00
export function getList(landId) {
2024-12-31 19:42:29 +08:00
return request({
2025-01-13 12:02:37 +08:00
url: "/system/dev-ops/getList/" + landId,
2024-12-31 19:42:29 +08:00
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'
})
2025-01-13 12:02:37 +08:00
}
// 基站升级
export function upgradeStation(code, dvId) {
return request({
url: `/system/dev-ops/upgradeStation/${code}/${dvId}`,
method: 'get'
})
}
// 基站升级
export function upgradeValve4G(code, dvId) {
return request({
url: `/system/dev-ops/upgradeValve4G/${code}/${dvId}`,
method: 'get'
})
2024-12-31 19:42:29 +08:00
}