微调
This commit is contained in:
@@ -156,10 +156,8 @@ const tableStore = new TableStore({
|
||||
// }
|
||||
// return true;
|
||||
},
|
||||
|
||||
click: row => {
|
||||
// const match = row.filePath.match(/excelreport(\/[^?#]*)/)
|
||||
|
||||
// window.open(window.location.origin + '/#/previewFile?' + match[1])
|
||||
window.open(window.location.origin + '/#/previewFile?/' + row.absFilePath)
|
||||
}
|
||||
@@ -174,16 +172,10 @@ const tableStore = new TableStore({
|
||||
return row.problemType != 2
|
||||
},
|
||||
click: row => {
|
||||
|
||||
//window.open(row.filePath)
|
||||
// const match = row.filePath.match(/excelreport(\/[^?#]*)/)
|
||||
// const decodedPath = decodeURI(match[1]) // 解码URL中的中文字符
|
||||
download('/' + row.absFilePath)
|
||||
|
||||
//download('/supervision/微服务系统测试页面功能-20251224合并版本.docx')
|
||||
|
||||
//download('/onlineReport/电能[预]2025年18号-张家口地市 电能质量技术监督预警单.docx')
|
||||
|
||||
}
|
||||
},
|
||||
// {
|
||||
@@ -281,7 +273,6 @@ const tableStore = new TableStore({
|
||||
)
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
name: 'cancel',
|
||||
title: '取消',
|
||||
|
||||
Reference in New Issue
Block a user