From 5170ee75725035973d01f4ffc21bf35723790939 Mon Sep 17 00:00:00 2001 From: 18650502300 <18650502300@163.com> Date: Thu, 8 Aug 2024 14:29:43 +0800 Subject: [PATCH] =?UTF-8?q?1.=E9=A2=86=E5=8F=96=E4=BC=98=E6=83=A0=E5=88=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/claimLog.js | 44 +++++ src/views/system/claimLog/index.vue | 274 ++++++++++++++++++++++++++++ src/views/system/coupon/index.vue | 38 +++- src/views/system/model/index.vue | 5 +- 4 files changed, 349 insertions(+), 12 deletions(-) create mode 100644 src/api/system/claimLog.js create mode 100644 src/views/system/claimLog/index.vue diff --git a/src/api/system/claimLog.js b/src/api/system/claimLog.js new file mode 100644 index 0000000..7c01806 --- /dev/null +++ b/src/api/system/claimLog.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询优惠券领取记录列表 +export function listClaimLog(query) { + return request({ + url: '/system/claimLog/list', + method: 'get', + params: query + }) +} + +// 查询优惠券领取记录详细 +export function getClaimLog(claimId) { + return request({ + url: '/system/claimLog/' + claimId, + method: 'get' + }) +} + +// 新增优惠券领取记录 +export function addClaimLog(data) { + return request({ + url: '/system/claimLog', + method: 'post', + data: data + }) +} + +// 修改优惠券领取记录 +export function updateClaimLog(data) { + return request({ + url: '/system/claimLog', + method: 'put', + data: data + }) +} + +// 删除优惠券领取记录 +export function delClaimLog(claimId) { + return request({ + url: '/system/claimLog/' + claimId, + method: 'delete' + }) +} diff --git a/src/views/system/claimLog/index.vue b/src/views/system/claimLog/index.vue new file mode 100644 index 0000000..7ab1f70 --- /dev/null +++ b/src/views/system/claimLog/index.vue @@ -0,0 +1,274 @@ + + + diff --git a/src/views/system/coupon/index.vue b/src/views/system/coupon/index.vue index bb952fd..5774426 100644 --- a/src/views/system/coupon/index.vue +++ b/src/views/system/coupon/index.vue @@ -11,17 +11,17 @@ /> - + - + - - - - + + + + + + +