Commit 0dbecfe0 by zhangquan

更换导出方法

1 parent 723f53b6
......@@ -239,6 +239,7 @@ const UPLOAD_INFO = [11] // 上传资料
const TO_HANDLE = [0] // 去处理
const TO_DEL = [5]
const Operations_Mananger = [26] // 运营经理审核
import utils from '../../util/util'
export default {
name: 'index',
data() {
......@@ -1067,12 +1068,15 @@ export default {
if (res.status == 1) {
clearInterval(this.exportTimer)
this.exportTimer = null
var a = document.createElement('a')
a.setAttribute('id', 'exportToExport')
a.setAttribute('href', res.url)
a.setAttribute('target', '_blank')
document.body.appendChild(a)
a.click()
let tempaa = utils.getExplorer()
if (tempaa == 'QQ') {
window.open(res.url)
} else {
let iframe = document.createElement('iframe')
iframe.style.display = 'none'
iframe.src = res.url
document.body.appendChild(iframe)
}
}
} else {
this.$message.error(res.message)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!