Commit 1b846338 authored by wangqinghua's avatar wangqinghua

update

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