diff --git a/fuintAdmin/src/App.vue b/fuintAdmin/src/App.vue index 60c976733..326251846 100644 --- a/fuintAdmin/src/App.vue +++ b/fuintAdmin/src/App.vue @@ -20,7 +20,7 @@ diff --git a/fuintAdmin/src/api/EventMarketing/activeConsumption.js b/fuintAdmin/src/api/EventMarketing/activeConsumption.js index e6f22c120..46c2cfa8c 100644 --- a/fuintAdmin/src/api/EventMarketing/activeConsumption.js +++ b/fuintAdmin/src/api/EventMarketing/activeConsumption.js @@ -78,7 +78,22 @@ export function updateActiveConsumption(data) { // 删除消费有礼活动 export function delActiveConsumption(id) { return request({ - url: '/business/marketingActivity/activeConsumption/' + id, + url: 'business/marketingActivity/activeConsumption/delById/' + id, method: 'delete' }) } +//查看详情 +export function looklook(data) { + return request({ + url: 'business/marketingActivity/activeConsumption/detailRecord', + method: 'get', + params:data + }) +} +export function looklooklook(id) { + return request({ + url: 'business/marketingActivity/activeConsumption/detailCount/'+id, + method: 'get', + + }) +} diff --git a/fuintAdmin/src/api/EventMarketing/activeDiscount.js b/fuintAdmin/src/api/EventMarketing/activeDiscount.js index 27b3ad4ab..4059385a7 100644 --- a/fuintAdmin/src/api/EventMarketing/activeDiscount.js +++ b/fuintAdmin/src/api/EventMarketing/activeDiscount.js @@ -47,7 +47,7 @@ export function updateActiveDiscount(data) { // 删除折扣营销 export function delActiveDiscount(id) { return request({ - url: '/business/marketingActivity/activeDiscount/' + id, + url: '/business/marketingActivity/activeDiscount/delById/' + id, method: 'delete' }) } 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/api/convenienceStore/supplier.js b/fuintAdmin/src/api/convenienceStore/supplier.js index 953833f2b..b3d7e36da 100644 --- a/fuintAdmin/src/api/convenienceStore/supplier.js +++ b/fuintAdmin/src/api/convenienceStore/supplier.js @@ -9,6 +9,15 @@ export function listSupplier(query) { }) } +// 查询供应商列表 +export function listSuppliers(query) { + return request({ + url: '/business/convenience/supplier/lists', + method: 'get', + params: query + }) +} + // 查询供应商详细 export function getSupplier(id) { return request({ diff --git a/fuintAdmin/src/api/staff/user/usergrade.js b/fuintAdmin/src/api/staff/user/usergrade.js index 391d73108..0229fd380 100644 --- a/fuintAdmin/src/api/staff/user/usergrade.js +++ b/fuintAdmin/src/api/staff/user/usergrade.js @@ -1,11 +1,11 @@ import request from '@/utils/request' // 查询会员等级列表 -export function listUserGrade(query) { +export function listUserGrade() { return request({ url: '/business/userManager/userGrade/list', method: 'get', - params: query + }) } diff --git a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue index b05405ac8..11517c0b8 100644 --- a/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeConsumption/index.vue @@ -52,23 +52,50 @@ + + + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -113,6 +169,18 @@ + + + + + + + + @@ -339,12 +407,7 @@ - + @@ -364,6 +427,52 @@ 取 消 + +
+
+
优惠券数量统计
+
总数量: {{statisticsyou.count ||0}}
+
已使用数量: {{statisticsyou.countEd ||0}}
+
未使用数量: {{statisticsyou.countLd ||0}}
+
+
+
兑换券数量统计
+
总数量: {{statisticsyou.counts ||0}}
+
已使用数量: {{statisticsyou.countEds ||0}}
+
未使用数量: {{statisticsyou.countLds ||0}}
+
+
+ + + + + + + + + + + + + + +
+ +
@@ -504,7 +613,6 @@ 确定 @@ -516,13 +624,20 @@ + diff --git a/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue b/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue index 9fc6b336a..79db431c4 100644 --- a/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeFullminus/index.vue @@ -51,19 +51,47 @@ - + + + + - - + + + + + + + + + + + + + + + - + +
+
+
优惠券数量统计
+
总数量: {{statisticsyou.count ||0}}
+
已使用数量: {{statisticsyou.countEd ||0}}
+
未使用数量: {{statisticsyou.countLd ||0}}
+
+
+
兑换券数量统计
+
总数量: {{statisticsyou.counts ||0}}
+
已使用数量: {{statisticsyou.countEds ||0}}
+
未使用数量: {{statisticsyou.countLds ||0}}
+
+
+ + + + + + + + + + +
+ + -
+
- +
- - +
-
- -
- + + +
-
- 新增 -
- + + + @@ -149,10 +220,6 @@ - - - - {{item.oilType}}{{item.oilName}} @@ -196,14 +263,21 @@ + diff --git a/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue b/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue index 3c08d97d7..7e45c4871 100644 --- a/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue @@ -1,6 +1,46 @@