mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化资产导入
This commit is contained in:
parent
a831040571
commit
2f3d052ca4
@ -60,15 +60,16 @@
|
|||||||
},
|
},
|
||||||
function(json, res) {
|
function(json, res) {
|
||||||
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
|
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
|
||||||
if (res.status == 200) {
|
let _json = JSON.parse(json);
|
||||||
|
if (_json.code == 0) {
|
||||||
//关闭model
|
//关闭model
|
||||||
vc.toast("处理成功");
|
vc.toast(_json.data);
|
||||||
$('#importOwnerRoomModel').modal('hide');
|
$('#importOwnerRoomModel').modal('hide');
|
||||||
// vc.jumpToPage('/#/pages/property/listOwner')
|
// vc.jumpToPage('/#/pages/property/listOwner')
|
||||||
vc.emit('room', 'listRoom', {});
|
vc.emit('room', 'listRoom', {});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
vc.toast(json, 10000);
|
vc.toast(_json.msg, 10000);
|
||||||
},
|
},
|
||||||
function(errInfo, error) {
|
function(errInfo, error) {
|
||||||
console.log('请求失败处理');
|
console.log('请求失败处理');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user