From 3b15ad8a18197caa5d48073f6967ab5e0a70e7a3 Mon Sep 17 00:00:00 2001
From: hdw <496960745@qq.com>
Date: 星期四, 08 十一月 2018 13:45:35 +0800
Subject: [PATCH] 停电记录默认降序排列

---
 gx_tieta/WebRoot/iframe/batt-state-statistical-details.html |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/gx_tieta/WebRoot/iframe/batt-state-statistical-details.html b/gx_tieta/WebRoot/iframe/batt-state-statistical-details.html
index 12d4bb8..30b4904 100644
--- a/gx_tieta/WebRoot/iframe/batt-state-statistical-details.html
+++ b/gx_tieta/WebRoot/iframe/batt-state-statistical-details.html
@@ -116,6 +116,10 @@
 				,toolbar: true
 				,defaultToolbar: ['exports', 'filter']
 				,cellMinWidth: 80
+				,initSort: {
+					field: 'warnstarttime',
+					type: 'desc'
+				}
 				,cols: [[
 					{field:'stationname', title:'鏈烘埧鍚嶇О', align:'center', width: 460}
 					,{field:'warntype', title:'寮傚父绫诲瀷', align:'center'}

--
Gitblit v1.9.1