windeditdata.jsp 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  4. <html>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  7. <link type="text/css" rel="stylesheet" href="<%=request.getContextPath() %>/pages/monitor/fslr/css/jquery.dragval-1.01.css" />
  8. <script src="<%=request.getContextPath() %>/resource/js/jquery.min.js" type="text/javascript"></script>
  9. <script src="<%=request.getContextPath() %>/resource/js/jquery-ui.min.js" type="text/javascript"></script>
  10. <script src="<%=request.getContextPath() %>/resource/js/jquery.dragval-1.0-pack.js" type="text/javascript"></script>
  11. <script type="text/javascript">
  12. function tqeditdata() {
  13. var fs = $("#tqfs").val();
  14. var edosid = "WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX_CI0261";
  15. $.ajax({
  16. url : "/matrix/editdata.action",
  17. type : "post",
  18. cache : false,
  19. dataType : "json",
  20. data : {"edosid":edosid,"fs":fs},
  21. async : false,
  22. ifModified : false,
  23. success : function() {
  24. alert("太旗风速补录成功,风速为"+fs+"m/s");
  25. }
  26. });
  27. }
  28. function yyeditdata() {
  29. var fs = $("#yyfs").val();
  30. var edosid = "GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX_CI0261";
  31. $.ajax({
  32. url : "/matrix/editdata.action",
  33. type : "post",
  34. cache : false,
  35. dataType : "json",
  36. data : {"edosid":edosid,"fs":fs},
  37. async : false,
  38. ifModified : false,
  39. success : function() {
  40. alert("右玉风速补录成功,风速为"+fs+"m/s");
  41. }
  42. });
  43. }
  44. function pleditdata() {
  45. var fs = $("#plfs").val();
  46. var edosid = "HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX_CI0261";
  47. $.ajax({
  48. url : "/matrix/editdata.action",
  49. type : "post",
  50. cache : false,
  51. dataType : "json",
  52. data : {"edosid":edosid,"fs":fs},
  53. async : false,
  54. ifModified : false,
  55. success : function() {
  56. alert("平鲁风速补录成功,风速为"+fs+"m/s");
  57. }
  58. });
  59. }
  60. function gleditdata() {
  61. var fs = $("#glfs").val();
  62. var edosid = "GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0261";
  63. $.ajax({
  64. url : "/matrix/editdata.action",
  65. type : "post",
  66. cache : false,
  67. dataType : "json",
  68. data : {"edosid":edosid,"fs":fs},
  69. async : false,
  70. ifModified : false,
  71. success : function() {
  72. alert("广灵风速补录成功,风速为"+fs+"m/s");
  73. }
  74. });
  75. }
  76. function hyeditdata() {
  77. var fs = $("#hyfs").val();
  78. var edosid = "HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX_CI0261";
  79. $.ajax({
  80. url : "/matrix/editdata.action",
  81. type : "post",
  82. cache : false,
  83. dataType : "json",
  84. data : {"edosid":edosid,"fs":fs},
  85. async : false,
  86. ifModified : false,
  87. success : function() {
  88. alert("浑源风速补录成功,风速为"+fs+"m/s");
  89. }
  90. });
  91. }
  92. </script>
  93. </head>
  94. <body>
  95. <div>
  96. <h1>太旗风电场</h1>
  97. <div id="WNS_FDC" class="Dragval">
  98. <input type="text" name="fs" value="" class="Output" id="tqfs"/><input type="button" value="风速补录" onClick="tqeditdata()" />
  99. </div>
  100. <script type="text/javascript">
  101. $(function() {
  102. $("#WNS_FDC").dragval({ step: 0.5, min: 0, max: 25, startValue: 0 });
  103. });
  104. </script>
  105. <h1>右玉风电场</h1>
  106. <div id="YY_FDC" class="Dragval">
  107. <input type="text" name="fs" value="" class="Output" id="yyfs"/> <input type="button" value="风速补录" onClick="yyeditdata()" />
  108. </div>
  109. <script type="text/javascript">
  110. $(function() {
  111. $("#YY_FDC").dragval({ step: 0.5, min: 0, max: 25, startValue: 0 });
  112. });
  113. </script>
  114. <h1>平鲁风电场</h1>
  115. <div id="PL_FDC" class="Dragval">
  116. <input type="text" name="" value="" class="Output" id="plfs"/><input type="button" value="风速补录" onClick="pleditdata()" />
  117. </div>
  118. <script type="text/javascript">
  119. $(function() {
  120. $("#PL_FDC").dragval({ step: 0.5, min: 0, max: 25, startValue: 0 });
  121. });
  122. </script>
  123. <h1>广灵风电场</h1>
  124. <div id="GL_FDC" class="Dragval">
  125. <input type="text" name="" value="" class="Output" id="glfs"/><input type="button" value="风速补录" onClick="gleditdata()" />
  126. </div>
  127. <script type="text/javascript">
  128. $(function() {
  129. $("#GL_FDC").dragval({ step: 0.5, min: 0, max: 25, startValue: 0 });
  130. });
  131. </script>
  132. <h1>浑源风电场</h1>
  133. <div id="HY_FDC" class="Dragval">
  134. <input type="text" name="" value="" class="Output" id="hyfs"/><input type="button" value="风速补录" onClick="hyeditdata()" />
  135. </div>
  136. <script type="text/javascript">
  137. $(function() {
  138. $("#HY_FDC").dragval({ step: 0.5, min: 0, max: 25, startValue: 0 });
  139. });
  140. </script>
  141. </div>
  142. </body>
  143. </html>