|
|
|
@ -117,46 +117,53 @@
|
|
|
|
|
<div class="tablebox" id="table"> |
|
|
|
|
<table mat-table [dataSource]="tabledataSource" class="mat-elevation-z8"> |
|
|
|
|
<ng-container matColumnDef="state"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 10%;">预案状态</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 8%;">预案状态</th> |
|
|
|
|
<td mat-cell *matCellDef="let element"> |
|
|
|
|
<span class="add" *ngIf="element.isNewData">新增</span> |
|
|
|
|
<span class="weihu" *ngIf="!element.isNewData">维护更新</span> |
|
|
|
|
</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="unitname"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 10%;">预案名称</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 8%;">预案名称</th> |
|
|
|
|
<td mat-cell *matCellDef="let element">{{element.name}}</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="level"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 10%;">预案级别</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 8%;">预案级别</th> |
|
|
|
|
<td mat-cell *matCellDef="let element">{{element.planCategory=='6'?'国家级':'市级'}}</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="addname"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 10%;">添加人</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 8%;">添加人</th> |
|
|
|
|
<td mat-cell *matCellDef="let element">{{element.creatorName}}</td> |
|
|
|
|
</ng-container> |
|
|
|
|
|
|
|
|
|
<ng-container matColumnDef="addtime"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 10%;">添加时间</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 8%;">添加时间</th> |
|
|
|
|
<td mat-cell *matCellDef="let element">{{element.creationTime|date:'yyyy-MM-dd'}}</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="plantype"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 10%;">预案类型</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 8%;">预案类型</th> |
|
|
|
|
<td mat-cell *matCellDef="let element">{{element.disasterType}}</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="passstate"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 10%;">审核状态</th> |
|
|
|
|
<td mat-cell *matCellDef="let element">{{element.auditStatus=='8'?'未提交审核':element.auditStatus=='1'?'审核中':element.auditStatus=='2'?'审核通过':element.auditStatus=='4'? |
|
|
|
|
'审核退回':element.auditStatus=='16'?'初审通过':'初审驳回'}}</td> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 8%;">新增审核</th> |
|
|
|
|
<td mat-cell *matCellDef="let element"> |
|
|
|
|
{{element.newVerifyState}} |
|
|
|
|
<!-- {{element.auditStatus=='8'?'未提交审核':element.auditStatus=='1'?'审核中':element.auditStatus=='2'?'审核通过':element.auditStatus=='4'? |
|
|
|
|
'审核退回':element.auditStatus=='16'?'初审通过':'初审驳回'}} --> |
|
|
|
|
</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="isopen"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 10%;">是否公开</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 8%;">是否公开</th> |
|
|
|
|
<td mat-cell *matCellDef="let element">{{element.openRange}}</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="projectlevel"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 10%;">编制级别</th> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 8%;">编制级别</th> |
|
|
|
|
<td mat-cell *matCellDef="let element">{{element.planLevel=='1'?'总队':element.planLevel=='2'?'支队':element.planLevel=='4'?'大队':'中队'}}</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="weihustate"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 8%;">维护审核</th> |
|
|
|
|
<td mat-cell *matCellDef="let element">{{element.maintenanceVerifyState}}</td> |
|
|
|
|
</ng-container> |
|
|
|
|
<ng-container matColumnDef="operation"> |
|
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 20%;">操作</th> |
|
|
|
|
<td mat-cell *matCellDef="let element" style="white-space: nowrap;cursor: pointer;"> |
|
|
|
|