当前窗口下载

main
lijingyu007 7 months ago
parent d4b3de2298
commit e9507f012c
  1. 6
      src/page/homepage/tool/tooldetails.vue
  2. 2
      src/page/personalpage/myBm/index.vue
  3. 4
      src/page/personalpage/testmanagement/mytool.vue

@ -526,7 +526,7 @@ export default {
})
.catch(() => {})
} else {
this.tool.package && window.open(this.tool.package)
this.tool.package && window.open(this.tool.package,'_self')
}
// this.$alert("")
},
@ -543,7 +543,7 @@ export default {
})
.catch(() => {})
} else {
this.tool.instructionManual && window.open(this.tool.instructionManual)
this.tool.instructionManual && window.open(this.tool.instructionManual,'_self')
}
},
//
@ -559,7 +559,7 @@ export default {
})
.catch(() => {})
} else {
this.tool.userGuide && window.open(this.tool.userGuide)
this.tool.userGuide && window.open(this.tool.userGuide,'_self')
}
},
//

@ -56,7 +56,7 @@ export default {
dateFormat,
downLoad(row) {
if (row.attachment) {
window.open(this.base + row.attachment)
window.open(this.base + row.attachment,'_self')
}
},
},

@ -197,9 +197,9 @@ export default {
downLoad(url) {
if (url) {
if (url.indexOf('http') == -1) {
window.open(this.baseurl + url)
window.open(this.baseurl + url,'_self')
} else {
window.open(url)
window.open(url,'_self')
}
} else {
this.$message.warning('下载失败,请联系管理员')

Loading…
Cancel
Save