|
|
@ -1,161 +1,176 @@ |
|
|
|
<div style="height: 100%;overflow-y: auto;"> |
|
|
|
<div style="height: 100%;overflow-y: auto;"> |
|
|
|
<div class="header" > |
|
|
|
<div class="header"> |
|
|
|
<form (ngSubmit)="onSubmit(form.value)" #form="ngForm"> |
|
|
|
<form (ngSubmit)="onSubmit(form.value)" #form="ngForm"> |
|
|
|
<div class="queryBox"> |
|
|
|
<div class="queryBox"> |
|
|
|
|
|
|
|
<div class="queryField"> |
|
|
|
<div class="queryField"> |
|
|
|
<label style="margin-right: 10px;">单位名称:</label> |
|
|
|
<label style="margin-right: 10px;">单位名称:</label> |
|
|
|
<mat-form-field class="example-full-width"> |
|
|
|
<mat-form-field class="example-full-width"> |
|
|
|
<input matInput placeholder="请输入单位名称" name="companyName" [(ngModel)]="companyName" |
|
|
|
<input matInput placeholder="请输入单位名称" name="companyName" [(ngModel)]="companyName" autocomplete="off"> |
|
|
|
autocomplete="off"> |
|
|
|
</mat-form-field> |
|
|
|
</mat-form-field> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="queryField" > |
|
|
|
<div class="queryField"> |
|
|
|
<label style="margin-right: 10px;">单位类型:</label> |
|
|
|
<label style="margin-right: 10px;">单位类型:</label> |
|
|
|
<mat-form-field> |
|
|
|
<mat-form-field> |
|
|
|
<mat-select placeholder='请选择单位类型' name="unittype" [(ngModel)]="unittype"> |
|
|
|
<mat-select placeholder='请选择单位类型' name="unittype" [(ngModel)]="unittype"> |
|
|
|
<mat-option *ngFor="let unit of allunittype" [value]="unit.id" > |
|
|
|
<mat-option *ngFor="let unit of allunittype" [value]="unit.id"> |
|
|
|
{{unit.name}} |
|
|
|
{{unit.name}} |
|
|
|
</mat-option> |
|
|
|
</mat-option> |
|
|
|
</mat-select> |
|
|
|
</mat-select> |
|
|
|
</mat-form-field> |
|
|
|
</mat-form-field> |
|
|
|
<span *ngIf="padMore" style="margin-left: 10px; color: #0080FF;" (click)='padInfo()'>更多筛选条件<img [src]='imgsrcopen'style="width: 10px;height: 6px;margin:0 0 3px 2px;"> </span> |
|
|
|
<span *ngIf="padMore" style="margin-left: 10px; color: #0080FF;" (click)='padInfo()'>更多筛选条件<img |
|
|
|
<span *ngIf="padput" style="margin-left: 10px; color: #0080FF;" (click)='padInfo()'>收起<img [src]='imgsrcdown'style="width: 10px;height: 6px;margin:0 0 3px 2px;"> </span> |
|
|
|
[src]='imgsrcopen' style="width: 10px;height: 6px;margin:0 0 3px 2px;"> </span> |
|
|
|
</div> |
|
|
|
<span *ngIf="padput" style="margin-left: 10px; color: #0080FF;" (click)='padInfo()'>收起<img |
|
|
|
<div class="queryField" *ngIf="!pcfind"> |
|
|
|
[src]='imgsrcdown' style="width: 10px;height: 6px;margin:0 0 3px 2px;"> </span> |
|
|
|
<button mat-raised-button color="primary">查询</button> |
|
|
|
</div> |
|
|
|
<button mat-raised-button style="margin-left: 25px;" type="button" (click)="reset()">重置</button> |
|
|
|
<div class="queryField" *ngIf="!pcfind"> |
|
|
|
</div> |
|
|
|
<button mat-raised-button color="primary">查询</button> |
|
|
|
<div class="queryField ordiv" *ngIf="!padMore"> |
|
|
|
<button mat-raised-button style="margin-left: 25px;" type="button" (click)="reset()">重置</button> |
|
|
|
<label style="margin-right: 10px;">消防救援站:</label> |
|
|
|
</div> |
|
|
|
<mat-form-field class="example-full-width"> |
|
|
|
<div class="queryField ordiv" *ngIf="!padMore"> |
|
|
|
<input readonly matInput placeholder="请选择消防救援站" autocomplete="off" [(ngModel)]="js" name="js" (focus)="openorganizationbox()"> |
|
|
|
<label style="margin-right: 10px;">消防救援站:</label> |
|
|
|
</mat-form-field> |
|
|
|
<mat-form-field class="example-full-width"> |
|
|
|
<mat-checkbox style="margin-left: 6px;" [(ngModel)]="jscheck" name="jscheck">包含下级</mat-checkbox> |
|
|
|
<input readonly matInput placeholder="请选择消防救援站" autocomplete="off" [(ngModel)]="js" name="js" |
|
|
|
|
|
|
|
(focus)="openorganizationbox()"> |
|
|
|
<div class="organizationbox" *ngIf="isorganizationbox"> |
|
|
|
</mat-form-field> |
|
|
|
<div (click)="closediv()" class="closediv"><mat-icon>clear</mat-icon></div> |
|
|
|
<mat-checkbox style="margin-left: 6px;" [(ngModel)]="jscheck" name="jscheck">包含下级</mat-checkbox> |
|
|
|
<mat-tree [dataSource]="dataSource" [treeControl]="treeControl"> |
|
|
|
|
|
|
|
<mat-tree-node *matTreeNodeDef="let node" matTreeNodePadding (click)='add(node)' class="organizationlist"> |
|
|
|
<div class="organizationbox" *ngIf="isorganizationbox"> |
|
|
|
<button type="button" mat-icon-button disabled ></button> |
|
|
|
<div (click)="closediv()" class="closediv"> |
|
|
|
<li>{{node.name}}</li> |
|
|
|
<mat-icon>clear</mat-icon> |
|
|
|
</mat-tree-node> |
|
|
|
</div> |
|
|
|
<mat-tree-node *matTreeNodeDef="let node;when: hasChild" matTreeNodePadding (click)='add(node)' class="organizationlist"> |
|
|
|
<mat-tree [dataSource]="dataSource" [treeControl]="treeControl"> |
|
|
|
<button |
|
|
|
<mat-tree-node *matTreeNodeDef="let node" matTreeNodePadding (click)='add(node)' |
|
|
|
type="button" |
|
|
|
class="organizationlist"> |
|
|
|
mat-icon-button |
|
|
|
<button type="button" mat-icon-button disabled></button> |
|
|
|
matTreeNodeToggle |
|
|
|
<li>{{node.name}}</li> |
|
|
|
[attr.aria-label]="'toggle ' + node.name"> |
|
|
|
</mat-tree-node> |
|
|
|
<mat-icon class="mat-icon-rtl-mirror"> |
|
|
|
<mat-tree-node *matTreeNodeDef="let node;when: hasChild" matTreeNodePadding |
|
|
|
{{treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}} |
|
|
|
(click)='add(node)' class="organizationlist"> |
|
|
|
</mat-icon> |
|
|
|
<button type="button" mat-icon-button matTreeNodeToggle |
|
|
|
</button> |
|
|
|
[attr.aria-label]="'toggle ' + node.name"> |
|
|
|
<li>{{node.name}}</li> |
|
|
|
<mat-icon class="mat-icon-rtl-mirror"> |
|
|
|
</mat-tree-node> |
|
|
|
{{treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}} |
|
|
|
</mat-tree> |
|
|
|
</mat-icon> |
|
|
|
</div> |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
<li>{{node.name}}</li> |
|
|
|
<div class="queryField" *ngIf="!padMore"> |
|
|
|
</mat-tree-node> |
|
|
|
<label style="margin-right: 10px;">预案类型:</label> |
|
|
|
</mat-tree> |
|
|
|
<mat-form-field> |
|
|
|
</div> |
|
|
|
<mat-select name="reservePlanType" [(ngModel)]="reservePlanType" placeholder='请选择预案类型' [multiple]="true"> |
|
|
|
</div> |
|
|
|
<mat-option value=16>文本预案</mat-option> |
|
|
|
<div class="queryField" *ngIf="!padMore"> |
|
|
|
<mat-option value=1>二维预案</mat-option> |
|
|
|
<label style="margin-right: 10px;">预案类型:</label> |
|
|
|
<mat-option value=2>三维预案</mat-option> |
|
|
|
<mat-form-field> |
|
|
|
<mat-option value=4>其他预案</mat-option> |
|
|
|
<mat-select name="reservePlanType" [(ngModel)]="reservePlanType" placeholder='请选择预案类型' |
|
|
|
</mat-select> |
|
|
|
[multiple]="true"> |
|
|
|
</mat-form-field> |
|
|
|
<mat-option value=16>文本预案</mat-option> |
|
|
|
<span *ngIf="pcMore" style="margin-left: 15px; color: #0080FF; cursor: pointer;" (click)='pcInfo()'>更多筛选条件<img [src]='imgsrcopen'style="width: 10px;height: 6px;margin:0 0 3px 2px;"> </span> |
|
|
|
<mat-option value=1>二维预案</mat-option> |
|
|
|
<span *ngIf="pcput" style="margin-left: 10px; color: #0080FF; cursor: pointer;" (click)='pcInfo()'>收起<img [src]='imgsrcdown'style="width: 10px;height: 6px;margin:0 0 3px 2px;"> </span> |
|
|
|
<mat-option value=2>三维预案</mat-option> |
|
|
|
</div> |
|
|
|
<mat-option value=4>其他预案</mat-option> |
|
|
|
<div class="queryField" *ngIf="pcfind" > |
|
|
|
</mat-select> |
|
|
|
<button mat-raised-button color="primary">查询</button> |
|
|
|
</mat-form-field> |
|
|
|
<button mat-raised-button style="margin-left: 25px;" type="button" (click)="reset()">重置</button> |
|
|
|
<span *ngIf="pcMore" style="margin-left: 15px; color: #0080FF; cursor: pointer;" |
|
|
|
</div> |
|
|
|
(click)='pcInfo()'>更多筛选条件<img [src]='imgsrcopen' |
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
style="width: 10px;height: 6px;margin:0 0 3px 2px;"> </span> |
|
|
|
<label style="margin-right: 10px;">预案级别:</label> |
|
|
|
<span *ngIf="pcput" style="margin-left: 10px; color: #0080FF; cursor: pointer;" |
|
|
|
<mat-form-field> |
|
|
|
(click)='pcInfo()'>收起<img [src]='imgsrcdown' |
|
|
|
<mat-select placeholder='请选择预案级别' [(ngModel)]="planCategory" name="planCategory" [multiple]="true"> |
|
|
|
style="width: 10px;height: 6px;margin:0 0 3px 2px;"> </span> |
|
|
|
<mat-option value=3>Ⅲ级预案</mat-option> |
|
|
|
</div> |
|
|
|
<mat-option value=4>Ⅳ级预案</mat-option> |
|
|
|
<div class="queryField" *ngIf="pcfind"> |
|
|
|
<mat-option value=5>Ⅴ级预案</mat-option> |
|
|
|
<button mat-raised-button color="primary">查询</button> |
|
|
|
</mat-select> |
|
|
|
<button mat-raised-button style="margin-left: 25px;" type="button" (click)="reset()">重置</button> |
|
|
|
</mat-form-field> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
<label style="margin-right: 10px;">预案级别:</label> |
|
|
|
<label style="margin-right: 10px;">编制级别:</label> |
|
|
|
<mat-form-field> |
|
|
|
<mat-form-field> |
|
|
|
<mat-select placeholder='请选择预案级别' [(ngModel)]="planCategory" name="planCategory" |
|
|
|
<mat-select name="preparelevel" [(ngModel)]="preparelevel" placeholder='请选择编制级别'> |
|
|
|
[multiple]="true"> |
|
|
|
<!-- <mat-option value="1">总队</mat-option> |
|
|
|
<mat-option value=3>Ⅲ级预案</mat-option> |
|
|
|
|
|
|
|
<mat-option value=4>Ⅳ级预案</mat-option> |
|
|
|
|
|
|
|
<mat-option value=5>Ⅴ级预案</mat-option> |
|
|
|
|
|
|
|
</mat-select> |
|
|
|
|
|
|
|
</mat-form-field> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
|
|
|
|
<label style="margin-right: 10px;">编制级别:</label> |
|
|
|
|
|
|
|
<mat-form-field> |
|
|
|
|
|
|
|
<mat-select name="preparelevel" [(ngModel)]="preparelevel" placeholder='请选择编制级别'> |
|
|
|
|
|
|
|
<!-- <mat-option value="1">总队</mat-option> |
|
|
|
<mat-option value="2">支队</mat-option> |
|
|
|
<mat-option value="2">支队</mat-option> |
|
|
|
<mat-option value="4">大队</mat-option> |
|
|
|
<mat-option value="4">大队</mat-option> |
|
|
|
<mat-option value="8">中队</mat-option> --> |
|
|
|
<mat-option value="8">中队</mat-option> --> |
|
|
|
<mat-option *ngFor="let item of preparelevels" [value]="item.value">{{item.name}}</mat-option> |
|
|
|
<mat-option *ngFor="let item of preparelevels" [value]="item.value">{{item.name}} |
|
|
|
</mat-select> |
|
|
|
</mat-option> |
|
|
|
</mat-form-field> |
|
|
|
</mat-select> |
|
|
|
<mat-checkbox style="margin-left: 6px;" [(ngModel)]="plcheck" name="plcheck">包含下级</mat-checkbox> |
|
|
|
</mat-form-field> |
|
|
|
|
|
|
|
<mat-checkbox style="margin-left: 6px;" [(ngModel)]="plcheck" name="plcheck">包含下级</mat-checkbox> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
|
|
|
|
<label style="margin-right: 10px;">审核状态:</label> |
|
|
|
|
|
|
|
<mat-form-field> |
|
|
|
|
|
|
|
<mat-select name="toExamine" [(ngModel)]="toExamine" placeholder='请选择审核状态'> |
|
|
|
|
|
|
|
<mat-option value="8">未提交审核</mat-option> |
|
|
|
|
|
|
|
<mat-option value="1">审核中</mat-option> |
|
|
|
|
|
|
|
<mat-option value="2">审核通过</mat-option> |
|
|
|
|
|
|
|
<mat-option value="4">审核退回</mat-option> |
|
|
|
|
|
|
|
</mat-select> |
|
|
|
|
|
|
|
</mat-form-field> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
|
|
|
|
<label style="margin-right: 10px;">信息完整度排序:</label> |
|
|
|
|
|
|
|
<mat-form-field> |
|
|
|
|
|
|
|
<mat-select placeholder='请选择排序方式' [(ngModel)]="integritySort" name="integritySort"> |
|
|
|
|
|
|
|
<mat-option value="desc">从高到低</mat-option> |
|
|
|
|
|
|
|
<mat-option value="asc">从低到高</mat-option> |
|
|
|
|
|
|
|
</mat-select> |
|
|
|
|
|
|
|
</mat-form-field> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
|
|
|
|
<label style="margin-right: 10px;">制作情况:</label> |
|
|
|
|
|
|
|
<mat-form-field> |
|
|
|
|
|
|
|
<mat-select placeholder='请选择预案制作情况' [(ngModel)]="haveyuan" name="haveyuan"> |
|
|
|
|
|
|
|
<mat-option value='true'>有预案</mat-option> |
|
|
|
|
|
|
|
<mat-option value="false">无预案</mat-option> |
|
|
|
|
|
|
|
</mat-select> |
|
|
|
|
|
|
|
</mat-form-field> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
|
|
|
|
<label style="margin-right: 10px;">单位状态:</label> |
|
|
|
|
|
|
|
<mat-form-field> |
|
|
|
|
|
|
|
<mat-select placeholder='请选择单位状态' [(ngModel)]="IsNewCompanyData" name="IsNewCompanyData"> |
|
|
|
|
|
|
|
<mat-option value='true'>新增</mat-option> |
|
|
|
|
|
|
|
<mat-option value="false">维护更新</mat-option> |
|
|
|
|
|
|
|
</mat-select> |
|
|
|
|
|
|
|
</mat-form-field> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
|
|
|
|
<label style="margin-right: 10px;">预案状态:</label> |
|
|
|
|
|
|
|
<mat-form-field> |
|
|
|
|
|
|
|
<mat-select placeholder='请选择预案状态' [(ngModel)]="IsNewData" name="IsNewData"> |
|
|
|
|
|
|
|
<mat-option value='true'>新增</mat-option> |
|
|
|
|
|
|
|
<mat-option value="false">维护更新</mat-option> |
|
|
|
|
|
|
|
</mat-select> |
|
|
|
|
|
|
|
</mat-form-field> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
|
|
|
|
<mat-checkbox [(ngModel)]="templatePlan" name="templatePlan">模板录入预案</mat-checkbox> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
|
|
|
|
<mat-checkbox [(ngModel)]="customPlan" name="customPlan">自定义预案</mat-checkbox> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
|
|
|
|
<label style="margin-right: 10px;">审核状态:</label> |
|
|
|
|
|
|
|
<mat-form-field> |
|
|
|
|
|
|
|
<mat-select name="toExamine" [(ngModel)]="toExamine" placeholder='请选择审核状态'> |
|
|
|
|
|
|
|
<mat-option value="8">未提交审核</mat-option> |
|
|
|
|
|
|
|
<mat-option value="1">审核中</mat-option> |
|
|
|
|
|
|
|
<mat-option value="2">审核通过</mat-option> |
|
|
|
|
|
|
|
<mat-option value="4">审核退回</mat-option> |
|
|
|
|
|
|
|
</mat-select> |
|
|
|
|
|
|
|
</mat-form-field> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
|
|
|
|
<label style="margin-right: 10px;">信息完整度排序:</label> |
|
|
|
|
|
|
|
<mat-form-field> |
|
|
|
|
|
|
|
<mat-select placeholder='请选择排序方式' [(ngModel)]="integritySort" name="integritySort"> |
|
|
|
|
|
|
|
<mat-option value="desc">从高到低</mat-option> |
|
|
|
|
|
|
|
<mat-option value="asc">从低到高</mat-option> |
|
|
|
|
|
|
|
</mat-select> |
|
|
|
|
|
|
|
</mat-form-field> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
|
|
|
|
<label style="margin-right: 10px;">制作情况:</label> |
|
|
|
|
|
|
|
<mat-form-field> |
|
|
|
|
|
|
|
<mat-select placeholder='请选择预案制作情况' [(ngModel)]="haveyuan" name="haveyuan"> |
|
|
|
|
|
|
|
<mat-option value='true'>有预案</mat-option> |
|
|
|
|
|
|
|
<mat-option value="false">无预案</mat-option> |
|
|
|
|
|
|
|
</mat-select> |
|
|
|
|
|
|
|
</mat-form-field> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
|
|
|
|
<label style="margin-right: 10px;">单位状态:</label> |
|
|
|
|
|
|
|
<mat-form-field> |
|
|
|
|
|
|
|
<mat-select placeholder='请选择单位状态' [(ngModel)]="IsNewCompanyData" name="IsNewCompanyData"> |
|
|
|
|
|
|
|
<mat-option value='true'>新增</mat-option> |
|
|
|
|
|
|
|
<mat-option value="false">维护更新</mat-option> |
|
|
|
|
|
|
|
</mat-select> |
|
|
|
|
|
|
|
</mat-form-field> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="queryField" *ngIf="!padMore&&!pcMore"> |
|
|
|
|
|
|
|
<label style="margin-right: 10px;">预案状态:</label> |
|
|
|
|
|
|
|
<mat-form-field> |
|
|
|
|
|
|
|
<mat-select placeholder='请选择预案状态' [(ngModel)]="IsNewData" name="IsNewData"> |
|
|
|
|
|
|
|
<mat-option value='true'>新增</mat-option> |
|
|
|
|
|
|
|
<mat-option value="false">维护更新</mat-option> |
|
|
|
|
|
|
|
</mat-select> |
|
|
|
|
|
|
|
</mat-form-field> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</form> |
|
|
|
</form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- <mat-divider></mat-divider> --> |
|
|
|
<!-- <mat-divider></mat-divider> --> |
|
|
|
<div class="body"> |
|
|
|
<div class="body"> |
|
|
|
<div class="tablebox"> |
|
|
|
<div class="tablebox"> |
|
|
|
|
|
|
|
|
|
|
|
<table mat-table [dataSource]="tabledataSource" class="mat-elevation-z8"> |
|
|
|
<table mat-table [dataSource]="tabledataSource" class="mat-elevation-z8"> |
|
|
|
<ng-container matColumnDef="state"> |
|
|
|
<ng-container matColumnDef="state"> |
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 10%;">单位状态</th> |
|
|
|
<th mat-header-cell *matHeaderCellDef style="width: 10%;">单位状态</th> |
|
|
|
<td mat-cell *matCellDef="let element"> |
|
|
|
<td mat-cell *matCellDef="let element"> |
|
|
|
<span class="add" *ngIf="element.company.isNewData">新增</span> |
|
|
|
<span class="add" *ngIf="element.company.isNewData">新增</span> |
|
|
|
<span class="weihu" *ngIf="!element.company.isNewData">维护更新</span> |
|
|
|
<span class="weihu" *ngIf="!element.company.isNewData">维护更新</span> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
</ng-container> |
|
|
|
</ng-container> |
|
|
|
<ng-container matColumnDef="unitname"> |
|
|
|
<ng-container matColumnDef="unitname"> |
|
|
@ -169,7 +184,8 @@ |
|
|
|
<span class="integrityNum"> |
|
|
|
<span class="integrityNum"> |
|
|
|
{{(element.company.companyIntegrityScore.totalScore.toFixed(2) * 100).toFixed()}}% |
|
|
|
{{(element.company.companyIntegrityScore.totalScore.toFixed(2) * 100).toFixed()}}% |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<div class="integrityColorDiv" [style]="integrity((element.company.companyIntegrityScore.totalScore.toFixed(2) * 100).toFixed())"> |
|
|
|
<div class="integrityColorDiv" |
|
|
|
|
|
|
|
[style]="integrity((element.company.companyIntegrityScore.totalScore.toFixed(2) * 100).toFixed())"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="integrityDetails" [ngClass]="{'bottomposition': i <= 5,'topposition': i > 5}"> |
|
|
|
<div class="integrityDetails" [ngClass]="{'bottomposition': i <= 5,'topposition': i > 5}"> |
|
|
|
<div class="integrityDetailsTop"> |
|
|
|
<div class="integrityDetailsTop"> |
|
|
@ -178,96 +194,123 @@ |
|
|
|
<span class="span3">总占比</span> |
|
|
|
<span class="span3">总占比</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="integrityDetailsBody"> |
|
|
|
<div class="integrityDetailsBody"> |
|
|
|
<ul> |
|
|
|
<ul> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<div class="name">单位信息</div> |
|
|
|
<div class="name">单位信息</div> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivCon" [style]="integrityDetails((element.company.companyIntegrityScore.basicInfoScore * 5).toFixed(1),5)"></div> |
|
|
|
<div class="colorDivCon" |
|
|
|
|
|
|
|
[style]="integrityDetails((element.company.companyIntegrityScore.basicInfoScore * 5).toFixed(1),5)"> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<span>{{(element.company.companyIntegrityScore.basicInfoScore * 5).toFixed(1)}}%</span> |
|
|
|
<span>{{(element.company.companyIntegrityScore.basicInfoScore * |
|
|
|
|
|
|
|
5).toFixed(1)}}%</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="number">5%</div> |
|
|
|
<div class="number">5%</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<div class="name">建筑信息</div> |
|
|
|
<div class="name">建筑信息</div> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivCon" [style]="integrityDetails((element.company.companyIntegrityScore.buildingInfoScore * 10).toFixed(1),10)"></div> |
|
|
|
<div class="colorDivCon" |
|
|
|
|
|
|
|
[style]="integrityDetails((element.company.companyIntegrityScore.buildingInfoScore * 10).toFixed(1),10)"> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<span>{{(element.company.companyIntegrityScore.buildingInfoScore * 10).toFixed(1)}}%</span> |
|
|
|
<span>{{(element.company.companyIntegrityScore.buildingInfoScore * |
|
|
|
|
|
|
|
10).toFixed(1)}}%</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="number">10%</div> |
|
|
|
<div class="number">10%</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<div class="name">平面图</div> |
|
|
|
<div class="name">平面图</div> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivCon" [style]="integrityDetails((element.company.companyIntegrityScore.planImageScore * 10).toFixed(1),10)"></div> |
|
|
|
<div class="colorDivCon" |
|
|
|
|
|
|
|
[style]="integrityDetails((element.company.companyIntegrityScore.planImageScore * 10).toFixed(1),10)"> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<span>{{(element.company.companyIntegrityScore.planImageScore * 10).toFixed(1)}}%</span> |
|
|
|
<span>{{(element.company.companyIntegrityScore.planImageScore * |
|
|
|
|
|
|
|
10).toFixed(1)}}%</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="number">10%</div> |
|
|
|
<div class="number">10%</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<div class="name">四周毗邻</div> |
|
|
|
<div class="name">四周毗邻</div> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivCon" [style]="integrityDetails((element.company.companyIntegrityScore.adjoinScore * 10).toFixed(1),10)"></div> |
|
|
|
<div class="colorDivCon" |
|
|
|
|
|
|
|
[style]="integrityDetails((element.company.companyIntegrityScore.adjoinScore * 10).toFixed(1),10)"> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<span>{{(element.company.companyIntegrityScore.adjoinScore * 10).toFixed(1)}}%</span> |
|
|
|
<span>{{(element.company.companyIntegrityScore.adjoinScore * |
|
|
|
|
|
|
|
10).toFixed(1)}}%</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="number">10%</div> |
|
|
|
<div class="number">10%</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<div class="name">消防设施</div> |
|
|
|
<div class="name">消防设施</div> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivCon" [style]="integrityDetails((element.company.companyIntegrityScore.facilityScore * 25).toFixed(1),25)"></div> |
|
|
|
<div class="colorDivCon" |
|
|
|
|
|
|
|
[style]="integrityDetails((element.company.companyIntegrityScore.facilityScore * 25).toFixed(1),25)"> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<span>{{(element.company.companyIntegrityScore.facilityScore * 25).toFixed(1)}}%</span> |
|
|
|
<span>{{(element.company.companyIntegrityScore.facilityScore * |
|
|
|
|
|
|
|
25).toFixed(1)}}%</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="number">25%</div> |
|
|
|
<div class="number">25%</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<div class="name">重点部位</div> |
|
|
|
<div class="name">重点部位</div> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivCon" [style]="integrityDetails((element.company.companyIntegrityScore.importantLocationScore * 10).toFixed(1),10)"></div> |
|
|
|
<div class="colorDivCon" |
|
|
|
|
|
|
|
[style]="integrityDetails((element.company.companyIntegrityScore.importantLocationScore * 10).toFixed(1),10)"> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<span>{{(element.company.companyIntegrityScore.importantLocationScore * 10).toFixed(1)}}%</span> |
|
|
|
<span>{{(element.company.companyIntegrityScore.importantLocationScore * |
|
|
|
|
|
|
|
10).toFixed(1)}}%</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="number">10%</div> |
|
|
|
<div class="number">10%</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<div class="name">功能分区</div> |
|
|
|
<div class="name">功能分区</div> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivCon" [style]="integrityDetails((element.company.companyIntegrityScore.functionalDivisionScore * 10).toFixed(1),10)"></div> |
|
|
|
<div class="colorDivCon" |
|
|
|
|
|
|
|
[style]="integrityDetails((element.company.companyIntegrityScore.functionalDivisionScore * 10).toFixed(1),10)"> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<span>{{(element.company.companyIntegrityScore.functionalDivisionScore * 10).toFixed(1)}}%</span> |
|
|
|
<span>{{(element.company.companyIntegrityScore.functionalDivisionScore * |
|
|
|
|
|
|
|
10).toFixed(1)}}%</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="number">10%</div> |
|
|
|
<div class="number">10%</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<div class="name">实景图</div> |
|
|
|
<div class="name">实景图</div> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivCon" [style]="integrityDetails((element.company.companyIntegrityScore.realityImageScore * 10).toFixed(1),10)"></div> |
|
|
|
<div class="colorDivCon" |
|
|
|
|
|
|
|
[style]="integrityDetails((element.company.companyIntegrityScore.realityImageScore * 10).toFixed(1),10)"> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<span>{{(element.company.companyIntegrityScore.realityImageScore * 10).toFixed(1)}}%</span> |
|
|
|
<span>{{(element.company.companyIntegrityScore.realityImageScore * |
|
|
|
|
|
|
|
10).toFixed(1)}}%</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="number">10%</div> |
|
|
|
<div class="number">10%</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<div class="name">CAD上传</div> |
|
|
|
<div class="name">CAD上传</div> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDiv"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivBac"> |
|
|
|
<div class="colorDivCon" [style]="integrityDetails((element.company.companyIntegrityScore.cadScore * 10).toFixed(1),10)"></div> |
|
|
|
<div class="colorDivCon" |
|
|
|
|
|
|
|
[style]="integrityDetails((element.company.companyIntegrityScore.cadScore * 10).toFixed(1),10)"> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<span>{{(element.company.companyIntegrityScore.cadScore * 10).toFixed(1)}}%</span> |
|
|
|
<span>{{(element.company.companyIntegrityScore.cadScore * |
|
|
|
|
|
|
|
10).toFixed(1)}}%</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="number">10%</div> |
|
|
|
<div class="number">10%</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -286,40 +329,38 @@ |
|
|
|
<th mat-header-cell *matHeaderCellDef>消防救援站</th> |
|
|
|
<th mat-header-cell *matHeaderCellDef>消防救援站</th> |
|
|
|
<td mat-cell *matCellDef="let element">{{element.company.organizationName}}</td> |
|
|
|
<td mat-cell *matCellDef="let element">{{element.company.organizationName}}</td> |
|
|
|
</ng-container> |
|
|
|
</ng-container> |
|
|
|
|
|
|
|
|
|
|
|
<ng-container matColumnDef="unittype"> |
|
|
|
<ng-container matColumnDef="unittype"> |
|
|
|
<th mat-header-cell *matHeaderCellDef>单位类型</th> |
|
|
|
<th mat-header-cell *matHeaderCellDef>单位类型</th> |
|
|
|
<td mat-cell *matCellDef="let element">{{element.company.buildingTypes[0] ? element.company.buildingTypes[0].name : ''}}</td> |
|
|
|
<td mat-cell *matCellDef="let element">{{element.company.buildingTypes[0] ? |
|
|
|
|
|
|
|
element.company.buildingTypes[0].name : ''}}</td> |
|
|
|
</ng-container> |
|
|
|
</ng-container> |
|
|
|
<ng-container matColumnDef="plantype"> |
|
|
|
<ng-container matColumnDef="plantype"> |
|
|
|
<th mat-header-cell *matHeaderCellDef>预案类型</th> |
|
|
|
<th mat-header-cell *matHeaderCellDef>预案类型</th> |
|
|
|
<td mat-cell *matCellDef="let element">{{element.planType}}</td> |
|
|
|
<td mat-cell *matCellDef="let element">{{element.planType}}</td> |
|
|
|
</ng-container> |
|
|
|
</ng-container> |
|
|
|
<ng-container matColumnDef="passstate"> |
|
|
|
<ng-container matColumnDef="passstate"> |
|
|
|
<th mat-header-cell *matHeaderCellDef>审核状态</th> |
|
|
|
<th mat-header-cell *matHeaderCellDef>审核状态</th> |
|
|
|
<td mat-cell *matCellDef="let element">{{element.auditStatus}}</td> |
|
|
|
<td mat-cell *matCellDef="let element">{{element.auditStatus}}</td> |
|
|
|
</ng-container> |
|
|
|
</ng-container> |
|
|
|
<ng-container matColumnDef="projectlevel"> |
|
|
|
<ng-container matColumnDef="projectlevel"> |
|
|
|
<th mat-header-cell *matHeaderCellDef>编制级别</th> |
|
|
|
<th mat-header-cell *matHeaderCellDef>编制级别</th> |
|
|
|
<td mat-cell *matCellDef="let element">{{element.planLevel}}</td> |
|
|
|
<td mat-cell *matCellDef="let element">{{element.planLevel}}</td> |
|
|
|
</ng-container> |
|
|
|
</ng-container> |
|
|
|
<ng-container matColumnDef="operation"> |
|
|
|
<ng-container matColumnDef="operation"> |
|
|
|
<th mat-header-cell *matHeaderCellDef>操作</th> |
|
|
|
<th mat-header-cell *matHeaderCellDef>操作</th> |
|
|
|
<td mat-cell *matCellDef="let element"> |
|
|
|
<td mat-cell *matCellDef="let element"> |
|
|
|
<span style="color: blue;" (click)="routerTo(element)">查看预案</span> |
|
|
|
<span style="color: blue;" (click)="routerTo(element)">查看预案</span> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
</ng-container> |
|
|
|
</ng-container> |
|
|
|
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr> |
|
|
|
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr> |
|
|
|
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr> |
|
|
|
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr> |
|
|
|
</table> |
|
|
|
</table> |
|
|
|
<mat-paginator pageEvent [length]="length" |
|
|
|
<mat-paginator pageEvent [length]="length" [pageSize]="pageSize" [pageSizeOptions]="pageSizeOptions" |
|
|
|
[pageSize]="pageSize" |
|
|
|
(page)="chagePage($event)"> |
|
|
|
[pageSizeOptions]="pageSizeOptions" |
|
|
|
|
|
|
|
(page)="chagePage($event)" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</mat-paginator> |
|
|
|
</mat-paginator> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|