Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b8da44df
authored
Sep 28, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
商品管理/品牌列表:导出未请求接口
parent
37ad9c3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
src/views/Goods/goods.vue
src/views/Goods/goods.vue
View file @
b8da44df
...
...
@@ -21,7 +21,7 @@
<div
class=
"btn-nav clr"
>
<el-button
type=
"primary"
@
click=
"updateBrand"
>
修改
</el-button>
<el-button
type=
"primary"
@
click=
"downOut"
>
导出
</el-button>
<a
:href=
"downHref"
ref=
"downs"
target=
"_blank"
style=
"display:none"
>
下载
</a>
<a
:href=
"downHref"
ref=
"downs"
target=
"_blank"
>
下载
</a>
</div>
<div
class=
"data-box th-all"
v-if=
"tableData"
>
<el-table
:data=
"tableData"
border
max-height=
"600"
@
selection-change=
"handleSelectionChange"
>
...
...
@@ -271,7 +271,7 @@ export default {
this
.
disabled
=
true
;
this
.
$message
({
message
:
'正在导出中,请耐心等待'
,
type
:
'
success
'
type
:
'
warning
'
});
this
.
timer
=
setInterval
(()
=>
{
if
(
!
this
.
disabled
)
{
...
...
@@ -289,7 +289,10 @@ export default {
}).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
this
.
disabled
=
false
;
this
.
$message
(
"导出成功"
)
this
.
$message
({
message
:
'导出成功'
,
type
:
'success'
});
this
.
downHref
=
res
.
data
setTimeout
(()
=>
{
this
.
$refs
.
downs
.
click
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment