From 163ee7c4bd868557fb7d7399feaa03d6d9660526 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 11 Aug 2023 17:46:17 +0800
Subject: [PATCH] 数据修改

---
 src/main/resources/templates/febs/views/dapp/memberMoneyFlow.html |   47 +++++++----------------------------------------
 1 files changed, 7 insertions(+), 40 deletions(-)

diff --git a/src/main/resources/templates/febs/views/dapp/memberMoneyFlow.html b/src/main/resources/templates/febs/views/dapp/memberMoneyFlow.html
index 9fb9860..37b155a 100644
--- a/src/main/resources/templates/febs/views/dapp/memberMoneyFlow.html
+++ b/src/main/resources/templates/febs/views/dapp/memberMoneyFlow.html
@@ -9,46 +9,12 @@
         </div>
     </div>
 </div>
+
 <script type="text/html" id="flow-type">
     {{#
     var type = {
-    1: {title: '赠送积分', color: 'orange'},
-    2: {title: '支付订单', color: 'green'},
-    3: {title: '静态补贴', color: 'blue'},
-    4: {title: '预期减少赠送积分', color: 'orange'},
-    5: {title: '预期增加余额', color: 'green'},
-    6: {title: '直推', color: 'blue'},
-    7: {title: '团队静态收益V1', color: 'orange'},
-    8: {title: '团队静态收益V2', color: 'green'},
-    9: {title: '团队静态收益V3', color: 'blue'},
-    10: {title: '团队静态收益V4', color: 'orange'},
-    11: {title: '团队静态收益V5', color: 'green'},
-    12: {title: '团队静态收益V6', color: 'blue'},
-    13: {title: '团队静态收益V7', color: 'orange'},
-    14: {title: '共享加速V1', color: 'green'},
-    15: {title: '共享加速V2', color: 'blue'},
-    16: {title: '共享加速V3', color: 'orange'},
-    17: {title: '共享加速V4', color: 'green'},
-    18: {title: '共享加速V5', color: 'blue'},
-    19: {title: '共享加速V6', color: 'orange'},
-    20: {title: '共享加速V7', color: 'green'},
-    21: {title: '实际减少赠送积分', color: 'blue'},
-    22: {title: '实际增加余额', color: 'orange'},
-    23: {title: '卖出资产', color: 'green'},
-    24: {title: '卖出资产获得余额', color: 'blue'},
-    25: {title: '卖出资产手续费', color: 'orange'},
-    26: {title: '每日获取金额(前端提示记录)', color: 'orange'},
-    27: {title: '系统拨付余额', color: 'green'},
-    28: {title: '系统拨付赠送积分', color: 'blue'},
-    29: {title: '系统拨付资产包', color: 'orange'},
-    30: {title: '新增业绩', color: 'green'},
-    31: {title: '全网分红V1', color: 'green'},
-    32: {title: '全网分红V2', color: 'green'},
-    33: {title: '全网分红V3', color: 'green'},
-    34: {title: '全网分红V4', color: 'green'},
-    35: {title: '全网分红V5', color: 'green'},
-    36: {title: '全网分红V6', color: 'green'},
-    37: {title: '全网分红V7', color: 'green'},
+    1: {title: '余额', color: 'orange'},
+    2: {title: '赠送积分', color: 'green'},
     }[d.type];
     }}
     <span class="layui-badge febs-bg-{{type.color}}">{{ type.title }}</span>
@@ -80,11 +46,12 @@
             tableIns = febs.table.init({
                 elem: $view.find('table'),
                 id: 'memberMoneyFlowChild',
-                url: ctx + 'admin/goods/orderMoneyFlow?parentId=1',
+                url: ctx + 'member/orderMoneyFlow?parentId=1',
                 cols: [[
-                    {field: 'address', title: '用户', minWidth: 80,align:'center'},
-                    {field: 'amount', title: '金额', minWidth: 80,align:'center'},
+                    {field: 'preAmount', title: '变化前余额', minWidth: 80,align:'center'},
                     {title: '类型', minWidth: 100,templet: '#flow-type',align:'center'},
+                    {field: 'amount', title: '预期获得', minWidth: 80,align:'center'},
+                    {field: 'afterAmount', title: '实际获取', minWidth: 80,align:'center'},
                     {field: 'createTime', title: '时间', minWidth: 150,align:'left'}
                 ]]
             });

--
Gitblit v1.9.1