预告警查看报告

This commit is contained in:
sjl
2025-12-30 10:16:56 +08:00
parent 409999b37b
commit 38028b5cb0
2 changed files with 15 additions and 12 deletions

View File

@@ -151,16 +151,17 @@ const tableStore = new TableStore({
icon: 'el-icon-EditPen',
render: 'basicButton',
disabled: row => {
if (VITE_FLAG) {
// if (VITE_FLAG) {
return row.problemType != 2;
}
return true;
// }
// return true;
},
click: row => {
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)
}
},
{