微调
This commit is contained in:
@@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user