diff --git a/src/api/harmonic-boot/cockpit/cockpit.ts b/src/api/harmonic-boot/cockpit/cockpit.ts index c62a803..908c83c 100644 --- a/src/api/harmonic-boot/cockpit/cockpit.ts +++ b/src/api/harmonic-boot/cockpit/cockpit.ts @@ -116,4 +116,58 @@ export function limitProbabilityData(data: any) { } +// 电网侧指标越限统计列表 +export function gridSideLimitStatisticsList(data: any) { + return request({ + url: '/harmonic-boot/gridSideLimitStatistics/list', + method: 'post', + data: data + }) +} + +// 电网侧指标越限统计数据 +export function gridSideLimitStatisticsData(data: any) { + return request({ + url: '/harmonic-boot/gridSideLimitStatistics/data', + method: 'post', + data: data + }) +} + +// 敏感负荷用户监测点列表 +export function governLineList(data: any) { + return request({ + url: '/cs-device-boot/csline/getSensitiveUserLineList', + method: 'post', + data: data + }) +} + +// 根据id集合获取敏感负荷用户列表 +export function getListByIds(data: any) { + return request({ + url: '/cs-harmonic-boot/pqSensitiveUser/getListByIds', + method: 'post', + data: data + }) +} + + +// 上传治理报告 +export function uploadReport(data: any) { + return request({ + url: '/cs-device-boot/csline/uploadReport', + method: 'post', + data: data + }) +} + +// 获取治理报告链接 +export function getReportUrl(data: any) { + return request({ + url: '/cs-device-boot/csline/getReportUrl', + method: 'post', + params: data + }) +} diff --git a/src/components/cockpit/indicatorDistribution/index.vue b/src/components/cockpit/indicatorDistribution/index.vue index 75c245d..5dc9f67 100644 --- a/src/components/cockpit/indicatorDistribution/index.vue +++ b/src/components/cockpit/indicatorDistribution/index.vue @@ -77,139 +77,6 @@ const fullscreen = computed(() => { } }) -// const echartList = ref({ -// options: { -// xAxis: null, -// yAxis: null, -// dataZoom: null, -// backgroundColor: '#fff', -// tooltip: { -// // trigger: 'axis' -// textStyle: { -// color: '#fff', -// fontStyle: 'normal', -// opacity: 0.35, -// fontSize: 14 -// }, -// backgroundColor: 'rgba(0,0,0,0.55)', -// borderWidth: 0, -// formatter: function (params: any) { -// console.log(params) -// var tips = '' -// for (var i = 0; i < params.length; i++) { -// tips += params[i].name + '
' -// tips += '监测点数' + ':' + ' ' + ' ' + params[i].value + '
' -// } -// return tips -// } -// }, -// title: { -// text: '指标越限概率分布', -// x: 'center' -// }, - -// visualMap: { -// max: 20, -// show: false, -// inRange: { -// color: ['#313695', '#00BB00', '#ff8000', '#a50026'] -// } -// }, -// xAxis3D: { -// type: 'category', -// name: '指标越限', -// data: ['0-10', '10-20', '20-30', '30-40', '40-50'], -// axisLine: { -// lineStyle: { -// color: '#111' -// } -// }, -// axisLabel: { -// color: '#111' -// } -// }, -// yAxis3D: { -// type: 'category', -// name: '指标类型', -// data: ['闪变', '谐波电压', '谐波电流', '电压偏差', '三相不平衡'], -// nameTextStyle: { -// color: '#111' -// }, -// axisLine: { -// show: true, -// lineStyle: { -// color: '#111' -// } -// }, -// axisLabel: { -// color: '#111' -// }, -// splitLine: { -// lineStyle: { -// // 使用深浅的间隔色 -// color: ['#111'], -// type: 'dashed', -// opacity: 0.5 -// } -// } -// }, -// zAxis3D: { -// type: 'value', -// splitNumber: 10, -// minInterval: 10, -// name: '越限占比' -// }, -// grid3D: { -// viewControl: { -// projection: 'perspective', -// distance: 250 -// }, -// boxWidth: 200, -// boxDepth: 80, -// light: { -// main: { -// intensity: 1.2 -// }, -// ambient: { -// intensity: 0.3 -// } -// } -// }, -// series: [ -// { -// type: 'bar3D', -// data: [ -// [0, 0, 1], -// [0, 1, 1], -// [0.2, 1] -// ], -// shading: 'realistic', -// label: { -// show: false, -// textStyle: { -// fontSize: 16, -// borderWidth: 1 -// } -// }, - -// itemStyle: { -// opacity: 1 -// }, -// emphasis: { -// label: { -// textStyle: { -// fontSize: 20, -// color: '#900' -// } -// }, -// itemStyle: { -// color: '#900' -// } -// } -// } -// ] -// } -// }) const echartList = ref() diff --git a/src/components/cockpit/monitoringPointList/index.vue b/src/components/cockpit/monitoringPointList/index.vue index 6436191..03df912 100644 --- a/src/components/cockpit/monitoringPointList/index.vue +++ b/src/components/cockpit/monitoringPointList/index.vue @@ -1,37 +1,68 @@ +