From c9cb5828802dcae2ccca8f9344f97a2d06da974b Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 30 Nov 2020 17:23:38 +0800
Subject: [PATCH] Merge branch 'outcenter-bak' of https://gitee.com/chonggaoxiao/new_excoin_manage.git into outcenter-bak

---
 src/main/resources/templates/febs/views/modules/member/member.html |   85 +++++++++++++++++++++---------------------
 1 files changed, 42 insertions(+), 43 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/member/member.html b/src/main/resources/templates/febs/views/modules/member/member.html
index a01a164..9a17510 100644
--- a/src/main/resources/templates/febs/views/modules/member/member.html
+++ b/src/main/resources/templates/febs/views/modules/member/member.html
@@ -9,18 +9,7 @@
                                 <div class="layui-form-item">
                                     <div class="layui-inline">
                                         <div class="layui-input-inline">
-                                            <input type="text" placeholder="手机号/邮箱/邀请码" name="account" autocomplete="off" class="layui-input">
-                                        </div>
-                                    </div>
-                                    <div class="layui-inline">
-                                        <label class="layui-form-label layui-form-label-sm">审核状态</label>
-                                        <div class="layui-input-inline">
-                                            <select name="certifyStatus">
-                                                <option value="">请选择</option>
-                                                <option value="1">待审核</option>
-                                                <option value="2">审核通过</option>
-                                                <option value="3">未实名</option>
-                                            </select>
+                                            <input type="text" placeholder="邀请码" name="account" autocomplete="off" class="layui-input">
                                         </div>
                                     </div>
                                 </div>
@@ -31,6 +20,9 @@
                                 </div>
                                 <div class="layui-btn layui-btn-sm layui-btn-primary febs-button-green-plain table-action" id="reset">
                                     <i class="layui-icon">&#xe79b;</i>
+                                </div>
+                                <div shiro:hasPermission="member:update" class="layui-btn layui-btn-sm layui-btn-primary febs-button-green-plain table-action" id="limit">
+                                    <i class="layui-icon">限制</i>
                                 </div>
                             </div>
                         </div>
@@ -61,6 +53,7 @@
             $view = $('#febs-user'),
             $query = $view.find('#query'),
             $reset = $view.find('#reset'),
+            $limit = $view.find('#limit'),
             $searchForm = $view.find('form'),
             sortObject = {field: 'phone', type: null},
             tableIns;
@@ -111,6 +104,11 @@
             sortObject.type = 'null';
             tableIns.reload({where: getQueryParams(), page: {curr: 1}, initSort: sortObject});
         });
+        $limit.on('click', function () {
+            febs.modal.open( '限制', 'modules/member/memberLimit', {
+                maxmin: true
+            });
+        });
 
         function initTable() {
             tableIns = febs.table.init({
@@ -118,14 +116,15 @@
                 id: 'userTable',
                 url: ctx + 'member/getList',
                 cols: [[
-                    {field: 'phone', title: '手机号', minWidth: 150,align:'left'},
-                    {field: 'email', title: '邮箱', minWidth: 100,align:'left'},
-                    {field: 'realName', title: '姓名', minWidth: 50,align:'left'},
+                    //{field: 'phone', title: '手机号', minWidth: 120,align:'left'},
+                    //{field: 'email', title: '邮箱', minWidth: 50,align:'left'},
+                    //{field: 'realName', title: '姓名', minWidth: 50,align:'left'},
                     {field: 'inviteId', title: '邀请码UID',
                     	templet: function (d) {
                                 return '<a lay-event="examine" shiro:hasPermission="user:update">'+d.inviteId+'</a>'
                             }, minWidth: 80,align:'center'},
-                    {field: 'refererId', title: '上级邀请码UID', minWidth: 80,align:'center'},
+                    {field: 'usdtBalance', title: 'USDT余额', minWidth: 80,align:'center'},
+                    {field: 'rocBalance', title: 'ROC余额', minWidth: 80,align:'center'},
                     // {field: 'accountType', title: '账号类型',
                     // 	templet: function (d) {
                     //         if (d.accountType === 2) {
@@ -136,16 +135,16 @@
                     //             return ''
                     //         }
                     //     }, minWidth: 80,align:'center'},
-                    {field: 'refererId', title: '账号状态',
-                        	templet: function (d) {
-                                if (d.accountStatus === 1) {
-                                    return '<span style="color:green;">正常</span>'
-                                } else if (d.accountStatus === 0) {
-                                    return '<span style="color:red;">禁用</span>'
-                                }else{
-                                    return ''
-                                }
-                            }, minWidth: 80,align:'center'},
+                    // {field: 'refererId', title: '账号状态',
+                    //     	templet: function (d) {
+                    //             if (d.accountStatus === 1) {
+                    //                 return '<span style="color:green;">正常</span>'
+                    //             } else if (d.accountStatus === 0) {
+                    //                 return '<span style="color:red;">禁用</span>'
+                    //             }else{
+                    //                 return ''
+                    //             }
+                    //         }, minWidth: 80,align:'center'},
                     {field: 'ipo', title: '私募',
                         templet: function (d) {
                             if (d.ipo === 1) {
@@ -156,22 +155,22 @@
                                 return '<span style="color:gray;">否</span>'
                             }
                         }, minWidth: 80,align:'center'},
-                    {field: 'refererId', title: '审核状态',
-                            	templet: function (d) {
-                                    if (d.certifyStatus === 0) {
-                                        return '<span style="color:red;">未通过</span>'
-                                    } else if (d.certifyStatus === 1) {
-                                        return '<span style="color:blue;">待审核</span>'
-                                    } else if (d.certifyStatus === 2) {
-                                        return '<span style="color:green;">审核通过</span>'
-                                    } else if (d.certifyStatus === 3) {
-                                        return '<span>未实名</span>'
-                                    }else{
-                                        return ''
-                                    }
-                                }, minWidth: 80,align:'center'},
-                    {field: 'createTime', title: '注册时间', minWidth: 180,align:'center'},
-                    {title: '操作', toolbar: '#user-option'
+                   // {field: 'refererId', title: '审核状态',
+                       //     	templet: function (d) {
+                       //             if (d.certifyStatus === 0) {
+                       //                 return '<span style="color:red;">未通过</span>'
+                       //             } else if (d.certifyStatus === 1) {
+                       //                 return '<span style="color:blue;">待审核</span>'
+                        //            } else if (d.certifyStatus === 2) {
+                       //                 return '<span style="color:green;">审核通过</span>'
+                       //             } else if (d.certifyStatus === 3) {
+                      //                  return '<span>未实名</span>'
+                       //             }else{
+                       //                 return ''
+                       //             }
+                       //         }, minWidth: 80,align:'center'},
+                    {field: 'createTime', title: '注册时间', minWidth: 150,align:'center'},
+                   // {title: '操作', toolbar: '#user-option'
                     	// templet: function (d) {
                         //     if (d.certifyStatus === 1) {
                         //     	return ''
@@ -181,7 +180,7 @@
                         //     	+'<i class="layui-icon febs-edit-area febs-blue">&#xe7a5;</i></a>'
                         //     }
                         // },
-                        ,minWidth: 200,align:'center'}
+                   //     ,minWidth: 200,align:'center'}
                 ]]
             });
         }

--
Gitblit v1.9.1