This commit is contained in:
sjl
2025-12-30 10:02:01 +08:00
parent 83e57c92b4
commit 0fc7b528d4
14 changed files with 186 additions and 114 deletions

View File

@@ -46,6 +46,7 @@ import { useDictData } from '@/stores/dictData'
import { getFileNameAndFilePath } from '@/api/system-boot/file'
import { deleteWarningLeaflet } from '@/api/supervision-boot/delete/index'
import detail from '@/views/pqs/supervise/harmonicSurvey/test/detail.vue'
import {download} from '@/utils/fileDownLoad'
const dictData = useDictData()
const statusSelect = [
@@ -237,8 +238,6 @@ const tableStore = new TableStore({
return !(row.problemType == 2 || row.problemType == 4)
}
return true;
},
click: row => {
if (row.problemType == 2) {
@@ -271,7 +270,9 @@ const tableStore = new TableStore({
},
click: row => {
if (row.problemType == 2) {
window.open(row.filePath)
//window.open(row.filePath)
download('/' + row.absFilePath)
} else {
if (row.problemPath == null) {
ElMessage({
@@ -280,6 +281,7 @@ const tableStore = new TableStore({
})
} else {
getFileNameAndFilePath({ filePath: '/' + row.problemPath }).then(res => {
window.open(res.data.url)
})
}