优化bug 给 物业公司 开通功能后,取消部分功能,保存后,无效,有时间复测

Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
java110 2022-10-21 09:54:27 +00:00 committed by Gitee
parent 3d8e5f9950
commit cb85ecd2ba
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -8,7 +8,7 @@
groupIds: [],
communityId: '',
name: '',
isAll: true,
isAll: false,
}
},
_initMethod: function() {
@ -61,7 +61,7 @@
groupIds: [],
communityId: '',
name: '',
isAll: true,
isAll: false,
};
},
changeEditAllCommunity: function() {
@ -116,13 +116,15 @@
}
};
//发送get请求
vc.http.apiGet('/menuGroupCommunity.listMenuGroupCommunity',
param,
function(json, res) {
let _propertyCompanyManageInfo = JSON.parse(json);
//$that.editPropertyCommunityInfo.menuGroups = _propertyCompanyManageInfo.data;
$that.editPropertyCommunityInfo.groupIds = [];
_propertyCompanyManageInfo.data.forEach(item => {
$that.editPropertyCommunityInfo.groupIds.push(item.gId);
})