From e54a61163d39a5a429ef4756fcb34665b6c94abc Mon Sep 17 00:00:00 2001
From: 81041 <81041@DESKTOP-025NVD9>
Date: 星期三, 09 一月 2019 09:30:42 +0800
Subject: [PATCH] Merge branch 'dev_lxw' of https://gitlab.com/whyclxw1/gx_tieta.git into dev_lxw

---
 gx_tieta/WebRoot/mobil/control.html |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/gx_tieta/WebRoot/mobil/control.html b/gx_tieta/WebRoot/mobil/control.html
index ec9d6b4..71920ff 100644
--- a/gx_tieta/WebRoot/mobil/control.html
+++ b/gx_tieta/WebRoot/mobil/control.html
@@ -66,7 +66,12 @@
 			var batt = JSON.parse(temp);
 			console.info(batt);
 			if(batt.install_user||batt.install_user==0){
-				window.location.href="batt-approve-index.html";
+				//console.info(batt);
+				if(batt.address||batt.address==""){
+					window.location.href="wcheckAccept-index.html";
+				}else{
+					window.location.href="batt-approve-index.html";
+				}
 			}else{
 				window.location.href="testdata.html";
 			}

--
Gitblit v1.9.1