From 774fa2344f4dc65cda90e4a0f4dac1ee7b56bafe Mon Sep 17 00:00:00 2001
From: whyclj <1525436766@qq.com>
Date: 星期六, 29 十二月 2018 11:17:28 +0800
Subject: [PATCH] web平台修改告警类型下拉框中添加设备的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