@ -35,7 +35,7 @@
<div class="nodebox">
<span class="name">{{ node.title }}</span>
<span class="operation">
<span (click)="addOr(node)">新增</span>
<span (click)="addOr(node)" *ngIf="!node.origin.isGasStation">新增</span>
<span (click)="editOr(node)">编辑</span>
<span (click)="deleteOr(node)">删除</span>
</span>
@ -70,7 +70,7 @@ export class OrganizationComponent implements OnInit {
addOr(node?: any) {
// console.log(node)
console.log(node)
const modal = this.modal.create({
nzTitle: node ? '新增组织机构' : '新增一级组织机构',
nzContent: AddorComponent,
@ -26,7 +26,7 @@
<th></th>
<th>账号</th>
<th>姓名</th>
<th>角色</th>
<th style="width:45%;">角色</th>
<th>所属机构</th>
<th>操作</th>
</tr>
@ -36,7 +36,7 @@
<td><img src="../../../assets/images/user.png" alt=""></td>
<td>{{ data.userName }}</td>
<td>{{ data.name }}</td>
<td>
<td nzBreakWord>
<span style="margin-right: 8px;" *ngFor="let item of data.roleNames">{{item}}</span>
</td>