| | |
| | | </c:if> |
| | | </c:forEach> |
| | | <c:if test="${view.enableTooltip!=null&&view.enableTooltip&&view.tooltipType==1}"> |
| | | <button class="el-tooltipbutton">功能说明<i id="i_tooltip" class="fa fa-question-circle-o" |
| | | title="${view.tooltipContent}"></i></button> |
| | | <button class="el-tooltipbutton">功能说明<i id="i_tooltip" |
| | | class="fa fa-question-circle-o" |
| | | title="${view.tooltipContent}"></i></button> |
| | | <script type="text/javascript"> |
| | | $(function () { |
| | | $('#i_tooltip').tooltip({ |
| | |
| | | //刷新表格数据 |
| | | function refreshData() { |
| | | $('#dg_viewData').${datagridType}('reload'); |
| | | var checkRows= $('#dg_viewData').${datagridType}('getChecked'); |
| | | if(checkRows.length>0){ |
| | | var checkRows = $('#dg_viewData').${datagridType}('getChecked'); |
| | | if (checkRows.length > 0) { |
| | | $('#dg_viewData').${datagridType}('clearSelections'); |
| | | $('#dg_viewData').${datagridType}('clearChecked'); |
| | | } |