Merge branch 'main' into uat_us

uat_us
wangxiaoshuang 2025-01-24 13:51:27 +08:00
commit 52445f3791
4 changed files with 6 additions and 6 deletions

View File

@ -437,7 +437,7 @@ export default {
}, },
handlePreview3(row) { handlePreview3(row) {
return this.$preview({ return this.$preview({
path: row.FilePath, path: row.Path || row.FilePath,
type: 'pdf', type: 'pdf',
title: row.FileName, title: row.FileName,
}) })
@ -447,7 +447,7 @@ export default {
}, },
handlePreview2(row, r2) { handlePreview2(row, r2) {
return this.$preview({ return this.$preview({
path: row.fullPath, path: row.Path || row.fullPath,
type: 'pdf', type: 'pdf',
title: row.FileName, title: row.FileName,
}) })
@ -537,7 +537,7 @@ export default {
handlePreview(row) { handlePreview(row) {
console.log(row) console.log(row)
return this.$preview({ return this.$preview({
path: row.FullPath, path: row.Path || row.FullPath,
type: 'pdf', type: 'pdf',
title: row.FileName, title: row.FileName,
}) })

View File

@ -333,7 +333,7 @@ export default {
}, },
preview(row) { preview(row) {
this.$preview({ this.$preview({
path: row.FullPath, path: row.Path || row.FullPath,
type: 'pdf', type: 'pdf',
title: row.FileName, title: row.FileName,
}) })

View File

@ -292,7 +292,7 @@ export default {
}, },
preview(row) { preview(row) {
this.$preview({ this.$preview({
path: row.FullPath, path: row.Path || row.FullPath,
type: 'pdf', type: 'pdf',
title: row.FileName, title: row.FileName,
}) })

View File

@ -1015,7 +1015,7 @@ export default {
} }
}, },
preview(row) { preview(row) {
let path = row.FullPath || row.FilePath let path = row.Path || row.FullPath || row.FilePath
this.$preview({ this.$preview({
path: path, path: path,
type: 'pdf', type: 'pdf',