mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化提示
This commit is contained in:
parent
5fb560ffdd
commit
085c79a197
@ -243,13 +243,13 @@
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
vc.message(json);
|
vc.toast(json);
|
||||||
|
|
||||||
},
|
},
|
||||||
function (errInfo, error) {
|
function (errInfo, error) {
|
||||||
console.log('请求失败处理');
|
console.log('请求失败处理');
|
||||||
|
|
||||||
vc.message(errInfo);
|
vc.toast(errInfo);
|
||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@ -107,7 +107,7 @@
|
|||||||
_nextStep: function () {
|
_nextStep: function () {
|
||||||
var _currentData = vc.component.addAuditUserStepInfo.infos[vc.component.addAuditUserStepInfo.index];
|
var _currentData = vc.component.addAuditUserStepInfo.infos[vc.component.addAuditUserStepInfo.index];
|
||||||
if (_currentData == null || _currentData == undefined) {
|
if (_currentData == null || _currentData == undefined) {
|
||||||
vc.message("请选择或填写必选信息");
|
vc.toast("请选择或填写必选信息");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
vc.component.addAuditUserStepInfo.$step.nextStep();
|
vc.component.addAuditUserStepInfo.$step.nextStep();
|
||||||
@ -124,7 +124,7 @@
|
|||||||
|
|
||||||
var _currentData = vc.component.addAuditUserStepInfo.infos[vc.component.addAuditUserStepInfo.index];
|
var _currentData = vc.component.addAuditUserStepInfo.infos[vc.component.addAuditUserStepInfo.index];
|
||||||
if (_currentData == null || _currentData == undefined) {
|
if (_currentData == null || _currentData == undefined) {
|
||||||
vc.message("请选择或填写必选信息");
|
vc.toast("请选择或填写必选信息");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -139,17 +139,17 @@
|
|||||||
function (json, res) {
|
function (json, res) {
|
||||||
if (res.status == 200) {
|
if (res.status == 200) {
|
||||||
|
|
||||||
vc.message('处理成功', true);
|
vc.toast('处理成功', true);
|
||||||
//关闭model
|
//关闭model
|
||||||
vc.jumpToPage("/admin.html#/auditUserManage?" + vc.objToGetParam(JSON.parse(json)));
|
vc.jumpToPage("/admin.html#/auditUserManage?" + vc.objToGetParam(JSON.parse(json)));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
vc.message(json);
|
vc.toast(json);
|
||||||
},
|
},
|
||||||
function (errInfo, error) {
|
function (errInfo, error) {
|
||||||
console.log('请求失败处理');
|
console.log('请求失败处理');
|
||||||
|
|
||||||
vc.message(errInfo);
|
vc.toast(errInfo);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
_notifyViewOrgInfoComponentData:function(){
|
_notifyViewOrgInfoComponentData:function(){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user