From 222b694609771d3f037b9098270f10d4b78d7b19 Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Mon, 18 Dec 2017 16:50:17 +0800 Subject: [PATCH] updates --- src/app/routes/users/installer/installer.component.html | 11 +---------- _mock/installer.service.ts | 2 +- src/app/routes/users/installer/installer.component.ts | 4 ---- 3 files changed, 2 insertions(+), 15 deletions(-) diff --git a/_mock/installer.service.ts b/_mock/installer.service.ts index ecaa6aa..a579dda 100644 --- a/_mock/installer.service.ts +++ b/_mock/installer.service.ts @@ -7,7 +7,7 @@ sex: ['���', '���'][i % 2], mobile: 13713713777 + i, email: `test_${i + 1}@test.com`, - weixin: 'test', + weixin: 'test' + (i + 1), password: 'ISGMyneATSuhkiwz4BURBQ==', organization: '������' + (i + 1), nickname: '������' + (i + 1), diff --git a/src/app/routes/users/installer/installer.component.html b/src/app/routes/users/installer/installer.component.html index ead720b..0f5ba69 100644 --- a/src/app/routes/users/installer/installer.component.html +++ b/src/app/routes/users/installer/installer.component.html @@ -29,16 +29,7 @@ <i class="anticon anticon-plus"></i><span>������</span> </button> <ng-container *ngIf="selectedRows.length > 0"> - <button nz-button [nzSize]="'large'">������������</button> - <nz-dropdown [nzPlacement]="'bottomLeft'"> - <button nz-button nz-dropdown [nzSize]="'large'"> - ������������ <i class="anticon anticon-down"></i> - </button> - <ul nz-menu> - <li nz-menu-item (click)="remove()">������</li> - <li nz-menu-item (click)="approval()">������������</li> - </ul> - </nz-dropdown> + <button nz-button [nzSize]="'large'" (click)="remove()">������������</button> </ng-container> </div> <div class="mb-md"> diff --git a/src/app/routes/users/installer/installer.component.ts b/src/app/routes/users/installer/installer.component.ts index 491c699..af60ea2 100644 --- a/src/app/routes/users/installer/installer.component.ts +++ b/src/app/routes/users/installer/installer.component.ts @@ -51,10 +51,6 @@ this.getData(); } - approval() { - this.msg.success(`��������� ${this.selectedRows.length} ���`); - } - checkAll(value: boolean) { this.curRows.forEach(i => { if (!i.disabled) i.checked = value; -- Gitblit v1.8.0