Commit ea376401 authored by wangqinghua's avatar wangqinghua

update

parent 752f9630
...@@ -22,14 +22,14 @@ ...@@ -22,14 +22,14 @@
<div nz-col nzSpan="3"> <div nz-col nzSpan="3">
<button (click)="showAddModal()" nz-button nzType="default"><i class="anticon anticon-plus-circle-o"></i>新增事件</button> <button (click)="showAddModal()" nz-button nzType="default"><i class="anticon anticon-plus-circle-o"></i>新增事件</button>
</div> </div>
<div nz-col nzSpan="3"> <div nz-col nzSpan="2">
<nz-select style="width: 100%;" [(ngModel)]="obj.type" nzPlaceHolder="事件分类"> <nz-select style="width: 100%;" [(ngModel)]="obj.type" nzPlaceHolder="事件分类">
<ng-container *ngFor="let item of eventTypeList"> <ng-container *ngFor="let item of eventTypeList">
<nz-option [nzLabel]="item.name" [nzValue]="item.id"></nz-option> <nz-option [nzLabel]="item.name" [nzValue]="item.id"></nz-option>
</ng-container> </ng-container>
</nz-select> </nz-select>
</div> </div>
<div nz-col nzSpan="3"> <div nz-col nzSpan="2">
<nz-select style="width: 100%;" [(ngModel)]="obj.status" nzPlaceHolder="事件状态"> <nz-select style="width: 100%;" [(ngModel)]="obj.status" nzPlaceHolder="事件状态">
<nz-option nzLabel="待处理" nzValue="0"></nz-option> <nz-option nzLabel="待处理" nzValue="0"></nz-option>
<nz-option nzLabel="已结束" nzValue="1"></nz-option> <nz-option nzLabel="已结束" nzValue="1"></nz-option>
...@@ -56,6 +56,9 @@ ...@@ -56,6 +56,9 @@
<div nz-col nzSpan="4"> <div nz-col nzSpan="4">
<input type="text" nz-input [(ngModel)]="obj.searchStr" placeholder="事件编号/处理人"> <input type="text" nz-input [(ngModel)]="obj.searchStr" placeholder="事件编号/处理人">
</div> </div>
<div nz-col nzSpan="2">
<button (click)="search()" nz-button nzType="default"><i class="anticon anticon-search" style="color: #6097b7"></i>搜索</button>
</div>
</div> </div>
<nz-table #nzTable [nzData]="eventList" [nzFrontPagination]="false" [nzTotal]="totalNum" [nzPageIndex]="pageNum" [nzPageSize]="pageCount" (nzPageIndexChange)="change($event)"> <nz-table #nzTable [nzData]="eventList" [nzFrontPagination]="false" [nzTotal]="totalNum" [nzPageIndex]="pageNum" [nzPageSize]="pageCount" (nzPageIndexChange)="change($event)">
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
border-top: 1px solid #dddddd; border-top: 1px solid #dddddd;
} }
.search-form .ant-input{ .search-form .ant-input{
width: initial; width: 100%;
} }
.search-input .ant-input{ .search-input .ant-input{
width: 60%; width: 60%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment