From bd1be2027444fe415aef70c6e18b405151ba7ba5 Mon Sep 17 00:00:00 2001 From: lcc <805383944@qq.com> Date: Sat, 18 Oct 2025 00:59:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pingan/src/api/car/product/index.js | 14 +++++++++ pingan/src/views/car/product/index.vue | 41 +++++++++++++++++++++++++- 2 files changed, 54 insertions(+), 1 deletion(-) diff --git a/pingan/src/api/car/product/index.js b/pingan/src/api/car/product/index.js index 6e7a592..63949ce 100644 --- a/pingan/src/api/car/product/index.js +++ b/pingan/src/api/car/product/index.js @@ -85,3 +85,17 @@ export async function getCouponBizList(params) { } return Promise.reject(new Error(res.data.message)); } + +/** + * 导出产品 + * @param params 查询条件 + */ +export async function exportProduct(params) { + const res = await request.get('/car/product/export', { + params + }); + if (res.data.code === 0) { + return res.data.data; + } + return Promise.reject(new Error(res.data.message)); +} diff --git a/pingan/src/views/car/product/index.vue b/pingan/src/views/car/product/index.vue index 5d8343a..2016e4f 100644 --- a/pingan/src/views/car/product/index.vue +++ b/pingan/src/views/car/product/index.vue @@ -80,6 +80,13 @@ 查询 重置 + 导出 @@ -347,11 +354,12 @@