Commit abf7ae560e9df4c4df961e3a28199358d2cdbc9e
1 parent
5e58c7bf
表模板重命名,防止两个同名模板页面切换异常。
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/resources/static/pages/mforms/turnoutrates/calcTurnoutrateZgf.html
| @@ -232,7 +232,7 @@ | @@ -232,7 +232,7 @@ | ||
| 232 | { gsdmTurn:gsdmTurn,fgsdmTurn:fgsdmTurn, line:line,startDate:startDate,endDate:endDate,nature:nature,type:'query'},function(result){ | 232 | { gsdmTurn:gsdmTurn,fgsdmTurn:fgsdmTurn, line:line,startDate:startDate,endDate:endDate,nature:nature,type:'query'},function(result){ |
| 233 | // var result=[]; | 233 | // var result=[]; |
| 234 | // 把数据填充到模版中 | 234 | // 把数据填充到模版中 |
| 235 | - var tbodyHtml = template('calcTurnoutrate',{list:result}); | 235 | + var tbodyHtml = template('calcTurnoutrateZgf',{list:result}); |
| 236 | // 把渲染好的模版html文本追加到表格中 | 236 | // 把渲染好的模版html文本追加到表格中 |
| 237 | $('#tbody').html(tbodyHtml); | 237 | $('#tbody').html(tbodyHtml); |
| 238 | layer.close(i); | 238 | layer.close(i); |
| @@ -286,7 +286,7 @@ | @@ -286,7 +286,7 @@ | ||
| 286 | }); | 286 | }); |
| 287 | }); | 287 | }); |
| 288 | </script> | 288 | </script> |
| 289 | -<script type="text/html" id="calcTurnoutrate"> | 289 | +<script type="text/html" id="calcTurnoutrateZgf"> |
| 290 | {{each list as obj i}} | 290 | {{each list as obj i}} |
| 291 | <tr> | 291 | <tr> |
| 292 | <td>{{obj.rq}}</td> | 292 | <td>{{obj.rq}}</td> |