| | |
| | | } |
| | | }) |
| | | ajax.set("date",$('#time').val()); |
| | | var siteId = document.getElementById("siteId"); |
| | | var siteName = siteId.options[siteId.selectedIndex].text; |
| | | |
| | | var halfId = document.getElementById("half"); |
| | | var halfName = halfId.options[halfId.selectedIndex].text; |
| | | ajax.set("siteName",siteName); |
| | | ajax.set("halfName",halfName); |
| | | |
| | | ajax.start() |
| | | |
| | | // var ajax1 = new $ax(Feng.ctxPath + "/ball/halfName/"+ $('#siteId').val(), function(data){ |
| | | // console.log("================"+data) |
| | | // if(data!=null){ |
| | | // let htmlStr = ''; |
| | | // for (let i = 0; i < data.length; i++) { |
| | | // htmlStr += '<option value="' + data[i] + '">' + data[i] + '</option>' |
| | | // } |
| | | // $("#half").empty().append(htmlStr); |
| | | // } |
| | | // }) |
| | | // ajax1.start() |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | }; |
| | | |
| | | |
| | | CoursePackageInfo.queryHalf = function (a) { |
| | | var ajax1 = new $ax(Feng.ctxPath + "/ball/halfName/"+ $('#siteId').val(), function(data){ |
| | | console.log("================"+data) |
| | | if(data!=null){ |
| | |
| | | } |
| | | }) |
| | | ajax1.start() |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | }; |
| | | |
| | | } |
| | | |
| | | |
| | | CoursePackageInfo.addTime1 = function (a) { |