Commit 62867bc26e6b2352efaca1b1bae63899f592a799

Authored by 娄高锋
1 parent bca80135

LGF 报表

src/main/resources/static/pages/forms/statement/timeAndSpeed.html
@@ -152,6 +152,17 @@ @@ -152,6 +152,17 @@
152 152
153 line = data[0].id; 153 line = data[0].id;
154 updateModel(); 154 updateModel();
  155 +
  156 + var params = {};
  157 + params['line'] = line;
  158 + $get('/busInterval/getDir', params, function(result){
  159 + dirData = createTreeData(result);
  160 + var options = '';
  161 + $.each(dirData, function(i, g){
  162 + options += '<option value="'+g.name+'">'+g.name+'</option>';
  163 + });
  164 + $('#upDown').html(options);
  165 + });
155 }) 166 })
156 167
157 $("#query").on("click", function (){ 168 $("#query").on("click", function (){