Commit d238d489a6df3d2817d95d6fe8f01d09c1a1bf6e
1 parent
bd190bda
1.进出场判断是否在规划道路行驶,对此路径的规划工具,与站点编辑在一起
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/resources/static/pages/base/stationroute/js/stationroute-list-function.js
| @@ -167,7 +167,7 @@ var PublicFunctions = function () { | @@ -167,7 +167,7 @@ var PublicFunctions = function () { | ||
| 167 | WorldsBMap.drawPolyLine(points, route, start[0], end[0]); | 167 | WorldsBMap.drawPolyLine(points, route, start[0], end[0]); |
| 168 | } | 168 | } |
| 169 | } else { | 169 | } else { |
| 170 | - rootNode.children = [{id: 0, pId: -1, name: '添加路段', text: '添加路段', lineId: id, lineCode: id, versions: version, dir: 3, start: start[0], end: end[0], icon: null, groupType: 3, container : 'pjax-container', enable : true, chaildredType: 'addSection', sectionBsectionVector: 'LINESTRING(' + startPoint.bdPoint + ')'}]; | 170 | + rootNode.children = [{id: 0, pId: -1, name: '添加路段', text: '添加路段', lineId: id, lineCode: id, versions: version, dir: 3, start: start[0], end: end[0], icon: null, groupType: 3, container : 'pjax-container', enable : true, chaildredType: $($("#versions").find("option:selected")[0]).attr("status") > 0 ? 'addSection' : '', sectionBsectionVector: 'LINESTRING(' + startPoint.bdPoint + ')'}]; |
| 171 | } | 171 | } |
| 172 | StationTreeData.inoutInit([rootNode]); | 172 | StationTreeData.inoutInit([rootNode]); |
| 173 | StationTreeData.inoutreloadeTree([rootNode]); | 173 | StationTreeData.inoutreloadeTree([rootNode]); |