From 3d5c73b2685a8912943b3e7938a11dc7df09b1c2 Mon Sep 17 00:00:00 2001 From: GGJ <357021191@qq.com> Date: Tue, 8 Apr 2025 16:33:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=82=E5=B8=B8=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=A1=B5=E9=9D=A2=E3=80=81=E4=BF=AE=E6=94=B9=E6=9C=89?= =?UTF-8?q?=E5=8A=9F=E5=8A=9F=E7=8E=87=E8=B6=8B=E5=8A=BF=E5=88=86=E6=9E=90?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 +- src/api/device-boot/dataVerify.ts | 40 + src/api/harmonic-boot/pollution.ts | 7 + src/components/echarts/color.ts | 4 +- src/components/table/index.vue | 5 - src/components/tree/pqs/bearingTree.vue | 37 +- src/components/tree/pqs/pointTree.vue | 61 +- src/styles/element.scss | 5 + src/styles/vxeTable.scss | 8 +- .../LN/newEnergy/highAndLowPressure/index.vue | 2 +- .../newEnergyAnalysis/components/detail.vue | 171 +++- .../LN/newEnergy/newEnergyAnalysis/index.vue | 500 +++++----- .../LN/newEnergy/newEnergyAnalysis/test.vue | 875 ++++++++++++++++++ .../cleaning/components/abnormal.vue | 271 +++--- .../runManage/cleaning/components/alarm.vue | 383 ++++---- .../cleaning/components/alarmDetails.vue | 266 +++--- .../cleaning/components/anomalyDetails.vue | 265 +++--- .../runManage/cleaning/components/test.vue | 562 +++++++++++ src/views/pqs/runManage/cleaning/index.vue | 4 +- .../runEvaluate/components/region.vue | 15 +- 20 files changed, 2605 insertions(+), 879 deletions(-) create mode 100644 src/views/LN/newEnergy/newEnergyAnalysis/test.vue create mode 100644 src/views/pqs/runManage/cleaning/components/test.vue diff --git a/package.json b/package.json index 0360164d..dba621cd 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,6 @@ }, "dependencies": { "@ant-design/colors": "^7.0.2", - "@element-plus/icons-vue": "^2.3.1", "@form-create/designer": "^3.1.3", "@form-create/element-ui": "^3.1.24", @@ -39,7 +38,7 @@ "echarts-gl": "^2.0.9", "echarts-liquidfill": "^3.1.0", "echarts4": "npm:echarts@^4.9.0", - "element-plus": "^2.7.2", + "element-plus": "^2.8.7", "exceljs": "^4.4.0", "file-saver": "^2.0.5", "html2canvas": "^1.4.1", diff --git a/src/api/device-boot/dataVerify.ts b/src/api/device-boot/dataVerify.ts index c86ea66a..c621c513 100644 --- a/src/api/device-boot/dataVerify.ts +++ b/src/api/device-boot/dataVerify.ts @@ -7,4 +7,44 @@ export function getMonitorVerifyDay(data:any) { method: 'post', data }) +} +// 异常-弹框-获取异常监测点列表 +export function monitorAbnormalTable(data:any) { + return request({ + url: '/device-boot/dataVerify/monitorAbnormalTable', + method: 'post', + data + }) +} +// 弹框-获取异常监测点列表详情 +export function monitorAbnormalTableDetail(data:any) { + return request({ + url: '/device-boot/dataVerify/monitorAbnormalTableDetail', + method: 'post', + data + }) +} +// 更新按钮-获取稳态告警数据 +export function getMonitorLimitDataDay(data:any) { + return request({ + url: '/device-boot/dataVerify/getMonitorLimitDataDay', + method: 'post', + data + }) +} +// 弹框-获取稳态告警监测点列表 +export function monitorLimitTable(data:any) { + return request({ + url: '/device-boot/dataVerify/monitorLimitTable', + method: 'post', + data + }) +} +// 弹框-获取稳态告警监测点列表详情 +export function monitorLimitTableDetail(data:any) { + return request({ + url: '/device-boot/dataVerify/monitorLimitTableDetail', + method: 'post', + data + }) } \ No newline at end of file diff --git a/src/api/harmonic-boot/pollution.ts b/src/api/harmonic-boot/pollution.ts index ed637c2b..d895bd94 100644 --- a/src/api/harmonic-boot/pollution.ts +++ b/src/api/harmonic-boot/pollution.ts @@ -7,3 +7,10 @@ export function getSteadyData(data: any) { data: data }) } +export function getTargetByTime(data: any) { + return request({ + url: '/harmonic-boot/powerStatistics/getTargetByTime', + method: 'post', + data: data + }) +} diff --git a/src/components/echarts/color.ts b/src/components/echarts/color.ts index 00fb0e2f..f005b21d 100644 --- a/src/components/echarts/color.ts +++ b/src/components/echarts/color.ts @@ -8,7 +8,7 @@ export let color = [ '#FF9100', '#5B6E96', '#66FFCC', - '#B3B3B3' + '#B3B' ] export const gradeColor3 = ['#339966', '#FFCC33', '#CC0000'] -export const gradeColor5 = ['#00CC00', '#99CC99', '#FF9900','#996600','#CC0000'] +export const gradeColor5 = ['#00CC00', '#99CC99', '#FF9900', '#996600', '#CC0000'] diff --git a/src/components/table/index.vue b/src/components/table/index.vue index 367d69f8..179b3ab7 100644 --- a/src/components/table/index.vue +++ b/src/components/table/index.vue @@ -170,10 +170,5 @@ defineExpose({ border-bottom: 1px solid #e4e7e9; } -:deep(.el-pagination__sizes) { - .el-select { - min-width: 128px; - } -} diff --git a/src/components/tree/pqs/bearingTree.vue b/src/components/tree/pqs/bearingTree.vue index a62ff862..f607a8b5 100644 --- a/src/components/tree/pqs/bearingTree.vue +++ b/src/components/tree/pqs/bearingTree.vue @@ -80,15 +80,34 @@ const loadData = () => { item4.icon = 'el-icon-OfficeBuilding' item4.color = config.getColorVal('elementUiPrimary') item4.children.forEach((item5: anyObj) => { - item5.alias = `${item.name}>${item2.name}>${item3.name}>${item4.name}>${item5.name}` - item5.icon = 'fa-solid fa-location-dot' - item5.color = config.getColorVal('elementUiPrimary') - if (item5.comFlag === 0) { - item5.color = 'red !important' - } else if (item5.comFlag === 1) { - item5.color = '#00f93b !important' - } else if (item5.comFlag === 2) { - item5.color = '#8c8c8c !important' + if (item5.level == 7) { + item5.icon = 'el-icon-DataAnalysis' + item5.color = config.getColorVal('elementUiPrimary') + item5.children.forEach((item6: anyObj) => { + item6.alias = `${item.name}>${item2.name}>${item3.name}>${item4.name}>${item5.name}>${item6.name}` + item6.pid = item4.id + item6.icon = 'fa-solid fa-location-dot' + item6.color = config.getColorVal('elementUiPrimary') + if (item6.comFlag == 0) { + item6.color = 'red !important' + } else if (item6.comFlag == 1) { + item6.color = '#00f93b !important' + } else if (item6.comFlag == 2) { + item6.color = '#8c8c8c !important' + } + }) + } else { + item5.alias = `${item.name}>${item2.name}>${item3.name}>${item4.name}>${item5.name}` + item5.pid = item4.id + item5.icon = 'fa-solid fa-location-dot' + item5.color = config.getColorVal('elementUiPrimary') + if (item5.comFlag == 0) { + item5.color = 'red !important' + } else if (item5.comFlag == 1) { + item5.color = '#00f93b !important' + } else if (item5.comFlag == 2) { + item5.color = '#8c8c8c !important' + } } }) }) diff --git a/src/components/tree/pqs/pointTree.vue b/src/components/tree/pqs/pointTree.vue index 3fbe21a3..20b53d11 100644 --- a/src/components/tree/pqs/pointTree.vue +++ b/src/components/tree/pqs/pointTree.vue @@ -1,9 +1,18 @@