Commit 6a2598a2 authored by wangqinghua's avatar wangqinghua

update

parent 506a7207
......@@ -22,6 +22,10 @@
nzPlaceHolder="结束时间"
></nz-date-picker>
</div>
<div nz-col nzSpan="2" class="text-right">
<button (click)="search()" nz-button nzType="default"><i class="anticon anticon-search"
style="color: #6097b7"></i>搜索</button>
</div>
</div>
</div>
......
......@@ -22,6 +22,10 @@
nzPlaceHolder="结束时间"
></nz-date-picker>
</div>
<div nz-col nzSpan="2" class="text-right">
<button (click)="search()" nz-button nzType="default"><i class="anticon anticon-search"
style="color: #6097b7"></i>搜索</button>
</div>
</div>
</div>
......
......@@ -22,6 +22,10 @@
nzPlaceHolder="结束时间"
></nz-date-picker>
</div>
<div nz-col nzSpan="2" class="text-right">
<button (click)="search()" nz-button nzType="default"><i class="anticon anticon-search"
style="color: #6097b7"></i>搜索</button>
</div>
</div>
</div>
......
......@@ -14,7 +14,6 @@
</nz-breadcrumb>
</div>
<div nz-col nzSpan="8" class="text-right">
<button (click)="search()" nz-button nzType="primary"><i class="anticon anticon-search"></i></button>
<button (click)="ngOnInit()" nz-button nzType="primary"><i class="anticon anticon-sync"></i></button>
<smart-full-screen></smart-full-screen>
</div>
......
......@@ -27,17 +27,4 @@ export class OperationWorkComponent implements OnInit {
ngOnInit() {
}
search(){
if(this.type == "1"){
this.smartAnalysisstatus.search();
}
if(this.type == "2"){
this.smartAnalysisEvent.search();
}
if(this.type == "3"){
this.smartAnalysisDeal.search();
}
}
}
......@@ -64,6 +64,8 @@ export class ResourceAlarmComponent implements OnInit {
(res) => {
if (res.errCode == 10000) {
this.groupList = res.data;
this.obj.groupid = this.groupList[0].groupid;
this.getData();
}
}
);
......
......@@ -14,7 +14,6 @@
</nz-breadcrumb>
</div>
<div nz-col nzSpan="8" class="text-right">
<button (click)="search()" nz-button nzType="primary"><i class="anticon anticon-search"></i></button>
<button (click)="ngOnInit()" nz-button nzType="primary"><i class="anticon anticon-sync"></i></button>
<smart-full-screen></smart-full-screen>
</div>
......@@ -49,6 +48,10 @@
nzPlaceHolder="结束时间"
></nz-date-picker>
</div>
<div nz-col nzSpan="2" class="text-right">
<button (click)="search()" nz-button nzType="default"><i class="anticon anticon-search"
style="color: #6097b7"></i>搜索</button>
</div>
</div>
<div style="margin-top: 30px" nz-row nzGutter="4">
<div nz-col nzSpan="12">
......
......@@ -53,6 +53,8 @@ export class ResourceUsabilComponent implements OnInit {
this.obj.groupid = this.groupList[0].groupid + '';
this.getTopEcharts();
this.getLastEcharts();
}else{
this.message.error(res.errMsg);
}
}
);
......@@ -66,6 +68,8 @@ export class ResourceUsabilComponent implements OnInit {
if(res.errCode == 10000){
this.topList = res.data;
this.setTopEcharts();
}else{
this.message.error(res.errMsg);
}
}
);
......@@ -109,6 +113,8 @@ export class ResourceUsabilComponent implements OnInit {
if(res.errCode == 10000){
this.lastList = res.data;
this.setLastEcharts();
}else{
this.message.error(res.errMsg);
}
}
);
......
......@@ -43,7 +43,7 @@
<nz-form-item nzFlex>
<nz-form-label [nzOffset]="4" [nzSpan]="6" nzRequired nzFor="showName">显示名</nz-form-label>
<nz-form-control [nzSpan]="14">
<input id="showName" nz-input placeholder="显示名" name="showName" [(ngModel)]="validateForm.name">
<input nz-input placeholder="显示名" name="showName" [(ngModel)]="validateForm.name">
</nz-form-control>
</nz-form-item>
</div>
......@@ -52,7 +52,7 @@
<nz-form-item>
<nz-form-label [nzSpan]="4" nzRequired nzFor="hostAdrress">IP地址</nz-form-label>
<nz-form-control [nzSpan]="14">
<input id="hostAdrress" type="text" nz-input name="hostAdrress" [(ngModel)]="validateForm.host">
<input type="text" nz-input name="hostAdrress" [(ngModel)]="validateForm.host">
</nz-form-control>
</nz-form-item>
......
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