mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 14:17:54 +08:00
优化提示
This commit is contained in:
parent
8a8f6fabad
commit
5fb560ffdd
@ -109,13 +109,13 @@
|
||||
|
||||
return ;
|
||||
}
|
||||
vc.message(json);
|
||||
vc.toast(json);
|
||||
|
||||
},
|
||||
function(errInfo,error){
|
||||
console.log('请求失败处理');
|
||||
|
||||
vc.message(errInfo);
|
||||
vc.toast(errInfo);
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
@ -137,13 +137,13 @@
|
||||
|
||||
return;
|
||||
}
|
||||
vc.message(json);
|
||||
vc.toast(json);
|
||||
|
||||
},
|
||||
function(errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
|
||||
vc.message(errInfo);
|
||||
vc.toast(errInfo);
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
@ -123,13 +123,13 @@
|
||||
|
||||
return;
|
||||
}
|
||||
vc.message(json);
|
||||
vc.toast(json);
|
||||
|
||||
},
|
||||
function (errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
|
||||
vc.message(errInfo);
|
||||
vc.toast(errInfo);
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
_nextStep: function () {
|
||||
var _currentData = vc.component.addComplaintStepInfo.infos[vc.component.addComplaintStepInfo.index];
|
||||
if (_currentData == null || _currentData == undefined) {
|
||||
vc.message("请选择或填写必选信息");
|
||||
vc.toast("请选择或填写必选信息");
|
||||
return;
|
||||
}
|
||||
vc.component.addComplaintStepInfo.$step.nextStep();
|
||||
@ -60,7 +60,7 @@
|
||||
|
||||
var _currentData = vc.component.addComplaintStepInfo.infos[vc.component.addComplaintStepInfo.index];
|
||||
if (_currentData == null || _currentData == undefined) {
|
||||
vc.message("请选择或填写必选信息");
|
||||
vc.toast("请选择或填写必选信息");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -79,17 +79,17 @@
|
||||
function (json, res) {
|
||||
if (res.status == 200) {
|
||||
|
||||
vc.message('处理成功', true);
|
||||
vc.toast('处理成功', true);
|
||||
//关闭model
|
||||
vc.jumpToPage("/admin.html#/complaintManage?" + vc.objToGetParam(JSON.parse(json)));
|
||||
return;
|
||||
}
|
||||
vc.message(json);
|
||||
vc.toast(json);
|
||||
},
|
||||
function (errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
|
||||
vc.message(errInfo);
|
||||
vc.toast(errInfo);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@ -195,13 +195,13 @@
|
||||
|
||||
return;
|
||||
}
|
||||
vc.message(json);
|
||||
vc.toast(json);
|
||||
|
||||
},
|
||||
function(errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
|
||||
vc.message(errInfo);
|
||||
vc.toast(errInfo);
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
@ -216,13 +216,13 @@
|
||||
|
||||
return;
|
||||
}
|
||||
vc.message(json);
|
||||
vc.toast(json);
|
||||
|
||||
},
|
||||
function (errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
|
||||
vc.message(errInfo);
|
||||
vc.toast(errInfo);
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
@ -92,13 +92,13 @@
|
||||
|
||||
return;
|
||||
}
|
||||
vc.message(json);
|
||||
vc.toast(json);
|
||||
|
||||
},
|
||||
function (errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
|
||||
vc.message(errInfo);
|
||||
vc.toast(errInfo);
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
@ -87,13 +87,13 @@
|
||||
|
||||
return;
|
||||
}
|
||||
vc.message(json);
|
||||
vc.toast(json);
|
||||
|
||||
},
|
||||
function(errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
|
||||
vc.message(errInfo);
|
||||
vc.toast(errInfo);
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
@ -196,13 +196,13 @@
|
||||
|
||||
return;
|
||||
}
|
||||
vc.message(json);
|
||||
vc.toast(json);
|
||||
|
||||
},
|
||||
function (errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
|
||||
vc.message(errInfo);
|
||||
vc.toast(errInfo);
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user