初次提交
This commit is contained in:
302
src/api/home-page/index.js
Normal file
302
src/api/home-page/index.js
Normal file
@ -0,0 +1,302 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 充放电量
|
||||
export function GetElecData(data) {
|
||||
return request({
|
||||
url: '/business/openStation/elecData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 电站信息
|
||||
export function GetPcsStationData(data) {
|
||||
return request({
|
||||
url: '/business/openStation/pcsStationData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 数据总览
|
||||
export function GetPcsTotalData(data) {
|
||||
return request({
|
||||
url: '/business/openStation/pcsTotalData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 实时曲线
|
||||
export function GetRealtimeCurve(data) {
|
||||
return request({
|
||||
url: '/business/openStation/realtimeCurve',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 状态监控
|
||||
export function GetOpenStationMiddle(data) {
|
||||
return request({
|
||||
url: '/business/openStation/middle',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 状态监控
|
||||
export function GetOpenStationMiddlePart(data) {
|
||||
return request({
|
||||
url: '/business/openStation/middlePart',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 环控数据
|
||||
export function GetCircleCtr(data) {
|
||||
return request({
|
||||
url: '/business/openStation/circleCtr',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 收益曲线
|
||||
export function GetIncomeData(data) {
|
||||
return request({
|
||||
url: '/business/openStation/incomeData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 215kw累计充放电
|
||||
export function GetPCSElecData(data) {
|
||||
return request({
|
||||
url: '/business/openStation/getPCSElecData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 查询空调
|
||||
export function GetAirConfig(data) {
|
||||
return request({
|
||||
url: '/business/common/getAirCondition',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 查询总有功功率
|
||||
export function GetMiddleActive(data) {
|
||||
return request({
|
||||
url: '/business/xinFengMing/middlePart',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// /xfm
|
||||
// 增加充放电量时间设定
|
||||
export function addElecMeterConfig(data) {
|
||||
return request({
|
||||
url: '/business/xinFengMing/addElecMeterConfig',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 查询充放电量时间设定
|
||||
export function queryElecMeterConfig(data) {
|
||||
return request({
|
||||
url: '/business/xinFengMing/queryElecMeterConfig',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 更新充放电量时间设定
|
||||
export function updateElecMeterConfig(data) {
|
||||
return request({
|
||||
url: '/business/xinFengMing/updateElecMeterConfig',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 三合一总功率
|
||||
export function GetTotalPower(data) {
|
||||
return request({
|
||||
url: '/business/common/middlePart',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function GetMiddlePartInverter(data) {
|
||||
return request({
|
||||
url: '/business/openStation/middlePartInverter',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 中自环保
|
||||
export function GetZJHBStatus(data) {
|
||||
return request({
|
||||
url: '/business/zhongZiHuanBao/status',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 济宁微山湖
|
||||
export function GetWSHStatus(data) {
|
||||
return request({
|
||||
url: '/business/weiShanHu/status',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取电表
|
||||
export function GetgetElec(data) {
|
||||
return request({
|
||||
url: '/business/common/getElec',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 光伏并网
|
||||
export function GetPVElec(data) {
|
||||
return request({
|
||||
url: 'business/common/getPVElec',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 横沥103光伏
|
||||
export function GetOpticalStorage(data) {
|
||||
return request({
|
||||
url: 'business/common/getOpticalStorage',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 横沥电表
|
||||
export function GetHLEleMeter(data) {
|
||||
return request({
|
||||
url: '/business/common/getEleMeter',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 批量增加曲线配置信息
|
||||
export function AddCurveList(data) {
|
||||
return request({
|
||||
url: '/business/dynamicConfig/addCurveList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 删除曲线
|
||||
export function DelDynamicConfigTitle(data) {
|
||||
return request({
|
||||
url: '/business/dynamicConfig/delDynamicConfigTitle',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 批量增加曲线配置信息
|
||||
export function GetDynamicRealtimeCurve(data) {
|
||||
return request({
|
||||
url: '/business/openStation/dynamicRealtimeCurve',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 查询曲线配置信息
|
||||
export function GetCurveConfig(data) {
|
||||
return request({
|
||||
url: '/business/dynamicConfig/queryCurveConfig',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 批量增加点配置信息
|
||||
export function AddPointList(data) {
|
||||
return request({
|
||||
url: '/business/dynamicConfig/addPointList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 批量增加点配置信息
|
||||
export function GetPointConfig(data) {
|
||||
return request({
|
||||
url: '/business/dynamicConfig/pointList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 批量增加点配置信息
|
||||
export function DynamicConfigPoint(data) {
|
||||
return request({
|
||||
url: '/business/dynamicConfig/pointListData',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取电站收益
|
||||
export function GetEarnings(data) {
|
||||
return request({
|
||||
url: 'business/openStation/getEarnings',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取品胜
|
||||
export function GetPinShengStatus(data) {
|
||||
return request({
|
||||
url: 'business/pinSheng/status',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 保存srcid
|
||||
export function SaveSrcId(data) {
|
||||
return request({
|
||||
url: 'business/topologyJumpConfig/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取srcid
|
||||
export function GetSrcId(data) {
|
||||
return request({
|
||||
url: 'business/topologyJumpConfig/list',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 配置数据来源
|
||||
export function SetDataConfig(data) {
|
||||
return request({
|
||||
url: 'business/singapore/setPoint',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user