Showing
2 changed files
with
10 additions
and
4 deletions
@@ -61,15 +61,21 @@ | @@ -61,15 +61,21 @@ | ||
61 | } | 61 | } |
62 | },{ | 62 | },{ |
63 | title: "IP", | 63 | title: "IP", |
64 | - field: "hostIp" | 64 | + field: "hostIp", |
65 | + formatter : function(value, rowData, rowIndex) { | ||
66 | + return rowData[1]; | ||
67 | + } | ||
65 | },{ | 68 | },{ |
66 | title: "时间", | 69 | title: "时间", |
67 | - field: "redcordTime" | 70 | + field: "redcordTime", |
71 | + formatter : function(value, rowData, rowIndex) { | ||
72 | + return rowData[0]; | ||
73 | + } | ||
68 | },{ | 74 | },{ |
69 | title: "是否活动", | 75 | title: "是否活动", |
70 | field: "isLive", | 76 | field: "isLive", |
71 | formatter : function(value, rowData, rowIndex) { | 77 | formatter : function(value, rowData, rowIndex) { |
72 | - if (value == 1) { | 78 | + if (rowData[2] == 1) { |
73 | return "是"; | 79 | return "是"; |
74 | } else { | 80 | } else { |
75 | return "否"; | 81 | return "否"; |
-
Please register or login to post a comment