微调
This commit is contained in:
@@ -231,14 +231,14 @@ const init = () => {
|
|||||||
},
|
},
|
||||||
backgroundColor: 'rgba(0,0,0,0.55)',
|
backgroundColor: 'rgba(0,0,0,0.55)',
|
||||||
formatter: function (params: any) {
|
formatter: function (params: any) {
|
||||||
//console.log(params)
|
console.log(params)
|
||||||
let msg = ''
|
let msg = ''
|
||||||
msg += params[0].name + '<br/>'
|
msg += params[0].name
|
||||||
for (let i in params) {
|
for (let i in params) {
|
||||||
if (params[i].data == 3.14159) {
|
if (params[i].data == 3.14159) {
|
||||||
msg +=params[i].marker + ': 暂无数据<br/>'
|
msg += '(' + params[i].seriesName + ')' + '<br/>' + params[i].marker + ': 暂无数据<br/>'
|
||||||
} else {
|
} else {
|
||||||
msg += params[i].marker + ': ' + params[i].data + '<br/>'
|
msg += '(' + params[i].seriesName + ')' + '<br/>' + params[i].marker + ': ' + params[i].data + '<br/>'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return msg
|
return msg
|
||||||
|
|||||||
@@ -245,7 +245,7 @@ const tableStore = new TableStore({
|
|||||||
// const match = row.filePath.match(/excelreport(\/[^?#]*)/)
|
// const match = row.filePath.match(/excelreport(\/[^?#]*)/)
|
||||||
|
|
||||||
// window.open(window.location.origin + '/#/previewFile?' + match[1])
|
// 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 {
|
} else {
|
||||||
if (row.problemPath == null) {
|
if (row.problemPath == null) {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
|
|||||||
@@ -178,10 +178,11 @@ const tableStore = new TableStore({
|
|||||||
//window.open(row.filePath)
|
//window.open(row.filePath)
|
||||||
// const match = row.filePath.match(/excelreport(\/[^?#]*)/)
|
// const match = row.filePath.match(/excelreport(\/[^?#]*)/)
|
||||||
// const decodedPath = decodeURI(match[1]) // 解码URL中的中文字符
|
// const decodedPath = decodeURI(match[1]) // 解码URL中的中文字符
|
||||||
//download('/' + row.absFilePath)
|
download('/' + row.absFilePath)
|
||||||
|
|
||||||
//download('/supervision/微服务系统测试页面功能-20251224合并版本.docx')
|
//download('/supervision/微服务系统测试页面功能-20251224合并版本.docx')
|
||||||
download('/onlineReport/电能[预]2025年18号-张家口地市 电能质量技术监督预警单.docx')
|
|
||||||
|
//download('/onlineReport/电能[预]2025年18号-张家口地市 电能质量技术监督预警单.docx')
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user