预告警单

This commit is contained in:
sjl
2025-12-31 08:36:14 +08:00
parent 38028b5cb0
commit 72b1f39814
5 changed files with 17 additions and 11 deletions

View File

@@ -240,11 +240,12 @@ const tableStore = new TableStore({
// return true;
},
click: row => {
if (row.problemType == 2) {
// 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({
@@ -282,10 +283,11 @@ const tableStore = new TableStore({
type: 'warning'
})
} else {
getFileNameAndFilePath({ filePath: '/' + row.problemPath }).then(res => {
// getFileNameAndFilePath({ filePath: '/' + row.problemPath }).then(res => {
window.open(res.data.url)
})
// window.open(res.data.url)
// })
download('/' + row.absFilePath)
}
}
}