冀北 问题修改

This commit is contained in:
GGJ
2024-07-30 14:28:31 +08:00
parent 5c324435c5
commit 1aba898baa
5 changed files with 41 additions and 10 deletions

View File

@@ -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)
})
}
}
}
},