Commit 78d18e85 authored by duxinyuan's avatar duxinyuan

修改首页

parent d88b562d
......@@ -292,8 +292,9 @@
<div class="col-xs-4 p-a-10 p-t-0">
<div class="panel panel-default">
<div class="area-title p-a-15 p-b-10">
<a><span id="table-title" class="active table-choose"></span></a>
<a><span id="group-title" class="table-choose left-padding ">团队Q档</span></a>
<a><span id="table-title" class="active table-choose">职称</span></a>
<a><span id="group-title" class="table-choose left-padding ">团队</span></a>
<a><span id="initOder" style="font-size:15px;">加载排名</span></a>
<a><span class="title-time" id="table-time"></span></a>
</div>
......
......@@ -13,10 +13,10 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
modal_btn_id : '' ,
init: function () {
//初始化dot
performanceRanking.addDark();
// performanceRanking.addDark();
performanceRanking.event ();
performanceRanking.loadTableData();
performanceRanking.loadTable2Data();
// performanceRanking.loadTableData();
// performanceRanking.loadTable2Data();
performanceRanking.loadBusinessSchool();
performanceRanking.loadNotice();
performanceRanking.loadWinerData();
......@@ -74,6 +74,11 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
}
});
$(document).on('click','#initOder',function(){
performanceRanking.loadTableData();
performanceRanking.loadTable2Data();
})
},
initDate : function(){
......@@ -327,6 +332,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
} else if (name == 5 ){
text = "无职称职称" + value + "档"
}
$('#table-title').empty();
$('#table-title').text(text);
} else {
$('#table-title').text('职称排行');
......@@ -403,7 +409,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
var tableDat = '<tr><td colspan="4" >您还没有职称</td></tr>';
tableDat += "<tr></tr>"
$('#tbody2').append(tableDat);
// $('#overlay').fadeOut('');
$('#overlay').fadeOut('');
}
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment