预告警单
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user