Commit 1b846338 authored by wangqinghua's avatar wangqinghua

update

parent 6e154e70
......@@ -84,10 +84,10 @@
</div>
</nz-spin>
<div nz-row nzGutter="4" style="margin: 20px 0">
<div nz-col nzSpan="19">
<div nz-col nzSpan="20">
<h3>常见问题TOP10</h3>
</div>
<div nz-col nzSpan="3" class="text-center">
<div nz-col nzSpan="4" class="text-right">
<button [nzLoading]="isDownload1" (click)="downLoadCommon()" nz-button nzType="default"><i class="anticon anticon-download"></i>下载</button>
</div>
</div>
......@@ -114,10 +114,10 @@
</tbody>
</nz-table>
<div nz-row nzGutter="4" style="margin: 20px 0">
<div nz-col nzSpan="19">
<div nz-col nzSpan="20">
<h3>统计报告</h3>
</div>
<div nz-col nzSpan="3" class="text-center">
<div nz-col nzSpan="4" class="text-right">
<button [nzLoading]="isDownload2" (click)="downLoadReport()" nz-button nzType="default"><i class="anticon anticon-download"></i>下载</button>
</div>
</div>
......
......@@ -55,7 +55,7 @@
style="color: #6097b7"></i>搜索
</button>
</div>
<div nz-col nzSpan="3">
<div nz-col nzSpan="3" class="text-right">
<button [nzLoading]="isDownload" (click)="downLoadCommon()" nz-button nzType="default"><i class="anticon anticon-download"></i>下载</button>
</div>
</div>
......
......@@ -39,7 +39,7 @@
<thead>
<tr>
<th [nzChecked]="allChecked"></th>
<th nzWidth="20%">名称</th>
<th nzWidth="30%">名称</th>
<th nzWidth="20%">描述</th>
<th>自动发现</th>
<th>监控项</th>
......@@ -59,7 +59,7 @@
<td></td>
<td class="cursor" [nzIndentSize]="item.level*20" nzShowExpand [nzExpand]='item.expand'
(nzExpandChange)="getChildren(item)">
<span>{{item.name}}</span>
<span>{{item.name}}</span> <span style="color: #1b6b5bcc; margin-left: 10px">模版数量:{{item.templatescount}}</span>
</td>
<td>{{item.description}}</td>
<td></td>
......@@ -104,7 +104,7 @@
<!--搜索-->
<ng-container *ngIf="searchStatus">
<ng-container *ngFor="let item of searchData">
<ng-container *ngFor="let item of nzTable.data">
<tr>
<td nzShowCheckbox [nzIndeterminate]="indeterminate" (nzCheckedChange)="selectChecked($event,item)"
[(nzChecked)]="item.checked"></td>
......
......@@ -143,7 +143,6 @@ export class TemplateComponent implements OnInit {
search() {
this.isLoading = true;
this.searchStatus = true;
this.frontPagination = false;
const data = {
search: {
name: this.searchName
......@@ -162,7 +161,6 @@ export class TemplateComponent implements OnInit {
//backList
backList() {
this.searchStatus = false;
this.frontPagination = true;
}
//添加模版
......
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