Commit bee85d6cb23e88427c95f3d9e56acebaca98ea55
1 parent
ac131605
修正“指令状态分析”中点击驾驶员详情打开窗口为下一行驾驶员的信息问题
Showing
1 changed file
with
3 additions
and
0 deletions
src/main/resources/static/pages/forms/statement/commandState.html
| @@ -329,6 +329,9 @@ | @@ -329,6 +329,9 @@ | ||
| 329 | $("#works_hidden").removeClass("hidden"); | 329 | $("#works_hidden").removeClass("hidden"); |
| 330 | var i = layer.load(2); | 330 | var i = layer.load(2); |
| 331 | $get('/pcpc/commandByLineList',params,function(result){ | 331 | $get('/pcpc/commandByLineList',params,function(result){ |
| 332 | + $(result).each(function(i, e){ | ||
| 333 | + e.jGh = (e.jsy).split("/")[0]; | ||
| 334 | + }); | ||
| 332 | var commandByLine = template('list_commandState_1',{list:result}); | 335 | var commandByLine = template('list_commandState_1',{list:result}); |
| 333 | $('#works tbody').html(commandByLine); | 336 | $('#works tbody').html(commandByLine); |
| 334 | layer.close(i); | 337 | layer.close(i); |