Commit a71efc04 authored by zhang's avatar zhang

fix: 修复标准文本中点击操作指南无法加载文件问题

parent 3d3b3fdb
...@@ -265,7 +265,7 @@ export default { ...@@ -265,7 +265,7 @@ export default {
{ {
...queryParams ...queryParams
}, },
`检验方案${new Date().getTime()}.xlsx` `检验方案${this.task.carModel}.xlsx`
) )
}, },
openAll() { openAll() {
......
...@@ -353,7 +353,6 @@ export default { ...@@ -353,7 +353,6 @@ export default {
this.model = res.data this.model = res.data
if (this.model.systemReviewTask.imagesUrl) { if (this.model.systemReviewTask.imagesUrl) {
const imgs = this.model.systemReviewTask.imagesUrl.split(',') const imgs = this.model.systemReviewTask.imagesUrl.split(',')
this.ruleForm.enterpriseLeader = imgs[0] this.ruleForm.enterpriseLeader = imgs[0]
? process.env.VUE_APP_IMAGE_API + imgs[0] ? process.env.VUE_APP_IMAGE_API + imgs[0]
: '' : ''
......
...@@ -293,7 +293,7 @@ export default { ...@@ -293,7 +293,7 @@ export default {
if (name == 'name') { if (name == 'name') {
window.open("https:\\"+row.file); window.open("https:\\"+row.file);
} else if (name == 'keypointname') { } else if (name == 'keypointname') {
window.open('/pdfjs/web/viewer.html?file='+process.env.VUE_APP_IMAGE_API + row.keypointFile) window.open('/pdfjs/web/viewer.html?file=' + process.env.VUE_APP_IMAGE_API + row.keypointFile)
//window.open(process.env.VUE_APP_IMAGE_API + row.keypointFile) //window.open(process.env.VUE_APP_IMAGE_API + row.keypointFile)
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment