Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
349a39e7
authored
May 24, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
review + mall:商品管理
parent
ae49aaff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
src/views/mall/product/spu/index.vue
+1
-2
No files found.
src/views/mall/product/spu/index.vue
View file @
349a39e7
...
@@ -55,7 +55,6 @@
...
@@ -55,7 +55,6 @@
<Icon
class=
"mr-5px"
icon=
"ep:plus"
/>
<Icon
class=
"mr-5px"
icon=
"ep:plus"
/>
新增
新增
</el-button>
</el-button>
<!-- TODO @puhui999:增加一个【导出】操作 -->
<el-button
<el-button
v-hasPermi=
"['product:spu:export']"
v-hasPermi=
"['product:spu:export']"
:loading=
"exportLoading"
:loading=
"exportLoading"
...
@@ -385,7 +384,7 @@ const handleExport = async () => {
...
@@ -385,7 +384,7 @@ const handleExport = async () => {
// 发起导出
// 发起导出
exportLoading
.
value
=
true
exportLoading
.
value
=
true
const
data
=
await
ProductSpuApi
.
exportSpu
(
queryParams
)
const
data
=
await
ProductSpuApi
.
exportSpu
(
queryParams
)
download
.
excel
(
data
,
'商品
spu
.xls'
)
download
.
excel
(
data
,
'商品
列表
.xls'
)
}
catch
{
}
catch
{
}
finally
{
}
finally
{
exportLoading
.
value
=
false
exportLoading
.
value
=
false
...
...
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