Commit c48c4012 by 朱继来

Merge branch 'zjl_pay_refund_20190123' into development

parents cd3cc24f 6aa4cf90
Showing with 48 additions and 16 deletions
......@@ -420,7 +420,9 @@
location.reload();
// layer.close();
} else {
layer.alert(resp.errmsg);
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
},
error:function(){
......@@ -505,7 +507,9 @@
location.reload();
}, 1000);
} else {
layer.alert(resp.errmsg || '网络异常');
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
})
return false;
......@@ -538,7 +542,9 @@
location.reload();
return false;
} else {
layer.alert(resp.errmsg);
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
},
error:function(){
......@@ -616,7 +622,9 @@
location.reload();
return false;
} else {
layer.alert(resp.errmsg);
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
},
error:function(){
......@@ -661,7 +669,9 @@
btn: [],
})
} else {
layer.alert(resp.errmsg || '网络异常')
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
},
error: function(err) {
......@@ -711,7 +721,9 @@
if(resp.errcode == 0){
location.href = url;
} else {
layer.alert(resp.errmsg || '网络异常')
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
}
});
......@@ -767,7 +779,9 @@
if(resp.errcode == 0){
location.href = url;
} else {
layer.alert(resp.errmsg || '网络异常')
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
}
});
......@@ -847,7 +861,9 @@
if(resp.errcode == 0){
location.reload();
} else {
layer.msg(resp.errmsg || '网络异常');
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
}
})
......@@ -922,7 +938,9 @@
location.reload();
return false;
} else {
layer.alert(resp.errmsg || '异常');
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
}
});
......@@ -1524,7 +1542,9 @@
location.href = url;
}, 1000);
} else {
layer.alert(resp.errmsg || '网络异常');
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
},
......@@ -1547,7 +1567,9 @@
location.href = url;
}, 1000);
} else {
layer.alert(resp.errmsg || '网络异常');
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
},
......@@ -1630,7 +1652,9 @@
location.reload();
}, 1000);
} else {
layer.alert(resp.errmsg || '网络异常');
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
},
error: function(err) {
......@@ -1665,7 +1689,9 @@
location.reload();
}, 1000);
} else {
layer.alert(resp.errmsg || '网络异常');
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
},
error: function(err) {
......@@ -1686,7 +1712,9 @@
location.reload();
}, 1000);
} else {
layer.alert(resp.errmsg || '网络异常');
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
},
error: function(err) {
......@@ -1753,7 +1781,9 @@
location.reload();
return false;
} else {
layer.alert(resp.errmsg);
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
},
error:function(){
......@@ -1922,7 +1952,9 @@
location.href = '/details/' + order_id; // 退款列表
}, 1000);
} else {
layer.alert(resp.errmsg || '网络异常');
layer.alert(resp.errmsg || '网络异常', function(){
location.reload();
});
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment