From a852102b1b3f30a420b02c0aca96f13d0886af8e Mon Sep 17 00:00:00 2001
From: whyclj <1525436766@qq.com>
Date: 星期三, 09 一月 2019 10:04:29 +0800
Subject: [PATCH] Merge branch 'dev_lxw' of https://whyclj@gitlab.com/whyclxw1/gx_tieta.git into dev_lxw
---
gx_tieta/WebRoot/mobil/control.html | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/gx_tieta/WebRoot/mobil/control.html b/gx_tieta/WebRoot/mobil/control.html
index ec9d6b4..5b98709 100644
--- a/gx_tieta/WebRoot/mobil/control.html
+++ b/gx_tieta/WebRoot/mobil/control.html
@@ -66,7 +66,17 @@
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==""){
+ 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";
+ }
}else{
window.location.href="testdata.html";
}
--
Gitblit v1.9.1