From c5f2e87c4d0fc18129cc05b866e647f681c8472f Mon Sep 17 00:00:00 2001
From: CJJ <Administrator@USER-20180117QL>
Date: 星期四, 20 十二月 2018 15:22:07 +0800
Subject: [PATCH] 修改

---
 gx_tieta/WebRoot/mobil/batt-approved.html |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/gx_tieta/WebRoot/mobil/batt-approved.html b/gx_tieta/WebRoot/mobil/batt-approved.html
index 8a90ac3..a588c78 100644
--- a/gx_tieta/WebRoot/mobil/batt-approved.html
+++ b/gx_tieta/WebRoot/mobil/batt-approved.html
@@ -123,7 +123,7 @@
 			</div>		
 		</div>   
 		
-		<input style="visibility:hidden" id="getnumber"  type="text" name="customer_area_id" >
+	
     </div>    
 	</div>
 </body>
@@ -193,9 +193,9 @@
 	 	//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;
@@ -213,6 +213,14 @@
 			}
 		}
 		return obj;
+	}
+	
+	function yanshou(check_en){
+		if(check_en==0){
+			return "鏈獙鏀�";
+		}else{
+			return "宸查獙鏀�";
+		}
 	}
 	// 鏌ヨ鍐呭
 	function searchBattLife(){
@@ -268,7 +276,7 @@
  					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>';
  					}
  				}

--
Gitblit v1.9.1