Commit b36c6890052a23d449e826e0a276d265e01ad1d2

Authored by 潘钊
1 parent 4c01d24c

update..

src/main/resources/static/real_control_v2/alone_page/home/alone_data_gps.js
@@ -41,7 +41,7 @@ var gb_data_gps = (function () { @@ -41,7 +41,7 @@ var gb_data_gps = (function () {
41 upDownChange = []; 41 upDownChange = [];
42 42
43 var schArray; 43 var schArray;
44 - $.each(rs, function () { 44 + $.each(rs.gpsList, function () {
45 old = realData[this.deviceId]; 45 old = realData[this.deviceId];
46 if (old) { 46 if (old) {
47 if (this.timestamp > old.timestamp) { 47 if (this.timestamp > old.timestamp) {
src/main/resources/static/real_control_v2/alone_page/map/alone_data_gps.js
@@ -55,11 +55,11 @@ var gb_data_gps = (function () { @@ -55,11 +55,11 @@ var gb_data_gps = (function () {
55 addArr.push(this); 55 addArr.push(this);
56 56
57 //班次信息 57 //班次信息
58 - if (this.schId) {  
59 - schArray = gb_schedule_table.findScheduleByLine(this.lineId);  
60 - if (schArray)  
61 - this.sch = schArray[this.schId];  
62 - } 58 + /*if (this.schId) {
  59 + //schArray = gb_schedule_table.findScheduleByLine(this.lineId);
  60 + ///if (schArray)
  61 + // this.sch = schArray[this.schId];
  62 + }*/
63 63
64 //时间格式化 64 //时间格式化
65 this.dateStr = moment(this.timestamp).format('YYYY-MM-DD HH:mm:ss'); 65 this.dateStr = moment(this.timestamp).format('YYYY-MM-DD HH:mm:ss');