Compare commits

2 Commits

Author SHA1 Message Date
GGJ
d69a6e1e5d Merge branch 'master' of http://pqmcc.com:3000/Web/admin-sjzx
# Conflicts:
#	src/views/pqs/supervise/technology/feedbackPopup.vue
2025-12-19 14:08:17 +08:00
GGJ
a67535abbf 修改打包报错 2025-12-19 14:05:56 +08:00
3 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
import { downloadFile } from '@/api/system-boot/file' import { downloadFile } from '@/api/system-boot/file'
// 下载文件 // 下载文件
export const download = (urls: string) => { export const download = (urls: string) => {
console.log("🚀 ~ download ~ urls:", urls)
downloadFile({ filePath: urls }).then((res: any) => { downloadFile({ filePath: urls }).then((res: any) => {
let blob = new Blob([res], { let blob = new Blob([res], {
type: urls.includes('.pdf') type: urls.includes('.pdf')

View File

@@ -24,7 +24,7 @@
<el-icon class="elView" v-if="problemDetail?.problemName && VITE_FLAG"> <el-icon class="elView" v-if="problemDetail?.problemName && VITE_FLAG">
<View @click="openFile(problemDetail?.problemName)" /> <View @click="openFile(problemDetail?.problemName)" />
</el-icon> </el-icon>
<span class="aLoad" @click="download(supervisionReportDetail.keyName)" target="_blank">{{ problemDetail.problemName }}</span> <span class="aLoad" @click="download(supervisionReportDetail.keyName)" target="_blank">{{ problemDetail.problemName }}</span >
</el-form-item> </el-form-item>
<el-form-item label="采取的措施:" prop="takeStep"> <el-form-item label="采取的措施:" prop="takeStep">

View File

@@ -4,7 +4,7 @@
<el-icon> <el-icon>
<Link /> <Link />
</el-icon> </el-icon>
<a :href="detailData?.lineFilePath.url"> <span :href="detailData?.lineFilePath.url">
{{ detailData?.lineFilePath.name }} {{ detailData?.lineFilePath.name }}
</span > </span >
</el-descriptions-item> </el-descriptions-item>