diff --git a/fuintAdmin/src/api/EventMarketing/cardExchange.js b/fuintAdmin/src/api/EventMarketing/cardExchange.js index 702e82032..908df7b25 100644 --- a/fuintAdmin/src/api/EventMarketing/cardExchange.js +++ b/fuintAdmin/src/api/EventMarketing/cardExchange.js @@ -42,3 +42,9 @@ export function delExchange(id) { method: 'delete' }) } +export function getqueryGoods() { + return request({ + url: 'business/convenience/goods/queryGoods', + method: 'get' + }) +} diff --git a/fuintAdmin/src/api/EventMarketing/oilBlock.js b/fuintAdmin/src/api/EventMarketing/oilBlock.js index d36c72aa2..750b0851e 100644 --- a/fuintAdmin/src/api/EventMarketing/oilBlock.js +++ b/fuintAdmin/src/api/EventMarketing/oilBlock.js @@ -51,7 +51,15 @@ export function deleteList(id) { export function getoilnum(id) { return request({ - url: 'petrolStationManagement/oilNumber/getOilPrice/'+id, + url: 'business/petrolStationManagement/oilNumber/getOilPrice/'+id, + method: 'get', + + }) +} +// 统计 +export function getstatistics() { + return request({ + url: 'business/marketingActivity/cardFuelRecord/selectFuelRecordCount', method: 'get', }) diff --git a/fuintAdmin/src/views/EventMarketing/activeRecommend/index.vue b/fuintAdmin/src/views/EventMarketing/activeRecommend/index.vue index a4857d409..5a57b918b 100644 --- a/fuintAdmin/src/views/EventMarketing/activeRecommend/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeRecommend/index.vue @@ -8,7 +8,7 @@ - + {{city.text}} @@ -243,7 +243,7 @@ - + + - + @@ -160,8 +160,16 @@ - - + + + + + + @@ -211,13 +219,15 @@ import { getExchange, delExchange, addExchange, - updateExchange + updateExchange, + getqueryGoods } from '@/api/EventMarketing/cardExchange' export default { name: 'Exchange', data() { return { + goodsList:[], labelPosition:'left', centerDialogVisible: false, loadingdialog:true, @@ -290,6 +300,11 @@ export default { }, methods: { + change(e){ + console.log(e) + this.form.giftId = e + + }, qrcodelook(url) { this.loadingdialog = true this.centerDialogVisible = true @@ -317,6 +332,10 @@ export default { this.total = response.data.total this.loading = false }) + getqueryGoods().then(res=>{ + console.log(res) + this.goodsList = res.data + }) }, // 取消按钮 cancel() { @@ -377,6 +396,7 @@ export default { }, /** 提交按钮 */ submitForm() { + console.log(this.form) this.$refs['form'].validate(valid => { if (valid) { if (this.form.id != null) { diff --git a/fuintAdmin/src/views/EventMarketing/giftBlock/index.vue b/fuintAdmin/src/views/EventMarketing/giftBlock/index.vue index d858990e0..b2fe59e9e 100644 --- a/fuintAdmin/src/views/EventMarketing/giftBlock/index.vue +++ b/fuintAdmin/src/views/EventMarketing/giftBlock/index.vue @@ -50,65 +50,115 @@ -
-
- -
总发卡量
-
- -
+
-
- 面值:{{item.cardAmount || 0}} +
+
总发卡量
+ +
暂无数据...
+
+
+
+ +
+
+ {{item.cardAmount || 0}}
-
- 总发卡金额:{{item.total || 0}} -
-
- 总数量:{{item.count || 0}} +
+ 面值
+
- +
+
+ {{item.total || 0}} +
+
+ 总发卡金额 +
+ +
+
+
{{item.count || 0}}
+
+ 总数量 +
+ +
+
+
- -
已使用卡量
-
- -
+
已使用卡量
+ +
暂无数据...
+
+
+
-
- 面值:{{item.cardAmount || 0}} +
+
+ {{item.cardAmount || 0}}
-
- 总发卡金额:{{item.total || 0}} -
-
- 总数量:{{item.count || 0}} +
+ 面值
+
- +
+
+ {{item.total || 0}} +
+
+ 总发卡金额 +
+ +
+
+
{{item.count || 0}}
+
+ 总数量 +
+ +
+
+
- -
未使用卡量
-
- -
+
未使用卡量
+ +
暂无数据...
+
+
+
-
- 面值:{{item.cardAmount || 0}} +
+
+ {{item.cardAmount || 0}}
-
- 总发卡金额:{{item.total || 0}} -
-
- 总数量:{{item.count || 0}} +
+ 面值
+
+
+ {{item.total || 0}} +
+
+ 总发卡金额 +
+ +
+
+
{{item.count || 0}}
+
+ 总数量 +
+ +
+
-
@@ -452,9 +502,8 @@ import { .tj{ width: 100%; display: flex; - justify-content: space-between; - margin-bottom: 20px; + } .kar{ width: 100%; @@ -462,14 +511,38 @@ import { margin-bottom: 10px; } + .one-size{ + font-size: 20px; + font-weight: bold; + color: #000; + } +.two-size{ + font-size: 20px; + font-weight: bold; + color: #78b0fb; +} +.three-size{ + font-size: 20px; + font-weight: bold; + color: #f73f3f; +} .ds{ width: 100%; display: flex; align-items: center; + background: #f4f4f4; + border-radius: 6px; + margin-bottom: 15px; + box-sizing: border-box; + padding: 15px 5px; + } + .tj-text{ + font-size: 18px; + font-weight: bold; } .tj-num{ margin: 5px auto; - font-size: 28px; + //font-size: 28px; color: #666; text-align: center; } @@ -494,5 +567,21 @@ import { } .sshi{ width: 33%; + background: #FFFFFF; + box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%); + box-sizing: border-box; + padding: 15px; + border-radius: 6px; + //background: #f9f9f9; + } + .tjaocuo{ + width: 100%; + margin-bottom: 15px; + display: flex; + justify-content: space-between; + + + + } diff --git a/fuintAdmin/src/views/EventMarketing/storeOilBlock/index.vue b/fuintAdmin/src/views/EventMarketing/storeOilBlock/index.vue index 8567844d1..e77dfefff 100644 --- a/fuintAdmin/src/views/EventMarketing/storeOilBlock/index.vue +++ b/fuintAdmin/src/views/EventMarketing/storeOilBlock/index.vue @@ -30,6 +30,20 @@ 搜索
+ +
统计
+ +
+
+
油品名称: {{item.oilName}}
+
总参与人数: {{item.peoples}}
+
售出总金额: {{item.money}}
+
售出总升数: {{item.litres}}
+
+
+
+ + 新增囤油卡 + + + + + + + prop="type" + label="限制时间" + width="350" + > + + + + + + - - - + + + + + + + + - - - - - - - - - + + + + + + + + + + + - - + @@ -161,27 +193,20 @@ center> +
+ + + + + + +
今日油价:{{oilPrice || ''}} 元/L 国标油价:{{oilPrice || ''}}元/L
+
- - - - - - - - - - - - - - - - @@ -255,12 +280,15 @@