From 557aba50c7a03bf5e8969949ade28b4762a8c45b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BD=90=E5=A4=A9=E5=A4=A7=E5=9C=A3?= <17615834396@163.com> Date: Tue, 7 Nov 2023 09:31:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=91=E6=8D=A2=E5=88=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/EventMarketing/cardExchange.js | 44 ++ .../api/EventMarketing/cardExchangeRecord.js | 44 ++ .../EventMarketing/cardExchange/index.vue | 390 ++++++++++++++ .../cardExchangeRecord/index.vue | 484 ++++++++++++++++++ 4 files changed, 962 insertions(+) create mode 100644 fuintAdmin/src/api/EventMarketing/cardExchange.js create mode 100644 fuintAdmin/src/api/EventMarketing/cardExchangeRecord.js create mode 100644 fuintAdmin/src/views/EventMarketing/cardExchange/index.vue create mode 100644 fuintAdmin/src/views/EventMarketing/cardExchangeRecord/index.vue diff --git a/fuintAdmin/src/api/EventMarketing/cardExchange.js b/fuintAdmin/src/api/EventMarketing/cardExchange.js new file mode 100644 index 000000000..37cbfa48c --- /dev/null +++ b/fuintAdmin/src/api/EventMarketing/cardExchange.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询兑换券列表 +export function listExchange(query) { + return request({ + url: '/system/exchange/list', + method: 'get', + params: query + }) +} + +// 查询兑换券详细 +export function getExchange(id) { + return request({ + url: '/system/exchange/' + id, + method: 'get' + }) +} + +// 新增兑换券 +export function addExchange(data) { + return request({ + url: '/system/exchange', + method: 'post', + data: data + }) +} + +// 修改兑换券 +export function updateExchange(data) { + return request({ + url: '/system/exchange', + method: 'put', + data: data + }) +} + +// 删除兑换券 +export function delExchange(id) { + return request({ + url: '/system/exchange/' + id, + method: 'delete' + }) +} diff --git a/fuintAdmin/src/api/EventMarketing/cardExchangeRecord.js b/fuintAdmin/src/api/EventMarketing/cardExchangeRecord.js new file mode 100644 index 000000000..a8c78f376 --- /dev/null +++ b/fuintAdmin/src/api/EventMarketing/cardExchangeRecord.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询兑换券领取记录列表 +export function listRecord(query) { + return request({ + url: '/system/record/list', + method: 'get', + params: query + }) +} + +// 查询兑换券领取记录详细 +export function getRecord(id) { + return request({ + url: '/system/record/' + id, + method: 'get' + }) +} + +// 新增兑换券领取记录 +export function addRecord(data) { + return request({ + url: '/system/record', + method: 'post', + data: data + }) +} + +// 修改兑换券领取记录 +export function updateRecord(data) { + return request({ + url: '/system/record', + method: 'put', + data: data + }) +} + +// 删除兑换券领取记录 +export function delRecord(id) { + return request({ + url: '/system/record/' + id, + method: 'delete' + }) +} diff --git a/fuintAdmin/src/views/EventMarketing/cardExchange/index.vue b/fuintAdmin/src/views/EventMarketing/cardExchange/index.vue new file mode 100644 index 000000000..a13824680 --- /dev/null +++ b/fuintAdmin/src/views/EventMarketing/cardExchange/index.vue @@ -0,0 +1,390 @@ + + + diff --git a/fuintAdmin/src/views/EventMarketing/cardExchangeRecord/index.vue b/fuintAdmin/src/views/EventMarketing/cardExchangeRecord/index.vue new file mode 100644 index 000000000..c06007bdb --- /dev/null +++ b/fuintAdmin/src/views/EventMarketing/cardExchangeRecord/index.vue @@ -0,0 +1,484 @@ + + +