mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化代码完成
This commit is contained in:
parent
f38004049f
commit
7055832c85
@ -109,15 +109,15 @@
|
||||
vc.emit('addVisitCase', 'clearInfo', '');
|
||||
if (res.status == 200 && _json.code == '0') {
|
||||
//关闭model
|
||||
vc.jumpToPage("/#/pages/property/visitManage?" + vc.objToGetParam(JSON.parse(json)));
|
||||
vc.toast(_json.msg);
|
||||
return;
|
||||
} else {
|
||||
//关闭model
|
||||
vc.jumpToPage("/#/pages/property/visitManage?" + vc.objToGetParam(JSON.parse(json)));
|
||||
vc.toast(_json.msg);
|
||||
//vc.jumpToPage("/#/pages/property/visitManage?" + vc.objToGetParam(JSON.parse(json)));
|
||||
vc.goBack();
|
||||
return;
|
||||
}
|
||||
//关闭model
|
||||
// vc.jumpToPage("/#/pages/property/visitManage?" + vc.objToGetParam(JSON.parse(json)));
|
||||
vc.toast(_json.msg);
|
||||
|
||||
},
|
||||
function(errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user