From 8fce91f5d14701f2eb058302b9f10d9e681a81da Mon Sep 17 00:00:00 2001
From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139>
Date: 星期五, 18 一月 2019 17:35:54 +0800
Subject: [PATCH] bug

---
 gx_tieta/WebRoot/mobil/control.html                     |    8 ++------
 gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit2.html |    6 +++---
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit2.html b/gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit2.html
index 752151f..55c099b 100644
--- a/gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit2.html
+++ b/gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit2.html
@@ -597,15 +597,15 @@
 					console.info(model);
 					if(model.code ==1){
 						alert("淇敼鎴愬姛");
-						//window.location.href="batt-unapproved.html"
+						window.location.href="batt-unapproved.html"
 					}else{
 						alert("淇敼澶辫触!");
-						//window.location.href="batt-unapproved.html"
+						window.location.href="batt-unapproved.html"
 					}		
 	        	},
 	        	error:function(){
 	        		alert("淇敼鐢垫睜缁勫け璐�!");
-	        		//window.location.href="batt-unapproved.html"
+	        		window.location.href="batt-unapproved.html"
 	        	}
  		});
  	}
diff --git a/gx_tieta/WebRoot/mobil/control.html b/gx_tieta/WebRoot/mobil/control.html
index 911f6ce..18b7daa 100644
--- a/gx_tieta/WebRoot/mobil/control.html
+++ b/gx_tieta/WebRoot/mobil/control.html
@@ -311,7 +311,7 @@
 	                var rs = JSON.parse(result.result);
 	               	console.info(rs);
 	                var sdStatus = (rs.data == 0)?'姝e父': '<span style="color: #FF0000">鏁呴殰</span>';
-	               	arrtdjifangstate .push(sdStatus);
+	               	arrtdjifangstate.push(sdStatus);
 	                //console.log(sdStatus);
 	               // status.setText('sdCard', "SD鍗$姸鎬侊細"+sdStatus);
 	               arrTd1.push(sdStatus);
@@ -358,11 +358,7 @@
 					alert(msg.signal);
 				}
 	    	},error:function(e){
-	    		var model = {
-	    			code:0,
-	    			data:e,
-	    			msg:'閫氫俊澶辫触'
-	    		};
+	    		alert("閫氳澶辫触");
 	    	} 				
 		});
 	}

--
Gitblit v1.9.1