From 13204c80645abbacd5d10e831ae456c84263361b Mon Sep 17 00:00:00 2001
From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139>
Date: 星期四, 10 一月 2019 11:47:39 +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