修改组织

This commit is contained in:
java110 2020-06-23 15:04:38 +08:00
parent 6b415444a0
commit 347d6b6f4b
2 changed files with 5 additions and 4 deletions

View File

@ -124,7 +124,8 @@
},
function (json, res) {
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
if (res.status == 200) {
let _json = JSON.parse(json)
if (_json.status == '0') {
//关闭model
$('#addSmallWeChatModel').modal('hide');
vc.component.clearAddSmallWeChatInfo();
@ -132,7 +133,7 @@
return;
}
vc.message(json);
vc.message(_json.msg);
},
function (errInfo, error) {

View File

@ -84,7 +84,7 @@
<td class="text-center">{{org.orgLevel == 1 ? '无' : org.parentOrgName}}</td>
<td class="text-right">
<div v-if="org.allowOperation == 'F' && org.belongCommunityId == '9999'">
隶属所有小区
下辖所有小区
</div>
<div class="btn-group" v-if="org.allowOperation == 'T'">
<button class="btn-white btn btn-xs" v-on:click="_openEditOrgModel(org)">
@ -98,7 +98,7 @@
</div>
<div class="btn-group" v-if="org.orgLevel == 2 && org.allowOperation == 'T'">
<button class="btn-white btn btn-xs" v-on:click="_openBeyondCommunity(org)">
隶属小区
下辖小区
</button>
</div>
</td>