Commit 2c864f24bc13a075b7243a1e717fe61c06353f4f
1 parent
176d162a
版本页面修改
Showing
4 changed files
with
4 additions
and
4 deletions
src/main/java/com/bsth/service/impl/SectionServiceImpl.java
| @@ -453,7 +453,7 @@ public class SectionServiceImpl extends BaseServiceImpl<Section, Integer> implem | @@ -453,7 +453,7 @@ public class SectionServiceImpl extends BaseServiceImpl<Section, Integer> implem | ||
| 453 | if(!sectionsBpoints.equals("")) { | 453 | if(!sectionsBpoints.equals("")) { |
| 454 | bsectionVectorS = "LINESTRING(" + sectionsBpoints + ")"; | 454 | bsectionVectorS = "LINESTRING(" + sectionsBpoints + ")"; |
| 455 | } | 455 | } |
| 456 | - repository.systemSave(sectionCode, sectionName, null, "", "", "", gsectionVector, bsectionVectorS, "", "", "", 0, 0, "", 0, "", 1, sectionId); | 456 | + repository.systemSave(sectionCode, sectionName, null, "", "", "", gsectionVector, bsectionVectorS, "", null, "", 0, 0, "", 0, "", versions, sectionId); |
| 457 | 457 | ||
| 458 | routeRepository.sectionUpdSectionRouteCode(lineId, directions,routeCode+i); | 458 | routeRepository.sectionUpdSectionRouteCode(lineId, directions,routeCode+i); |
| 459 | SectionRoute route = new SectionRoute(); | 459 | SectionRoute route = new SectionRoute(); |
src/main/resources/static/pages/base/section/js/section-ajax-getdata.js
| @@ -10,7 +10,7 @@ var GetAjaxData = function(){ | @@ -10,7 +10,7 @@ var GetAjaxData = function(){ | ||
| 10 | var ajaxData = { | 10 | var ajaxData = { |
| 11 | // 根据ID查询路段信息. | 11 | // 根据ID查询路段信息. |
| 12 | getSectionRouteInfoById : function(sectionId,callback){ | 12 | getSectionRouteInfoById : function(sectionId,callback){ |
| 13 | - $get('/sectionroute/findSectionRouteInfoFormId',{id:sectionId},function(r) { | 13 | + $get('/sectionroute/findSectionRouteInfoFormId',{'id':sectionId},function(r) { |
| 14 | return callback && callback(r); | 14 | return callback && callback(r); |
| 15 | }); | 15 | }); |
| 16 | }, | 16 | }, |
src/main/resources/static/pages/base/stationroute/js/stationroute-ajax-getdata.js
| @@ -155,7 +155,7 @@ var GetAjaxData = function(){ | @@ -155,7 +155,7 @@ var GetAjaxData = function(){ | ||
| 155 | }, | 155 | }, |
| 156 | // 根据ID查询路段信息. | 156 | // 根据ID查询路段信息. |
| 157 | getSectionRouteInfoById : function(sectionRouteId,callback){ | 157 | getSectionRouteInfoById : function(sectionRouteId,callback){ |
| 158 | - $get('/sectionroute/findSectionRouteInfoFormId',{id:sectionRouteId},function(r) { | 158 | + $get('/sectionroute/findSectionRouteInfoFormId',{'id':sectionRouteId},function(r) { |
| 159 | return callback && callback(r); | 159 | return callback && callback(r); |
| 160 | }); | 160 | }); |
| 161 | }, | 161 | }, |
src/main/resources/static/pages/base/stationroute/js/stationroute-list-map.js
| @@ -362,7 +362,7 @@ window.WorldsBMap = function () { | @@ -362,7 +362,7 @@ window.WorldsBMap = function () { | ||
| 362 | var point = new BMap.Point(BJwpoints[0], BJwpoints[1]); | 362 | var point = new BMap.Point(BJwpoints[0], BJwpoints[1]); |
| 363 | //创建圆 | 363 | //创建圆 |
| 364 | circle = new BMap.Circle(point, station.stationRadius, { | 364 | circle = new BMap.Circle(point, station.stationRadius, { |
| 365 | - strokeColor: "red", | 365 | + strokeColor: "blue", |
| 366 | strokeWeight: 2, | 366 | strokeWeight: 2, |
| 367 | strokeOpacity: 0.7 | 367 | strokeOpacity: 0.7 |
| 368 | }); | 368 | }); |