review + mall:商品管理
This commit is contained in:
parent
ae49aaffcf
commit
349a39e72f
@ -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 () => {
|
|||||||
// 发起导出
|
// 发起导出
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user