|
@@ -56,8 +56,26 @@ var app = new Vue({
|
|
|
if (res.code == 'success'){
|
|
if (res.code == 'success'){
|
|
|
$.toast(res.message, 'text');
|
|
$.toast(res.message, 'text');
|
|
|
}else if(res.code == 'exception'){
|
|
}else if(res.code == 'exception'){
|
|
|
|
|
+ //_this.getInfo()
|
|
|
|
|
+ //$.showLoading(res.message);
|
|
|
|
|
+ $.modal({
|
|
|
|
|
+ id: "apply",
|
|
|
|
|
+ title: "温馨提示",
|
|
|
|
|
+ text: res.message,
|
|
|
|
|
+ buttons: [
|
|
|
|
|
+ {
|
|
|
|
|
+ text: "取消", className: "default", onClick: function () {
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ text: "确认,前往完善", onClick: function () {
|
|
|
|
|
+ location.href = res.data.url;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ });
|
|
|
_this.getInfo()
|
|
_this.getInfo()
|
|
|
- $.showLoading(res.message);
|
|
|
|
|
}else{
|
|
}else{
|
|
|
if(type != 3 || (type == 3 && value == 0)){
|
|
if(type != 3 || (type == 3 && value == 0)){
|
|
|
setTimeout(function(){
|
|
setTimeout(function(){
|