Commit bca8013569ae09131ad4ced87c198e2d060b1a2a
1 parent
b6dc2454
LGF 报表
Showing
1 changed file
with
12 additions
and
1 deletions
src/main/resources/static/pages/forms/statement/lineTimeAnaly.html
| @@ -210,7 +210,18 @@ | @@ -210,7 +210,18 @@ | ||
| 210 | 210 | ||
| 211 | line = data[0].id; | 211 | line = data[0].id; |
| 212 | updateModel(); | 212 | updateModel(); |
| 213 | - }) | 213 | + |
| 214 | + var params = {}; | ||
| 215 | + params['line'] = line; | ||
| 216 | + $get('/busInterval/getDir', params, function(result){ | ||
| 217 | + dirData = createTreeData(result); | ||
| 218 | + var options = ''; | ||
| 219 | + $.each(dirData, function(i, g){ | ||
| 220 | + options += '<option value="'+g.name+'">'+g.name+'</option>'; | ||
| 221 | + }); | ||
| 222 | + $('#upDown').html(options); | ||
| 223 | + }); | ||
| 224 | + }); | ||
| 214 | 225 | ||
| 215 | $("#query").on("click", function (){ | 226 | $("#query").on("click", function (){ |
| 216 | line = $("#line").val(); | 227 | line = $("#line").val(); |