97 lines
1.8 KiB
JavaScript
97 lines
1.8 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询基站列表
|
|
export function getList(landId) {
|
|
return request({
|
|
url: "/system/dev-ops/getList/" + landId,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 查询基站下阀门列表
|
|
export function getStationValvelist(landId, stationId) {
|
|
return request({
|
|
url: `/system/dev-ops/getStationValvelist/${landId}/${stationId}`,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 下发列表
|
|
export function gvl(code) {
|
|
return request({
|
|
url: `/system/dev-ops/gvl/${code}`,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
//修改频段-基站
|
|
export function slf(param) {
|
|
return request({
|
|
url: "/system/dev-ops/slf",
|
|
method: 'post',
|
|
data: param
|
|
})
|
|
}
|
|
//修改频段新
|
|
export function vlf(param) {
|
|
return request({
|
|
url: "/system/dev-ops/vlf",
|
|
method: 'post',
|
|
data: param
|
|
})
|
|
}
|
|
|
|
//获取基站配置
|
|
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'
|
|
})
|
|
}
|
|
|
|
// 基站升级
|
|
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'
|
|
})
|
|
}
|
|
|
|
// 基站/阀门重启
|
|
export function resetStationDevice(code, dvId) {
|
|
return request({
|
|
url: `/system/dev-ops/resetStationDevice/${code}`,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 4G阀门重启
|
|
export function reset4GDevice(code, dvId) {
|
|
return request({
|
|
url: `/system/dev-ops/reset4GDevice/${code}`,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
//获取阀门配置
|
|
export function gvc4G(code) {
|
|
return request({
|
|
url: `/system/dev-ops/gvc4G/${code}`,
|
|
method: 'get'
|
|
})
|
|
} |