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 dbf4770b
authored
Oct 08, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
上传逻辑判断修改
1 parent
d77eb41e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
src/layout/header-aside/components/header-user/index.vue
src/layout/header-aside/components/header-user/index.vue
View file @
dbf4770
...
...
@@ -4,7 +4,7 @@
<i
class=
"el-icon-s-tools"
style=
"marginRight:20px;cursor:pointer"
v-if=
"userInfo.beSuper"
@
click=
"setTitle"
></i
>
@
click=
"setTitle"
/
>
<el-popover
ref=
"popover1"
placement=
"top-start"
width=
"400"
...
...
@@ -50,7 +50,7 @@
<
/div
>
<!--
隐私协议
-->
<
privacy
-
agreement
-
dialog
:
privacy
V
isible
=
"privacyVisible"
<
privacy
-
agreement
-
dialog
:
privacy
-
v
isible
=
"privacyVisible"
v
-
if
=
"privacyVisible"
@
dialogClose
=
"privacyClose"
/>
<
/div
>
...
...
@@ -221,8 +221,8 @@ export default {
const
methodLists
=
[
'dj.api.smartcarlife.goodsOrderProfitAllocation.export.async'
,
'dj.api.smartcarlife.goodsOrderProfitAllocation.exportAccountStatement.async'
]
le
t
isOnlyReq
=
this
.
pollDownloadList
.
some
((
item
)
=>
{
le
t
{
method
}
=
JSON
.
parse
(
item
.
exportParam
)
cons
t
isOnlyReq
=
this
.
pollDownloadList
.
some
((
item
)
=>
{
cons
t
{
method
}
=
JSON
.
parse
(
item
.
exportParam
)
return
methodLists
.
includes
(
method
)
}
)
console
.
log
(
isOnlyReq
)
...
...
@@ -277,7 +277,8 @@ export default {
result
.
forEach
((
ele
)
=>
{
if
(
ele
.
uuid
==
item
.
uuid
)
{
item
=
Object
.
assign
(
item
,
ele
)
item
.
ifSuccess
=
ele
.
progress
==
100
// 新增逻辑 可能progress完成 但这两个数据还没写入 failNum succNum
item
.
ifSuccess
=
ele
.
progress
==
100
&&
(
ele
.
failNum
>
0
||
ele
.
succNum
>
0
)
if
(
item
.
ifSuccess
)
{
flag
=
true
if
(
ele
.
failNum
)
{
...
...
@@ -451,13 +452,12 @@ export default {
setTitle
()
{
this
.
privacyVisible
=
!
this
.
privacyVisible
console
.
log
(
this
.
privacyVisible
);
console
.
log
(
this
.
privacyVisible
)
}
,
privacyClose
()
{
this
.
privacyVisible
=
!
this
.
privacyVisible
}
,
}
}
,
beforeDestroy
()
{
clearInterval
(
dowloadTimer
)
...
...
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