修改冀北现场问题

This commit is contained in:
GGJ
2024-08-07 11:13:46 +08:00
parent 071d5a5af3
commit 98097830a2
16 changed files with 134 additions and 63 deletions

View File

@@ -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