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/wcheckAccept.html |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/gx_tieta/WebRoot/mobil/wcheckAccept.html b/gx_tieta/WebRoot/mobil/wcheckAccept.html
index 2c992ad..ae1c6fc 100644
--- a/gx_tieta/WebRoot/mobil/wcheckAccept.html
+++ b/gx_tieta/WebRoot/mobil/wcheckAccept.html
@@ -110,8 +110,6 @@
 		</div>
 		<!-- 涓讳綋鍐呭 -->
 		<div data-role="main">
-			<div class="pre-page"><a href="#" class="ui-btn ui-corner-all ui-icon-carat-l ui-btn-icon-notext">鍥炬爣</a></div>
-			<div class="next-page"><a href="#" class="ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-notext">鍥炬爣</a></div>	
 			<!-- 琛ㄦ牸瀹瑰櫒 -->
 			<div class="tbl-container"></div>
 			<table data-role="table" class="ui-responsive ui-shadow" id="tab" >
@@ -244,12 +242,13 @@
 	 });
 		
 	$("#sure").click(function(){
-		 var temp = getCookie("wapproval");
-		temp = JSON.parse(temp);
+		// var temp = getCookie("wapproval");
+		//temp = JSON.parse(temp);
 		var data = temp;
-		if(data[i].check_en==0){
+		console.info(data);
+		if(data[0].check_en==0){//涓�涓熀绔欏唴鐨勬墍鏈夌數姹犵粍鍚屾椂鐢宠锛屽洜姝ゅ垽鏂竴缁勭數姹犵粍鐘舵�佸嵆鍙��
 			alert("鐜板満鏈彁浜ょ敵璇烽獙鏀�");
-		}else if(data[i].check_en==2){
+		}else if(data[0].check_en==2){
 			exBattGroupAjax(data);
 		}
 	});
@@ -386,6 +385,7 @@
 	// 閫氳繃瀹℃壒璇锋眰
 	function exBattGroupAjax(data) {
 		// 璇锋眰鍚庡彴
+		loadshow();
 		$.ajax({
 			type: 'post'
 			,async: true
@@ -396,9 +396,11 @@
 				var rs = JSON.parse(res.result);
 				// console.log(rs);
 				if(rs.code == 1) {
+					loadclose();
 					alert("纭楠屾敹鎴愬姛");
 					window.location.href="wcheckAccept-index.html";
 				}else {
+					loadclose();
 					alert('纭楠屾敹澶辫触');
 				}		
 			}

--
Gitblit v1.9.1