diff --git a/fuintAdmin/src/api/EventMarketing/cardFavorable.js b/fuintAdmin/src/api/EventMarketing/cardFavorable.js
index 68c153c25..7cd32c2cb 100644
--- a/fuintAdmin/src/api/EventMarketing/cardFavorable.js
+++ b/fuintAdmin/src/api/EventMarketing/cardFavorable.js
@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询优惠券列表
export function listFavorable(query) {
return request({
- url: '/business/marketingActivity/favorable/list',
+ url: 'business/marketingActivity/cardFavorable',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listFavorable(query) {
// 查询优惠券详细
export function getFavorable(id) {
return request({
- url: '/business/marketingActivity/favorable/' + id,
+ url: '/business/marketingActivity/cardFavorable/' + id,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getFavorable(id) {
// 新增优惠券
export function addFavorable(data) {
return request({
- url: '/business/marketingActivity/favorable',
+ url: '/business/marketingActivity/cardFavorable',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addFavorable(data) {
// 修改优惠券
export function updateFavorable(data) {
return request({
- url: '/business/marketingActivity/favorable',
+ url: '/business/marketingActivity/cardFavorable',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateFavorable(data) {
// 删除优惠券
export function delFavorable(id) {
return request({
- url: '/business/marketingActivity/favorable/' + id,
+ url: '/business/marketingActivity/cardFavorable/' + id,
method: 'delete'
})
}
diff --git a/fuintAdmin/src/views/EventMarketing/cardExchange/index.vue b/fuintAdmin/src/views/EventMarketing/cardExchange/index.vue
index 48f1d993a..2d1cc9a14 100644
--- a/fuintAdmin/src/views/EventMarketing/cardExchange/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/cardExchange/index.vue
@@ -302,12 +302,9 @@
this.creatQrCode(url)
this.loadingdialog = false
}, 1000);
-
},
creatQrCode(url) {
-
document.getElementById("qrCode").innerHTML = ""
-
new QRCode(this.$refs.qrCodeUrl, {
text: url, // 二维码的内容
width: 300,
@@ -316,10 +313,7 @@
colorLight: '#fff',
correctLevel: QRCode.CorrectLevel.H
})
-
-
},
-
/** 查询兑换券列表 */
getList() {
this.loading = true
diff --git a/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue b/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue
index 7b4c087b2..f6416885a 100644
--- a/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue
@@ -1,164 +1,39 @@
+
+
-
-
+
+
-
-
+
+
+
+
+
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
搜索
- 重置
+
+
+
新增
-
- 修改
-
-
- 删除
-
-
- 导出
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ 油品券
+ 商品券
+ 通用券
+
+
+
- {{ parseTime(scope.row.checkOutTime, '{y}-{m}-{d}') }}
+ 满减券
+ 折扣券
-
-
+
+
+
+ 满 {{scope.row.fullDeduction}} 元
+
+
+
+
+ 减 {{scope.row.discountAmount}} 元
+
+
+
+
+ {{scope.row.validity}} 天
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 启用
+ 禁用
+
+
+
修改
- 删除
+
@@ -263,52 +121,93 @@
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
+ 油品券
+ 商品券
+ 通用券
+
+
+
+
+ 满减券
+ 折扣券
+
+
+
+
+
+ {{city}}
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ 领券后立即生效,有效期 天
+ 固定有效周期,固定开始日期
+
+ 有效期
+ 天
+
+ 领券后第 天生效 有效期 天
+
+
+
+
+
-
+
+ 领取时间
+ 指定时间
+
+
+
+
+
+
-
+
+
+ {{city}}
+
+
+
+
-
-
+
+
+
+
+
+
+
-
-
+
+
+ 满减活动
+ 储值卡付款
+
-
-
+
+
+ 每人限领一张
+ 每人每日限领一张
+
-
-
+
+
+ 启用
+ 禁用
+
+
+
+
+
+
+