Commit 68f4c8cc6850f909b165ce9bcf359539c865d7fd
1 parent
94e0e6c1
update
Showing
1 changed file
with
6 additions
and
5 deletions
src/main/resources/static/real_control_v2/fragments/geo/calc_station_space.html
| ... | ... | @@ -75,12 +75,12 @@ |
| 75 | 75 | setCalcText('计算下行数据'); |
| 76 | 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 | 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 | 84 | //console.log('结果', locData); |
| 85 | 85 | } |
| 86 | 86 | |
| ... | ... | @@ -175,7 +175,7 @@ |
| 175 | 175 | //首站 |
| 176 | 176 | nearArray.splice(0, 0, { |
| 177 | 177 | distance: 0, |
| 178 | - station:stations[0], | |
| 178 | + station: stations[0], | |
| 179 | 179 | toDistance: 0 |
| 180 | 180 | }); |
| 181 | 181 | return nearArray; |
| ... | ... | @@ -226,4 +226,5 @@ |
| 226 | 226 | } |
| 227 | 227 | |
| 228 | 228 | })(); |
| 229 | - </script> | |
| 230 | 229 | \ No newline at end of file |
| 230 | + </script> | |
| 231 | +</div> | |
| 231 | 232 | \ No newline at end of file | ... | ... |