From b6a01d3bf1c4d2a598a0a89503637e9b9bc932f9 Mon Sep 17 00:00:00 2001 From: hdw <hdw@192.168.7.127> Date: 星期三, 16 一月 2019 14:01:45 +0800 Subject: [PATCH] 手机端更新单元格数据 --- gx_tieta/WebRoot/mobil/control.html | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gx_tieta/WebRoot/mobil/control.html b/gx_tieta/WebRoot/mobil/control.html index ec9d6b4..a8de8a7 100644 --- a/gx_tieta/WebRoot/mobil/control.html +++ b/gx_tieta/WebRoot/mobil/control.html @@ -29,7 +29,7 @@ <a href="voltageM.html" target="_top">1.鍗曚綋鐢靛帇 </a> </li> - <li> + <!--<li> <a href="temperatureM.html" target="_top">2.娓╁害 </a> </li> <li> @@ -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