From c88ddedda422835b2337a68a993db645f42f8458 Mon Sep 17 00:00:00 2001
From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139.mshome.net>
Date: 星期三, 09 一月 2019 09:59:16 +0800
Subject: [PATCH] 修改实时数据BUG

---
 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 71920ff..5b98709 100644
--- a/gx_tieta/WebRoot/mobil/control.html
+++ b/gx_tieta/WebRoot/mobil/control.html
@@ -68,7 +68,12 @@
 			if(batt.install_user||batt.install_user==0){
 				//console.info(batt);
 				if(batt.address||batt.address==""){
-					window.location.href="wcheckAccept-index.html";
+					console.info(batt.check_en);
+					if(batt.check_en==1){
+						window.location.href="hcheckAccpet-index.html";
+					}else{
+						window.location.href="wcheckAccept-index.html";
+					}
 				}else{
 					window.location.href="batt-approve-index.html";
 				}

--
Gitblit v1.9.1