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 @@ + + + + + +