123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242 |
- <%@ page language="java" contentType="text/html;charset=utf-8"%>
- <%@include file="/pages/includes/taglibs.jsp"%>
- <head>
- <script src="<%=request.getContextPath()%>/resource/js/jquery.min.js"
- type="text/javascript">
- </script>
- <script
- src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts.js"
- type="text/javascript">
- </script>
- <script
- src="<%=request.getContextPath()%>/resource/js/highcharts/themes/grid.js"
- type="text/javascript">
- </script>
- <link rel="stylesheet" type="text/css"
- href="<%=request.getContextPath()%>/resource/plugin/highslide/highslide.css" />
- <script type="text/javascript"
- src="<%=request.getContextPath()%>/resource/plugin/highslide/highslide-with-html.js">
- </script>
- <script src="<%=request.getContextPath()%>/pages/analysis/main.js"
- type="text/javascript">
- </script>
- <script type="text/ecmascript" src="<%=request.getContextPath() %>/resource/plugin/jqgrid/js/jquery.jqGrid.min.js"></script>
- <script type="text/ecmascript" src="<%=request.getContextPath() %>/resource/plugin/jqgrid/js/i18n/grid.locale-cn.js"></script>
-
- <script type="text/ecmascript" src="<%=request.getContextPath()%>/resource/js/system/jqdatagrid.js"></script>
- <script src="<%=request.getContextPath()%>/resource/js/datePicker/WdatePicker.js" type="text/javascript"></script>
- <link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/plugin/jqueryui/css/custom-theme/jquery-ui-1.9.2.custom.css" />
- <link rel="stylesheet" type="text/css" media="screen" href="<%=request.getContextPath() %>/resource/plugin/jqgrid/css/ui.jqgrid.css" />
- <script type="text/javascript">
- hs.graphicsDir = '<%=request.getContextPath()%>/resource/plugin/highslide/graphics/';
- hs.outlineType = 'rounded-white';
- hs.wrapperClassName = 'draggable-header';
- function showJqGrid1() {
-
- var temp="/apdata/queryData.action";
- var url= encodeURI(encodeURI(temp));
- var id = 'gridTable1';
- var datatype = 'json';
- var colNames = ['编号','名称', '年', '1月','2月','3月','4月', '5月','6月','7月','8月', '9月','10月','11月','12月','合计'];
- var colModel = [
- { name: 'id', index: 'id', width: 150, align: 'center', hidden:true},
- { name: 'projectName', index: 'projectName', width: 250, align: 'center'},
- { name: 'year', index: 'year', width: 120, align: 'center'},
- { name: 'gc01', index: 'gc01', width: 120, align: 'center'},
- { name: 'gc02', index: 'gc02', width: 120, align: 'center'},
- { name: 'gc03', index: 'gc03', width: 120, align: 'center'},
- { name: 'gc04', index: 'gc04', width: 120, align: 'center'},
- { name: 'gc05', index: 'gc05', width: 120, align: 'center'},
- { name: 'gc06', index: 'gc06', width: 120, align: 'center'},
- { name: 'gc07', index: 'gc07', width: 120, align: 'center'},
- { name: 'gc08', index: 'gc08', width: 120, align: 'center'},
- { name: 'gc09', index: 'gc09', width: 120, align: 'center'},
- { name: 'gc10', index: 'gc10', width: 120, align: 'center'},
- { name: 'gc11', index: 'gc11', width: 120, align: 'center'},
- { name: 'gc12', index: 'gc12', width: 120, align: 'center'},
- { name: 'generatingcapacity', index: 'generatingcapacity', width: 120, align: 'center'}
- ];
- var caption = '计划发电量列表';
- var sortname = 'projectName';
- var gridPagerID ='gridPager';
- var sortorder='desc';
- var height='400';
- var width='900';
- var rownumbers=true;
- var multiselect=false;
- myJqGrid(id, url, datatype, colNames, colModel, caption, sortname, gridPagerID,sortorder,height,width,
- multiselect,rownumbers);
- $("#gridTable1").jqGrid('setFrozenColumns');
- }
- function showJqGrid2() {
-
- var url = '<%=request.getContextPath() %>/matrix/wplsAjax.action';
- var id = 'gridTable2';
- var datatype = 'json';
- var colNames = ['风场', '装机容量','装机台数','功率','风速/日照强度','运行','待机','故障','维护','离线','限电'];
- var colModel = [
- { name: 'wpName', index: 'wpName', width: 100, align: 'center'},
- { name: 'capacity', index: 'capacity', width: 70, align: 'center'},
- { name: 'quantity', index: 'quantity', width: 70, align: 'center'},
- { name: 'power', index: 'power', width: 70, align: 'center'},
- { name: 'speed', index: 'speed', width: 90, align: 'center'},
- { name: 'yxts', index: 'yxts', width: 70, align: 'center'},
- { name: 'djts', index: 'djts', width: 70, align: 'center'},
- { name: 'tjts', index: 'tjts', width: 70, align: 'center'},
- { name: 'whts', index: 'whts', width: 70, align: 'center'},
- { name: 'lxts', index: 'lxts', width: 70, align: 'center'},
- { name: 'xdts', index: 'xdts', width: 70, align: 'center'}
- ];
- var caption = '风场实时状态数据列表';
- var sortname = 'daypg';
- var gridPagerID ='gridPager';
- var sortorder='desc';
- var height='400';
- var width='900';
- var rownumbers=true;
- var multiselect=false;
- myJqGrid(id, url, datatype, colNames, colModel, caption, sortname, gridPagerID,sortorder,height,width,
- multiselect,rownumbers);}
- </script>
- </head>
- <body>
- <form action="" method="post" id="f1">
-
- <table >
- <tr>
- <td>
- <table>
- <tr>
- <td>
- <a href="<%=request.getContextPath()%>/power/powerindex.action"
- onclick="return hs.htmlExpand(this,
- { objectType: 'iframe',
- width : 1600,
- height : 800
- } )">
- 查看详细信息
- </a>
- <div style="width: 900px; height: 500px; overflow: scroll"
- id="container1"/>
- </td>
- </tr>
- </table>
- </td>
- <td>
- <table>
- <tr>
- <td>
- <a href="<%=request.getContextPath()%>/apdata/historyindex.action"
- onclick="return hs.htmlExpand(this,
- { objectType: 'iframe',
- width : 1600,
- height : 800
- } )">
- 查看详细信息
- </a>
- <div style="width: 900px; height: 500px; overflow: scroll"
- id="container2"/>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>
- <table>
- <tr>
- <td>
- <a href="<%=request.getContextPath()%>/apdata/planIndex.action"
- onclick="return hs.htmlExpand(this,
- { objectType: 'iframe',
- width : 1600,
- height : 800
- } )">
- 查看详细信息
- </a>
- <div style="width: 900px; height: 500px; overflow: scroll"
- id="container3">
-
- <table id='gridTable1' height="100%">
- </table>
- </div>
-
- </td>
- </tr>
- </table>
- </td>
- <td>
- <table>
- <tr>
- <td>
- <a href="<%=request.getContextPath()%>/matrix/wtlsindex.action"
- onclick="return hs.htmlExpand(this,
- { objectType: 'iframe',
- width : 1600,
- height : 800
- } )">
- 查看详细信息
- </a>
- <div style="width: 900px; height: 500px; overflow: scroll"
- id="container4">
-
- <table id='gridTable2' height="100%">
- </table>
- </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
-
- </form>
- </body>
|