Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ce7e2c0a
authored
Aug 24, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复线上问题
1 parent
1fdea4a3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
src/layout/header-aside/components/header-user/index.vue
src/layout/header-aside/components/header-user/index.vue
View file @
ce7e2c0
...
@@ -290,8 +290,8 @@ export default {
...
@@ -290,8 +290,8 @@ export default {
const
fileUuidList
=
this
.
pollDownloadList
.
map
((
item
)
=>
{
const
fileUuidList
=
this
.
pollDownloadList
.
map
((
item
)
=>
{
return
item
.
uuid
return
item
.
uuid
}
)
}
)
console
.
log
(
'272'
,
fileUuidList
)
//
console.log('272', fileUuidList)
console
.
log
(
'272'
,
this
.
waitDownloadList
)
//
console.log('272', this.waitDownloadList)
// return
// return
fileUuidList
.
length
&&
exportExcel
({
fileUuidList
}
).
then
((
result
)
=>
{
fileUuidList
.
length
&&
exportExcel
({
fileUuidList
}
).
then
((
result
)
=>
{
console
.
log
(
result
)
console
.
log
(
result
)
...
@@ -307,15 +307,17 @@ export default {
...
@@ -307,15 +307,17 @@ export default {
let
needAdd
=
false
let
needAdd
=
false
const
list
=
this
.
dowloadList
.
map
((
item
)
=>
{
const
list
=
this
.
dowloadList
.
map
((
item
)
=>
{
// item.labelText = '导出中'
// item.labelText = '导出中'
result
.
forEach
((
ele
)
=>
{
console
.
log
(
item
)
result
.
forEach
((
ele
,
index
)
=>
{
if
(
ele
.
fileUuid
==
item
.
uuid
)
{
if
(
ele
.
fileUuid
==
item
.
uuid
)
{
// item = Object.assign(ele, item)
// item = Object.assign(ele, item)
item
.
ifSuccess
=
ele
.
status
!=
0
item
.
ifSuccess
=
ele
.
status
!=
0
if
(
ele
.
status
!=
0
)
item
.
status
=
'end'
if
(
ele
.
status
!=
0
)
item
.
status
=
'end'
if
(
ele
.
status
==
1
)
{
if
(
ele
.
status
==
1
)
{
needAdd
=
true
needAdd
=
true
// console.log(ele.fileUrl)
setTimeout
(()
=>
{
downLoadFile
(
ele
.
fileUrl
)
downLoadFile
(
ele
.
fileUrl
)
}
,
index
*
7000
)
this
.
notice
.
okTips
(
status
[
ele
.
status
])
this
.
notice
.
okTips
(
status
[
ele
.
status
])
}
else
if
(
ele
.
status
==
2
)
{
}
else
if
(
ele
.
status
==
2
)
{
needAdd
=
true
needAdd
=
true
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment