diff --git a/fuintAdmin/src/api/EventMarketing/activeFullminus.js b/fuintAdmin/src/api/EventMarketing/activeFullminus.js index 5e89a03ef..a4397f415 100644 --- a/fuintAdmin/src/api/EventMarketing/activeFullminus.js +++ b/fuintAdmin/src/api/EventMarketing/activeFullminus.js @@ -45,7 +45,7 @@ export function updateActiveFullminus(data) { // 删除满减营销 export function delActiveFullminus(id) { return request({ - url: '/business/marketingActivity/activeFullminus/' + id, + url: '/business/marketingActivity/activeFullminus/delById/' + id, method: 'delete' }) } diff --git a/fuintAdmin/src/api/EventMarketing/activeNewlyweds.js b/fuintAdmin/src/api/EventMarketing/activeNewlyweds.js index b70a05947..478a908ff 100644 --- a/fuintAdmin/src/api/EventMarketing/activeNewlyweds.js +++ b/fuintAdmin/src/api/EventMarketing/activeNewlyweds.js @@ -3,11 +3,20 @@ import request from '@/utils/request' // 查询新人有礼活动列表 export function listActiveNewlyweds(query) { return request({ - url: '/business/marketingActivity/activeNewlyweds', + url: 'business/marketingActivity/activeNewlyweds', method: 'get', params: query }) } +// 回显 +export function huiActiveNewlyweds(id) { + return request({ + url: 'business/marketingActivity/activeNewlyweds/'+id, + method: 'get', + + }) +} + export function getoilName(query) { return request({ url: 'business/petrolStationManagement/oilNumber/getOilName', diff --git a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue index 85894c18a..11517c0b8 100644 --- a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue @@ -816,12 +816,18 @@ export default { id:row.id } looklook(data).then(res=>{ - this.looklist = res.data + if(res.data){ + this.looklist = res.data + } + console.log('详情',res) }) looklooklook(row.id).then(resp=>{ - this.statisticsyou = resp.data + if( resp.data){ + this.statisticsyou = resp.data + } + console.log('优惠券详情统计',resp) }) }, diff --git a/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue b/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue index 962ece2d9..79db431c4 100644 --- a/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue @@ -71,8 +71,6 @@ {{scope.row.activeDiscountChildList[0].deductionAmount}} - - - + +
+
+
优惠券数量统计
+
总数量: {{statisticsyou.count ||0}}
+
已使用数量: {{statisticsyou.countEd ||0}}
+
未使用数量: {{statisticsyou.countLd ||0}}
+
+
+
兑换券数量统计
+
总数量: {{statisticsyou.counts ||0}}
+
已使用数量: {{statisticsyou.countEds ||0}}
+
未使用数量: {{statisticsyou.countLds ||0}}
+
+
+ + + + + + + + + + +
+ @@ -138,7 +187,6 @@
-
@@ -172,10 +220,6 @@ - - - - {{item.oilType}}{{item.oilName}} @@ -219,14 +263,17 @@ + diff --git a/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue b/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue index 5834fabb6..7e45c4871 100644 --- a/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue @@ -1,6 +1,46 @@