修改冀北问题
This commit is contained in:
119
src/api/harmonic-boot/cockpit/cockpit.ts
Normal file
119
src/api/harmonic-boot/cockpit/cockpit.ts
Normal file
@@ -0,0 +1,119 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 主要监测点列表查询>>分页
|
||||
export function mainLineList(data: any) {
|
||||
return request({
|
||||
url: '/harmonic-boot/mainLine/list',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 主要监测点指标越限详情
|
||||
export function statLimitRateDetails(data: any) {
|
||||
return request({
|
||||
url: '/harmonic-boot/mainLine/statLimitRateDetails',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 查询监测点列表=全部>>不分页
|
||||
export function cslineList(data: any) {
|
||||
return request({
|
||||
url: '/cs-device-boot/csline/list',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 监测点详情 趋势图数据
|
||||
export function trendData(data: any) {
|
||||
return request({
|
||||
url: '/cs-device-boot/csGroup/trendData',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 每日越限占比统计
|
||||
export function totalLimitStatisticsDetails(data: any) {
|
||||
return request({
|
||||
url: '/harmonic-boot/totalLimitStatistics/details',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 总体指标越限统计列表
|
||||
export function totalLimitStatisticsList(data: any) {
|
||||
return request({
|
||||
url: '/harmonic-boot/totalLimitStatistics/list',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 总体指标越限统计数据
|
||||
export function totalLimitStatisticsData(data: any) {
|
||||
return request({
|
||||
url: '/harmonic-boot/totalLimitStatistics/data',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 指标越限程度数据
|
||||
export function limitExtentData(data: any) {
|
||||
return request({
|
||||
url: '/harmonic-boot/limitRateDetailD/limitExtentData',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 指标日趋势图数据
|
||||
export function limitExtentDayData(data: any) {
|
||||
return request({
|
||||
url: '/harmonic-boot/limitRateDetailD/limitExtentDayData',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 指标越限明细日历数据
|
||||
export function limitCalendarData(data: any) {
|
||||
return request({
|
||||
url: '/harmonic-boot/limitRateDetailD/limitCalendarData',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
//指标拟合图数据
|
||||
export function fittingData(data: any) {
|
||||
return request({
|
||||
url: '/cs-device-boot/csGroup/fittingData',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
//指标越限时间概率分布
|
||||
export function limitTimeProbabilityData(data: any) {
|
||||
return request({
|
||||
url: '/harmonic-boot/limitRateDetailD/limitTimeProbabilityData',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
//指标越限程度概率分布
|
||||
export function limitProbabilityData(data: any) {
|
||||
return request({
|
||||
url: '/harmonic-boot/limitRateDetailD/limitProbabilityData',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,70 +1,87 @@
|
||||
import createAxios from '@/utils/request'
|
||||
// 查询指标
|
||||
export const queryStatistical = (id: string) => {
|
||||
let form = new FormData()
|
||||
form.append('id', id)
|
||||
return createAxios({
|
||||
url: '/system-boot/csstatisticalset/queryStatistical',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: form
|
||||
})
|
||||
}
|
||||
|
||||
// 绑定指标
|
||||
export const addStatistical = (params: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/csstatisticalset/addStatistical',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
// 新增驾驶舱页面
|
||||
export const addDashboard = (data: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dashboard/addDashboard',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 修改驾驶舱页面
|
||||
export const updateDashboard = (data: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dashboard/updateDashboard',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 删除驾驶舱页面
|
||||
export const deleteDashboard = (params: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dashboard/deleteDashboard',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 激活的驾驶舱页面
|
||||
export const activatePage = (params: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dashboard/activatePage',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 查询激活的驾驶舱页面
|
||||
export const queryActivatePage = () => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dashboard/queryActivatePage',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
// 更具id 查询驾驶舱页面
|
||||
export const queryById = (params: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dashboard/queryById',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
import createAxios from '@/utils/request'
|
||||
// 查询指标
|
||||
export const queryStatistical = (id:string) => {
|
||||
let form = new FormData()
|
||||
form.append('id', id)
|
||||
return createAxios({
|
||||
url: '/system-boot/csstatisticalset/queryStatistical',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: form
|
||||
})
|
||||
}
|
||||
|
||||
// 绑定指标
|
||||
export const addStatistical = (params:any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/csstatisticalset/addStatistical',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
// 新增驾驶舱页面
|
||||
export const addDashboard = (data: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dashboard/addDashboard',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 修改驾驶舱页面
|
||||
export const updateDashboard = (data: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dashboard/updateDashboard',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 删除驾驶舱页面
|
||||
export const deleteDashboard = (params: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dashboard/deleteDashboard',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 激活的驾驶舱页面
|
||||
export const activatePage = (params: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dashboard/activatePage',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 查询激活的驾驶舱页面
|
||||
export const queryActivatePage = () => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dashboard/queryActivatePage',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
// 更具id 查询驾驶舱页面
|
||||
export const queryById = (params: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dashboard/queryById',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 更具id 查询驾驶舱页面
|
||||
export const queryByPagePath = (params: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dashboard/queryByPagePath',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 根据用户id查询用户驾驶舱
|
||||
export const getDashboardPageByUserId = (params: any) => {
|
||||
return createAxios({
|
||||
url: '/system-boot/dashboard/getDashboardPageByUserId',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user