From 8432a8e816cfc48e8f3d50b97c1d90806d2195b7 Mon Sep 17 00:00:00 2001 From: whyclj <1525436766@qq.com> Date: 星期六, 29 十二月 2018 11:13:54 +0800 Subject: [PATCH] 手机端设备实时告警和设备历史告警页面中添加采集线告警和SD卡故障告警选项 --- gx_tieta/WebRoot/mobil/control.html | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gx_tieta/WebRoot/mobil/control.html b/gx_tieta/WebRoot/mobil/control.html index db8c133..f7861fb 100644 --- a/gx_tieta/WebRoot/mobil/control.html +++ b/gx_tieta/WebRoot/mobil/control.html @@ -65,8 +65,8 @@ 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){ + window.location.href="batt-approve-index.html"; }else{ window.location.href="testdata.html"; } @@ -200,7 +200,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