Commit d9a44bc00933e484e4b5f79870f7685b2d43a8bb

Authored by 游瑞烽
1 parent 19770f10

行业编码字段显示问题

src/main/resources/static/pages/base/line/js/map.js
@@ -559,7 +559,7 @@ var WorldsBMapLine = function () { @@ -559,7 +559,7 @@ var WorldsBMapLine = function () {
559 var htm = '<HR style="border:1 dashed #987cb9" width="100%" color=#987cb9 SIZE=1>'+ 559 var htm = '<HR style="border:1 dashed #987cb9" width="100%" color=#987cb9 SIZE=1>'+
560 '<span style="color:#DDD;font-size: 15px;">站点名称:' + objStation.stationStationName + '</span>' + 560 '<span style="color:#DDD;font-size: 15px;">站点名称:' + objStation.stationStationName + '</span>' +
561 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点编码:' + objStation.stationStationCod + '</span>' + 561 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点编码:' + objStation.stationStationCod + '</span>' +
562 - '<span class="help-block" style="color:#DDD;font-size: 15px;">行业编码:' + objStation.industryCode + '</span>' + 562 + '<span class="help-block" style="color:#DDD;font-size: 15px;">行业编码:' + (objStation.industryCode == null ? "":objStation.industryCode) + '</span>' +
563 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点序号:' + objStation.stationRouteStationRouteCode + '</span>' + 563 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点序号:' + objStation.stationRouteStationRouteCode + '</span>' +
564 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点类型:' + markTypeStr + '</span>' + 564 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点类型:' + markTypeStr + '</span>' +
565 '<span class="help-block" style="color:#DDD;font-size: 15px;">纬度坐标:' + objStation.stationBJwpoints + '</span>' + 565 '<span class="help-block" style="color:#DDD;font-size: 15px;">纬度坐标:' + objStation.stationBJwpoints + '</span>' +
@@ -568,7 +568,7 @@ var WorldsBMapLine = function () { @@ -568,7 +568,7 @@ var WorldsBMapLine = function () {
568 '<span class="help-block" style="color:#DDD;font-size: 15px;">版本号&nbsp&nbsp:' + objStation.stationRouteVersions + '</span>' + 568 '<span class="help-block" style="color:#DDD;font-size: 15px;">版本号&nbsp&nbsp:' + objStation.stationRouteVersions + '</span>' +
569 '<span class="help-block" style="width: 100%;font-size: 15px;;color:#DDD;'+ 569 '<span class="help-block" style="width: 100%;font-size: 15px;;color:#DDD;'+
570 'overflow: hidden; white-space: nowrap; text-overflow: ellipsis; " title="'+ 570 'overflow: hidden; white-space: nowrap; text-overflow: ellipsis; " title="'+
571 - objStation.stationRouteDescriptions +'" >说明/描述:' + objStation.stationRouteDescriptions + '</span>' ; 571 + objStation.stationRouteDescriptions +'" >说明/描述:' + (objStation.stationRouteDescriptions == null ? "":objStation.stationRouteDescriptions)+ '</span>' ;
572 572
573 // 创建信息窗口 573 // 创建信息窗口
574 var infoWindow_target = new BMap.InfoWindow(htm, opts_polygon); 574 var infoWindow_target = new BMap.InfoWindow(htm, opts_polygon);
@@ -668,7 +668,7 @@ var WorldsBMapLine = function () { @@ -668,7 +668,7 @@ var WorldsBMapLine = function () {
668 var htm = '<HR style="border:1 dashed #987cb9" width="100%" color=#987cb9 SIZE=1>'+ 668 var htm = '<HR style="border:1 dashed #987cb9" width="100%" color=#987cb9 SIZE=1>'+
669 '<span style="color:#DDD;font-size: 15px;">站点名称:' + objStation.stationStationName + '</span>' + 669 '<span style="color:#DDD;font-size: 15px;">站点名称:' + objStation.stationStationName + '</span>' +
670 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点编码:' + objStation.stationStationCod + '</span>' + 670 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点编码:' + objStation.stationStationCod + '</span>' +
671 - '<span class="help-block" style="color:#DDD;font-size: 15px;">行业编码:' + objStation.industryCode + '</span>' + 671 + '<span class="help-block" style="color:#DDD;font-size: 15px;">行业编码:' + (objStation.industryCode == null ? "":objStation.industryCode)+ '</span>' +
672 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点序号:' + objStation.stationRouteStationRouteCode + '</span>' + 672 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点序号:' + objStation.stationRouteStationRouteCode + '</span>' +
673 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点类型:' + markTypeStr + '</span>' + 673 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点类型:' + markTypeStr + '</span>' +
674 '<span class="help-block" style="color:#DDD;font-size: 15px;">纬度坐标:' + objStation.stationBJwpoints + '</span>' + 674 '<span class="help-block" style="color:#DDD;font-size: 15px;">纬度坐标:' + objStation.stationBJwpoints + '</span>' +
@@ -678,7 +678,7 @@ var WorldsBMapLine = function () { @@ -678,7 +678,7 @@ var WorldsBMapLine = function () {
678 '<span class="help-block" style="color:#DDD;font-size: 15px;">版本号&nbsp&nbsp:' + objStation.stationRouteVersions + '</span>' + 678 '<span class="help-block" style="color:#DDD;font-size: 15px;">版本号&nbsp&nbsp:' + objStation.stationRouteVersions + '</span>' +
679 '<span class="help-block" style="width: 100%;font-size: 15px;;color:#DDD;'+ 679 '<span class="help-block" style="width: 100%;font-size: 15px;;color:#DDD;'+
680 'overflow: hidden; white-space: nowrap; text-overflow: ellipsis; " title="'+ 680 'overflow: hidden; white-space: nowrap; text-overflow: ellipsis; " title="'+
681 - objStation.stationRouteDescriptions +'" >说明/描述:' + objStation.stationRouteDescriptions + '</span>' ; 681 + objStation.stationRouteDescriptions +'" >说明/描述:' + (objStation.stationRouteDescriptions == null ? "":objStation.stationRouteDescriptions) + '</span>' ;
682 682
683 // 创建信息窗口 683 // 创建信息窗口
684 var infoWindow_target = new BMap.InfoWindow(htm, opts); 684 var infoWindow_target = new BMap.InfoWindow(htm, opts);
src/main/resources/static/pages/base/station/js/station-positions-function.js
@@ -28,7 +28,7 @@ var PositionsPublicFunctions = function () { @@ -28,7 +28,7 @@ var PositionsPublicFunctions = function () {
28 var htm = '<HR style="border:1 dashed #987cb9" width="100%" color=#987cb9 SIZE=1>'+ 28 var htm = '<HR style="border:1 dashed #987cb9" width="100%" color=#987cb9 SIZE=1>'+
29 '<span style="color:#DDD;font-size: 15px;">站点名称:' + r[0].zdmc + '</span>' + 29 '<span style="color:#DDD;font-size: 15px;">站点名称:' + r[0].zdmc + '</span>' +
30 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点编码:' + r[0].stationCode + '</span>' + 30 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点编码:' + r[0].stationCode + '</span>' +
31 - '<span class="help-block" style="color:#DDD;font-size: 15px;">行业编码:' + r[0].industryCode + '</span>' + 31 + '<span class="help-block" style="color:#DDD;font-size: 15px;">行业编码:' + (r[0].industryCode == null ? "":r[0].industryCode) + '</span>' +
32 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点序号:' + r[0].stationRouteCode + '</span>' + 32 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点序号:' + r[0].stationRouteCode + '</span>' +
33 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点类型:' + markTypeStr + '</span>' + 33 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点类型:' + markTypeStr + '</span>' +
34 '<span class="help-block" style="color:#DDD;font-size: 15px;">纬度坐标:' + r[0].stationJwpoints + '</span>' + 34 '<span class="help-block" style="color:#DDD;font-size: 15px;">纬度坐标:' + r[0].stationJwpoints + '</span>' +
@@ -38,7 +38,7 @@ var PositionsPublicFunctions = function () { @@ -38,7 +38,7 @@ var PositionsPublicFunctions = function () {
38 '<span class="help-block" style="color:#DDD;font-size: 15px;">版本号&nbsp;&nbsp;:' + r[0].stationRouteVersions + '</span>' + 38 '<span class="help-block" style="color:#DDD;font-size: 15px;">版本号&nbsp;&nbsp;:' + r[0].stationRouteVersions + '</span>' +
39 '<span class="help-block" style="width: 100%;font-size: 15px;;color:#DDD;'+ 39 '<span class="help-block" style="width: 100%;font-size: 15px;;color:#DDD;'+
40 'overflow: hidden; white-space: nowrap; text-overflow: ellipsis; " title="'+ 40 'overflow: hidden; white-space: nowrap; text-overflow: ellipsis; " title="'+
41 - r[0].stationRouteDescriptions +'" >说明/描述:' + r[0].stationRouteDescriptions + '</span>' ; 41 + r[0].stationRouteDescriptions +'" >说明/描述:' + (r[0].stationRouteDescriptions == null ? "":r[0].stationRouteDescriptions) + '</span>' ;
42 // 信息窗口参数属性 42 // 信息窗口参数属性
43 var opts = { 43 var opts = {
44 // 信息窗口宽度 44 // 信息窗口宽度