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 | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gx_tieta/WebRoot/mobil/wcheckAccept.html b/gx_tieta/WebRoot/mobil/wcheckAccept.html index e8faef3..ae1c6fc 100644 --- a/gx_tieta/WebRoot/mobil/wcheckAccept.html +++ b/gx_tieta/WebRoot/mobil/wcheckAccept.html @@ -242,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); } }); @@ -384,6 +385,7 @@ // 閫氳繃瀹℃壒璇锋眰 function exBattGroupAjax(data) { // 璇锋眰鍚庡彴 + loadshow(); $.ajax({ type: 'post' ,async: true @@ -394,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