|
|
|
@ -4,22 +4,22 @@
|
|
|
|
|
<form (ngSubmit)="onSubmit(form.value)" #form="ngForm"> |
|
|
|
|
<div class="headdiv" style="margin-top: 30px;"> |
|
|
|
|
<span>操作类型:</span> |
|
|
|
|
<!-- <input type="radio" name="level" value="1"><span>全部</span> |
|
|
|
|
<input type="radio" name="level" style="margin-left: 50px;" value="2"><span>更新</span> |
|
|
|
|
<input type="radio" name="level" style="margin-left: 50px;" value="3"><span>新增</span> |
|
|
|
|
<input type="radio" name="level" style="margin-left: 50px;" value="4"><span>删除</span> --> |
|
|
|
|
<mat-radio-group name='aaa' [(ngModel)]="level" style="position: relative;bottom: 3px;"> |
|
|
|
|
<mat-radio-button class='radio' style="margin-left: 3px;" value="1">全部</mat-radio-button> |
|
|
|
|
<mat-radio-button style="margin-left: 20px;height: 10px;" value="2">更新</mat-radio-button> |
|
|
|
|
<mat-radio-button style="margin-left: 20px;" value="3">新增</mat-radio-button> |
|
|
|
|
<mat-radio-button style="margin-left: 20px;" value="4">删除</mat-radio-button> |
|
|
|
|
</mat-radio-group> |
|
|
|
|
<span style="margin-left: 120px;">共计:80条</span> |
|
|
|
|
<input type="radio" name="level" value="" [(ngModel)]="level"><span>全部</span> |
|
|
|
|
<input type="radio" name="level" style="margin-left: 50px;" value="1" [(ngModel)]="level"><span>更新</span> |
|
|
|
|
<input type="radio" name="level" style="margin-left: 50px;" value="0" [(ngModel)]="level"><span>新增</span> |
|
|
|
|
<input type="radio" name="level" style="margin-left: 50px;" value="2" [(ngModel)]="level"><span>删除</span> |
|
|
|
|
<!-- <mat-radio-group name='aaa' [(ngModel)]="level" style="position: relative;bottom: 3px;"> |
|
|
|
|
<mat-radio-button class='radio' style="margin-left: 3px;" value="" >全部</mat-radio-button> |
|
|
|
|
<mat-radio-button style="margin-left: 20px;height: 10px;" value="1">更新</mat-radio-button> |
|
|
|
|
<mat-radio-button style="margin-left: 20px;" value="0">新增</mat-radio-button> |
|
|
|
|
<mat-radio-button style="margin-left: 20px;" value="2">删除</mat-radio-button> |
|
|
|
|
</mat-radio-group> --> |
|
|
|
|
<span style="margin-left: 100px;">共计:{{count}}条</span> |
|
|
|
|
</div> |
|
|
|
|
<div class="headthree"> |
|
|
|
|
<span>类型:</span> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<mat-select placeholder='请选择单位类型' name="unittype" [(ngModel)]="level"> |
|
|
|
|
<mat-select placeholder='请选择单位类型' name="unittype" [(ngModel)]="projectlevel"> |
|
|
|
|
<mat-option value="1">Ⅰ级预案</mat-option> |
|
|
|
|
<mat-option value="2">Ⅱ级预案</mat-option> |
|
|
|
|
<mat-option value="3">Ⅲ级预案</mat-option> |
|
|
|
@ -32,12 +32,12 @@
|
|
|
|
|
</mat-form-field> |
|
|
|
|
<span style="margin-left: 30px;">编制级别:</span> |
|
|
|
|
<mat-form-field> |
|
|
|
|
<mat-select name="preparelevel" placeholder='请选择编制级别' [(ngModel)]="projectlevel"> |
|
|
|
|
<mat-select name="preparelevel" placeholder='请选择编制级别' [(ngModel)]="PlanLevel"> |
|
|
|
|
<mat-option *ngFor="let item of preparelevels" [value]="item.value">{{item.name}}</mat-option> |
|
|
|
|
</mat-select> |
|
|
|
|
</mat-form-field> |
|
|
|
|
<button mat-raised-button color="primary" style="margin-left: 40px;" type="submit" >查询</button> |
|
|
|
|
<button mat-raised-button color="primary" style="margin-left: 20px;"><img src="../../../assets/images/refresh.png" (click)='record()' > 刷新</button> |
|
|
|
|
<button mat-raised-button color="primary" style="margin-left: 20px;" (click)='record()'><img src="../../../assets/images/refresh.png" > 刷新</button> |
|
|
|
|
</div> |
|
|
|
|
</form> |
|
|
|
|
|
|
|
|
@ -54,15 +54,17 @@
|
|
|
|
|
</table> |
|
|
|
|
<div class="tbodycss" id="tbodydiv" > |
|
|
|
|
<table cellspacing="0" cellpadding="0" id="table" > |
|
|
|
|
<tr *ngFor="let item of tableDate;let key = index" (click)='tableClick($event,key)'> |
|
|
|
|
<tr *ngFor="let item of tableDate;let key = index" > |
|
|
|
|
<td style="width: 15%;"> |
|
|
|
|
<mat-checkbox color="primary" ></mat-checkbox> |
|
|
|
|
{{item.contentType=='3'?'预案':''}}</td> |
|
|
|
|
<td style="width: 15%;" [ngClass]="{'green': item.option == '更新','red':item.option == '删除','blue':item.option == '新增'}">{{item.option}}</td> |
|
|
|
|
<input type="radio" name="yuan" value={{item.id}} [(ngModel)]="checked" (click)='radioClick(item)'> |
|
|
|
|
{{item.contentType=='1'?'Ⅰ级预案':item.contentType=='2'?'Ⅱ级预案':item.contentType=='3'?'Ⅲ级预案':item.contentType=='4'?'Ⅳ级预案':item.contentType=='5'? |
|
|
|
|
'Ⅴ级预案':item.contentType=='6'?'应急预案(国家级)':item.contentType=='7'?'应急预案(市级)':item.contentType=='8'?'类型预案':item.contentType=='11'?'重点单位':'消防车辆'}}</td> |
|
|
|
|
<td style="width: 15%;" [ngClass]="{'green': item.operation == '1','red':item.operation == '2','blue':item.operation == '0'}">{{item.operation=='0'?'新增':item.operation=='1'?'更新':'删除'}}</td> |
|
|
|
|
<td style="width: 15%;">{{item.verifyOrganizationName}}</td> |
|
|
|
|
<td style="width: 15%;" [ngClass]="{'green': item.unitstate == '已通过','red':item.unitstate == '已拒绝'}">{{item.verifyState}}</td> |
|
|
|
|
<td style="width: 15%;" [ngClass]="{'green': item.verifyState == '1'||item.verifyState == '4','red':item.verifyState == '2'||item.verifyState == '5'}">{{item.verifyState=='0'?'待初审':item.verifyState=='1'? |
|
|
|
|
'初审通过':item.verifyState=='2'?'初审驳回':item.verifyState=='3'?'待终审':item.verifyState=='4'?'终审通过':'终审驳回'}}</td> |
|
|
|
|
<td style="width: 15%;">{{item.creatorName}}</td> |
|
|
|
|
<td style="width: 25%;">{{item.verifyTime|date:'yyyy-MM-dd'}}</td> |
|
|
|
|
<td style="width: 25%;">{{item.createTime|date:'yyyy-MM-dd'}}</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
@ -79,8 +81,8 @@
|
|
|
|
|
<button mat-raised-button *ngIf="isallDate" style="background-color: #FFCC00; color: #FFFFFF;" (click)="preview()"><img src="../../../assets/images/change.png" style="margin-bottom: 2px;" > 预览得分</button> |
|
|
|
|
</div> |
|
|
|
|
<div class="rightheadtwo"> |
|
|
|
|
<button mat-raised-button style="color: #FFFFFF;background-color: #FF7161;float: right;">拒绝</button> |
|
|
|
|
<button mat-raised-button style="color: #FFFFFF;background-color: #38D984;float: right;">同意</button> |
|
|
|
|
<button mat-raised-button style="color: #FFFFFF;background-color: #FF7161;float: right;" (click)='refuse()'>拒绝</button> |
|
|
|
|
<button mat-raised-button style="color: #FFFFFF;background-color: #38D984;float: right;" (click)='agree()'>同意</button> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|