Commit ef1be49861fc7f49f60d47f2f2c5405a3204ca30
1 parent
fc19cbfd
Signed-off-by: yrf123456 <463058651@qq.com>
Showing
4 changed files
with
93 additions
and
16 deletions
src/main/resources/static/pages/base/line/css/bmap_base.css
0 → 100644
| 1 | +#bmap_basic{ | ||
| 2 | + min-width: 100%; | ||
| 3 | + width: calc(100% + 26px); | ||
| 4 | + margin-top: -28px; | ||
| 5 | + border: 2px solid #fdfdfd; | ||
| 6 | + min-height: 1200px; | ||
| 7 | + height:100%; | ||
| 8 | + overflow: hidden; | ||
| 9 | +} | ||
| 10 | + | ||
| 11 | +html,body{ | ||
| 12 | + overflow:hidden; | ||
| 13 | +} | ||
| 14 | + | ||
| 15 | +.caption { | ||
| 16 | + color: #B7B7B7; | ||
| 17 | + font-size: 18px; | ||
| 18 | + | ||
| 19 | + position: relative; | ||
| 20 | + margin: 15px; | ||
| 21 | + | ||
| 22 | + font-family: 微软; | ||
| 23 | +} | ||
| 24 | + | ||
| 25 | +.cut-section{ position:absolute; right:40px; top:50px; background:#12527f; width:320px;max-height: 700px;min-height: 300px;} | ||
| 26 | + | ||
| 27 | +.rm3_image { | ||
| 28 | + width: 120px; | ||
| 29 | + height: 26px; | ||
| 30 | + | ||
| 31 | +} | ||
| 32 | + | ||
| 33 | +/* 隐藏百度地图logo */ | ||
| 34 | +.anchorBL, | ||
| 35 | +.anchorBL, | ||
| 36 | +.amap-logo, | ||
| 37 | +.amap-copyright{ | ||
| 38 | + display: none; | ||
| 39 | +} | ||
| 40 | + | ||
| 41 | + | ||
| 42 | +.BMap_pop { | ||
| 43 | + | ||
| 44 | + box-shadow: 0 12px 15px 0 rgba(204, 204, 204, 0.33),0 17px 50px 0 rgba(204, 204, 204, 0.33)!important; | ||
| 45 | + | ||
| 46 | +} |
src/main/resources/static/pages/base/line/editRoute.html
| @@ -248,7 +248,6 @@ $('#edit_route_mobal').on('editRouteMobal.show', function(e,transGPS,editRoute,m | @@ -248,7 +248,6 @@ $('#edit_route_mobal').on('editRouteMobal.show', function(e,transGPS,editRoute,m | ||
| 248 | // 关闭弹出层 | 248 | // 关闭弹出层 |
| 249 | layer.closeAll(); | 249 | layer.closeAll(); |
| 250 | if(rd.status='SUCCESS') { | 250 | if(rd.status='SUCCESS') { |
| 251 | - layer.msg('生成路线成功!'); | ||
| 252 | var stationD = rd.stationData,isNullStr = ''; | 251 | var stationD = rd.stationData,isNullStr = ''; |
| 253 | for(var t = 0 ;t<stationD.length;t++) { | 252 | for(var t = 0 ;t<stationD.length;t++) { |
| 254 | if(stationD[t].potion.lat =='' || stationD[t].potion.lat ==null || | 253 | if(stationD[t].potion.lat =='' || stationD[t].potion.lat ==null || |
| @@ -268,10 +267,12 @@ $('#edit_route_mobal').on('editRouteMobal.show', function(e,transGPS,editRoute,m | @@ -268,10 +267,12 @@ $('#edit_route_mobal').on('editRouteMobal.show', function(e,transGPS,editRoute,m | ||
| 268 | // 在地图上画出线路走向 | 267 | // 在地图上画出线路走向 |
| 269 | fun.linePanlThree(lineid,data,directionData); | 268 | fun.linePanlThree(lineid,data,directionData); |
| 270 | }); | 269 | }); |
| 271 | - $('#cutSection').removeClass('hidden'); | ||
| 272 | - $('#Undo').removeClass('hidden'); | ||
| 273 | - $('#uploadRoute').addClass('hidden'); | ||
| 274 | - layer.msg('请先编辑路段,然后放大地图切点,不然数据可能会有误差!!!'); | 270 | + $('#upload_show').removeClass('hidden'); |
| 271 | + //$('#Undo').removeClass('hidden'); | ||
| 272 | + //$('#cut_section').removeClass('hidden'); | ||
| 273 | + //$('#uploadRoute').addClass('hidden'); | ||
| 274 | + $('#upload').addClass('hidden'); | ||
| 275 | + layer.msg('请先编辑路段,并保存!!!'); | ||
| 275 | }else { | 276 | }else { |
| 276 | layer.msg('生成路线失败!'); | 277 | layer.msg('生成路线失败!'); |
| 277 | } | 278 | } |
src/main/resources/static/pages/base/line/editsection.html
| @@ -249,10 +249,10 @@ $('#edit_section_mobal_cache').on('editSectionMobalCache_show', function(e, map_ | @@ -249,10 +249,10 @@ $('#edit_section_mobal_cache').on('editSectionMobalCache_show', function(e, map_ | ||
| 249 | $post('/section/sectionCacheUpdate',params,function(resuntDate) { | 249 | $post('/section/sectionCacheUpdate',params,function(resuntDate) { |
| 250 | if(resuntDate.status=='SUCCESS') { | 250 | if(resuntDate.status=='SUCCESS') { |
| 251 | // 弹出添加成功提示消息 | 251 | // 弹出添加成功提示消息 |
| 252 | - layer.msg('修改成功...'); | 252 | + layer.msg('路段保存成功,将地图放到最大,用右击路段进行截取,确认截取完毕后提交!!!'); |
| 253 | }else { | 253 | }else { |
| 254 | // 弹出添加失败提示消息 | 254 | // 弹出添加失败提示消息 |
| 255 | - layer.msg('修改失败...'); | 255 | + layer.msg('路段保存失败,请重新编辑路段!!!'); |
| 256 | } | 256 | } |
| 257 | $('#edit_section_mobal_cache').modal('hide'); | 257 | $('#edit_section_mobal_cache').modal('hide'); |
| 258 | closeMobleSetClean(); | 258 | closeMobleSetClean(); |
src/main/resources/static/pages/base/line/map.html
| 1 | -< <link href="/pages/base/stationroute/css/bmap_base.css" rel="stylesheet" type="text/css" /> | 1 | +< <link href="/pages/base/line/css/bmap_base.css" rel="stylesheet" type="text/css" /> |
| 2 | <div class="portlet-body"> | 2 | <div class="portlet-body"> |
| 3 | <!-- 地图 --> | 3 | <!-- 地图 --> |
| 4 | <div id="bmap_basic" class="bmaps"></div> | 4 | <div id="bmap_basic" class="bmaps"></div> |
| 5 | - <!-- 右边添加栏 --> | ||
| 6 | - <div class="portlet box protlet-box" style="top:20px;border-radius: 6px !important;box-shadow: 10px 10px 5px #888888;float:right;"> | 5 | + |
| 6 | + <div class="cut-section"> | ||
| 7 | + <div class="portlet-title" > | ||
| 8 | + <div class="caption" > | ||
| 9 | + 途径站点 | ||
| 10 | + </div> | ||
| 11 | + </div> | ||
| 12 | + <div class="portlet-body"> | ||
| 13 | + <div class="table-toolbar" style="text-align:center;" id="upload"> | ||
| 14 | + <button class="btn btn-circle blue" id="uploadRoute" ><i class="fa fa-plus"></i> 生成路线 </button> | ||
| 15 | + </div> | ||
| 16 | + <div class="portlet-body hidden" id="upload_show"> | ||
| 17 | + <div class="defeat-scroll" style="height: auto;max-height:600px;overflow-y:auto; border-left: 10px;"> | ||
| 18 | + <table class="table table-bordered table-hover table-checkable " id="section_table" style="color:#B7B7B7;"> | ||
| 19 | + <thead> | ||
| 20 | + <tr role="row" class="heading"> | ||
| 21 | + <th >截取路段</th> | ||
| 22 | + </tr> | ||
| 23 | + </thead> | ||
| 24 | + <tbody></tbody> | ||
| 25 | + </table> | ||
| 26 | + </div> | ||
| 27 | + <div class="table-toolbar" style="text-align:center;"> | ||
| 28 | + <button class="btn btn-circle blue" id="cutSection">提交路段</button> | ||
| 29 | + <button class="btn btn-circle blue" id="Undo">撤销切点</button> | ||
| 30 | + </div> | ||
| 31 | + </div> | ||
| 32 | + </div> | ||
| 33 | + </div> | ||
| 34 | + | ||
| 35 | + <div class="portlet box protlet-box" style="top:20px;border-radius: 6px !important;box-shadow: 10px 10px 5px #888888;"> | ||
| 36 | + 左边标题栏 | ||
| 7 | <div class="portlet-title" style="background-color:#12527f;"> | 37 | <div class="portlet-title" style="background-color:#12527f;"> |
| 8 | <div class="caption"> | 38 | <div class="caption"> |
| 9 | - <!-- 途径站点 --> | 39 | + 途径站点 |
| 10 | </div> | 40 | </div> |
| 11 | <div class="tools"> | 41 | <div class="tools"> |
| 12 | <a href="javascript:;" class="collapse" data-original-title="" title=""> </a> | 42 | <a href="javascript:;" class="collapse" data-original-title="" title=""> </a> |
| 13 | </div> | 43 | </div> |
| 14 | </div> | 44 | </div> |
| 15 | - <!-- 左边栏 --> | 45 | + 左边栏 |
| 16 | <div class="portlet-body" id="scrllmouseEvent" style="border: 1px solid rgb(255, 255, 255); display: block;min-height: 300px"> | 46 | <div class="portlet-body" id="scrllmouseEvent" style="border: 1px solid rgb(255, 255, 255); display: block;min-height: 300px"> |
| 17 | <div class="row"> | 47 | <div class="row"> |
| 18 | <div class="portlet-body"> | 48 | <div class="portlet-body"> |
| @@ -26,7 +56,7 @@ | @@ -26,7 +56,7 @@ | ||
| 26 | <table class="table table-striped table-bordered table-hover table-checkable " id="section_table"> | 56 | <table class="table table-striped table-bordered table-hover table-checkable " id="section_table"> |
| 27 | <thead> | 57 | <thead> |
| 28 | <tr role="row" class="heading"> | 58 | <tr role="row" class="heading"> |
| 29 | - <th >截取路段</th> | 59 | + <th >已截取路段</th> |
| 30 | </tr> | 60 | </tr> |
| 31 | </thead> | 61 | </thead> |
| 32 | <tbody ></tbody> | 62 | <tbody ></tbody> |
| @@ -35,7 +65,7 @@ | @@ -35,7 +65,7 @@ | ||
| 35 | </div> | 65 | </div> |
| 36 | </div> | 66 | </div> |
| 37 | </div> | 67 | </div> |
| 38 | - </div> | 68 | + </div> |
| 39 | </div> | 69 | </div> |
| 40 | </div> | 70 | </div> |
| 41 | <script type="text/html" id="section_list"> | 71 | <script type="text/html" id="section_list"> |
| @@ -47,7 +77,7 @@ | @@ -47,7 +77,7 @@ | ||
| 47 | {{/each}} | 77 | {{/each}} |
| 48 | {{if list.length == 0}} | 78 | {{if list.length == 0}} |
| 49 | <tr> | 79 | <tr> |
| 50 | - <td colspan=13><h6 class="muted">你还没有对路段进行截取</h6></td> | 80 | + <td colspan=13><h6 class="muted">沒有相关数据</h6></td> |
| 51 | </tr> | 81 | </tr> |
| 52 | {{/if}} | 82 | {{/if}} |
| 53 | </script> | 83 | </script> |
| @@ -138,7 +168,7 @@ $(function(){ | @@ -138,7 +168,7 @@ $(function(){ | ||
| 138 | } | 168 | } |
| 139 | }); | 169 | }); |
| 140 | } else { | 170 | } else { |
| 141 | - layer.msg("请截取路段!!!"); | 171 | + layer.msg("请先截取路段!!!"); |
| 142 | } | 172 | } |
| 143 | }); | 173 | }); |
| 144 | }); | 174 | }); |