|
@@ -541,44 +541,12 @@ $(function(){
|
|
|
return value.replace(/[\u202e,\u202d]/," ");
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
-
|
|
|
- {field:'score', title:'爪币', width:25,sortable: true},
|
|
|
- {field:'level', title:'等级', width:25,sortable: false},
|
|
|
-
|
|
|
- {field:'topic_count', title:'帖子', width:30,sortable: true,
|
|
|
- formatter:function(value,row){
|
|
|
- return '<a href="javascript:;" onclick="parent.load_url(\'<?php echo Yii::app()->request->baseUrl; ?>/index.php?r=topic&user_id='+row.id+'\');">'+ value +'</a>';
|
|
|
- }
|
|
|
- },
|
|
|
- {field:'posts_count', title:'回帖', width:30,sortable: true,
|
|
|
- formatter:function(value,row){
|
|
|
- return '<a href="javascript:;" onclick="parent.load_url(\'<?php echo Yii::app()->request->baseUrl; ?>/index.php?r=post&user_id='+row.id+'&setStatus=100\');">'+ value +'</a>';
|
|
|
- }
|
|
|
- },
|
|
|
{field:'city_info', title:'城市', width:50, sortable: false,
|
|
|
formatter: function(value, row){
|
|
|
return formatCity(value);
|
|
|
}
|
|
|
},
|
|
|
- {field:'app_client_id', title:'客户端', width:35,sortable: true,
|
|
|
- formatter: function(value, row){
|
|
|
- switch(value)
|
|
|
- {
|
|
|
- case 1:
|
|
|
- return 'IOS';
|
|
|
- break;
|
|
|
- case 2:
|
|
|
- return 'Android';
|
|
|
- break;
|
|
|
- case 3:
|
|
|
- return 'wxpub';
|
|
|
- break;
|
|
|
- default:
|
|
|
- return '未知';
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
+
|
|
|
{field:'register_time', title:'注册时间', width:60, sortable: true,
|
|
|
formatter: function(value, row){
|
|
|
return row.register_time_str;
|
|
@@ -590,21 +558,6 @@ $(function(){
|
|
|
return row.last_visit_time_str;
|
|
|
//return format_time_stamp(value,false);
|
|
|
}
|
|
|
- },
|
|
|
- {field:'status', title:'状态', width:30,
|
|
|
- formatter: function(value, row){
|
|
|
- var status_name = '';
|
|
|
- for (var i = 0;i < status_data.length;i ++){
|
|
|
- if (status_data[i]['value'] == value){
|
|
|
- status_name = status_data[i]['text'];
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- // if(row.certify_status){
|
|
|
- // status_name += '<span class="l-btn-icon icon-v" style="position:relative;"></span>';
|
|
|
- // }
|
|
|
- return status_name;
|
|
|
- }
|
|
|
}
|
|
|
]],
|
|
|
onSelect: function(index, row){
|