Showing
1 changed file
with
3 additions
and
2 deletions
@@ -113,8 +113,6 @@ | @@ -113,8 +113,6 @@ | ||
113 | striped: true, | 113 | striped: true, |
114 | title: "短信列表", | 114 | title: "短信列表", |
115 | dataType: "json", | 115 | dataType: "json", |
116 | - pagination: true, | ||
117 | - pageSize: 10, | ||
118 | loadFilter: function (data) { | 116 | loadFilter: function (data) { |
119 | return defaultLoadFilter(data); | 117 | return defaultLoadFilter(data); |
120 | }, | 118 | }, |
@@ -155,6 +153,9 @@ | @@ -155,6 +153,9 @@ | ||
155 | },{ | 153 | },{ |
156 | title: "时间", | 154 | title: "时间", |
157 | field: "createTime", | 155 | field: "createTime", |
156 | + formatter : function(value, rowData, rowIndex) { | ||
157 | + return new Date(parseInt(value)).toLocaleString().replace(/:\d{1,2}$/,' '); | ||
158 | + }, | ||
158 | width: "20%" | 159 | width: "20%" |
159 | }] | 160 | }] |
160 | }); | 161 | }); |
-
Please register or login to post a comment