From 1dd3c53ff3383a89635cf322a2308ca61139e082 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 24 Jul 2020 10:51:33 +0800
Subject: [PATCH] 20200724  代码提交

---
 src/main/resources/templates/febs/views/modules/trademanage/historyOrderAll.html |   25 +++++++++++++++++++++----
 1 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/trademanage/historyOrderAll.html b/src/main/resources/templates/febs/views/modules/trademanage/historyOrderAll.html
index 6e1b99e..7d3a72c 100644
--- a/src/main/resources/templates/febs/views/modules/trademanage/historyOrderAll.html
+++ b/src/main/resources/templates/febs/views/modules/trademanage/historyOrderAll.html
@@ -13,6 +13,16 @@
                                         </div>
                                     </div>
                                     <div class="layui-inline">
+                                        <label class="layui-form-label layui-form-label-sm">账号类型</label>
+                                        <div class="layui-input-inline">
+                                            <select name="isTest">
+                                                <option value=""></option>
+                                                <option value="1">正常账号</option>
+                     							<option value="2">测试账号</option>
+                                            </select>
+                                        </div>
+                                    </div>
+                                    <div class="layui-inline">
                                         <label class="layui-form-label layui-form-label-sm">平仓类型</label>
                                         <div class="layui-input-inline">
                                             <select name="closingType">
@@ -49,14 +59,11 @@
 <!-- 表格操作栏 end -->
 <script data-th-inline="none" type="text/javascript">
     // 引入组件并初始化
-    layui.use(['dropdown', 'jquery', 'laydate', 'form', 'table', 'febs', 'treeSelect'], function () {
+    layui.use([ 'jquery','form', 'table', 'febs'], function () {
         var $ = layui.jquery,
-            laydate = layui.laydate,
             febs = layui.febs,
             form = layui.form,
             table = layui.table,
-            treeSelect = layui.treeSelect,
-            dropdown = layui.dropdown,
             $view = $('#febs-user'),
             $query = $view.find('#query'),
             $reset = $view.find('#reset'),
@@ -89,6 +96,7 @@
                 totalRow: true,
                 cols: [[
                     {field: 'phone', title: '手机号', minWidth: 120,align:'left',totalRowText: '合计'},
+                    {field: 'realName', title: '姓名', minWidth: 120,align:'left'},
                     {field: 'inviteId', title: '邀请码UID', minWidth: 120,align:'center'},
                     {field: 'tradeType', title: '交易类型', 
                     	templet: function (d) {
@@ -180,6 +188,14 @@
                     {field: 'orderNo', title: '订单编号', minWidth: 200,align:'center'},
                     {field: 'symbolSku', title: '币种规格', minWidth: 100,align:'center'},
                     {field: 'leverRatio', title: '杠杆倍率', minWidth: 120,align:'center'},
+                    {field: 'accountType', title: '账号类型',
+                    	templet: function (d) {
+                            if (d.accountType === 2) {
+                                return '<span style="color:red;">测试账号</span>'
+                            } else {
+                                return '<span style="color:green;">正常账号</span>'
+                            }
+                        },minWidth: 100,align:'center'},
                     {field: 'email', title: '邮箱', minWidth: 200,align:'left'},
                 ]]
             });
@@ -190,6 +206,7 @@
             return {
                 account: $searchForm.find('input[name="account"]').val().trim(),
                 closingType: $searchForm.find("select[name='closingType']").val(),
+                isTest: $searchForm.find("select[name='isTest']").val(),
             };
         }
         

--
Gitblit v1.9.1