| | |
| | | @layout("/common/_container.html"){ |
| | | <script type="text/javascript" src="http://webapi.amap.com/maps?v=1.4.15&key=77b37f0753049c4e712ea79a24e0719c"></script> |
| | | <div class="ibox float-e-margins"> |
| | | <div class="ibox-content"> |
| | | <div class="form-horizontal" id="openCityForm"> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | <label class="col-sm-3 control-label">机场/动车站点:</label> |
| | | <div class="col-sm-2" > |
| | | <input class="form-control" style="width: 250px;" type="text" id="address" onchange="TOpenCityInfoDlg.searchByStationName(this,1)"> |
| | | </div> |
| | | <div class="col-sm-3" > |
| | | <#input id="siteName" name="站点名称" value="" /> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <select class="form-control" id="siteType"> |
| | | <option value="">选择站点类型</option> |
| | | <option value="1">机场</option> |
| | | <option value="2">动车</option> |
| | | </select> |
| | | </div> |
| | | <div class="col-sm-2"> |
| | | <#button btnCss="info" name="添加站点" id="ensure" icon="fa-check" clickFun="addSite()"/> |
| | | </div> |
| | | </div> |
| | | <div class="col-sm-10" style="margin-left: 397px;width: 70%;" > |
| | | <!-- 创建地图容器--> |
| | | <div id="container" style="height: 500px;" ></div> |
| | | </div> |
| | | <div hidden id="longitude"></div> |
| | | <div hidden id="latitude"></div> |
| | | <div class="form-group"> |
| | | <label class="col-sm-3 control-label">已添加站点列表:</label> |
| | | <div class="col-sm-9"> |
| | | <div style="height: 200px; border: 1px solid #e5e6e7;overflow-y: auto;"> |
| | | <table class="table table-striped table-bordered table-hover table-condensed"> |
| | | <thead> |
| | | <tr> |
| | | <th style="width: 300px;">添加时间</th> |
| | | <th style="width: 300px;">站点名称</th> |
| | | <th style="width: 300px;">经纬度</th> |
| | | <th style="width: 300px;">站点类型</th> |
| | | <th style="width: 100px;">操作</th> |
| | | </tr> |
| | | </thead> |
| | | <tbody id="site"> |
| | | @for(obj in siteList){ |
| | | <tr class="siteClass"> |
| | | <td> |
| | | <input type="hidden" id="busId" name="busId" value="${obj.id}"> |
| | | <input type="hidden" id="time" name="time" value="${obj.insertTime1}">${obj.insertTime1}</td> |
| | | <td><input type="hidden" id="name" name="name" value="${obj.name}">${obj.name}</td> |
| | | <td><input type="hidden" id="lonAndLat" name="lonAndLat" value="(${obj.lon},${obj.lat})">(${obj.lon},${obj.lat})</td> |
| | | @if(obj.type == 1){ |
| | | <td><input type="hidden" id="siteType" name="siteType" value="1">机场</td> |
| | | @}else{ |
| | | <td><input type="hidden" id="siteType" name="siteType" value="2">动车</td> |
| | | @} |
| | | |
| | | <td><button onclick="deleteSub(this)">移除</button></td></td> |
| | | </tr> |
| | | @} |
| | | </tbody> |
| | | </table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |