Commit 5330d6cb797891dcb6c8a000004d51964e2bb71f

Authored by YRF
1 parent c389e2c4

Signed-off-by: YRF <YRF@DESKTOP-UNV37O6>

src/main/resources/static/pages/base/line/editRoute.html
@@ -330,7 +330,7 @@ $(&#39;#edit_route_mobal&#39;).on(&#39;editRouteMobal.show&#39;, function(e,transGPS,editRoute,m @@ -330,7 +330,7 @@ $(&#39;#edit_route_mobal&#39;).on(&#39;editRouteMobal.show&#39;, function(e,transGPS,editRoute,m
330 // 刷新路段列表 330 // 刷新路段列表
331 $('#section').click(); 331 $('#section').click();
332 layer.open({title: '友情提示' 332 layer.open({title: '友情提示'
333 - ,content: '生成路线成功,生成的线路可能会有误差请先单击走向编辑路段,并保存!'}); 333 + ,content: '生成路线成功,生成的线路可能会有误差。请先单击路段,拖动编辑、然后双击保存!'});
334 }else { 334 }else {
335 layer.msg('生成路线失败!'); 335 layer.msg('生成路线失败!');
336 } 336 }
src/main/resources/static/pages/base/line/js/map.js
@@ -44,22 +44,6 @@ var WorldsBMapLine = function () { @@ -44,22 +44,6 @@ var WorldsBMapLine = function () {
44 //启用键盘上下左右键移动地图 44 //启用键盘上下左右键移动地图
45 mapBValue.enableKeyboard(); 45 mapBValue.enableKeyboard();
46 46
47 - var transit = new BMap.DrivingRoute(mapBValue, {  
48 - renderOptions: {  
49 - map: mapBValue,  
50 - panel: "r-result",  
51 - enableDragging : true //起终点可进行拖拽  
52 - },opts:{  
53 - onSearchComplete (){  
54 -  
55 - }  
56 - }  
57 - });  
58 - transit.search("唐镇","唐陆路");  
59 - var a = transit.getResults();  
60 - debugger  
61 - var b = mapBValue.onSearchComplete();  
62 -  
63 return mapBValue; 47 return mapBValue;
64 }, 48 },
65 /** 获取第一个切路段的点 @return Point*/ 49 /** 获取第一个切路段的点 @return Point*/
src/main/resources/static/pages/base/line/map.html
@@ -181,7 +181,6 @@ $(function(){ @@ -181,7 +181,6 @@ $(function(){
181 // 版本号 181 // 版本号
182 $.get('/lineVersions/findCurrentVersion',{'lineId':id},function(versions){ 182 $.get('/lineVersions/findCurrentVersion',{'lineId':id},function(versions){
183 section.versions = versions; 183 section.versions = versions;
184 - debugger  
185 layer.confirm('提交马上会把原有的站点和路段覆盖,您确定要提交吗?', { 184 layer.confirm('提交马上会把原有的站点和路段覆盖,您确定要提交吗?', {
186 btn: ['提交','取消'] //按钮 185 btn: ['提交','取消'] //按钮
187 }, function(index){ 186 }, function(index){