From 7bf394c43fc2e4a4e71d72c1f84af75b717dddd8 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 22 Mar 2021 15:32:43 +0800
Subject: [PATCH] 20210319  平仓加载中

---
 src/main/resources/templates/febs/views/modules/trademanage/positionSetting.html |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/trademanage/positionSetting.html b/src/main/resources/templates/febs/views/modules/trademanage/positionSetting.html
index df70f6e..6ca5108 100644
--- a/src/main/resources/templates/febs/views/modules/trademanage/positionSetting.html
+++ b/src/main/resources/templates/febs/views/modules/trademanage/positionSetting.html
@@ -111,13 +111,14 @@
                 id: 'userTable',
                 url: ctx + 'tradeManage/positionSetting',
                 totalRow: true,
+                initSort: {field:'createTime', type:'desc'},
                 cols: [[
                     {field: 'phone', title: '账号',minWidth: 100,align:'left',totalRowText: '合计'},
                     {field: 'email', title: '邮箱', minWidth: 100,align:'left'},
                     {field: 'realName', title: '姓名', minWidth: 120,align:'left'},
-                    {field: 'inviteId', title: '邀请码', minWidth: 120,align:'center'},
-                    {field: 'createTime', title: '时间', minWidth: 120,align:'center'},
-                    {field: 'sumRewardAmount', title: '持仓总盈亏', minWidth: 120,align:'center'},
+                    {field: 'inviteId', title: '邀请码', minWidth: 120,align:'center',sort: true},
+                    {field: 'createTime', title: '时间', minWidth: 120,align:'center',sort: true},
+                    {field: 'sumRewardAmount', title: '持仓总盈亏', minWidth: 120,align:'center',sort: true},
                     {field: 'pcState', title: '是否可平仓',
                         templet: function (d) {
                             if (d.pcState == 1) {

--
Gitblit v1.9.1