From 35fefed0792c40cb99b8d15fa5811bbb5992bff9 Mon Sep 17 00:00:00 2001
From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139>
Date: 星期一, 21 一月 2019 10:42:24 +0800
Subject: [PATCH] 修改
---
gx_tieta/WebRoot/mobil/wcheckAccept.html | 24 ++++++++++++++++++++----
1 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/gx_tieta/WebRoot/mobil/wcheckAccept.html b/gx_tieta/WebRoot/mobil/wcheckAccept.html
index e8faef3..a27f417 100644
--- a/gx_tieta/WebRoot/mobil/wcheckAccept.html
+++ b/gx_tieta/WebRoot/mobil/wcheckAccept.html
@@ -203,6 +203,12 @@
,full: true
,anim: 4
,content: 'iframe/homeinfo1.html'
+ ,success: function() {
+ $('div[data-role=page]').hide();
+ }
+ ,end: function() {
+ $('div[data-role=page]').show();
+ }
});
layer.full(iframePopup);
// applyendyanshou(arr);
@@ -242,12 +248,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);
}
});
@@ -290,6 +297,12 @@
,full: true
,anim: 4
,content: 'iframe/seenhomeinfo.html'
+ ,success: function() {
+ $('div[data-role=page]').hide();
+ }
+ ,end: function() {
+ $('div[data-role=page]').show();
+ }
});
layer.full(iframePopup);
});
@@ -384,6 +397,7 @@
// 閫氳繃瀹℃壒璇锋眰
function exBattGroupAjax(data) {
// 璇锋眰鍚庡彴
+ loadshow();
$.ajax({
type: 'post'
,async: true
@@ -394,9 +408,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