重构
This commit is contained in:
@ -104,10 +104,10 @@ export function getSingleSiteBaseInfo(data) {
|
||||
})
|
||||
}
|
||||
|
||||
//单站监控 首页 总累计运行数据
|
||||
export function getDzjkHomeView(siteId) {
|
||||
//单站监控 首页 总累计运行数据(基于日表)
|
||||
export function getDzjkHomeTotalView(siteId) {
|
||||
return request({
|
||||
url: `/ems/siteMonitor/homeView?siteId=${siteId}`,
|
||||
url: `/ems/siteMonitor/homeTotalView?siteId=${siteId}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@ -138,18 +138,30 @@ export function getSevenChargeData(data) {
|
||||
})
|
||||
}
|
||||
|
||||
//单站监控 首页 当日功率曲线
|
||||
export function getPointData(data) {
|
||||
return request({
|
||||
url: `/ems/siteMonitor/getPointData`,
|
||||
method: 'get',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取站点包含的设备种类 用来判断单站监控设备监控的菜单栏展示
|
||||
export function getSiteAllDeviceCategory(data) {
|
||||
return request({
|
||||
//单站监控 首页 当日功率曲线
|
||||
export function getPointData(data) {
|
||||
return request({
|
||||
url: `/ems/siteMonitor/getPointData`,
|
||||
method: 'get',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 点位配置-曲线数据(与管理端一致)
|
||||
export function getPointConfigCurve(data) {
|
||||
return request({
|
||||
url: `/ems/pointConfig/curve`,
|
||||
method: 'post',
|
||||
data,
|
||||
headers: {
|
||||
repeatSubmit: false
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 获取站点包含的设备种类 用来判断单站监控设备监控的菜单栏展示
|
||||
export function getSiteAllDeviceCategory(data) {
|
||||
return request({
|
||||
url: `/ems/siteConfig/getSiteAllDeviceCategory`,
|
||||
method: 'get',
|
||||
data
|
||||
|
||||
Reference in New Issue
Block a user