function initTableData(param) {
var height = $(window).height() - 39 + "px";
var colums=[[{
"field" : "day_no",
"title" : "日期",
"rowspan" : 2,
width : "8%",
align : "center"
},{
"field" : "node_name",
"title" : "城市",
"rowspan" : 2,
width : "8%",
align : "center"
},
{
"field" : "all_score",
"title" : "总得分",
"rowspan" : 2,
width : "8%",
align : "center"
}, {
"title" : "",
"colspan" : 4,
width : "300"
}, {
"title" : "",
"colspan" : 4,
width : "300"
}, {
"title" : "",
"colspan" : 4,
width : "300"
} ], [ {
"field" : "move_score",
"title" : "得分",
"rowspan" : 1,
width : "8%",
align : "center"
}, {
"field" : "yd_zc_score",
"title" : "资产效益(40%)",
"rowspan" : 1
}, {
"field" : "yd_yy_score",
"title" : "运营效率(30%)",
"rowspan" : 1
}, {
"field" : "yd_gz_score",
"title" : "客户感知(30%)",
"rowspan" : 1
},
{
"field" : "broadband_score",
"title" : "得分",
"rowspan" : 1,
width : "8%",
align : "center"
}, {
"field" : "kd_zc_score",
"title" : "资产效益(40%)",
"rowspan" : 1
}, {
"field" : "kd_yy_score",
"title" : "运营效率(30%)",
"rowspan" : 1
}, {
"field" : "kd_gz_score",
"title" : "客户感知(30%)",
"rowspan" : 1
},
{
"field" : "personnel_score",
"title" : "得分",
"rowspan" : 1,
width : "8%",
}, {
"field" : "rc_sl_score",
"title" : "队伍数量",
"rowspan" : 1
}, {
"field" : "rc_nl_score",
"title" : "队伍质量",
"rowspan" : 1
}, {
"field" : "rc_jg_score",
"title" : "队伍结构",
"rowspan" : 1
}]];
$('#dg').datagrid({
url : ROOT+"image/imageDate",
queryParams : param,
fit : false,
height: height,
fitColumns : true,
rownumbers : true,
pagination : true,
checkOnSelect: false,
selectOnCheck: false,
columns : colums,
pageNo: 1,
pageSize: 20,
pageList: [20,40,80,100,1000]
});
}