You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
153 lines
7.6 KiB
153 lines
7.6 KiB
<div style="height: 100%;overflow-y: auto;"> |
|
<div class="header" > |
|
<form #form="ngForm"> |
|
<div class="queryBox"> |
|
|
|
<div class="queryField"> |
|
<label style="margin-right: 10px;">单位名称:</label> |
|
<mat-form-field class="example-full-width"> |
|
<input matInput placeholder="请输入单位名称" name="companyName" [(ngModel)]="companyName" autocomplete="off"> |
|
</mat-form-field> |
|
</div> |
|
|
|
<div class="queryField ordiv"> |
|
<label style="margin-right: 10px;">消防救援站:</label> |
|
<mat-form-field class="example-full-width"> |
|
<input readonly matInput placeholder="请选择消防救援站" autocomplete="off" [(ngModel)]="js" name="js" (focus)="openorganizationbox()"> |
|
</mat-form-field> |
|
<mat-checkbox style="margin-left: 6px;" [(ngModel)]="jscheck" name="jscheck">包含下级</mat-checkbox> |
|
<div class="organizationbox" *ngIf="isorganizationbox"> |
|
<div (click)="closediv()" class="closediv"><mat-icon>clear</mat-icon></div> |
|
<mat-tree [dataSource]="dataSource" [treeControl]="treeControl"> |
|
<mat-tree-node *matTreeNodeDef="let node" matTreeNodePadding (click)='add(node)' class="organizationlist"> |
|
<button type="button" mat-icon-button disabled ></button> |
|
<li>{{node.name}}</li> |
|
</mat-tree-node> |
|
<mat-tree-node *matTreeNodeDef="let node;when: hasChild" matTreeNodePadding (click)='add(node)' class="organizationlist"> |
|
<button |
|
type="button" |
|
mat-icon-button |
|
matTreeNodeToggle |
|
[attr.aria-label]="'toggle ' + node.name"> |
|
<mat-icon class="mat-icon-rtl-mirror"> |
|
{{treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}} |
|
</mat-icon> |
|
</button> |
|
<li>{{node.name}}</li> |
|
</mat-tree-node> |
|
</mat-tree> |
|
</div> |
|
</div> |
|
|
|
<div class="queryField"> |
|
<label style="margin-right: 10px;">单位类型:</label> |
|
<mat-form-field> |
|
<mat-select placeholder='请选择单位类型' name="unittype" [(ngModel)]="unittype"> |
|
<mat-option *ngFor="let unit of allunittype" [value]="unit.id" > |
|
{{unit.name}} |
|
</mat-option> |
|
</mat-select> |
|
</mat-form-field> |
|
</div> |
|
<div class="queryField"> |
|
<label style="margin-right: 10px;">统一社会信用代码:</label> |
|
<mat-form-field> |
|
<input matInput placeholder="请输入统一社会信用代码" name="reservePlanType" [(ngModel)]="reservePlanType" autocomplete="off"> |
|
<!-- <mat-select name="reservePlanType" [(ngModel)]="reservePlanType" placeholder='请选择预案类型' [multiple]="true"> |
|
<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"> |
|
<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"> |
|
<label style="margin-right: 10px;">添加时间:</label> |
|
<mat-form-field class="example-full-width"> |
|
<input type="date" matInput name="addtime" autocomplete="off" [(ngModel)]="addtime"> |
|
</mat-form-field> |
|
🠊 |
|
<mat-form-field class="example-full-width"> |
|
<input type="date" matInput name="endtime" autocomplete="off" [(ngModel)]="endtime"> |
|
</mat-form-field> |
|
</div> |
|
|
|
<div class="queryField"> |
|
<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="butclass" style="width: 100%;text-align: center;"> |
|
<button mat-raised-button color="primary" type="submit">查询</button> |
|
<button mat-raised-button style="margin-left: 25px;" type="button" >重置</button> |
|
</div> |
|
</form> |
|
</div> |
|
<mat-divider></mat-divider> |
|
<div class="newadd"> |
|
<div> |
|
<button mat-raised-button color="primary" color="warn">删除</button> |
|
</div> |
|
</div> |
|
<div class="body"> |
|
<div class="tablebox"> |
|
|
|
<table mat-table class="mat-elevation-z8"> |
|
<ng-container matColumnDef="unitname"> |
|
<th mat-header-cell *matHeaderCellDef>单位名称</th> |
|
<td mat-cell *matCellDef="let element">{{element.company.name}}</td> |
|
</ng-container> |
|
<ng-container matColumnDef="integrity"> |
|
<th mat-header-cell *matHeaderCellDef style="text-align: center;">信息完整度</th> |
|
|
|
</ng-container> |
|
<ng-container matColumnDef="jurisdictionsquadron"> |
|
<th mat-header-cell *matHeaderCellDef>消防救援站</th> |
|
</ng-container> |
|
|
|
<ng-container matColumnDef="unittype"> |
|
<th mat-header-cell *matHeaderCellDef>单位类型</th> |
|
</ng-container> |
|
<ng-container matColumnDef="plantype"> |
|
<th mat-header-cell *matHeaderCellDef>统一社会信用代码</th> |
|
</ng-container> |
|
<ng-container matColumnDef="time"> |
|
<th mat-header-cell *matHeaderCellDef>录入时间</th> |
|
</ng-container> |
|
<ng-container matColumnDef="passstate"> |
|
<th mat-header-cell *matHeaderCellDef>审核状态</th> |
|
</ng-container> |
|
<ng-container matColumnDef="operation"> |
|
<th mat-header-cell *matHeaderCellDef>操作</th> |
|
|
|
</ng-container> |
|
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr> |
|
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr> |
|
</table> |
|
<mat-paginator pageEvent [length]="length" |
|
[pageSize]="pageSize" |
|
[pageSizeOptions]="pageSizeOptions" |
|
> |
|
|
|
</mat-paginator> |
|
|
|
</div> |
|
</div> |
|
</div> |