mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化代码
This commit is contained in:
parent
cee59fe3c9
commit
69404238ff
@ -142,6 +142,10 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
_initTelMachine: function (_page, _row) {
|
_initTelMachine: function (_page, _row) {
|
||||||
|
let _communityId = vc.getCurrentCommunity().communityId;
|
||||||
|
if(!_communityId || _communityId == '-1'){
|
||||||
|
return;
|
||||||
|
}
|
||||||
let param = {
|
let param = {
|
||||||
params: {
|
params: {
|
||||||
page: 1,
|
page: 1,
|
||||||
|
|||||||
@ -22,11 +22,13 @@
|
|||||||
},
|
},
|
||||||
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);
|
||||||
|
vc.toast(_json.msg);
|
||||||
|
if (_json.code == 0) {
|
||||||
//关闭model
|
//关闭model
|
||||||
$('#deleteSystemUserModel').modal('hide');
|
$('#deleteSystemUserModel').modal('hide');
|
||||||
vc.emit('systemUser', 'listSystemUser',{});
|
vc.emit('systemUser', 'listSystemUser',{});
|
||||||
vc.toast("删除成功");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user