diff --git a/fuintAdmin_zt/src/api/financialStatement/yunyingfenxi.js b/fuintAdmin_zt/src/api/financialStatement/yunyingfenxi.js new file mode 100644 index 000000000..c5bc1da02 --- /dev/null +++ b/fuintAdmin_zt/src/api/financialStatement/yunyingfenxi.js @@ -0,0 +1,67 @@ +import request from '@/utils/request' + + +// 会员充值订单 + export function getFenXiUserbalanceListApi(query) { + return request({ + url: '/business/userManager/userbalance/listByZt', + method: 'get', + params: query + }) +} + export function getFenXiUserbalanceDataApi(query) { + return request({ + url: '/business/userManager/userbalance/getUser', + method: 'get', + params: query + }) +} + +// 油品分析 + export function getFenXiOilOrderListApi(query) { + return request({ + url: '/business/oilOrder/selectOilOrderFenXiListByZtDz', + method: 'get', + params: query + }) +} + export function getFenXiOilOrderDataApi(query) { + return request({ + url: '/business/oilOrder/selectOilOrderFenXiDataByZtDz', + method: 'get', + params: query + }) +} + +// 商品订单 + export function getFenXiStoreListApi(query) { + return request({ + url: '/business/order/selectOrderFenxiListByZtDz', + method: 'get', + params: query + }) +} + export function getFenXiStoreDataApi(query) { + return request({ + url: '/business/order/selectOrderFenxiDataByZtDz', + method: 'get', + params: query + }) +} + +// 积分商城 +export function getFenXiIntegralListApi(query) { + return request({ + url: '/business/integral/integralOrders/queryByPageFenxiByZtDz', + method: 'get', + params: query + }) +} +export function getFenXiIntegralDataApi(query) { + return request({ + url: '/business/integral/integralOrders/getIntFenxiDataByZtDz', + method: 'get', + params: query + }) +} + diff --git a/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/int.vue b/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/int.vue index 9bb19baab..e2ebf7a92 100644 --- a/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/int.vue +++ b/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/int.vue @@ -74,58 +74,44 @@ 重置 - - +
+
+
累计交易金额(万元)
+
{{orderStatistics.payAmount}}
+
+
+
累计交易笔数
+
{{orderStatistics.count}}
+
+
+
累计兑换商品数量
+
{{orderStatistics.goodsNum}}
+
+
+
累计消耗积分
+
{{orderStatistics.cvg}}
+
+
+ +
- - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +
{ + getFenXiIntegralDataApi(this.addDateRange(this.queryParams, dateRange)).then(res=>{ this.orderStatistics = res.data console.log("res.data1111",res.data) }) @@ -251,7 +237,7 @@ import { dateRange.push(this.beginTime.toLocaleDateString()) dateRange.push(this.endTime.toLocaleDateString()) } - getTradingPageApi(this.addDateRange(this.queryParams,dateRange)).then( response => { + getFenXiIntegralListApi(this.addDateRange(this.queryParams,dateRange)).then( response => { this.orderList = response.data.records; this.total = response.data.total; this.isSysDate = false @@ -295,6 +281,65 @@ import { .table-box{ width: 100%; } - +.wrap-box{ + width: 100%; + display: flex; + align-items: center; + margin-bottom: 15px; +} +.k_{ + width: 200px; + height: 80px; + margin-right: 20px; + box-sizing: border-box; + padding: 15px 10px; + color: #333333; +} +.size_{ + font-weight: 400; + font-size: 14px; + color: #333333; + margin-bottom: 10px; +} +.title_{ + font-weight: 600; + font-size: 24px; + color: #333333; +} +#k_1{ + background: url("../imgs/k1.png"); + background-size: cover; /* 背景图片铺满盒子 */ + background-repeat: no-repeat; /* 禁止背景图片重复 */ +} +#k_2{ + background: url("../imgs/k2.png"); + background-size: cover; /* 背景图片铺满盒子 */ + background-repeat: no-repeat; /* 禁止背景图片重复 */ +} +#k_3{ + background: url("../imgs/k3.png"); + background-size: cover; /* 背景图片铺满盒子 */ + background-repeat: no-repeat; /* 禁止背景图片重复 */ +} +#k_4{ + background: url("../imgs/k4.png"); + background-size: cover; /* 背景图片铺满盒子 */ + background-repeat: no-repeat; /* 禁止背景图片重复 */ +} +#k_5{ + background: url("../imgs/k5.png"); + background-size: cover; /* 背景图片铺满盒子 */ + background-repeat: no-repeat; /* 禁止背景图片重复 */ +} +#k_6{ + background: url("../imgs/k6.png"); + background-size: cover; /* 背景图片铺满盒子 */ + background-repeat: no-repeat; /* 禁止背景图片重复 */ +} +#k_7{ + background: url("../imgs/k7.png"); + background-size: cover; /* 背景图片铺满盒子 */ + background-repeat: no-repeat; /* 禁止背景图片重复 */ +} diff --git a/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/oil.vue b/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/oil.vue index d75f92b3c..15eb71ec3 100644 --- a/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/oil.vue +++ b/fuintAdmin_zt/src/views/financialStatement/yunyingfenxi/tab/oil.vue @@ -70,52 +70,70 @@ 重置 - - +
+
+
累计交易金额(万元)
+
{{orderStatistics.amount}}
+
+
+
累计交易升数
+
{{orderStatistics.num}}
+
+
+
92#汽油交易金额(万元)
+
{{orderStatistics.amount92}}
+
+
+
95#汽油交易金额(万元)
+
{{orderStatistics.amount95}}
+
+
+
98#汽油交易金额(万元)
+
{{orderStatistics.amount98}}
+
+
+
0#柴油交易金额(万元)
+
{{orderStatistics.amount0}}
+
+
+
+ +
- - - - -