This commit is contained in:
sjl
2025-12-25 18:21:25 +08:00
parent bf3d033f39
commit 7a7c584217
3 changed files with 8 additions and 2 deletions

View File

@@ -164,6 +164,7 @@ provide('tableStore', tableStore)
tableStore.table.params.deptIndex = dictData.state.area[0].id
tableStore.table.params.monitorFlag = 2
tableStore.table.params.powerFlag = sign[0]?.algoDescribe || 0
tableStore.table.params.statisticalType = {}

View File

@@ -1485,13 +1485,16 @@ const getEcharts = () => {
fontSize: 14
},
backgroundColor: 'rgba(0,0,0,0.55)',
formatter: function (params: any) {
let tips = ''
tips += '时刻:' + params[0].data[0] + '</br/>'
for (let i = 0; i < params.length; i++) {
console.log('🚀 ~ file: index.vue ~ line 107 ~ params:', params)
if (params[i].seriesName == '暂态触发点') {
tips += ''
console.log('tips', tips)
return tips
}
if (params[i].seriesName == 'A相谐波电流方向') {
@@ -1575,6 +1578,8 @@ const getEcharts = () => {
':' +
(Number.isNaN(Number(str2)) ? '/' : str2) +
'<br/>'
console.log('其他tips',tips)
}
}

View File

@@ -256,7 +256,7 @@ const positioningexport = () => {
}
positioningtableRef.value.exportData({
filename: '事件分析', // 文件名字
filename: '事件查看', // 文件名字
sheetName: 'Sheet1',
type: 'xlsx', //导出文件类型 xlsx 和 csv
useStyle: true,