Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
beac8a9a14
|
@ -267,7 +267,14 @@
|
|||
let lastOrganizationId = this.currentUser.lastOrganizationId;
|
||||
let userRole = this.currentUser.userRoles.filter(r => r.sourceId === lastOrganizationId);
|
||||
if (userRole.length > 0) {
|
||||
if (userRole[0].roleId === "org_admin") {
|
||||
let isOrg_admin = false;
|
||||
userRole.forEach(row=>{
|
||||
if(row.roleId === "org_admin" ){
|
||||
isOrg_admin = true;
|
||||
return;
|
||||
}
|
||||
});
|
||||
if (isOrg_admin) {
|
||||
this.result = this.$post(url, this.condition, response => {
|
||||
let data = response.data;
|
||||
this.items = data.listObject;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 07951ba17aef6f29e50cfd68e40de3266f9a60cd
|
||||
Subproject commit 2115bd28a90854d2b6276a90878934715498c584
|
Loading…
Reference in New Issue