Commit ce7e2c0a by 张立顺

修复线上问题

1 parent 1fdea4a3
......@@ -290,8 +290,8 @@ export default {
const fileUuidList = this.pollDownloadList.map((item) => {
return item.uuid
})
console.log('272', fileUuidList)
console.log('272', this.waitDownloadList)
// console.log('272', fileUuidList)
// console.log('272', this.waitDownloadList)
// return
fileUuidList.length && exportExcel({ fileUuidList }).then((result) => {
console.log(result)
......@@ -307,15 +307,17 @@ export default {
let needAdd = false
const list = this.dowloadList.map((item) => {
// item.labelText = '导出中'
result.forEach((ele) => {
console.log(item)
result.forEach((ele, index) => {
if (ele.fileUuid == item.uuid) {
// item = Object.assign(ele, item)
item.ifSuccess = ele.status != 0
if (ele.status != 0) item.status = 'end'
if (ele.status == 1) {
needAdd = true
// console.log(ele.fileUrl)
downLoadFile(ele.fileUrl)
setTimeout(() => {
downLoadFile(ele.fileUrl)
}, index * 7000)
this.notice.okTips(status[ele.status])
} else if (ele.status == 2) {
needAdd = true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!