| | |
| | | <script type="text/javascript" src="http://webapi.amap.com/maps?v=1.4.15&key=77b37f0753049c4e712ea79a24e0719c"></script> |
| | | <div class="ibox float-e-margins"> |
| | | <input hidden id="userType" value="${userType}"> |
| | | @if(userType!=1){ |
| | | <input hidden id="operatorId" value="${operatorId}"> |
| | | @} |
| | | @if(userType==3){ |
| | | <input hidden id="storeId" value="${storeId}"> |
| | | @} |
| | |
| | | }); |
| | | ajax.set("operatorId",e); |
| | | ajax.start(); |
| | | |
| | | }else { |
| | | selectElement.disabled = false; |
| | | var ajax = new $ax(Feng.ctxPath + "/tShop/typeChange", function(data){ |
| | | var ajax = new $ax(Feng.ctxPath + "/gate/getOperatorList", function(data){ |
| | | if(data!=null){ |
| | | var content = '<option value="">请选择</option>'; |
| | | var content="<option value=''>选择运营商</option>"; |
| | | $.each(data, function(k,v) { |
| | | |
| | | content += "<option value='"+v.id+"'>"+v.name+"</option>"; |
| | | }); |
| | | $("#page").empty().append(content); |
| | | $("#account").empty().append(content); |
| | | } |
| | | }); |
| | | ajax.set("name",oneId); |
| | | ajax.start(); |
| | | selectElement.disabled = false; |
| | | var content="<option value=''>请选择运营商</option>"; |
| | | |
| | | $("#store").empty().append(content); |
| | | |
| | | } |
| | | var pageElement = document.getElementById('page'); |
| | | var event = new Event('change'); |
| | | pageElement.dispatchEvent(event); |
| | | |
| | | } |
| | | |
| | | |