Browse Source

[完善]完善用户列表表格数据展示

dev
邵佳豪 3 years ago
parent
commit
58181ac294
  1. 2
      src/app/system-management/organization/organization.component.html
  2. 2
      src/app/system-management/organization/organization.component.ts
  3. 4
      src/app/system-management/user/user.component.html

2
src/app/system-management/organization/organization.component.html

@ -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>

2
src/app/system-management/organization/organization.component.ts

@ -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,

4
src/app/system-management/user/user.component.html

@ -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>
<td>

Loading…
Cancel
Save