|
|
|
|
@ -36,7 +36,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="wrap">
|
|
|
|
|
<div class="headTop">
|
|
|
|
|
<a class="location">驾驶舱1</a>
|
|
|
|
|
<a class="location">驾驶舱</a>
|
|
|
|
|
<div class="timebox"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="clear"></div>
|
|
|
|
|
@ -293,9 +293,29 @@
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
$(function () {
|
|
|
|
|
getStatistic()
|
|
|
|
|
initMap();
|
|
|
|
|
});
|
|
|
|
|
// http://tiantian2.langye.net/admin/statistic
|
|
|
|
|
function getStatistic(){
|
|
|
|
|
var url = "/admin/statistic";
|
|
|
|
|
var data = {}
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
type: "get",
|
|
|
|
|
timeout: 15000,
|
|
|
|
|
contentType: 'application/json',
|
|
|
|
|
data: JSON.stringify(data),
|
|
|
|
|
url: url,
|
|
|
|
|
dataType: "json",
|
|
|
|
|
success: function (result, textStatus, xhr) {
|
|
|
|
|
console.log("result",result)
|
|
|
|
|
},
|
|
|
|
|
complete: function (xhr, textStatus) {
|
|
|
|
|
//
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
function initMap() {
|
|
|
|
|
var center = new TMap.LatLng(31.77956, 119.960747);
|
|
|
|
|
//初始化地图
|
|
|
|
|
|