Showing
2 changed files
with
162 additions
and
10 deletions
@@ -100,7 +100,7 @@ | @@ -100,7 +100,7 @@ | ||
100 | </div> | 100 | </div> |
101 | 101 | ||
102 | <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> | 102 | <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> |
103 | - <div class="modal-dialog"> | 103 | + <div class="modal-dialog" style="width:900px;"> |
104 | <div class="modal-content" style="width: 140%"> | 104 | <div class="modal-content" style="width: 140%"> |
105 | <div class="modal-header"> | 105 | <div class="modal-header"> |
106 | <button type="button" class="close" data-dismiss="modal" | 106 | <button type="button" class="close" data-dismiss="modal" |
@@ -145,10 +145,86 @@ | @@ -145,10 +145,86 @@ | ||
145 | }, | 145 | }, |
146 | columns: [ | 146 | columns: [ |
147 | { | 147 | { |
148 | - title: "内容", | ||
149 | - field: "reason", | ||
150 | - width: "100%" | ||
151 | - }] | 148 | + title: "本地IP", |
149 | + width:"12%", | ||
150 | + field: "localIp", | ||
151 | + styler : function(value, rowData, rowIndex){ | ||
152 | + return { | ||
153 | + "vertical-align" : "middle" | ||
154 | + }; | ||
155 | + } | ||
156 | + },{ | ||
157 | + title: "用户IP", | ||
158 | + width:"12%", | ||
159 | + field: "userIp", | ||
160 | + styler : function(value, rowData, rowIndex){ | ||
161 | + return { | ||
162 | + "vertical-align" : "middle" | ||
163 | + }; | ||
164 | + } | ||
165 | + },{ | ||
166 | + title: "时间", | ||
167 | + width:"9%", | ||
168 | + field: "currDateStr", | ||
169 | + styler : function(value, rowData, rowIndex){ | ||
170 | + return { | ||
171 | + "vertical-align" : "middle" | ||
172 | + }; | ||
173 | + } | ||
174 | + },{ | ||
175 | + title: "请求方式", | ||
176 | + width:"7%", | ||
177 | + field: "requestType", | ||
178 | + styler : function(value, rowData, rowIndex){ | ||
179 | + return { | ||
180 | + "vertical-align" : "middle" | ||
181 | + }; | ||
182 | + } | ||
183 | + },{ | ||
184 | + title: "User-Agent", | ||
185 | + width:"9%", | ||
186 | + field: "userAgent", | ||
187 | + styler : function(value, rowData, rowIndex){ | ||
188 | + return { | ||
189 | + "vertical-align" : "middle" | ||
190 | + }; | ||
191 | + } | ||
192 | + },{ | ||
193 | + title: "请求标示", | ||
194 | + field: "requestMark", | ||
195 | + styler : function(value, rowData, rowIndex){ | ||
196 | + return { | ||
197 | + "vertical-align" : "middle" | ||
198 | + }; | ||
199 | + } | ||
200 | + },{ | ||
201 | + title: "请求参数", | ||
202 | + field: "requestParam", | ||
203 | + styler : function(value, rowData, rowIndex){ | ||
204 | + return { | ||
205 | + "vertical-align" : "middle" | ||
206 | + }; | ||
207 | + } | ||
208 | + },{ | ||
209 | + title: "HTTP响应码", | ||
210 | + width:"9%", | ||
211 | + field: "responseCode", | ||
212 | + styler : function(value, rowData, rowIndex){ | ||
213 | + return { | ||
214 | + "vertical-align" : "middle" | ||
215 | + }; | ||
216 | + } | ||
217 | + },{ | ||
218 | + title: "请求处理时间", | ||
219 | + width:"9%", | ||
220 | + field: "dealTime", | ||
221 | + styler : function(value, rowData, rowIndex){ | ||
222 | + return { | ||
223 | + "vertical-align" : "middle" | ||
224 | + }; | ||
225 | + } | ||
226 | + } | ||
227 | + ] | ||
152 | }); | 228 | }); |
153 | }); | 229 | }); |
154 | 230 |
@@ -103,7 +103,7 @@ | @@ -103,7 +103,7 @@ | ||
103 | </div> | 103 | </div> |
104 | 104 | ||
105 | <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> | 105 | <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> |
106 | - <div class="modal-dialog"> | 106 | + <div class="modal-dialog" style="width:900px;"> |
107 | <div class="modal-content" style="width: 140%"> | 107 | <div class="modal-content" style="width: 140%"> |
108 | <div class="modal-header"> | 108 | <div class="modal-header"> |
109 | <button type="button" class="close" data-dismiss="modal" | 109 | <button type="button" class="close" data-dismiss="modal" |
@@ -155,10 +155,86 @@ | @@ -155,10 +155,86 @@ | ||
155 | }, | 155 | }, |
156 | columns: [ | 156 | columns: [ |
157 | { | 157 | { |
158 | - title: "内容", | ||
159 | - field: "reason", | ||
160 | - width: "100%" | ||
161 | - }] | 158 | + title: "本地IP", |
159 | + width:"12%", | ||
160 | + field: "localIp", | ||
161 | + styler : function(value, rowData, rowIndex){ | ||
162 | + return { | ||
163 | + "vertical-align" : "middle" | ||
164 | + }; | ||
165 | + } | ||
166 | + },{ | ||
167 | + title: "用户IP", | ||
168 | + width:"12%", | ||
169 | + field: "userIp", | ||
170 | + styler : function(value, rowData, rowIndex){ | ||
171 | + return { | ||
172 | + "vertical-align" : "middle" | ||
173 | + }; | ||
174 | + } | ||
175 | + },{ | ||
176 | + title: "时间", | ||
177 | + width:"9%", | ||
178 | + field: "currDateStr", | ||
179 | + styler : function(value, rowData, rowIndex){ | ||
180 | + return { | ||
181 | + "vertical-align" : "middle" | ||
182 | + }; | ||
183 | + } | ||
184 | + },{ | ||
185 | + title: "请求方式", | ||
186 | + width:"7%", | ||
187 | + field: "requestType", | ||
188 | + styler : function(value, rowData, rowIndex){ | ||
189 | + return { | ||
190 | + "vertical-align" : "middle" | ||
191 | + }; | ||
192 | + } | ||
193 | + },{ | ||
194 | + title: "User-Agent", | ||
195 | + width:"9%", | ||
196 | + field: "userAgent", | ||
197 | + styler : function(value, rowData, rowIndex){ | ||
198 | + return { | ||
199 | + "vertical-align" : "middle" | ||
200 | + }; | ||
201 | + } | ||
202 | + },{ | ||
203 | + title: "请求标示", | ||
204 | + field: "requestMark", | ||
205 | + styler : function(value, rowData, rowIndex){ | ||
206 | + return { | ||
207 | + "vertical-align" : "middle" | ||
208 | + }; | ||
209 | + } | ||
210 | + },{ | ||
211 | + title: "请求参数", | ||
212 | + field: "requestParam", | ||
213 | + styler : function(value, rowData, rowIndex){ | ||
214 | + return { | ||
215 | + "vertical-align" : "middle" | ||
216 | + }; | ||
217 | + } | ||
218 | + },{ | ||
219 | + title: "HTTP响应码", | ||
220 | + width:"9%", | ||
221 | + field: "responseCode", | ||
222 | + styler : function(value, rowData, rowIndex){ | ||
223 | + return { | ||
224 | + "vertical-align" : "middle" | ||
225 | + }; | ||
226 | + } | ||
227 | + },{ | ||
228 | + title: "请求处理时间", | ||
229 | + width:"9%", | ||
230 | + field: "dealTime", | ||
231 | + styler : function(value, rowData, rowIndex){ | ||
232 | + return { | ||
233 | + "vertical-align" : "middle" | ||
234 | + }; | ||
235 | + } | ||
236 | + } | ||
237 | + ] | ||
162 | }); | 238 | }); |
163 | 239 | ||
164 | }); | 240 | }); |
-
Please register or login to post a comment