mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
优化代码
This commit is contained in:
parent
cee59fe3c9
commit
69404238ff
@ -142,6 +142,10 @@
|
||||
};
|
||||
},
|
||||
_initTelMachine: function (_page, _row) {
|
||||
let _communityId = vc.getCurrentCommunity().communityId;
|
||||
if(!_communityId || _communityId == '-1'){
|
||||
return;
|
||||
}
|
||||
let param = {
|
||||
params: {
|
||||
page: 1,
|
||||
|
||||
@ -22,11 +22,13 @@
|
||||
},
|
||||
function (json, res) {
|
||||
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
|
||||
if (res.status == 200) {
|
||||
let _json = JSON.parse(json);
|
||||
vc.toast(_json.msg);
|
||||
if (_json.code == 0) {
|
||||
//关闭model
|
||||
$('#deleteSystemUserModel').modal('hide');
|
||||
vc.emit('systemUser', 'listSystemUser',{});
|
||||
vc.toast("删除成功");
|
||||
|
||||
return;
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user