| | |
| | | <div class="ibox-title"> |
| | | <h5>闸机数据统计</h5> |
| | | </div> |
| | | |
| | | <div class="ibox-content"> |
| | | <div class="row row-lg"> |
| | | <div class="col-sm-12"> |
| | | <div class="row"> |
| | | <div class="col-sm-3"> |
| | | <div class="input-group"> |
| | | <div class="input-group-btn open"> |
| | | <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button" aria-expanded="true"> |
| | | 运营商 |
| | | </button> |
| | | </div> |
| | | <select class="form-control" id="operator" onchange="TSite.getStores(this)"> |
| | | <option value="0">平台</option> |
| | | @for(obj in list){ |
| | | <option value="${obj.id}">${obj.name}</option> |
| | | @} |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <div class="input-group"> |
| | | <div class="input-group-btn open"> |
| | | <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button" aria-expanded="true"> |
| | | 门店 |
| | | </button> |
| | | </div> |
| | | <select class="form-control" id="store"> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="col-sm-3"> |
| | | <#button name="搜索" icon="fa-search" clickFun="TSite.search()"/> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="ibox-content"> |
| | | <div class="row row-lg"> |
| | | <div class="col-sm-12"> |
| | |
| | | ,lang:"en" |
| | | }); |
| | | $(function(){ |
| | | var ajax = new $ax(Feng.ctxPath + "/gateData/totalNum", function(data){ |
| | | var totalNumber= document.getElementById("totalNumber"); |
| | | totalNumber.innerText = "场地总人次: " + data +"次"; |
| | | var oneId=$("#operator").val(); |
| | | var ajax = new $ax(Feng.ctxPath + "/operator/getStores", function(data){ |
| | | if(data!=null){ |
| | | var content='<option value="">选择门店</option>'; |
| | | $.each(data, function(k,v) { |
| | | content += "<option value='"+v.id+"'>"+v.name+"</option>"; |
| | | }); |
| | | $("#store").empty().append(content); |
| | | } |
| | | }); |
| | | ajax.set("id",oneId); |
| | | ajax.start(); |
| | | }); |
| | | |
| | | </script> |
| | | @} |