| | |
| | | white-space: nowrap;
|
| | | }
|
| | | .uncheck{
|
| | | background-color: #dddddde0!important;
|
| | | background-color: #ddd!important;
|
| | | color: #000!important;
|
| | | }
|
| | | .ui-btn-icon-right {
|
| | | padding-right: 8.5em;
|
| | | }
|
| | | .hbg{
|
| | | background-color:#ddd9;
|
| | | background-color:#ddd;
|
| | | }
|
| | | #battdata {
|
| | | background-color:#dddddd54
|
| | | background-color:#eee;
|
| | | }
|
| | | .ui-select .ui-btn select{
|
| | | width:77%;
|
| | |
| | | <input type="hidden" id="DisCurrMax" class="unable" data-mini="true" />
|
| | |
|
| | | <tr>
|
| | | <td>基站电话号码</td>
|
| | | <td>*基站电话号码</td>
|
| | | <td>
|
| | | <input type="text" id="station_phone" class="unable" data-mini="true" />
|
| | | </td>
|
| | |
| | |
|
| | | function battnumber(){
|
| | | var selected=''
|
| | | for(var i=1;i<=temp.length;i++){
|
| | | selected+= '<option '+'value='+i+'>'+"电池组"+i+'</option>'; |
| | | console.info(temp);
|
| | | if(temp.length>0){
|
| | | for(var i=0;i<temp.length;i++){
|
| | | selected+= '<option '+'value='+temp[i].binf.BattGroupName+'>'+temp[i].binf.BattGroupName+'</option>'; |
| | | }
|
| | | return $('#newbattnum').html(selected); |
| | | }
|
| | | return $('#newbattnum').html(selected); |
| | | }
|
| | |
|
| | | function creatBattView(index){
|
| | | var count=index+1
|
| | | ,battTitle='<div>'+'<h1 class="hbg">'+'电池组'+count+'</h1>'+
|
| | | ,battTitle='<div>'+'<h1 class="hbg">'+temp[index].binf.BattGroupName+'</h1>'+
|
| | | '<table class="layout-set">'+'<tbody>'/*+'<tr>'+'<td>'+'电池品牌'+'</td>'+'<td>'+'<fieldset data-role="controlgroup" data-type="horizontal" >'+'<select '+'id='+'battproducer'+index+' class="unable" '+'>'
|
| | | ,battBrand=selectedIndex(index)+'</select>'+'</fieldset>'+'</td>'+'</tr>'*/
|
| | | ,battBrand='<tr>'+'<td>'+'电池品牌'+'</td>'+'<td>'+'<input type="text" '+' class="unable" '+'id='+'battproducer'+index+' data-mini="true"'+'value='+'电池品牌'+count+' />'+'</td>'+'</tr>'
|
| | |
| | | //setTimes($("#startTestrecord"),'2000-01-01');
|
| | | //setTimes($("#endTestrecord"),new Date().format('yyyy-MM-dd'));
|
| | |
|
| | | installstartdata(temp);
|
| | | timeer = window.setTimeout(function() {
|
| | | installstartdata(temp);
|
| | | }, 4000); |
| | | //4秒刷新一次页面
|
| | | });
|
| | |
|
| | | function applyendyanshou(arr){ //申请验收
|
| | |
| | | });
|
| | |
|
| | | }
|
| | | // 设置浮充电压阀值/设置离线电压阀值 //
|
| | | // 设置浮充电压阀值/设置离线电压阀值 //
|
| | | function setFloatAndoutLine(index) {
|
| | | var monvolstd = "#MonVolStd"+index;
|
| | | var MonCount = "#MonCount" +index;
|
| | |
| | | }
|
| | |
|
| | | function getCookienumber(id){//输入ID,返回通讯计数。数据从缓存获取。
|
| | | //var a = getnumber();
|
| | | var a = getnumber();
|
| | | //console.info(a);
|
| | | if(getCookie("numberget")){
|
| | | var number = getCookie("numberget");
|
| | |
| | | }
|
| | | return 0;
|
| | | }
|
| | | function getnumber(){ //向获取所有通讯计数并存入缓存
|
| | | $.ajax({
|
| | | type: 'post',
|
| | | async: true,
|
| | | url: 'Battinf_applyAction!devCommNum',
|
| | | data: null,
|
| | | dataType: 'json',
|
| | | success:function(data) {
|
| | | data = JSON.parse(data.result);
|
| | | if(data.code==1){
|
| | | console.info(data.data);
|
| | | var json =JSON.stringify(data.data);
|
| | | setCookie("numberget",json);
|
| | | //return data.data; |
| | | }
|
| | | }
|
| | | });
|
| | | }
|
| | | |
| | | function getCookiediubao(id){ //丢包率
|
| | | if(getCookie("numberget")){
|
| | | var number = getCookie("numberget");
|