From c1fe8bbc142826204de30bf264bcdf1a7b9eee49 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Thu, 07 Dec 2023 10:03:13 +0800
Subject: [PATCH] 用户留言

---
 src/main/resources/templates/febs/views/modules/mallMember/moneyFlowList.html |  190 ++++++++++++++++------------------------------
 1 files changed, 67 insertions(+), 123 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/mallMember/moneyFlowList.html b/src/main/resources/templates/febs/views/modules/mallMember/moneyFlowList.html
index 107977e..095b417 100644
--- a/src/main/resources/templates/febs/views/modules/mallMember/moneyFlowList.html
+++ b/src/main/resources/templates/febs/views/modules/mallMember/moneyFlowList.html
@@ -14,42 +14,25 @@
                                         </div>
                                     </div>
                                     <div class="layui-inline">
-                                        <label class="layui-form-label">名称:</label>
-                                        <div class="layui-input-inline">
-                                            <input type="text" placeholder="名称" name="name" autocomplete="off" class="layui-input">
-                                        </div>
-                                    </div>
-                                    <div class="layui-inline">
-                                        <label class="layui-form-label">手机号码:</label>
-                                        <div class="layui-input-inline">
-                                            <input type="text" placeholder="手机号码" name="phone" autocomplete="off" class="layui-input">
-                                        </div>
-                                    </div>
-                                    <div class="layui-inline">
                                         <label class="layui-form-label">流水类型:</label>
                                         <div class="layui-input-inline">
                                             <select name="type">
                                                 <option value="">请选择</option>
-                                                <option value="1">静态收益</option>
-                                                <option value="2">直推奖</option>
-                                                <option value="8">提现</option>
-                                                <option value="9">转账</option>
-                                                <option value="10">支付</option>
-                                                <option value="11">退款</option>
-                                                <option value="14">签到</option>
-                                                <option value="16">系统拨付</option>
-                                                <option value="19">1星合伙人补贴</option>
-                                                <option value="20">2星合伙人补贴</option>
-                                                <option value="21">3星合伙人补贴</option>
-                                                <option value="22">4星合伙人补贴</option>
-                                                <option value="23">5星合伙人补贴</option>
-                                                <option value="24">6星合伙人补贴</option>
-                                                <option value="25">贡献点</option>
-                                                <option value="26">补贴额度</option>
-                                                <option value="27">团队补贴</option>
-                                                <option value="28">平级奖励补贴</option>
-                                                <option value="29">线下服务中心补贴</option>
-                                                <option value="30">代理商补贴</option>
+                                                <option value="1">解除冻结</option>
+                                                <option value="2">代币转出</option>
+                                                <option value="3">代币转入</option>
+                                                <option value="4">令牌转出</option>
+                                                <option value="5">令牌转入</option>
+                                                <option value="6">预约冻结令牌</option>
+                                                <option value="7">FCM动态兑换</option>
+                                                <option value="8">动态兑换手续费</option>
+                                                <option value="9">FCM动态兑换</option>
+                                                <option value="10">NFT提现</option>
+                                                <option value="11">NFT提现手续费</option>
+                                                <option value="12">支付</option>
+                                                <option value="13">预约令牌</option>
+                                                <option value="14">NFT提现FCM手续费</option>
+                                                <option value="15">系统拨付</option>
                                             </select>
                                         </div>
                                     </div>
@@ -58,12 +41,9 @@
                                         <div class="layui-input-inline">
                                             <select name="flowType">
                                                 <option value="">请选择</option>
-                                                <option value="1">余额</option>
-<!--                                                <option value="2">赠送积分</option>-->
-                                                <option value="3">现金积分</option>
-                                                <option value="5">贡献点</option>
-<!--                                                <option value="6">补贴额度</option>-->
-<!--                                                <option value="4">佣金</option>-->
+                                                <option value="3">NFT</option>
+                                                <option value="2">令牌</option>
+                                                <option value="1">FCM代币</option>
                                             </select>
                                         </div>
                                     </div>
@@ -85,6 +65,52 @@
         </div>
     </div>
 </div>
+
+<script type="text/html" id="isFlowType">
+    {{# if(d.flowType === 1) { }}
+    <span class="layui-badge febs-bg-red">FCM代币</span>
+    {{# } else if(d.flowType === 2) { }}
+    <span class="layui-badge febs-bg-blue">令牌</span>
+    {{# } else if(d.flowType === 3) { }}
+    <span class="layui-badge febs-bg-orange">FCM代币</span>
+    {{# } else { }}
+    {{# } }}
+</script>
+
+<script type="text/html" id="isType">
+    {{# if(d.type === 1) { }}
+    <span class="layui-badge febs-bg-red">解除冻结</span>
+    {{# } else if(d.type === 2) { }}
+    <span class="layui-badge febs-bg-blue">代币转出</span>
+    {{# } else if(d.type === 3) { }}
+    <span class="layui-badge febs-bg-orange">代币转入</span>
+    {{# } else if(d.type === 4) { }}
+    <span class="layui-badge febs-bg-orange">令牌转出</span>
+    {{# } else if(d.type === 5) { }}
+    <span class="layui-badge febs-bg-orange">令牌转入</span>
+    {{# } else if(d.type === 6) { }}
+    <span class="layui-badge febs-bg-orange">预约冻结令牌</span>
+    {{# } else if(d.type === 7) { }}
+    <span class="layui-badge febs-bg-orange">FCM动态兑换</span>
+    {{# } else if(d.type === 8) { }}
+    <span class="layui-badge febs-bg-orange">动态兑换手续费</span>
+    {{# } else if(d.type === 9) { }}
+    <span class="layui-badge febs-bg-orange">FCM动态兑换</span>
+    {{# } else if(d.type === 10) { }}
+    <span class="layui-badge febs-bg-orange">NFT提现</span>
+    {{# } else if(d.type === 11) { }}
+    <span class="layui-badge febs-bg-orange">NFT提现手续费</span>
+    {{# } else if(d.type === 12) { }}
+    <span class="layui-badge febs-bg-orange">支付</span>
+    {{# } else if(d.type === 13) { }}
+    <span class="layui-badge febs-bg-orange">预约令牌</span>
+    {{# } else if(d.type === 14) { }}
+    <span class="layui-badge febs-bg-orange">NFT提现FCM手续费</span>
+    {{# } else if(d.type === 15) { }}
+    <span class="layui-badge febs-bg-orange">系统拨付</span>
+    {{# } else { }}
+    {{# } }}
+</script>
 <!-- 表格操作栏 end -->
 <script data-th-inline="none" type="text/javascript">
     // 引入组件并初始化
@@ -131,90 +157,10 @@
                 url: ctx + 'admin/mallMember/getMoneyFlowList',
                 cols: [[
                     {field: 'accountLogin', title: '登录账户', minWidth: 100,align:'left'},
-                    {field: 'name', title: '名称', minWidth: 100,align:'left'},
-                    {field: 'phone', title: '手机号码', minWidth: 150,align:'left'},
                     {field: 'amount', title: '金额', minWidth: 150,align:'left'},
-                    {field: 'fromMemberName', title: '来自', minWidth: 150,align:'left'},
-                    {field: 'type', title: '流水类型',
-                        templet: function (d) {
-                            if (d.type === 1) {
-                                return '<span>静态收益</span>'
-                            } else if (d.type === 2) {
-                                return '<span>直推奖</span>'
-                            } else if (d.type === 3) {
-                                return '<span>代理收益</span>'
-                            } else if (d.type === 4) {
-                                return '<span>排名收益</span>'
-                            }else if (d.type === 5) {
-                                return '<span>总监收益</span>'
-                            }else if (d.type === 6) {
-                                return '<span>社区店补</span>'
-                            }else if (d.type === 7) {
-                                return '<span>一代收益</span>'
-                            }else if (d.type === 8) {
-                                return '<span>提现</span>'
-                            }else if (d.type === 9) {
-                                return '<span>转账</span>'
-                            }else if (d.type === 10) {
-                                return '<span>支付</span>'
-                            }else if (d.type === 11) {
-                                return '<span>退款</span>'
-                            }else if (d.type === 12) {
-                                return '<span>佣金转竞猜积分</span>'
-                            }else if (d.type === 13) {
-                                return '<span>佣金转余额</span>'
-                            }else if (d.type === 14) {
-                                return '<span>签到</span>'
-                            }else if (d.type === 15) {
-                                return '<span>感恩奖</span>'
-                            }else if (d.type === 16) {
-                                return '<span>系统拨付</span>'
-                            }else if (d.type === 17) {
-                                return '<span>抽奖</span>'
-                            }else if (d.type === 18) {
-                                return '<span>积分池收益</span>'
-                            }else if (d.type === 19) {
-                                return '<span>1星合伙人补贴</span>'
-                            }else if (d.type === 20) {
-                                return '<span>2星合伙人补贴</span>'
-                            }else if (d.type === 21) {
-                                return '<span>3星合伙人补贴</span>'
-                            }else if (d.type === 22) {
-                                return '<span>4星合伙人补贴</span>'
-                            }else if (d.type === 23) {
-                                return '<span>5星合伙人补贴</span>'
-                            }else if (d.type === 24) {
-                                return '<span>6星合伙人补贴</span>'
-                            }else if (d.type === 25) {
-                                return '<span>贡献点</span>'
-                            }else if (d.type === 26) {
-                                return '<span>补贴额度</span>'
-                            }else if (d.type === 27) {
-                                return '<span>团队补贴</span>'
-                            }else if (d.type === 28) {
-                                return '<span>平级奖励补贴</span>'
-                            }else if (d.type === 29) {
-                                return '<span>线下服务中心补贴</span>'
-                            }else if (d.type === 30) {
-                                return '<span>代理商补贴</span>'
-                            }else{
-                                return ''
-                            }
-                        }, minWidth: 80,align:'center'},
-                    {field: 'flowType', title: '资金类型',
-                        templet: function (d) {
-                            if (d.flowType === 1) {
-                                return '余额';
-                            } else if(d.flowType === 3) {
-                                return '现金积分'
-                            } else if(d.flowType === 5) {
-                                return '贡献点'
-                            } else {
-                                return '-';
-                            }
-                        }, minWidth: 80,align:'center'},
-                    {field: 'orderNo', title: '订单编号', minWidth: 150,align:'left'},
-                    {field: 'remark', title: '备注', minWidth: 150,align:'left'},
+                    {templet: '#isType', title: '流水类型', minWidth: 100,align:'center'},
+                    {templet: '#isFlowType', title: '资金类型', minWidth: 100,align:'center'},
+                    {field: 'description', title: '备注', minWidth: 150,align:'left'},
                     {field: 'createdTime', title: '创建时间', minWidth: 180,align:'center'}
                 ]]
             });
@@ -223,9 +169,7 @@
         // 获取查询参数
         function getQueryParams() {
             return {
-                name: $searchForm.find('input[name="name"]').val().trim(),
                 accountLogin: $searchForm.find('input[name="accountLogin"]').val().trim(),
-                phone: $searchForm.find('input[name="phone"]').val().trim(),
                 type: $searchForm.find("select[name='type']").val(),
                 flowType: $searchForm.find("select[name='flowType']").val(),
             };

--
Gitblit v1.9.1