Commit 68f4c8cc6850f909b165ce9bcf359539c865d7fd

Authored by 潘钊
1 parent 94e0e6c1

update

src/main/resources/static/real_control_v2/fragments/geo/calc_station_space.html
@@ -75,12 +75,12 @@ @@ -75,12 +75,12 @@
75 setCalcText('计算下行数据'); 75 setCalcText('计算下行数据');
76 var downCalcRs = calcStationSpace(stations[1], fullSections[1]); 76 var downCalcRs = calcStationSpace(stations[1], fullSections[1]);
77 77
78 - var locData={  
79 - stations: {up: upCalcRs,down: downCalcRs}, 78 + var locData = {
  79 + stations: {up: upCalcRs, down: downCalcRs},
80 sections: {up: fullSections[0], down: fullSections[1]} 80 sections: {up: fullSections[0], down: fullSections[1]}
81 }; 81 };
82 82
83 - window.localStorage.setItem('control_route_distance_'+sch.xlBm, JSON.stringify(locData)); 83 + window.localStorage.setItem('control_route_distance_' + sch.xlBm, JSON.stringify(locData));
84 //console.log('结果', locData); 84 //console.log('结果', locData);
85 } 85 }
86 86
@@ -175,7 +175,7 @@ @@ -175,7 +175,7 @@
175 //首站 175 //首站
176 nearArray.splice(0, 0, { 176 nearArray.splice(0, 0, {
177 distance: 0, 177 distance: 0,
178 - station:stations[0], 178 + station: stations[0],
179 toDistance: 0 179 toDistance: 0
180 }); 180 });
181 return nearArray; 181 return nearArray;
@@ -226,4 +226,5 @@ @@ -226,4 +226,5 @@
226 } 226 }
227 227
228 })(); 228 })();
229 - </script>  
230 \ No newline at end of file 229 \ No newline at end of file
  230 + </script>
  231 +</div>
231 \ No newline at end of file 232 \ No newline at end of file