Commit b9c2a0fd authored by wangqinghua's avatar wangqinghua

确认完成

parent 2f600756
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<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="2"> <div nz-col nzSpan="3">
<nz-select nzAllowClear style="width: 100%;" [(ngModel)]="obj.type" nzPlaceHolder="事件分类"> <nz-select nzAllowClear 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>
...@@ -30,14 +30,15 @@ ...@@ -30,14 +30,15 @@
</div> </div>
<div nz-col nzSpan="2"> <div nz-col nzSpan="2">
<nz-select nzAllowClear style="width: 100%;" [(ngModel)]="obj.status" nzPlaceHolder="事件状态"> <nz-select nzAllowClear 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="2"></nz-option>
<nz-option nzLabel="已结束" nzValue="1"></nz-option>
</nz-select> </nz-select>
</div> </div>
<div nz-col nzSpan="3"> <div nz-col nzSpan="2">
<nz-select nzAllowClear style="width: 100%;" [(ngModel)]="obj.source" nzPlaceHolder="事件来源"> <nz-select nzAllowClear style="width: 100%;" [(ngModel)]="obj.source" 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>
</nz-select> </nz-select>
</div> </div>
<div nz-col nzSpan="8"> <div nz-col nzSpan="8">
...@@ -77,7 +78,7 @@ ...@@ -77,7 +78,7 @@
{{data.id}} {{data.id}}
</td> </td>
<td> <td>
{{data.title}} {{data.title}}
</td> </td>
<td>{{data.createTime | date:"yyyy-MM-dd HH:mm:ss"}}</td> <td>{{data.createTime | date:"yyyy-MM-dd HH:mm:ss"}}</td>
<td> <td>
...@@ -92,12 +93,13 @@ ...@@ -92,12 +93,13 @@
</td> </td>
<td> <td>
<span *ngIf="data.status == 0">待处理</span> <span *ngIf="data.status == 0">待处理</span>
<span *ngIf="data.status == 2">待确认</span>
<span *ngIf="data.status == 1">已结束</span> <span *ngIf="data.status == 1">已结束</span>
</td> </td>
<td class="handle text-center main-color"> <td class="handle text-center main-color">
<span *ngIf="data.status == 1" (click)="lookEvent(data)">查看</span> <span *ngIf="data.status == 1" (click)="lookEvent(data)">查看</span>
<span *ngIf="data.status == 0" (click)="goToHandle(data)">处理</span> <span *ngIf="data.status == 0 || data.status == 2" (click)="goToHandle(data)">处理</span>
<span *ngIf="data.status == 0" (click)="showTransforModal(data)">转派</span> <span *ngIf="data.status == 0 " (click)="showTransforModal(data)">转派</span>
<span (click)="deleteHandle(data)">删除</span> <span (click)="deleteHandle(data)">删除</span>
</td> </td>
</tr> </tr>
...@@ -106,4 +108,4 @@ ...@@ -106,4 +108,4 @@
<!--转派--> <!--转派-->
<smart-transfor #smartTransfor (done)="getList()"></smart-transfor> <smart-transfor #smartTransfor (done)="getList()"></smart-transfor>
<!--新增事件--> <!--新增事件-->
<smart-event #smartEvent (done)="getList()"></smart-event> <smart-event #smartEvent (done)="getList()"></smart-event>
\ No newline at end of file
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