var count2=$('#daduiz').val();
var columns2 =new Array();
columns2.push({field:'k',checkbox:true});
columns2.push({field:'qq',hidden:'true'});
columns2.push({field:'qq', title:'v', width:100,halign:'center',align:'left',formatter:_setContent,sortable:true});
columns2.push({field:'b', title:'b', width:80,align:'left',halign:'center', sortable:true});
columns2.push({field:'q', title:'q', width:150,align:'left',halign:'center',formatter:_setContent, sortable:true});
if(count1=='1'){
columns2.push({field:'a', title:'a', width:100,align:'center',halign:'center',formatter:_setContent,sortable:true});
columns2.push({field:'DO_OPTION', title:'操作', width:100,align:'center',halign:'center',formatter:_doOption,sortable:true});
}else if(count2=='1'){
columns2.push({field:'c', title:'c', width:100,align:'center',halign:'center',formatter:_setContent,sortable:true});
}
$('#tt').datagrid({
iconCls:'myicon-table',
fitColumns:true,
rownumbers:true,
singleSelect:false,
toolbar:'#tb',
pageSize:10,
pagination:'true',
pageList:[10,20,50,100],
url:'vvv_vvvt.do',
idField:'vv',
remoteSort:true,
queryParams: {
cityCode:$('#cityCode').val(),
//taskType:$('#taskType').combobox('getValue'),
taskMonth:$('#taskMonth').val(),
userDeptCode:$('#userDeptCode').val(),
userStation:$('#userStation').val()
},
columns:[columns2]
});