From 10a6ee9e3ae1d14affc201f9dc9e30d5e0e93409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=92?= Date: Fri, 31 Oct 2025 12:55:21 +0800 Subject: [PATCH] 1 --- src/api/system/giftcoupon.js | 37 +++ src/views/system/giftcoupon/index.vue | 343 ++++++++++++++++++++++++++ 2 files changed, 380 insertions(+) create mode 100644 src/api/system/giftcoupon.js create mode 100644 src/views/system/giftcoupon/index.vue diff --git a/src/api/system/giftcoupon.js b/src/api/system/giftcoupon.js new file mode 100644 index 0000000..975e3c2 --- /dev/null +++ b/src/api/system/giftcoupon.js @@ -0,0 +1,37 @@ +import request from '@/utils/request' + +// 礼金列表 +export function listGiftCoupons(query) { + return request({ + url: '/system/giftcoupon/list', + method: 'get', + params: query + }) +} + +// 礼金详情 +export function getGiftCoupon(giftCouponKey) { + return request({ + url: `/system/giftcoupon/${giftCouponKey}`, + method: 'get' + }) +} + +// 礼金统计 +export function getGiftCouponStatistics(query) { + return request({ + url: '/system/giftcoupon/statistics', + method: 'get', + params: query + }) +} + +// 导出礼金列表 +export function exportGiftCoupons(query) { + return request({ + url: '/system/giftcoupon/export', + method: 'post', + params: query + }) +} + diff --git a/src/views/system/giftcoupon/index.vue b/src/views/system/giftcoupon/index.vue new file mode 100644 index 0000000..17e051c --- /dev/null +++ b/src/views/system/giftcoupon/index.vue @@ -0,0 +1,343 @@ + + + + + +