Commit 62867bc26e6b2352efaca1b1bae63899f592a799
1 parent
bca80135
LGF 报表
Showing
1 changed file
with
11 additions
and
0 deletions
src/main/resources/static/pages/forms/statement/timeAndSpeed.html
| ... | ... | @@ -152,6 +152,17 @@ |
| 152 | 152 | |
| 153 | 153 | line = data[0].id; |
| 154 | 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 | 168 | $("#query").on("click", function (){ | ... | ... |