This commit is contained in:
guanj
2026-01-04 09:01:56 +08:00
3 changed files with 8 additions and 7 deletions

View File

@@ -231,14 +231,14 @@ const init = () => {
},
backgroundColor: 'rgba(0,0,0,0.55)',
formatter: function (params: any) {
//console.log(params)
console.log(params)
let msg = ''
msg += params[0].name + '<br/>'
msg += params[0].name
for (let i in params) {
if (params[i].data == 3.14159) {
msg +=params[i].marker + ': 暂无数据<br/>'
msg += '' + params[i].seriesName + '' + '<br/>' + params[i].marker + ': 暂无数据<br/>'
} else {
msg += params[i].marker + ': ' + params[i].data + '<br/>'
msg += '' + params[i].seriesName + '' + '<br/>' + params[i].marker + ': ' + params[i].data + '<br/>'
}
}
return msg

View File

@@ -245,7 +245,7 @@ const tableStore = new TableStore({
// const match = row.filePath.match(/excelreport(\/[^?#]*)/)
// window.open(window.location.origin + '/#/previewFile?' + match[1])
window.open(window.location.origin + '/#/previewFile?/' + 'row.absFilePath')
window.open(window.location.origin + '/#/previewFile?/' + row.absFilePath)
} else {
if (row.problemPath == null) {
ElMessage({

View File

@@ -178,10 +178,11 @@ const tableStore = new TableStore({
//window.open(row.filePath)
// const match = row.filePath.match(/excelreport(\/[^?#]*)/)
// const decodedPath = decodeURI(match[1]) // 解码URL中的中文字符
//download('/' + row.absFilePath)
download('/' + row.absFilePath)
//download('/supervision/微服务系统测试页面功能-20251224合并版本.docx')
download('/onlineReport/电能[预]2025年18号-张家口地市 电能质量技术监督预警单.docx')
//download('/onlineReport/电能[预]2025年18号-张家口地市 电能质量技术监督预警单.docx')
}
},