优化提示

This commit is contained in:
java110 2020-03-24 01:08:07 +08:00
parent 5fb560ffdd
commit 085c79a197
2 changed files with 7 additions and 7 deletions

View File

@ -243,13 +243,13 @@
return;
}
vc.message(json);
vc.toast(json);
},
function (errInfo, error) {
console.log('请求失败处理');
vc.message(errInfo);
vc.toast(errInfo);
});
},

View File

@ -107,7 +107,7 @@
_nextStep: function () {
var _currentData = vc.component.addAuditUserStepInfo.infos[vc.component.addAuditUserStepInfo.index];
if (_currentData == null || _currentData == undefined) {
vc.message("请选择或填写必选信息");
vc.toast("请选择或填写必选信息");
return;
}
vc.component.addAuditUserStepInfo.$step.nextStep();
@ -124,7 +124,7 @@
var _currentData = vc.component.addAuditUserStepInfo.infos[vc.component.addAuditUserStepInfo.index];
if (_currentData == null || _currentData == undefined) {
vc.message("请选择或填写必选信息");
vc.toast("请选择或填写必选信息");
return;
}
@ -139,17 +139,17 @@
function (json, res) {
if (res.status == 200) {
vc.message('处理成功', true);
vc.toast('处理成功', true);
//关闭model
vc.jumpToPage("/admin.html#/auditUserManage?" + vc.objToGetParam(JSON.parse(json)));
return;
}
vc.message(json);
vc.toast(json);
},
function (errInfo, error) {
console.log('请求失败处理');
vc.message(errInfo);
vc.toast(errInfo);
});
},
_notifyViewOrgInfoComponentData:function(){