gamonth.jsp 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823
  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 month = $("#month").val();
  159. var tid = $("#tid").val();
  160. var url = 'chartqName.action?pid=' + gaid1;
  161. $.ajax( {
  162. type : "post",
  163. url : url,
  164. dataType : "json",
  165. success : function(data) {
  166. if (data.length != 0) {
  167. options2.xAxis.categories = eval(data);
  168. createPolarChat(gaid1, gaid2);
  169. }
  170. }
  171. });
  172. }
  173. function createPolarChat(gaid1, gaid2) {
  174. var url = "/gradeassess/chartqData.action?pid=" + gaid1;
  175. $.ajax( {
  176. url : url,
  177. type : "post",
  178. cache : false,
  179. dataType : "json",
  180. data : {},
  181. ifModified : false,
  182. success : function(result) {
  183. var value1 = [];
  184. if (result != null) {
  185. $.each(result, function(m, obj) {
  186. if (obj.value != null) {
  187. value1.push(parseFloat(obj.value));
  188. }
  189. });
  190. if (null != options2.series[0]) {
  191. options2.series[0].data = value1;
  192. url = "/gradeassess/chartqData.action?pid=" + gaid2;
  193. $.ajax( {
  194. url : url,
  195. type : "post",
  196. cache : false,
  197. dataType : "json",
  198. data : {},
  199. ifModified : false,
  200. success : function(result) {
  201. var value1 = [];
  202. if (result != null) {
  203. $.each(result, function(m, obj) {
  204. if (obj.value != null) {
  205. value1.push(parseFloat(obj.value));
  206. }
  207. });
  208. if (null != options2.series[1]) {
  209. options2.series[1].data = value1;
  210. chart2 = new Highcharts.Chart(options2);
  211. }
  212. }
  213. }
  214. });
  215. }
  216. }
  217. }
  218. });
  219. }
  220. function contrast() {
  221. var arr = $("#gridTable").jqGrid('getGridParam', 'selarrrow');
  222. var i = 0;
  223. var gaid1, gaid2;
  224. $.each(arr, function(n, value) {
  225. var temp = $("#gridTable").jqGrid('getCell', value, 'wtid');
  226. var tempgaid = $("#gridTable").jqGrid('getCell', value, 'id');
  227. if (i == 0) {
  228. wt1 = temp;
  229. gaid1 = tempgaid;
  230. options2.series[0].name = wt1;
  231. } else if (i == 1) {
  232. gaid2 = tempgaid;
  233. wt2 = temp;
  234. options2.series[1].name = wt2;
  235. }
  236. i++;
  237. })
  238. if (i > 2) {
  239. alert("一次最多能选择两台风机!");
  240. return false;
  241. } else if (i < 2) {
  242. alert("请选择两台风机!");
  243. return false;
  244. }
  245. getCheatName(gaid1, gaid2);
  246. showDiv();
  247. }
  248. var queryType = "fc";
  249. var setting = {
  250. check : {
  251. enable : true,
  252. chkStyle : "radio"
  253. },
  254. view : {
  255. dblClickExpand : false
  256. },
  257. data : {
  258. simpleData : {
  259. enable : true
  260. }
  261. },
  262. callback : {
  263. beforeClick : beforeClickWindfarm,
  264. onCheck : selectWindfarm
  265. },
  266. async : {
  267. enable : true,
  268. url : "/power/windfarmAjax.action",
  269. dataType : "json"
  270. }
  271. };
  272. function beforeClickWindfarm(treeId, treeNode) {
  273. var zTree = $.fn.zTree.getZTreeObj(treeId);
  274. zTree.checkNode(treeNode, !treeNode.checked, null, true);
  275. return false;
  276. }
  277. function showWindfarm() {
  278. var cityObj = $("#windfarm");
  279. var cityOffset = $("#windfarm").offset();
  280. $("#menuWindfarm").css( {
  281. left : cityOffset.left + "px",
  282. top : cityOffset.top + cityObj.outerHeight() + "px"
  283. }).slideDown("fast");
  284. $("body").bind("mousedown", onBodyDown);
  285. changeFc();
  286. }
  287. function showLine() {
  288. if (wpids == "") {
  289. alert("请选择风场!");
  290. return;
  291. }
  292. var setting1 = {
  293. check : {
  294. enable : true,
  295. chkStyle : "radio"
  296. },
  297. view : {
  298. dblClickExpand : false
  299. },
  300. data : {
  301. simpleData : {
  302. enable : true
  303. }
  304. },
  305. callback : {
  306. beforeClick : beforeClickWindfarm,
  307. onCheck : selectXl
  308. },
  309. async : {
  310. enable : true,
  311. url : "/power/lineAjax.action?wpIds=" + wpids,
  312. dataType : "json"
  313. }
  314. };
  315. $.fn.zTree.init($("#treeXl"), setting1);
  316. var cityObj = $("#line");
  317. var cityOffset = $("#line").offset();
  318. $("#menuXl").css( {
  319. left : cityOffset.left + "px",
  320. top : cityOffset.top + cityObj.outerHeight() + "px"
  321. }).slideDown("fast");
  322. $("body").bind("mousedown", onBodyDown);
  323. lines = '';
  324. $("#line").val("");
  325. changeFc();
  326. //$("#menuWindfarm").fadeOut("fas
  327. }
  328. function showProject() {
  329. if (wpids == "") {
  330. alert("请选择风场!");
  331. return;
  332. }
  333. var setting3 = {
  334. check : {
  335. enable : true,
  336. chkStyle : "radio"
  337. },
  338. view : {
  339. dblClickExpand : false
  340. },
  341. data : {
  342. simpleData : {
  343. enable : true
  344. }
  345. },
  346. callback : {
  347. beforeClick : beforeClickWindfarm,
  348. onCheck : selectPj
  349. },
  350. async : {
  351. enable : true,
  352. url : "/power/projectAjax.action?wpIds=" + wpids,
  353. dataType : "json"
  354. }
  355. };
  356. $.fn.zTree.init($("#treePj"), setting3);
  357. var cityObj = $("#project");
  358. var cityOffset = $("#project").offset();
  359. $("#menuPj").css( {
  360. left : cityOffset.left + "px",
  361. top : cityOffset.top + cityObj.outerHeight() + "px"
  362. }).slideDown("fast");
  363. $("body").bind("mousedown", onBodyDown);
  364. pjIds = '';
  365. $("#project").val("");
  366. changeFc();
  367. }
  368. function hideMenuWindfarm() {
  369. $("#menuWindfarm").fadeOut("fast");
  370. }
  371. var wpids = "";
  372. function selectWindfarm(e, treeId, treeNode) {
  373. var zTree = $.fn.zTree.getZTreeObj("treeWindfarm"), nodes = zTree
  374. .getCheckedNodes(true);
  375. v = "";
  376. d = "";
  377. for ( var i = 0, l = nodes.length; i < l; i++) {
  378. v += nodes[i].name + ",";
  379. d += nodes[i].id + ",";
  380. }
  381. if (v.length > 0)
  382. v = v.substring(0, v.length - 1);
  383. if (d.length > 0)
  384. d = d.substring(0, d.length - 1);
  385. wpids = d;
  386. var cityObj = $("#windfarm");
  387. cityObj.attr("value", v);
  388. lines = '';
  389. pjIds = '';
  390. $("#project").val("");
  391. $("#line").val("");
  392. changeFc();
  393. //$("#menuWindfarm").fadeOut("fast");
  394. }
  395. var lines = "";
  396. function selectXl(e, treeId, treeNode) {
  397. var zTree = $.fn.zTree.getZTreeObj("treeXl"), nodes = zTree
  398. .getCheckedNodes(true);
  399. v = "";
  400. d = "";
  401. for ( var i = 0, l = nodes.length; i < l; i++) {
  402. v += nodes[i].name + ",";
  403. d += nodes[i].id + ",";
  404. }
  405. if (v.length > 0)
  406. v = v.substring(0, v.length - 1);
  407. if (d.length > 0)
  408. d = d.substring(0, d.length - 1);
  409. lines = d;
  410. var cityObj = $("#line");
  411. cityObj.attr("value", v);
  412. changeFc();
  413. //$("#menuXl").fadeOut("fast");
  414. }
  415. var pjIds = "";
  416. function selectPj(e, treeId, treeNode) {
  417. var zTree = $.fn.zTree.getZTreeObj("treePj"), nodes = zTree
  418. .getCheckedNodes(true);
  419. v = "";
  420. d = "";
  421. for ( var i = 0, l = nodes.length; i < l; i++) {
  422. v += nodes[i].name + ",";
  423. d += nodes[i].id + ",";
  424. }
  425. if (v.length > 0)
  426. v = v.substring(0, v.length - 1);
  427. if (d.length > 0)
  428. d = d.substring(0, d.length - 1);
  429. pjIds = d;
  430. var cityObj = $("#project");
  431. cityObj.attr("value", v);
  432. changeFc();
  433. //$("#menuXl").fadeOut("fast");
  434. }
  435. function hideMenuPj() {
  436. $("#menuPj").fadeOut("fast");
  437. }
  438. function hideMenuXl() {
  439. $("#menuXl").fadeOut("fast");
  440. }
  441. $(document).ready(
  442. function() {
  443. $.fn.zTree.init($("#treeWindfarm"), setting);
  444. initial();
  445. var year = $("#year").val();
  446. var month = $("#month").val();
  447. var tid = $("#tid").val();
  448. var url = 'monthbacklist.action?tid=' + tid + '&wpid=' + wpids
  449. + '&pjid=' + pjIds + '&lnid=' + lines + '&year=' + year
  450. + '&month=' + month;
  451. getCol(url);
  452. });
  453. function getCol(url) {
  454. getColNames(url);
  455. }
  456. function getColNames(url1) {
  457. var year = $("#year").val();
  458. var month = $("#month").val();
  459. var tid = $("#tid").val();
  460. var url = 'monthColNames.action?tid=' + tid + '&wpid=' + wpids + '&pjid='
  461. + pjIds + '&lnid=' + lines + '&year=' + year + '&month=' + month;
  462. $.ajax( {
  463. type : "post",
  464. url : url,
  465. dataType : "json",
  466. success : function(data) {
  467. if (data.length != 0) {
  468. getColModel(eval(data), url1)
  469. }
  470. }
  471. });
  472. }
  473. function getColModel(name, url1) {
  474. var year = $("#year").val();
  475. var month = $("#month").val();
  476. var tid = $("#tid").val();
  477. var url = 'monthColModel.action?tid=' + tid + '&wpid=' + wpids + '&pjid='
  478. + pjIds + '&lnid=' + lines + '&year=' + year + '&month=' + month;
  479. $.ajax( {
  480. type : "post",
  481. url : url,
  482. dataType : "json",
  483. success : function(data) {
  484. if (data.length != 0) {
  485. eval(data);
  486. showJqGrid(url1, name, eval(data));
  487. }
  488. }
  489. });
  490. }
  491. function onBodyDown(event) {
  492. if ((event.target.id != "windfarm" && event.target.id != "menuWindfarm" && $(
  493. event.target).parents("#menuWindfarm").length <= 0)) {
  494. hideMenuWindfarm();
  495. }
  496. if (!(event.target.id == "line" || event.target.id == "menuXl" || $(
  497. event.target).parents("#menuXl").length > 0)) {
  498. hideMenuXl();
  499. }
  500. if (!(event.target.id == "project" || event.target.id == "menuPj" || $(
  501. event.target).parents("#menuPj").length > 0)) {
  502. hideMenuPj();
  503. }
  504. }
  505. function queryApData() {
  506. $("#gridTable").jqGrid('GridUnload');
  507. var year = $("#year").val();
  508. var month = $("#month").val();
  509. var tid = $("#tid").val();
  510. if (wpids == "") {
  511. alert("请选择风场!");
  512. return;
  513. }
  514. if (tid == "") {
  515. alert("请选择指标体系!");
  516. return;
  517. }
  518. if (year == "") {
  519. alert("请选择指年份!");
  520. return;
  521. }
  522. if (month == "") {
  523. alert("请选择月份!");
  524. return;
  525. }
  526. var url = 'monthlist.action?tid=' + tid + '&wpid=' + wpids + '&pjid='
  527. + pjIds + '&lnid=' + lines + '&year=' + year + '&month=' + month;
  528. getCol(url);
  529. }
  530. function showJqGrid(url, name, model) {
  531. var id = 'gridTable';
  532. var datatype = 'json';
  533. var colNames = name;
  534. var colModel = model;
  535. var caption = '月单机等级评估列表';
  536. var sortname = 'wtid';
  537. var gridPagerID = 'gridPager';
  538. var sortorder = 'desc';
  539. var height = 'auto';
  540. var width = 'auto';
  541. var rownumbers = true;
  542. var multiselect = true;
  543. myJqGrid(id, url, datatype, colNames, colModel, caption, sortname,
  544. gridPagerID, sortorder, height, width, multiselect, rownumbers);
  545. }
  546. function initial() {
  547. $("#year").val("<s:property value='year'/>");
  548. $("#month").val("<s:property value='month'/>");
  549. $("#windfarm").val("${wpname}");
  550. wpids='<s:property value='wpid'/>';
  551. $("#project").val("${pjname}");
  552. pjIds='<s:property value='pjid'/>';
  553. $("#line").val("${lnname}");
  554. lines='<s:property value='lnid'/>';
  555. changeFc();
  556. $("#tid").val("<s:property value='tid'/>");
  557. /******************************************玫瑰图1***********************************************/
  558. options2 = {
  559. chart: {
  560. renderTo : 'fzy1',
  561. polar: true,
  562. type: 'area'
  563. },
  564. title: {
  565. text: '',
  566. x: 0
  567. },
  568. pane: {
  569. size: '80%'
  570. },
  571. xAxis: {
  572. categories: [],
  573. tickmarkPlacement: 'on',
  574. lineWidth: 0
  575. },
  576. yAxis: {
  577. gridLineInterpolation: 'polygon',
  578. lineWidth: 0,
  579. min: 0
  580. },
  581. tooltip: {
  582. shared: true,
  583. pointFormat: '<span style="color:{series.color}"> <b>{point.y:,.0f}</b><br/>'
  584. },
  585. series: [{
  586. name: '',
  587. data: [],
  588. pointPlacement: 'on'
  589. },{
  590. name: '',
  591. data: [],
  592. pointPlacement: 'on'
  593. }]
  594. }
  595. /******************************************玫瑰图1***********************************************/
  596. }
  597. function changeFc(){
  598. var url1 = '/gradeassess/tsAjax.action?wpid=' + wpids+ '&pjid=' + pjIds+ '&lnid=' + lines;
  599. $.ajax({
  600. type:"post",
  601. url:url1,
  602. dataType:"json",
  603. success: function(data){
  604. if(data.length != 0){
  605. eval(data);
  606. $("#tid").empty();
  607. //$("#tid").append("<option value=''>请选择</option>");
  608. for(var i=0; i<data.length; i++){
  609. $("#tid").append("<option value='"+data[i].id+"'>"+data[i].name+"</option>");
  610. }
  611. }else{
  612. $("#tid").empty();
  613. //$("#tid").append("<option value=''>请选择</option>");
  614. }
  615. }
  616. });
  617. }
  618. function displaybuttons(cellvalue, options, rawObject) {
  619. var mr = "<input type='button' value='定量指标' onclick=mr('"
  620. + rawObject.id + "')>";
  621. var nr = "<input type='button' value='定性指标' onclick=nr('"
  622. + rawObject.id + "')>";
  623. return "&nbsp;&nbsp;&nbsp;\t" + mr + "&nbsp;&nbsp;&nbsp;\t"
  624. + nr;
  625. };
  626. function mr(pid) {
  627. $("#f1").attr("action", "/gradeassess/gamonthmrindex.action?pid="+pid+'&wpid=' + wpids+ '&pjid=' + pjIds+ '&lnid=' + lines
  628. ).submit();
  629. }
  630. function nr(pid) {
  631. $("#f1").attr("action", "/gradeassess/gamonthnrindex.action?pid="+pid+'&wpid=' + wpids+ '&pjid=' + pjIds+ '&lnid=' + lines
  632. ).submit();
  633. }
  634. </script>
  635. </head>
  636. <body>
  637. <form action="" method="post" id="f1" style="width: 1620px;">
  638. <div class="panelcontainer" style="width: 1620px;">
  639. <div class="panelquery">
  640. <span class="panelquerytext">月单机等级评估</span>
  641. </div>
  642. <div class="querycondcontainer">
  643. 风场:
  644. <input id="windfarm" type="text" readonly value=""
  645. style="width: 150px;" onclick="showWindfarm();" />
  646. </div>
  647. <div id="pjpanel" class="querycondcontainer">
  648. 项目:
  649. <input id="project" type="text" readonly value=""
  650. style="width: 150px;" onclick="showProject();" />
  651. </div>
  652. <div id="xlpanel" class="querycondcontainer">
  653. 线路:
  654. <input id="line" type="text" readonly value="" style="width: 150px;"
  655. onclick="showLine();" />
  656. </div>
  657. <div id="targetpanel" class="querycondcontainer">
  658. 指标模型:
  659. <s:select list="tsls" listKey="id" listValue="name" id="tid"
  660. name="tid"></s:select>
  661. </div>
  662. <div class="querycondcontainer">
  663. 年份:
  664. <input type="text" style="width: 150px;" class="Wdate"
  665. onFocus="WdatePicker({dateFmt:'yyyy',isShowWeek:true,readOnly:true})"
  666. id="year" name="year" />
  667. </div>
  668. <div class="querycondcontainer">
  669. 月份:
  670. <input type="text" style="width: 150px;" class="Wdate"
  671. onFocus="WdatePicker({dateFmt:'MM',isShowWeek:true,readOnly:true})"
  672. id="month" name="month" />
  673. </div>
  674. <div
  675. style="float: left; line-height: 39px; margin-left: 20px; width: 80px;">
  676. </div>
  677. <div
  678. style="float: left; line-height: 39px; margin-left: 20px; width: 80px;">
  679. <input type="button" value="评估" onClick="queryApData()" />
  680. </div>
  681. <div
  682. style="float: left; line-height: 39px; margin-left: 20px; width: 80px;">
  683. <input type="button" value="对比" onClick="contrast()" />
  684. </div>
  685. </div>
  686. <div id="menuWindfarm" class="menuContent"
  687. style="overflow-y: scroll; overflow-x: auto; z-index: 9999; border: 1px solid #617775; background: #f0f6e4; display: none; position: absolute;">
  688. <ul id="treeWindfarm" class="ztree"
  689. style="margin-top: 0; width: 180px; height: 300px;"></ul>
  690. </div>
  691. <div id="menuPj" class="menuContent"
  692. style="overflow-y: scroll; overflow-x: auto; z-index: 9999; border: 1px solid #617775; background: #f0f6e4; display: none; position: absolute;">
  693. <ul id="treePj" class="ztree"
  694. style="margin-top: 0; width: 180px; height: 300px;"></ul>
  695. </div>
  696. <div id="menuXl" class="menuContent"
  697. style="overflow-y: scroll; overflow-x: auto; z-index: 9999; border: 1px solid #617775; background: #f0f6e4; display: none; position: absolute;">
  698. <ul id="treeXl" class="ztree"
  699. style="margin-top: 0; width: 180px; height: 300px;"></ul>
  700. </div>
  701. <table id='gridTable'>
  702. </table>
  703. <div class="highslide-html-content" id="showDiv" style="width: 640;height: 480">
  704. <div class="highslide-header">
  705. <ul>
  706. <li class="highslide-move">
  707. <a href="#" onclick="return false">Move</a>
  708. </li>
  709. <li class="highslide-close" style="width: 18px;height: 0px;">
  710. <a href="#" onclick="return hs.close(this)" style="width: 0px;height: 5px;"></a>
  711. </li>
  712. </ul>
  713. </div>
  714. <div class="highslide-body" id="container" style="width: 600px;height: 480">
  715. <div id="fzy1" ></div>
  716. </div>
  717. </div>
  718. </form>
  719. </body>