冀北 问题修改
This commit is contained in:
@@ -254,9 +254,16 @@ const tableStore = new TableStore({
|
||||
if (row.problemType == 2) {
|
||||
window.open(row.filePath)
|
||||
} else {
|
||||
getFileNameAndFilePath({ filePath: row.reportPath }).then(res => {
|
||||
window.open(res.data.url)
|
||||
})
|
||||
if (row.problemPath == null) {
|
||||
ElMessage({
|
||||
message: '暂无报告!',
|
||||
type: 'warning'
|
||||
})
|
||||
} else {
|
||||
getFileNameAndFilePath({ filePath: '/' + row.problemPath }).then(res => {
|
||||
window.open(res.data.url)
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user