123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- <%@ page language="java" contentType="text/html; charset=utf-8"
- pageEncoding="utf-8"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <link type="text/css" rel="stylesheet" href="<%=request.getContextPath() %>/pages/monitor/fslr/css/jquery.dragval-1.01.css" />
- <script src="<%=request.getContextPath() %>/resource/js/jquery.min.js" type="text/javascript"></script>
- <script src="<%=request.getContextPath() %>/resource/js/jquery-ui.min.js" type="text/javascript"></script>
- <script src="<%=request.getContextPath() %>/resource/js/jquery.dragval-1.0-pack.js" type="text/javascript"></script>
- <script type="text/javascript">
- function tqeditdata() {
- var fs = $("#tqfs").val();
- var edosid = "WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX_CI0261";
- $.ajax({
- url : "/matrix/editdata.action",
- type : "post",
- cache : false,
- dataType : "json",
- data : {"edosid":edosid,"fs":fs},
- async : false,
- ifModified : false,
- success : function() {
- alert("太旗风速补录成功,风速为"+fs+"m/s");
- }
- });
-
-
-
-
-
- }
- function yyeditdata() {
- var fs = $("#yyfs").val();
- var edosid = "GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX_CI0261";
- $.ajax({
- url : "/matrix/editdata.action",
- type : "post",
- cache : false,
- dataType : "json",
- data : {"edosid":edosid,"fs":fs},
- async : false,
- ifModified : false,
- success : function() {
- alert("右玉风速补录成功,风速为"+fs+"m/s");
- }
- });
-
-
- }
- function pleditdata() {
- var fs = $("#plfs").val();
- var edosid = "HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX_CI0261";
- $.ajax({
- url : "/matrix/editdata.action",
- type : "post",
- cache : false,
- dataType : "json",
- data : {"edosid":edosid,"fs":fs},
- async : false,
- ifModified : false,
- success : function() {
- alert("平鲁风速补录成功,风速为"+fs+"m/s");
- }
- });
-
- }
- function gleditdata() {
- var fs = $("#glfs").val();
- var edosid = "GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0261";
- $.ajax({
- url : "/matrix/editdata.action",
- type : "post",
- cache : false,
- dataType : "json",
- data : {"edosid":edosid,"fs":fs},
- async : false,
- ifModified : false,
- success : function() {
- alert("广灵风速补录成功,风速为"+fs+"m/s");
- }
- });
-
- }
- function hyeditdata() {
- var fs = $("#hyfs").val();
- var edosid = "HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX_CI0261";
- $.ajax({
- url : "/matrix/editdata.action",
- type : "post",
- cache : false,
- dataType : "json",
- data : {"edosid":edosid,"fs":fs},
- async : false,
- ifModified : false,
- success : function() {
- alert("浑源风速补录成功,风速为"+fs+"m/s");
- }
- });
-
- }
-
- </script>
- </head>
- <body>
- <div>
- <h1>太旗风电场</h1>
- <div id="WNS_FDC" class="Dragval">
- <input type="text" name="fs" value="" class="Output" id="tqfs"/><input type="button" value="风速补录" onClick="tqeditdata()" />
- </div>
-
- <script type="text/javascript">
- $(function() {
- $("#WNS_FDC").dragval({ step: 0.5, min: 0, max: 25, startValue: 0 });
- });
- </script>
- <h1>右玉风电场</h1>
- <div id="YY_FDC" class="Dragval">
- <input type="text" name="fs" value="" class="Output" id="yyfs"/> <input type="button" value="风速补录" onClick="yyeditdata()" />
- </div>
- <script type="text/javascript">
- $(function() {
- $("#YY_FDC").dragval({ step: 0.5, min: 0, max: 25, startValue: 0 });
- });
- </script>
-
- <h1>平鲁风电场</h1>
- <div id="PL_FDC" class="Dragval">
- <input type="text" name="" value="" class="Output" id="plfs"/><input type="button" value="风速补录" onClick="pleditdata()" />
- </div>
- <script type="text/javascript">
- $(function() {
- $("#PL_FDC").dragval({ step: 0.5, min: 0, max: 25, startValue: 0 });
- });
- </script>
-
- <h1>广灵风电场</h1>
- <div id="GL_FDC" class="Dragval">
- <input type="text" name="" value="" class="Output" id="glfs"/><input type="button" value="风速补录" onClick="gleditdata()" />
- </div>
- <script type="text/javascript">
- $(function() {
- $("#GL_FDC").dragval({ step: 0.5, min: 0, max: 25, startValue: 0 });
- });
- </script>
-
- <h1>浑源风电场</h1>
- <div id="HY_FDC" class="Dragval">
- <input type="text" name="" value="" class="Output" id="hyfs"/><input type="button" value="风速补录" onClick="hyeditdata()" />
- </div>
- <script type="text/javascript">
- $(function() {
- $("#HY_FDC").dragval({ step: 0.5, min: 0, max: 25, startValue: 0 });
- });
- </script>
-
-
- </div>
- </body>
- </html>
|