修改冀北现场问题
This commit is contained in:
@@ -84,7 +84,7 @@ import { getFileNameAndFilePath, uploadFile } from '@/api/system-boot/file'
|
||||
import { addFeedback, updateFeedback } from '@/api/supervision-boot/leaflet'
|
||||
import { Link, View } from '@element-plus/icons-vue'
|
||||
const openFile = (name: any) => {
|
||||
window.open(window.location.origin + '/#/previewFile?' + name)
|
||||
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
|
||||
}
|
||||
//.doc,.docx,.xlsx,.xls,.pdf
|
||||
const acceptType = ref('')
|
||||
@@ -175,7 +175,7 @@ const open = async (
|
||||
}
|
||||
if (supervisionReport) {
|
||||
let arrPath = supervisionReport.split(',')
|
||||
console.log("🚀 ~ arrPath:", arrPath)
|
||||
console.log('🚀 ~ arrPath:', arrPath)
|
||||
await getFileNameAndFilePath({ filePath: arrPath[0] }).then(res => {
|
||||
supervisionReportDetail.supervisionReportPath = res.data.url
|
||||
supervisionReportDetail.supervisionReportName = res.data.fileName
|
||||
|
||||
Reference in New Issue
Block a user