From cc5b719da4ebddf4268c6e001cde7f5ffb56ca6d Mon Sep 17 00:00:00 2001
From: chenjingjing <chenjingjing@LAPTOP-E51P2139>
Date: 星期四, 27 十二月 2018 01:59:31 +0800
Subject: [PATCH] bug
---
gx_tieta/WebRoot/mobil/control.html | 20 +++++++++++++++++---
1 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/gx_tieta/WebRoot/mobil/control.html b/gx_tieta/WebRoot/mobil/control.html
index be1daec..89a59c9 100644
--- a/gx_tieta/WebRoot/mobil/control.html
+++ b/gx_tieta/WebRoot/mobil/control.html
@@ -18,7 +18,7 @@
<body>
<div data-role="page">
<div data-role="header" data-position="fixed">
- <a href="testdata.html" 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>
+ <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>
</div>
@@ -61,7 +61,16 @@
//findrtstate();
searchBattInfo();
});
-
+ $("#return").click(function(){
+ var temp = getCookie("batt");
+ var batt = JSON.parse(temp);
+ console.info(batt);
+ if(batt.install_user||batt.install_user==0){
+ window.location.href="batt-approved.html";
+ }else{
+ window.location.href="testdata.html";
+ }
+ });
var timeer ;
//鏍规嵁鐢垫睜缁刬d鏌ヨ鐢垫睜缁勪俊鎭�
/* function findrtstate(){
@@ -107,6 +116,7 @@
function searchBattInfo(){
var temp = getCookie("batt");
var batt = JSON.parse(temp);
+ console.info(batt);
arrTd = new Array();
$.ajax({
type: "post",
@@ -190,7 +200,11 @@
{url: 'testdata.html', txt: '鐢垫睜缁勬暟鎹�'}, // 鐢垫睜缁勬暟鎹�
{url: 'javascript:;', txt: '瀹炴椂-鐩戞祴鏁版嵁'} // 鐢垫睜缁勬暟鎹�
];*/
- addBreadCrumb($('.breadcrumb').eq(0), data);
+ if(batt.install_user||batt.install_user==0){
+
+ }else{
+ addBreadCrumb($('.breadcrumb').eq(0), data);
+ }
});
function sethoubeiTime(value){
--
Gitblit v1.9.1