You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 lines
2.8 KiB

  1. @{
  2. ViewBag.Title = "Form";
  3. Layout = "~/Views/Shared/_Form.cshtml";
  4. }
  5. <link href="~/Content/css/CommonReport/CommonReport.css" rel="stylesheet" />
  6. <script src="~/Content/js/CommonReport/CommonReport.js"></script>
  7. <style>
  8. .ui-jqgrid .ui-jqgrid-btable tbody tr.jqgrow td {
  9. overflow:hidden;
  10. }
  11. .DropMenu {
  12. position: absolute;
  13. display: block;
  14. top: 5px;
  15. right: 10px;
  16. opacity: 0.3;
  17. z-index: 888;
  18. }
  19. .DropMenuHidden {
  20. position: absolute;
  21. display: none;
  22. top: 5px;
  23. right: 10px;
  24. opacity: 0.2;
  25. z-index: 1;
  26. }
  27. .HiddenDiv {
  28. position: absolute;
  29. display: block;
  30. top: 5px;
  31. right: 10px;
  32. opacity: 0;
  33. z-index:1;
  34. }
  35. .ShowDiv {
  36. position: absolute;
  37. display: block;
  38. top: 5px;
  39. right: 10px;
  40. opacity: 1;
  41. background: #1abc9c;
  42. border: 2px solid #1abc9c;
  43. text-align:center;
  44. width:200px;
  45. z-index: 888;
  46. }
  47. </style>
  48. <script>
  49. var _MenuID = "";//菜单ID
  50. var _SourceID = "";//数据源ID
  51. var GunDongRate = 10000;
  52. var GunDongRow = 0;
  53. var DataF = 15*60;
  54. $(function () {
  55. });
  56. function btn_SetOtherOK()
  57. {
  58. // var dd = document.getElementById("SetDiv");
  59. var rrate = $("#GRate").val();
  60. var rhang = $("#GHang").val();
  61. var DataFalsh = $("#DataFalsh").val();
  62. GunDongRate = Number(rrate) * 1000;
  63. GunDongRow = Number(rhang);
  64. DataF = Number(DataFalsh);
  65. }
  66. function btn_SetOtherNO()
  67. {
  68. }
  69. </script>
  70. <form id="form1">
  71. <div >
  72. <table class="form">
  73. <tr>
  74. <th class="formTitle">数据刷新(秒):</th>
  75. <td>
  76. <input class="form-control" name="DataFalsh" id="DataFalsh" style="width: 50px" />
  77. </td>
  78. </tr>
  79. <tr>
  80. <th class="formTitle">滚动时间(秒):</th>
  81. <td>
  82. <input class="form-control" name="GRate" id="GRate" style="width: 50px" />
  83. </td>
  84. </tr>
  85. <tr>
  86. <th class="formTitle">滚动行数:</th>
  87. <td>
  88. <input class="form-control" name="GHang" id="GHang" style="width: 50px" />
  89. </td>
  90. </tr>
  91. <tr>
  92. <td></td>
  93. <td>
  94. <a authorize="yes" class="btn btn-primary dropdown-text" onclick="btn_SetOtherNO()"><i class="fa fa-close"></i></a>
  95. <a authorize="yes" class="btn btn-primary dropdown-text" onclick="btn_SetOtherOK()"><i class="fa fa-check"></i></a>
  96. </td>
  97. </tr>
  98. </table>
  99. </div>
  100. </form>