| | |
| | | //id = 0;
|
| | | var number = getCookie("numberget");
|
| | | number = JSON.parse(number);
|
| | | console.info(number);
|
| | | //console.info(number);
|
| | | if(number[0].dev_id){
|
| | | console.info(number);
|
| | | //console.info(number);
|
| | | for(var i =0; i<number.length;i++){
|
| | | if(id == number[i].dev_id){
|
| | | return number[i].dev_commcount;
|
| | |
| | | }
|
| | | }
|
| | | return obj;
|
| | | }
|
| | | |
| | | function yanshou(check_en){
|
| | | if(check_en==0){
|
| | | return "未验收";
|
| | | }else{
|
| | | return "已验收";
|
| | | }
|
| | | }
|
| | | // 查询内容
|
| | | function searchBattLife(){
|
| | |
| | | arrTd[index++] = data[i].binf.BattInUseDate.substr(0,10);
|
| | | arrTd[index++] = data[i].binf.install_user;
|
| | | arrTd[index++] = getCookienumber(data[i].binf.FBSDeviceId);
|
| | | arrTd[index++] = "";
|
| | | arrTd[index++] = yanshou(data[i].check_en);
|
| | | arrTd[index++]='<a onclick="getButIndex(this)" class="ui-btn ui-btn-inline ui-corner-all operat-but" data-position-to="window"'+'but-index='+i+'>电池组实时数据</a>';
|
| | | }
|
| | | }
|