Merge branch 'main' into uat_us
commit
52445f3791
|
@ -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,
|
||||||
})
|
})
|
||||||
|
|
|
@ -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,
|
||||||
})
|
})
|
||||||
|
|
|
@ -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,
|
||||||
})
|
})
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue