|
@@ -77,6 +77,7 @@ $(function() {
|
|
|
$("#c_dept_ranking").html(p.fee_station_ranking == undefined ? "-" : p.fee_station_ranking);
|
|
$("#c_dept_ranking").html(p.fee_station_ranking == undefined ? "-" : p.fee_station_ranking);
|
|
|
$("#c_com_ranking").html(p.company_ranking == undefined ? "-" : p.company_ranking);
|
|
$("#c_com_ranking").html(p.company_ranking == undefined ? "-" : p.company_ranking);
|
|
|
$("#c_score_ranking").html(p.check_all_score + p.check_all_m_score);
|
|
$("#c_score_ranking").html(p.check_all_score + p.check_all_m_score);
|
|
|
|
|
+ $("#c_road_ranking").html(p.center_ranking == undefined ? "-" : p.center_ranking);
|
|
|
isshow_c = true;
|
|
isshow_c = true;
|
|
|
}
|
|
}
|
|
|
if (typeof(res.lastP) != undefined && res.lastP != null) {
|
|
if (typeof(res.lastP) != undefined && res.lastP != null) {
|
|
@@ -84,6 +85,7 @@ $(function() {
|
|
|
$("#l_dept_ranking").html(p.fee_station_ranking == undefined ? "-" : p.fee_station_ranking);
|
|
$("#l_dept_ranking").html(p.fee_station_ranking == undefined ? "-" : p.fee_station_ranking);
|
|
|
$("#l_com_ranking").html(p.company_ranking == undefined ? "-" : p.company_ranking);
|
|
$("#l_com_ranking").html(p.company_ranking == undefined ? "-" : p.company_ranking);
|
|
|
$("#l_score_ranking").html(p.check_all_score + p.check_all_m_score);
|
|
$("#l_score_ranking").html(p.check_all_score + p.check_all_m_score);
|
|
|
|
|
+ $("#l_road_ranking").html(p.center_ranking == undefined ? "-" : p.center_ranking);
|
|
|
isshow_l = true;
|
|
isshow_l = true;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -99,6 +101,10 @@ $(function() {
|
|
|
if (com_r != 0) {
|
|
if (com_r != 0) {
|
|
|
$("#c_com_ranking").html($("#c_com_ranking").html() + "<i style='margin-left:10px;color:" + (com_r > 0 ? "red" : "green") + "' class='icon icon-long-arrow-" + (com_r > 0 ? "down" : "up") + "'>" + Math.abs(com_r) + "</i>");
|
|
$("#c_com_ranking").html($("#c_com_ranking").html() + "<i style='margin-left:10px;color:" + (com_r > 0 ? "red" : "green") + "' class='icon icon-long-arrow-" + (com_r > 0 ? "down" : "up") + "'>" + Math.abs(com_r) + "</i>");
|
|
|
}
|
|
}
|
|
|
|
|
+ var road_r = p_c.center_ranking - p_l.center_ranking;
|
|
|
|
|
+ if (road_r != 0) {
|
|
|
|
|
+ $("#c_road_ranking").html($("#c_road_ranking").html() + "<i style='margin-left:10px;color:" + (road_r > 0 ? "red" : "green") + "' class='icon icon-long-arrow-" + (road_r > 0 ? "down" : "up") + "'>" + Math.abs(road_r) + "</i>");
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}, function(error) {})
|
|
}, function(error) {})
|