| | |
| | | <tr>
|
| | | <td>机房编号</td>
|
| | | <td>
|
| | | <input type="text" id="StationId" data-mini="true" />
|
| | | <input type="text" id="StationId" class="unable" data-mini="true" />
|
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | |
| | | <tr>
|
| | | <td>FBS设备ID(重要)</td>
|
| | | <td>
|
| | | <input type="text" id="FBSDeviceId" data-mini="true" />
|
| | | <input type="text" id="FBSDeviceId" class="unable" data-mini="true" />
|
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | | <td>FBS设备IP(重要)</td>
|
| | | <td>
|
| | | <input type="text" id="FbsDeviceIp" data-mini="true" />
|
| | | <input type="text" id="FbsDeviceIp" class="unable" data-mini="true" />
|
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | |
| | | <tr>
|
| | | <td>网关</td>
|
| | | <td>
|
| | | <input type="text" id="FbsDeviceIp_WG" class="unable" data-mini="true" value="456"/>
|
| | | <input type="text" id="FbsDeviceIp_WG" class="unable" data-mini="true" value="456"/>
|
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | |
| | | <tr>
|
| | | <td>电池组ID</td>
|
| | | <td>
|
| | | <input type="text" readonly unselectable="on" value="123" id="BattGroupId" class="uncheck" data-mini="true" />
|
| | | <input type="text" readonly unselectable="on" value="123"class="unable" id="BattGroupId" class="uncheck" data-mini="true" />
|
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | | <td>机房内电池组编号</td>
|
| | | <td>
|
| | | <input type="text" readonly unselectable="on" value="123" id="BattGroupNum" class="uncheck" data-mini="true" />
|
| | | <input type="text" readonly unselectable="on" value="123" id="BattGroupNum" class="unable" class="uncheck" data-mini="true" />
|
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | |
| | | <tr>
|
| | | <td>离线电压阀值(V)</td>
|
| | | <td>
|
| | | <input type="text" id="OfflineVolLevel" data-mini="true" />
|
| | | <input type="text" id="OfflineVolLevel" data-mini="true" />
|
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | |
| | | }
|
| | |
|
| | | </script>
|
| | | <script type="text/javascript"> |
| | | $(function(){
|
| | | $(".unable").prop("readonly","readonly").attr("unselectable","on").addClass("uncheck");
|
| | | $("#sure").click(function(){ |
| | | addBatt(); |
| | | //function backpage(){window.location.href="ele-param1.html";}
|
| | | // setTimeout(backpage,500); |
| | | });
|
| | | // $("#cancel").click(function(){
|
| | | // window.location.href="ele-param1.html";
|
| | | // });
|
| | | });
|
| | | <script type="text/javascript"> |
| | | $(function(){
|
| | | $(".unable").prop("readonly","readonly").attr("unselectable","on").addClass("uncheck");
|
| | | $("#sure").click(function(){ |
| | | addBatt(); |
| | | //function backpage(){window.location.href="ele-param1.html";}
|
| | | // setTimeout(backpage,500); |
| | | });
|
| | | $("#cancel").click(function(){
|
| | | window.location.href="ele-param1.html";
|
| | | });
|
| | | });
|
| | |
|
| | | function addBatt(){
|
| | | var temp = JSON.stringify(getUpdateArr());
|
| | |
| | | data: "json="+temp,
|
| | | dataType: 'json',
|
| | | success:function(data) {
|
| | | data = JSON.parse(data.result);
|
| | | console.info(data);
|
| | | if(data.code==1){
|
| | | alert("添加成功");
|
| | | window.location.href="batt-unapproved.html";
|
| | | }else{
|
| | | alert("添加失败");
|
| | | window.location.href="batt-unapproved.html";
|
| | | }
|
| | | }
|
| | | });
|
| | | }
|