From 8d613f7a57bf136eb3bbe020cd54ebc90e4629ad Mon Sep 17 00:00:00 2001 From: guanj Date: Thu, 31 Jul 2025 15:55:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=91=E5=8D=97=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/systerm.ts | 4 +- src/layouts/admin/components/globalPopUp.vue | 14 ++++-- .../admin/components/navBar/classic.vue | 17 ++++--- src/layouts/admin/components/navMenus.vue | 4 +- .../area/TransientEventList/index.vue | 8 +-- .../Region/components/Compatibility.vue | 26 +++++----- .../Region/transientList/index.vue | 2 +- .../online/eventStudy/index.vue | 2 +- .../weekly/components/causeStatistics.vue | 12 ++--- .../pqs/voltageSags/report/weekly/index.vue | 8 +-- src/views/system/version/index.vue | 49 +++++++++---------- 11 files changed, 77 insertions(+), 69 deletions(-) diff --git a/src/api/systerm.ts b/src/api/systerm.ts index 14d2b7e4..c269862e 100644 --- a/src/api/systerm.ts +++ b/src/api/systerm.ts @@ -31,14 +31,14 @@ export function getTheme() { } export function addVersion(data:any) { return createAxios({ - url: '/cs-system-boot/appVersion/add', + url: '/system-boot/appVersion/add', method: 'post', data }) } export function getLastData(data:any) { return createAxios({ - url: '/cs-system-boot/appVersion/getLastData', + url: '/system-boot/appVersion/getLastData', method: 'post', params:data }) diff --git a/src/layouts/admin/components/globalPopUp.vue b/src/layouts/admin/components/globalPopUp.vue index f228367b..0b32350e 100644 --- a/src/layouts/admin/components/globalPopUp.vue +++ b/src/layouts/admin/components/globalPopUp.vue @@ -1,7 +1,7 @@ - +
@@ -114,7 +114,7 @@ const tableStore = new TableStore({ url: '/event-boot/transient/getTransientValue', method: 'POST', column: [ - { width: '60', type: 'checkbox' }, + { width: '60', type: 'checkbox' }, { field: 'index', title: '序号', @@ -268,7 +268,7 @@ const download = () => { ElMessage.warning('暂无可下载的波形文件!') return } - ElMessage.success('下载中。。。!') + ElMessage.info('下载中......') let blob = new Blob([res], { type: 'application/zip' }) // console.log(blob) // var href = window.URL.createObjectURL(blob); //创建下载的链接 const url = window.URL.createObjectURL(blob) const link = document.createElement('a') // 创建a标签 diff --git a/src/views/pqs/voltageSags/Region/components/Compatibility.vue b/src/views/pqs/voltageSags/Region/components/Compatibility.vue index c58848f8..a6665543 100644 --- a/src/views/pqs/voltageSags/Region/components/Compatibility.vue +++ b/src/views/pqs/voltageSags/Region/components/Compatibility.vue @@ -108,7 +108,7 @@ const info = async (list: any) => { datalist.value = [] list.forEach((item: any) => { // if (item.eventValue < 2 && item.eventValue > 0) { - datalist.value.push(item) + datalist.value.push(item) // } }) await gongfunction() @@ -124,7 +124,8 @@ const info = async (list: any) => { } let relVal = '' - relVal = "供电公司:" + ' ' + ' ' + a[0].value[3] + '
' + relVal = "监测点名称:" + ' ' + ' ' + a[0].value[7] + '
' + relVal += "供电公司:" + ' ' + ' ' + a[0].value[3] + '
' relVal += "变电站:" + ' ' + ' ' + a[0].value[4] + '
' relVal += "发生时刻:" + ' ' + ' ' + a[0].value[2] + '
' relVal += @@ -225,7 +226,8 @@ const info = async (list: any) => { } let relVal = '' - relVal = "供电公司:" + ' ' + ' ' + a[0].value[3] + '
' + relVal = "监测点名称:" + ' ' + ' ' + a[0].value[7] + '
' + relVal += "供电公司:" + ' ' + ' ' + a[0].value[3] + '
' relVal += "变电站:" + ' ' + ' ' + a[0].value[4] + '
' relVal += "发生时刻:" + ' ' + ' ' + a[0].value[2] + '
' relVal += @@ -233,10 +235,15 @@ const info = async (list: any) => { "'>持续时间:" + ' ' + ' ' + - a[0].value[0].toFixed(3) + + Math.floor(a[0].value[0] * 1000) / 1000 + 's
' relVal += - "特征幅值:" + ' ' + ' ' + a[0].value[1].toFixed(3) + '%' + "特征幅值:" + + ' ' + + ' ' + + Math.floor(a[0].value[1] * 1000) / 1000 + + '%' return relVal } }, @@ -302,7 +309,6 @@ const info = async (list: any) => { radioChange(radio.value) } const radioChange = (e: any) => { - if (e == 'ITIC') { echartList.value = ITIC.value TableData.value[0].totalEvents = pointI.value.length + pointIun.value.length @@ -330,7 +336,6 @@ const gongfunction = () => { if (total == 0) { } else { for (var i = 0; i < datalist.value.length; i++) { - var point = [] var xx = datalist.value[i].persistTime var yy = datalist.value[i].eventValue * 100 @@ -339,7 +344,8 @@ const gongfunction = () => { var substation = datalist.value[i].subName var index = datalist.value[i].lineId var eventId = datalist.value[i].eventId - point = [xx, yy, time, company, substation, index, eventId] + var lineName = datalist.value[i].lineName + point = [xx, yy, time, company, substation, index, eventId, lineName] if (xx <= 0.003) { var line = 0 @@ -415,8 +421,6 @@ const gongfunction = () => { } } - - if (xx < 0.05) { standF++ pointF.value.push({ @@ -438,7 +442,7 @@ const gongfunction = () => { }) } } else if (xx < 0.5) { - if (yy > 50) { + if (yy > 70) { standF++ pointF.value.push({ value: point, diff --git a/src/views/pqs/voltageSags/Region/transientList/index.vue b/src/views/pqs/voltageSags/Region/transientList/index.vue index 89a23a4e..7a3d8f50 100644 --- a/src/views/pqs/voltageSags/Region/transientList/index.vue +++ b/src/views/pqs/voltageSags/Region/transientList/index.vue @@ -337,7 +337,7 @@ const download = () => { ElMessage.warning('暂无可下载的波形文件!') return } - ElMessage.success('下载中。。。!') + ElMessage.info('下载中......') let blob = new Blob([res], { type: 'application/zip' }) // console.log(blob) // var href = window.URL.createObjectURL(blob); //创建下载的链接 const url = window.URL.createObjectURL(blob) const link = document.createElement('a') // 创建a标签 diff --git a/src/views/pqs/voltageSags/monitoringPoint/online/eventStudy/index.vue b/src/views/pqs/voltageSags/monitoringPoint/online/eventStudy/index.vue index bc242508..00b1cb6a 100644 --- a/src/views/pqs/voltageSags/monitoringPoint/online/eventStudy/index.vue +++ b/src/views/pqs/voltageSags/monitoringPoint/online/eventStudy/index.vue @@ -148,7 +148,7 @@ const download = () => { ElMessage.warning('暂无可下载的波形文件!') return } - ElMessage.success('下载中。。。!') + ElMessage.info('下载中......') let blob = new Blob([res], { type: 'application/zip' }) // console.log(blob) // var href = window.URL.createObjectURL(blob); //创建下载的链接 const url = window.URL.createObjectURL(blob) const link = document.createElement('a') // 创建a标签 diff --git a/src/views/pqs/voltageSags/report/weekly/components/causeStatistics.vue b/src/views/pqs/voltageSags/report/weekly/components/causeStatistics.vue index 16e4c406..6c584e24 100644 --- a/src/views/pqs/voltageSags/report/weekly/components/causeStatistics.vue +++ b/src/views/pqs/voltageSags/report/weekly/components/causeStatistics.vue @@ -7,8 +7,8 @@ - - + + @@ -85,7 +85,7 @@ const tableStore = new TableStore({ tableStore.table.data = arr options.value = { title: { - text: '暂态原因统计', + text: '暂降原因统计', top: '20' }, legend: { @@ -106,13 +106,13 @@ const tableStore = new TableStore({ dataZoom: { show: false }, tooltip: { formatter: function (params) { - return `暂态原因统计:
${params.data.name}:${params.data.value}次
占比:${params.data.zb}%` + return `暂降原因统计:
${params.data.name}:${params.data.value}次
占比:${params.data.zb}%` } }, options: { series: [ { - name: '暂态原因统计', + name: '暂降原因统计', type: 'pie', radius: '60%', label: { @@ -152,7 +152,7 @@ nextTick(() => { // 导出 const exportEvent = () => { tableRef.value.exportData({ - filename: '暂态原因统计', // 文件名字 + filename: '暂降原因统计', // 文件名字 sheetName: 'Sheet1', type: 'xlsx', //导出文件类型 xlsx 和 csv useStyle: true, diff --git a/src/views/pqs/voltageSags/report/weekly/index.vue b/src/views/pqs/voltageSags/report/weekly/index.vue index a98e500a..8b21605b 100644 --- a/src/views/pqs/voltageSags/report/weekly/index.vue +++ b/src/views/pqs/voltageSags/report/weekly/index.vue @@ -11,7 +11,7 @@ - +
@@ -74,7 +74,7 @@ const list = ref([ // ] // }, { - name: '详细事件列表', + name: '暂降事件列表', id: '4', url: '/event-boot/report/getContinueTime', column: [ @@ -86,7 +86,7 @@ const list = ref([ return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1 } }, - { field: 'startTime', title: '暂态事件发生时刻', width: '200' }, + { field: 'startTime', title: '暂降事件发生时刻', width: '200' }, { field: 'gdName', title: '供电公司', width: '150' }, { field: 'subName', title: '变电站' }, { field: 'lineName', title: '监测点' }, @@ -105,7 +105,7 @@ const list = ref([ formatter: ({ row }: any) => (row.featureAmplitude * 100).toFixed(2) }, { field: 'duration', title: '持续时间(s)', width: '120' }, - { field: 'advanceType', title: '暂态类型(机器判断)', width: '150' } + { field: 'advanceType', title: '暂降类型(机器判断)', width: '150' } ] }, { diff --git a/src/views/system/version/index.vue b/src/views/system/version/index.vue index f6c7b7e0..bbd6f787 100644 --- a/src/views/system/version/index.vue +++ b/src/views/system/version/index.vue @@ -2,8 +2,6 @@