gayear.jsp 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813
  1. <%@ page language="java" contentType="text/html;charset=utf-8"%>
  2. <%@include file="/pages/includes/taglibs.jsp"%>
  3. <head>
  4. <script type="text/javascript"
  5. src="<%=request.getContextPath()%>/resource/js/jquery-1.8.3.js">
  6. </script>
  7. <link rel="stylesheet"
  8. href="<%=request.getContextPath()%>/resource/css/ztree/zTreeStyle.css"
  9. type="text/css">
  10. <script
  11. src="<%=request.getContextPath()%>/resource/js/ztree/jquery.ztree.all.min.js"
  12. type="text/javascript">
  13. </script>
  14. <script
  15. src="<%=request.getContextPath()%>/resource/js/datePicker/WdatePicker.js"
  16. type="text/javascript">
  17. </script>
  18. <script type="text/ecmascript"
  19. src="<%=request.getContextPath()%>/resource/plugin/jqgrid/js/jquery.jqGrid.min.js">
  20. </script>
  21. <script type="text/ecmascript"
  22. src="<%=request.getContextPath()%>/resource/plugin/jqgrid/js/i18n/grid.locale-cn.js">
  23. </script>
  24. <script type="text/ecmascript"
  25. src="<%=request.getContextPath()%>/resource/js/system/jqdatagrid.js">
  26. </script>
  27. <link rel="stylesheet" type="text/css"
  28. href="<%=request.getContextPath()%>/resource/plugin/jqueryui/css/custom-theme/jquery-ui-1.9.2.custom.css" />
  29. <link rel="stylesheet" type="text/css" media="screen"
  30. href="<%=request.getContextPath()%>/resource/plugin/jqgrid/css/ui.jqgrid.css" />
  31. <script
  32. src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts.src.js"
  33. type="text/javascript">
  34. </script>
  35. <script
  36. src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts-more.js">
  37. </script>
  38. <script type="text/javascript"
  39. src="<%=request.getContextPath()%>/resource/plugin/highslide/highslide-with-html.js">
  40. </script>
  41. <link rel="stylesheet" type="text/css"
  42. href="<%=request.getContextPath()%>/resource/plugin/highslide/highslide.css" />
  43. <style type="text/css">
  44. .normal {
  45. border-right-style: solid;
  46. border-bottom-style: solid;
  47. border-left-style: solid;
  48. border-top-style: solid;
  49. border-top-color: #ffffff;
  50. border-left-color: #f1f1f1;
  51. border-right-color: #f1f1f1;
  52. border-bottom-color: #f1f1f1;
  53. border-width: 1px;
  54. width: 100px;
  55. height: 28px;
  56. float: left;
  57. margin-top: -1px;
  58. cursor: pointer;
  59. text-align: center;
  60. line-height: 28px;
  61. overflow: hidden;
  62. font-weight: bold;
  63. font-size: 12px;
  64. font-family: tahoma, arial, verdana, sans-serif;
  65. }
  66. .disable {
  67. border-right-style: solid;
  68. border-bottom-style: solid;
  69. border-left-style: solid;
  70. border-top-style: solid;
  71. border-top-color: #f1f1f1;
  72. border-left-color: #f1f1f1;
  73. border-right-color: #f1f1f1;
  74. border-bottom-color: #f1f1f1;
  75. border-width: 1px;
  76. width: 100px;
  77. height: 25px;
  78. float: left;
  79. margin-top: -1px;
  80. cursor: pointer;
  81. text-align: center;
  82. background-color: #e1e1e1;
  83. line-height: 25px;
  84. overflow: hidden;
  85. font-weight: bold;
  86. font-size: 12px;
  87. font-family: tahoma, arial, verdana, sans-serif;
  88. }
  89. .panelcontainer {
  90. width: 100%;
  91. height: 70px;
  92. border-style: solid;
  93. border-color: #f1f1f1;
  94. border-width: 1px;
  95. }
  96. .panelquery {
  97. width: 100%;
  98. height: 25px;
  99. background-color: #f1f1f1;
  100. line-height: 25px;
  101. }
  102. .panelquerytext {
  103. margin-left: 3px;
  104. font-weight: bold;
  105. font-size: 12px;
  106. font-family: tahoma, arial, verdana, sans-serif;
  107. }
  108. .querycondcontainer {
  109. line-height: 39px;
  110. padding: 3px;
  111. float: left;
  112. font-size: 12px;
  113. }
  114. a { /* 统一设置所以样式 */
  115. font-family: Arial;
  116. font-size: 12px;
  117. text-align: center;
  118. margin: 3px;
  119. }
  120. a:link,a:visited { /* 超链接正常状态、被访问过的样式 */
  121. color: #000000;
  122. padding: 4px 10px 4px 10px;
  123. background-color: #f1f1f1;
  124. text-decoration: none;
  125. border-top: 1px solid #EEEEEE; /* 边框实现阴影效果 */
  126. border-left: 1px solid #EEEEEE;
  127. border-bottom: 1px solid #717171;
  128. border-right: 1px solid #717171;
  129. }
  130. a:hover { /* 鼠标指针经过时的超链接 */
  131. color: #821818; /* 改变文字颜色 */
  132. padding: 5px 8px 3px 12px; /* 改变文字位置 */
  133. background-color: #e2c4c9; /* 改变背景色 */
  134. border-top: 1px solid #717171; /* 边框变换,实现“按下去”的效果 */
  135. border-left: 1px solid #717171;
  136. border-bottom: 1px solid #EEEEEE;
  137. border-right: 1px solid #EEEEEE;
  138. }
  139. </style>
  140. <script type="text/javascript">
  141. hs.graphicsDir = '<%=request.getContextPath()%>/resource/plugin/highslide/graphics/';
  142. hs.outlineType = 'rounded-white';
  143. hs.wrapperClassName = 'draggable-header';
  144. var options2;
  145. var chart2;
  146. function showDiv() {
  147. var hc = $("#container");
  148. return hs.htmlExpand(hc[0], {
  149. contentId : "showDiv",
  150. width : 640,
  151. height : 480,
  152. align : 'center',
  153. headingText : '年单机等级信息对比'
  154. });
  155. }
  156. function getCheatName(gaid1, gaid2) {
  157. var year = $("#year").val();
  158. var tid = $("#tid").val();
  159. var url = 'chartqName.action?pid=' + gaid1;
  160. $.ajax( {
  161. type : "post",
  162. url : url,
  163. dataType : "json",
  164. success : function(data) {
  165. if (data.length != 0) {
  166. options2.xAxis.categories = eval(data);
  167. createPolarChat(gaid1, gaid2);
  168. }
  169. }
  170. });
  171. }
  172. function createPolarChat(gaid1, gaid2) {
  173. var url = "/gradeassessyear/chartqData.action?pid=" + gaid1;
  174. $.ajax( {
  175. url : url,
  176. type : "post",
  177. cache : false,
  178. dataType : "json",
  179. data : {},
  180. ifModified : false,
  181. success : function(result) {
  182. var value1 = [];
  183. if (result != null) {
  184. $.each(result, function(m, obj) {
  185. if (obj.value != null) {
  186. value1.push(parseFloat(obj.value));
  187. }
  188. });
  189. if (null != options2.series[0]) {
  190. options2.series[0].data = value1;
  191. url = "/gradeassessyear/chartqData.action?pid=" + gaid2;
  192. $.ajax( {
  193. url : url,
  194. type : "post",
  195. cache : false,
  196. dataType : "json",
  197. data : {},
  198. ifModified : false,
  199. success : function(result) {
  200. var value1 = [];
  201. if (result != null) {
  202. $.each(result, function(m, obj) {
  203. if (obj.value != null) {
  204. value1.push(parseFloat(obj.value));
  205. }
  206. });
  207. if (null != options2.series[1]) {
  208. options2.series[1].data = value1;
  209. chart2 = new Highcharts.Chart(options2);
  210. }
  211. }
  212. }
  213. });
  214. }
  215. }
  216. }
  217. });
  218. }
  219. function contrast() {
  220. var arr = $("#gridTable").jqGrid('getGridParam', 'selarrrow');
  221. var i = 0;
  222. var gaid1, gaid2;
  223. $.each(arr, function(n, value) {
  224. var temp = $("#gridTable").jqGrid('getCell', value, 'wtid');
  225. var tempgaid = $("#gridTable").jqGrid('getCell', value, 'id');
  226. if (i == 0) {
  227. wt1 = temp;
  228. gaid1 = tempgaid;
  229. options2.series[0].name = wt1;
  230. } else if (i == 1) {
  231. gaid2 = tempgaid;
  232. wt2 = temp;
  233. options2.series[1].name = wt2;
  234. }
  235. i++;
  236. })
  237. if (i > 2) {
  238. alert("一次最多能选择两台风机!");
  239. return false;
  240. } else if (i < 2) {
  241. alert("请选择两台风机!");
  242. return false;
  243. }
  244. getCheatName(gaid1, gaid2);
  245. showDiv();
  246. }
  247. var queryType = "fc";
  248. var setting = {
  249. check : {
  250. enable : true,
  251. chkStyle : "radio"
  252. },
  253. view : {
  254. dblClickExpand : false
  255. },
  256. data : {
  257. simpleData : {
  258. enable : true
  259. }
  260. },
  261. callback : {
  262. beforeClick : beforeClickWindfarm,
  263. onCheck : selectWindfarm
  264. },
  265. async : {
  266. enable : true,
  267. url : "/power/windfarmAjax.action",
  268. dataType : "json"
  269. }
  270. };
  271. function beforeClickWindfarm(treeId, treeNode) {
  272. var zTree = $.fn.zTree.getZTreeObj(treeId);
  273. zTree.checkNode(treeNode, !treeNode.checked, null, true);
  274. return false;
  275. }
  276. function showWindfarm() {
  277. var cityObj = $("#windfarm");
  278. var cityOffset = $("#windfarm").offset();
  279. $("#menuWindfarm").css( {
  280. left : cityOffset.left + "px",
  281. top : cityOffset.top + cityObj.outerHeight() + "px"
  282. }).slideDown("fast");
  283. $("body").bind("mousedown", onBodyDown);
  284. changeFc();
  285. }
  286. function showLine() {
  287. if (wpids == "") {
  288. alert("请选择风场!");
  289. return;
  290. }
  291. var setting1 = {
  292. check : {
  293. enable : true,
  294. chkStyle : "radio"
  295. },
  296. view : {
  297. dblClickExpand : false
  298. },
  299. data : {
  300. simpleData : {
  301. enable : true
  302. }
  303. },
  304. callback : {
  305. beforeClick : beforeClickWindfarm,
  306. onCheck : selectXl
  307. },
  308. async : {
  309. enable : true,
  310. url : "/power/lineAjax.action?wpIds=" + wpids,
  311. dataType : "json"
  312. }
  313. };
  314. $.fn.zTree.init($("#treeXl"), setting1);
  315. var cityObj = $("#line");
  316. var cityOffset = $("#line").offset();
  317. $("#menuXl").css( {
  318. left : cityOffset.left + "px",
  319. top : cityOffset.top + cityObj.outerHeight() + "px"
  320. }).slideDown("fast");
  321. $("body").bind("mousedown", onBodyDown);
  322. lines = '';
  323. $("#line").val("");
  324. changeFc();
  325. //$("#menuWindfarm").fadeOut("fas
  326. }
  327. function showProject() {
  328. if (wpids == "") {
  329. alert("请选择风场!");
  330. return;
  331. }
  332. var setting3 = {
  333. check : {
  334. enable : true,
  335. chkStyle : "radio"
  336. },
  337. view : {
  338. dblClickExpand : false
  339. },
  340. data : {
  341. simpleData : {
  342. enable : true
  343. }
  344. },
  345. callback : {
  346. beforeClick : beforeClickWindfarm,
  347. onCheck : selectPj
  348. },
  349. async : {
  350. enable : true,
  351. url : "/power/projectAjax.action?wpIds=" + wpids,
  352. dataType : "json"
  353. }
  354. };
  355. $.fn.zTree.init($("#treePj"), setting3);
  356. var cityObj = $("#project");
  357. var cityOffset = $("#project").offset();
  358. $("#menuPj").css( {
  359. left : cityOffset.left + "px",
  360. top : cityOffset.top + cityObj.outerHeight() + "px"
  361. }).slideDown("fast");
  362. $("body").bind("mousedown", onBodyDown);
  363. pjIds = '';
  364. $("#project").val("");
  365. changeFc();
  366. }
  367. function hideMenuWindfarm() {
  368. $("#menuWindfarm").fadeOut("fast");
  369. }
  370. var wpids = "";
  371. function selectWindfarm(e, treeId, treeNode) {
  372. var zTree = $.fn.zTree.getZTreeObj("treeWindfarm"), nodes = zTree
  373. .getCheckedNodes(true);
  374. v = "";
  375. d = "";
  376. for ( var i = 0, l = nodes.length; i < l; i++) {
  377. v += nodes[i].name + ",";
  378. d += nodes[i].id + ",";
  379. }
  380. if (v.length > 0)
  381. v = v.substring(0, v.length - 1);
  382. if (d.length > 0)
  383. d = d.substring(0, d.length - 1);
  384. wpids = d;
  385. var cityObj = $("#windfarm");
  386. cityObj.attr("value", v);
  387. lines = '';
  388. pjIds = '';
  389. $("#project").val("");
  390. $("#line").val("");
  391. changeFc();
  392. //$("#menuWindfarm").fadeOut("fast");
  393. }
  394. var lines = "";
  395. function selectXl(e, treeId, treeNode) {
  396. var zTree = $.fn.zTree.getZTreeObj("treeXl"), nodes = zTree
  397. .getCheckedNodes(true);
  398. v = "";
  399. d = "";
  400. for ( var i = 0, l = nodes.length; i < l; i++) {
  401. v += nodes[i].name + ",";
  402. d += nodes[i].id + ",";
  403. }
  404. if (v.length > 0)
  405. v = v.substring(0, v.length - 1);
  406. if (d.length > 0)
  407. d = d.substring(0, d.length - 1);
  408. lines = d;
  409. var cityObj = $("#line");
  410. cityObj.attr("value", v);
  411. changeFc();
  412. //$("#menuXl").fadeOut("fast");
  413. }
  414. var pjIds = "";
  415. function selectPj(e, treeId, treeNode) {
  416. var zTree = $.fn.zTree.getZTreeObj("treePj"), nodes = zTree
  417. .getCheckedNodes(true);
  418. v = "";
  419. d = "";
  420. for ( var i = 0, l = nodes.length; i < l; i++) {
  421. v += nodes[i].name + ",";
  422. d += nodes[i].id + ",";
  423. }
  424. if (v.length > 0)
  425. v = v.substring(0, v.length - 1);
  426. if (d.length > 0)
  427. d = d.substring(0, d.length - 1);
  428. pjIds = d;
  429. var cityObj = $("#project");
  430. cityObj.attr("value", v);
  431. changeFc();
  432. //$("#menuXl").fadeOut("fast");
  433. }
  434. function hideMenuPj() {
  435. $("#menuPj").fadeOut("fast");
  436. }
  437. function hideMenuXl() {
  438. $("#menuXl").fadeOut("fast");
  439. }
  440. $(document).ready(
  441. function() {
  442. $.fn.zTree.init($("#treeWindfarm"), setting);
  443. initial();
  444. var year = $("#year").val();
  445. var tid = $("#tid").val();
  446. var url = 'yearbacklist.action?tid=' + tid + '&wpid=' + wpids
  447. + '&pjid=' + pjIds + '&lnid=' + lines + '&year=' + year;
  448. getCol(url);
  449. });
  450. function getCol(url) {
  451. getColNames(url);
  452. }
  453. function getColNames(url1) {
  454. var year = $("#year").val();
  455. var tid = $("#tid").val();
  456. var url = 'yearColNames.action?tid=' + tid + '&wpid=' + wpids + '&pjid='
  457. + pjIds + '&lnid=' + lines + '&year=' + year ;
  458. $.ajax( {
  459. type : "post",
  460. url : url,
  461. dataType : "json",
  462. success : function(data) {
  463. if (data.length != 0) {
  464. getColModel(eval(data), url1)
  465. }
  466. }
  467. });
  468. }
  469. function getColModel(name, url1) {
  470. var year = $("#year").val();
  471. var tid = $("#tid").val();
  472. var url = 'yearColModel.action?tid=' + tid + '&wpid=' + wpids + '&pjid='
  473. + pjIds + '&lnid=' + lines + '&year=' + year ;
  474. $.ajax( {
  475. type : "post",
  476. url : url,
  477. dataType : "json",
  478. success : function(data) {
  479. if (data.length != 0) {
  480. eval(data);
  481. showJqGrid(url1, name, eval(data));
  482. }
  483. }
  484. });
  485. }
  486. function onBodyDown(event) {
  487. if ((event.target.id != "windfarm" && event.target.id != "menuWindfarm" && $(
  488. event.target).parents("#menuWindfarm").length <= 0)) {
  489. hideMenuWindfarm();
  490. }
  491. if (!(event.target.id == "line" || event.target.id == "menuXl" || $(
  492. event.target).parents("#menuXl").length > 0)) {
  493. hideMenuXl();
  494. }
  495. if (!(event.target.id == "project" || event.target.id == "menuPj" || $(
  496. event.target).parents("#menuPj").length > 0)) {
  497. hideMenuPj();
  498. }
  499. }
  500. function queryApData() {
  501. $("#gridTable").jqGrid('GridUnload');
  502. var year = $("#year").val();
  503. var tid = $("#tid").val();
  504. if (wpids == "") {
  505. alert("请选择风场!");
  506. return;
  507. }
  508. if (tid == "") {
  509. alert("请选择指标体系!");
  510. return;
  511. }
  512. if (year == "") {
  513. alert("请选择年份!");
  514. return;
  515. }
  516. var url = 'yearlist.action?tid=' + tid + '&wpid=' + wpids + '&pjid='
  517. + pjIds + '&lnid=' + lines + '&year=' + year ;
  518. getCol(url);
  519. }
  520. function showJqGrid(url, name, model) {
  521. var id = 'gridTable';
  522. var datatype = 'json';
  523. var colNames = name;
  524. var colModel = model;
  525. var caption = '年单机等级评估列表';
  526. var sortname = 'wtid';
  527. var gridPagerID = 'gridPager';
  528. var sortorder = 'desc';
  529. var height = 'auto';
  530. var width = 'auto';
  531. var rownumbers = true;
  532. var multiselect = true;
  533. myJqGrid(id, url, datatype, colNames, colModel, caption, sortname,
  534. gridPagerID, sortorder, height, width, multiselect, rownumbers);
  535. }
  536. function initial() {
  537. $("#year").val("<s:property value='year'/>");
  538. $("#windfarm").val("${wpname}");
  539. wpids='<s:property value='wpid'/>';
  540. $("#project").val("${pjname}");
  541. pjIds='<s:property value='pjid'/>';
  542. $("#line").val("${lnname}");
  543. lines='<s:property value='lnid'/>';
  544. changeFc();
  545. $("#tid").val("<s:property value='tid'/>");
  546. /******************************************玫瑰图1***********************************************/
  547. options2 = {
  548. chart: {
  549. renderTo : 'fzy1',
  550. polar: true,
  551. type: 'area'
  552. },
  553. title: {
  554. text: '',
  555. x: 0
  556. },
  557. pane: {
  558. size: '80%'
  559. },
  560. xAxis: {
  561. categories: [],
  562. tickmarkPlacement: 'on',
  563. lineWidth: 0
  564. },
  565. yAxis: {
  566. gridLineInterpolation: 'polygon',
  567. lineWidth: 0,
  568. min: 0
  569. },
  570. tooltip: {
  571. shared: true,
  572. pointFormat: '<span style="color:{series.color}"> <b>{point.y:,.0f}</b><br/>'
  573. },
  574. series: [{
  575. name: '',
  576. data: [],
  577. pointPlacement: 'on'
  578. },{
  579. name: '',
  580. data: [],
  581. pointPlacement: 'on'
  582. }]
  583. }
  584. /******************************************玫瑰图1***********************************************/
  585. }
  586. function changeFc(){
  587. var url1 = '/gradeassessyear/tsAjax.action?wpid=' + wpids+ '&pjid=' + pjIds+ '&lnid=' + lines;
  588. $.ajax({
  589. type:"post",
  590. url:url1,
  591. dataType:"json",
  592. success: function(data){
  593. if(data.length != 0){
  594. eval(data);
  595. $("#tid").empty();
  596. //$("#tid").append("<option value=''>请选择</option>");
  597. for(var i=0; i<data.length; i++){
  598. $("#tid").append("<option value='"+data[i].id+"'>"+data[i].name+"</option>");
  599. }
  600. }else{
  601. $("#tid").empty();
  602. //$("#tid").append("<option value=''>请选择</option>");
  603. }
  604. }
  605. });
  606. }
  607. function displaybuttons(cellvalue, options, rawObject) {
  608. var mr = "<input type='button' value='定量指标' onclick=mr('"
  609. + rawObject.id + "')>";
  610. var nr = "<input type='button' value='定性指标' onclick=nr('"
  611. + rawObject.id + "')>";
  612. return "&nbsp;&nbsp;&nbsp;\t" + mr + "&nbsp;&nbsp;&nbsp;\t"
  613. + nr;
  614. };
  615. function mr(pid) {
  616. $("#f1").attr("action", "/gradeassessyear/gayearmrindex.action?pid="+pid+'&wpid=' + wpids+ '&pjid=' + pjIds+ '&lnid=' + lines
  617. ).submit();
  618. }
  619. function nr(pid) {
  620. $("#f1").attr("action", "/gradeassessyear/gayearnrindex.action?pid="+pid+'&wpid=' + wpids+ '&pjid=' + pjIds+ '&lnid=' + lines
  621. ).submit();
  622. }
  623. </script>
  624. </head>
  625. <body>
  626. <form action="" method="post" id="f1" style="width: 1620px;">
  627. <div class="panelcontainer" style="width: 1620px;">
  628. <div class="panelquery">
  629. <span class="panelquerytext">年单机等级评估</span>
  630. </div>
  631. <div class="querycondcontainer">
  632. 风场:
  633. <input id="windfarm" type="text" readonly value=""
  634. style="width: 150px;" onclick="showWindfarm();" />
  635. </div>
  636. <div id="pjpanel" class="querycondcontainer">
  637. 项目:
  638. <input id="project" type="text" readonly value=""
  639. style="width: 150px;" onclick="showProject();" />
  640. </div>
  641. <div id="xlpanel" class="querycondcontainer">
  642. 线路:
  643. <input id="line" type="text" readonly value="" style="width: 150px;"
  644. onclick="showLine();" />
  645. </div>
  646. <div id="targetpanel" class="querycondcontainer">
  647. 指标模型:
  648. <s:select list="tsls" listKey="id" listValue="name" id="tid"
  649. name="tid"></s:select>
  650. </div>
  651. <div class="querycondcontainer">
  652. 年份:
  653. <input type="text" style="width: 150px;" class="Wdate"
  654. onFocus="WdatePicker({dateFmt:'yyyy',isShowWeek:true,readOnly:true})"
  655. id="year" name="year" />
  656. </div>
  657. <div
  658. style="float: left; line-height: 39px; margin-left: 20px; width: 80px;">
  659. </div>
  660. <div
  661. style="float: left; line-height: 39px; margin-left: 20px; width: 80px;">
  662. <input type="button" value="评估" onClick="queryApData()" />
  663. </div>
  664. <div
  665. style="float: left; line-height: 39px; margin-left: 20px; width: 80px;">
  666. <input type="button" value="对比" onClick="contrast()" />
  667. </div>
  668. </div>
  669. <div id="menuWindfarm" class="menuContent"
  670. style="overflow-y: scroll; overflow-x: auto; z-index: 9999; border: 1px solid #617775; background: #f0f6e4; display: none; position: absolute;">
  671. <ul id="treeWindfarm" class="ztree"
  672. style="margin-top: 0; width: 180px; height: 300px;"></ul>
  673. </div>
  674. <div id="menuPj" class="menuContent"
  675. style="overflow-y: scroll; overflow-x: auto; z-index: 9999; border: 1px solid #617775; background: #f0f6e4; display: none; position: absolute;">
  676. <ul id="treePj" class="ztree"
  677. style="margin-top: 0; width: 180px; height: 300px;"></ul>
  678. </div>
  679. <div id="menuXl" class="menuContent"
  680. style="overflow-y: scroll; overflow-x: auto; z-index: 9999; border: 1px solid #617775; background: #f0f6e4; display: none; position: absolute;">
  681. <ul id="treeXl" class="ztree"
  682. style="margin-top: 0; width: 180px; height: 300px;"></ul>
  683. </div>
  684. <table id='gridTable'>
  685. </table>
  686. <div class="highslide-html-content" id="showDiv" style="width: 640;height: 480">
  687. <div class="highslide-header">
  688. <ul>
  689. <li class="highslide-move">
  690. <a href="#" onclick="return false">Move</a>
  691. </li>
  692. <li class="highslide-close" style="width: 18px;height: 0px;">
  693. <a href="#" onclick="return hs.close(this)" style="width: 0px;height: 5px;"></a>
  694. </li>
  695. </ul>
  696. </div>
  697. <div class="highslide-body" id="container" style="width: 600px;height: 480">
  698. <div id="fzy1" ></div>
  699. </div>
  700. </div>
  701. </form>
  702. </body>