xufenglei
2018-01-08 904bca110bbd3cd7775c7dcbfabf0447f03e4c91
src/app/routes/systems/account/account.component.html
@@ -61,7 +61,7 @@
   <nz-table   #nzTable
            [nzAjaxData]="data"
            [nzLoading]="http.loading"
            [nzLoading]="loading"
            [nzTotal]="total"
            [(nzPageIndex)]="query.pageIndex"
            [nzPageSize]="query.pageSize"
@@ -98,14 +98,14 @@
            <td nz-td>{{account.email}}</td>
            <td nz-td>{{account.weixin}}</td>
            <!-- <td nz-td>{{account.password}}</td> -->
            <td nz-td>{{account.organizationId}}</td>
            <td nz-td>{{account.organization?account.organization.name:account.organizationId}}</td>
            <td nz-td>{{format_date(account.createTime)}}</td>
            <td nz-td>{{format_date(account.expireTime)}}</td>
            <td nz-td>
               <a (click)="edit(account)">编辑</a>
               <ng-container *ngIf="account.isDelete == '0'">
                  <span nz-table-divider></span>
                  <nz-popconfirm  [nzTitle]="'确定要删除该数据吗?'" [nzOkText]="'Yes'" [nzCancelText]="'No'" (nzOnConfirm)="remove(account.id)" >
                  <nz-popconfirm  [nzTitle]="'确定要删除该数据吗?'" [nzOkText]="'Yes'" [nzCancelText]="'No'" (nzOnConfirm)="delete(account.id)" >
                     <a nz-popconfirm>删除</a>
                  </nz-popconfirm>
               </ng-container>