Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
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 c70a58fc
authored
Jun 19, 2024
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加loding
1 parent
0dbecfe0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
src/views/claims/ghIndex.vue
src/views/claims/ghIndex.vue
View file @
c70a58f
...
...
@@ -779,6 +779,7 @@ export default {
},
mounted
()
{},
beforeDestroy
()
{
this
.
$notify
.
closeAll
()
clearInterval
(
this
.
exportTimer
)
this
.
exportTimer
=
null
const
{
pageNum
,
pageSize
}
=
this
.
$refs
?.
equityRef
?.
page
||
{}
...
...
@@ -1036,6 +1037,12 @@ export default {
},
exportList
()
{
const
parmas
=
{
...
this
.
getParams
()
}
this
.
$notify
({
title
:
'提示'
,
type
:
'success'
,
message
:
'正在导出,请稍等片刻...'
,
duration
:
0
})
this
.
$apis
.
claims
.
exportGHClaimsListApi
(
parmas
).
then
(
res
=>
{
if
(
res
.
status
!=
2
)
{
this
.
exportKey
=
res
.
key
...
...
@@ -1045,6 +1052,7 @@ export default {
},
this
.
$constantData
.
delayTime
||
5000
)
}
}
else
{
this
.
$notify
.
closeAll
()
this
.
$message
.
error
(
res
.
message
)
}
// var a = document.createElement('a')
...
...
@@ -1061,11 +1069,13 @@ export default {
if
(
this
.
exportNum
>
calcTime
)
{
clearInterval
(
this
.
exportTimer
)
this
.
exportTimer
=
null
this
.
$notify
.
closeAll
()
return
this
.
$message
.
error
(
'导出失败,请重试!'
)
}
this
.
$apis
.
claims
.
getExportUrlApi
({
key
:
this
.
exportKey
}).
then
(
res
=>
{
if
(
res
.
status
!=
2
)
{
if
(
res
.
status
==
1
)
{
this
.
$notify
.
closeAll
()
clearInterval
(
this
.
exportTimer
)
this
.
exportTimer
=
null
let
tempaa
=
utils
.
getExplorer
()
...
...
@@ -1079,6 +1089,7 @@ export default {
}
}
}
else
{
this
.
$notify
.
closeAll
()
this
.
$message
.
error
(
res
.
message
)
}
})
...
...
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