From fa00382db413a8489d07983b66f0869305b51a9a Mon Sep 17 00:00:00 2001 From: 81041 <81041@DESKTOP-025NVD9> Date: 星期五, 11 一月 2019 11:35:54 +0800 Subject: [PATCH] 批量读取系统参数 --- gx_tieta/WebRoot/mobil/control.html | 22 ++++++++++++++++------ 1 files changed, 16 insertions(+), 6 deletions(-) diff --git a/gx_tieta/WebRoot/mobil/control.html b/gx_tieta/WebRoot/mobil/control.html index db8c133..5b98709 100644 --- a/gx_tieta/WebRoot/mobil/control.html +++ b/gx_tieta/WebRoot/mobil/control.html @@ -19,7 +19,7 @@ <div data-role="page"> <div data-role="header" data-position="fixed"> <a id= "return" class="ui-btn ui-corner-all ui-shadow ui-icon-back ui-btn-icon-left" target="_top" style="padding-top:0.7em;padding-bottom:0.7em;">杩斿洖</a> - <h1>瀹炴椂鈥旀娴嬫暟鎹�</h1> + <h1 id="biaoti">瀹炴椂鈥旀娴嬫暟鎹�</h1> </div> <div data-role="content"> @@ -46,7 +46,7 @@ </li> --> </ul> <div data-role="collapsible" data-collapsed="false"> - <h1>鐢垫睜缁勭姸鎬�</h1> + <h1 id="zhuangtai">鐢垫睜缁勭姸鎬�</h1> <div class="tbl-container"></div> </div> </div> @@ -65,8 +65,18 @@ var temp = getCookie("batt"); var batt = JSON.parse(temp); console.info(batt); - if(batt.install_user){ - window.location.href="batt-approved.html"; + if(batt.install_user||batt.install_user==0){ + //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"; } @@ -151,7 +161,7 @@ }else{ arrTd.push("------"); } - + $("#zhuangtai").find("a").text("鐢垫睜缁勭姸鎬�("+batt.BattGroupName+")"); createTbl(tbl, arrTh, arrTd); window.clearTimeout(timeer); timeer = window.setTimeout(function() { @@ -200,7 +210,7 @@ {url: 'testdata.html', txt: '鐢垫睜缁勬暟鎹�'}, // 鐢垫睜缁勬暟鎹� {url: 'javascript:;', txt: '瀹炴椂-鐩戞祴鏁版嵁'} // 鐢垫睜缁勬暟鎹� ];*/ - if(batt.install_user){ + if(batt.install_user||batt.install_user==0){ }else{ addBreadCrumb($('.breadcrumb').eq(0), data); -- Gitblit v1.9.1