<%@ page language="java" contentType="text/html;charset=utf-8"%> <%@include file="/pages/includes/taglibs.jsp"%> <html> <head> <title>宁夏集控</title> <style> body{ font-size: 12px; margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } @font-face { font-family: 'fontNameRegular'; src: url('<%=request.getContextPath() %>/resource/fonts/DS-DIGIT-webfont.eot'); src: local('<%=request.getContextPath() %>/resource/fonts/DS-DIGIT-webfont Regular'), local('<%=request.getContextPath() %>/resource/fonts/DS-DIGIT-webfont'), url('<%=request.getContextPath() %>/resource/fonts/DS-DIGIT-webfont.woff') format('woff'), url('<%=request.getContextPath() %>/resource/fonts/DS-DIGIT-webfont.ttf') format('truetype'), url('<%=request.getContextPath() %>/resource/fonts/DS-DIGIT-webfont.svg#fontName') format('svg'); font-size: 20px; font-weight: bolder; } .text_value { font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #000; text-decoration: none; font-weight: bold; } </style> <link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/plugin/jqueryui/css/custom-theme/jquery-ui-1.9.2.custom.css" /> <script src="<%=request.getContextPath() %>/resource/plugin/jqueryui/js/jquery-ui-1.9.2.custom.js" type="text/javascript"></script> <script src="<%=request.getContextPath() %>/resource/plugin/jqueryui/development-bundle/ui/jquery.ui.widget.js"></script> <script src="<%=request.getContextPath() %>/resource/plugin/jqueryui/development-bundle/ui/jquery.ui.tabs.js"></script> <script type="text/javascript"> $(function() { $("#windfarm").attr("value", '<s:property value="windfarm"/>'); $( "#tabs" ).tabs({ select: function(event, ui) { // ui.tab锚元素选中的标签页 // ui.panel 锚元素选中的标签页的内容 // ui.index 锚元素选中的标签页的索引(从0开始) if(ui.index==0) { var windfarm2 =$(window.frames[1].document).find("#windfarm").val(); var windfarm3 =$(window.frames[2].document).find("#windfarm").val(); if(windfarm2!=null) { $("#tab1").attr("src","<%=request.getContextPath() %>/gradeassessment/gadayindex.action?windfarm=" + windfarm2); }else if(windfarm3!=null) { $("#tab1").attr("src","<%=request.getContextPath() %>/gradeassessment/gadayindex.action?windfarm=" + windfarm3); } $("#tab2").attr("src","about:blank"); $("#tab3").attr("src","about:blank"); }else if(ui.index==1) { var windfarm1 =$(window.frames[0].document).find("#windfarm").val(); var windfarm3 =$(window.frames[2].document).find("#windfarm").val(); if(windfarm1!=null) { $("#tab2").attr("src","<%=request.getContextPath() %>/gradeassessment/gamonthindex.action?windfarm=" + windfarm1); }else if(windfarm3!=null) { $("#tab2").attr("src","<%=request.getContextPath() %>/gradeassessment/gamonthindex.action?windfarm=" + windfarm3); } $("#tab1").attr("src","about:blank"); $("#tab3").attr("src","about:blank"); }else if(ui.index==2) { var windfarm2 =$(window.frames[1].document).find("#windfarm").val(); var windfarm1 =$(window.frames[0].document).find("#windfarm").val(); if(windfarm1!=null) { $("#tab3").attr("src","<%=request.getContextPath() %>/gradeassessment/gayearindex.action?windfarm=" + windfarm1); }else if(windfarm2!=null) { $("#tab3").attr("src","<%=request.getContextPath() %>/gradeassessment/gayearindex.action?windfarm=" + windfarm2); } $("#tab2").attr("src","about:blank"); $("#tab1").attr("src","about:blank"); } else { $("#tab1").attr("src","about:blank"); $("#tab2").attr("src","about:blank"); $("#tab3").attr("src","about:blank"); } } }); var windfarm=$("#windfarm").val(); $("#tab1").attr("src","<%=request.getContextPath() %>/gradeassessment/gadayindex.action?windfarm="+windfarm); }); </script> </head> <body> <!-- <table width="100%"> <tr> <td align="left" class="text_value"> <s:property value="windfarmname"/> </td> </tr> </table> --> <div id="tabs" style="width: 1880px;height: 800px;border: 0px;margin: 0px"> <ul > <li><a href="#tabs-1" >风机日信息量化评级管理</a></li> <li><a href="#tabs-2">风机月信息量化评级管理</a></li> <li><a href="#tabs-3">风机年信息量化评级管理</a></li> </ul> <div id="tabs-1" style="border: 0px;margin: 0px"> <iframe id="tab1" src="" style="border: 0px;margin: 0px" marginwidth="0px" marginheight="0px" frameborder="0" width="1890px" height="770px" scrolling="auto"></iframe> </div> <div id="tabs-2"> <iframe id="tab2" src="" style="border: 0px;margin: 0px" marginwidth="0px" marginheight="0px" frameborder="0" width="1890px" height="770px" scrolling="auto"></iframe> </div> <div id="tabs-3"> <iframe id="tab3" src="" style="border: 0px;margin: 0px" marginwidth="0px" marginheight="0px" frameborder="0" width="1890px" height="770px" scrolling="auto"></iframe> </div> </div> <s:hidden id="windfarm"></s:hidden> <s:hidden id="windfarmname"></s:hidden> </body> </html>