Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smart
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqinghua
smart
Commits
a9ed6126
Commit
a9ed6126
authored
Dec 17, 2018
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
workService
parent
32ca1371
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
188 additions
and
143 deletions
+188
-143
analysis-deal.component.html
...operation-work/analysis-deal/analysis-deal.component.html
+17
-37
analysis-deal.component.ts
...s/operation-work/analysis-deal/analysis-deal.component.ts
+26
-1
analysis-event.component.html
...eration-work/analysis-event/analysis-event.component.html
+16
-38
analysis-event.component.ts
...operation-work/analysis-event/analysis-event.component.ts
+26
-1
analysis-status.component.html
...ation-work/analysis-status/analysis-status.component.html
+22
-38
analysis-status.component.ts
...eration-work/analysis-status/analysis-status.component.ts
+26
-1
operation-work.component.html
...app/analysis/operation-work/operation-work.component.html
+2
-2
resource-alarm.component.html
...app/analysis/resource-alarm/resource-alarm.component.html
+24
-24
resource-usabil.component.html
...p/analysis/resource-usabil/resource-usabil.component.html
+23
-0
resource-usabil.component.ts
...app/analysis/resource-usabil/resource-usabil.component.ts
+6
-1
No files found.
src/main/webapp/app/analysis/operation-work/analysis-deal/analysis-deal.component.html
View file @
a9ed6126
...
@@ -2,49 +2,28 @@
...
@@ -2,49 +2,28 @@
<nz-spin
[
nzSpinning
]="
isLoading
"
>
<nz-spin
[
nzSpinning
]="
isLoading
"
>
<div
echarts
[
options
]="
chartOption
"
style=
"height: 400px;width: 100%"
></div>
<div
echarts
[
options
]="
chartOption
"
style=
"height: 400px;width: 100%"
></div>
</nz-spin>
</nz-spin>
<nz-tabset
[
nzTabPosition
]="'
top
'"
[
nzType
]="'
card
'"
>
<nz-tab
nzTitle=
"接收流量排行"
>
<nz-table
#
nzTable
[
nzData
]="
dealList
"
>
<nz-table
#
nzTable
[
nzData
]="
inList
"
[
nzLoading
]="
inLoading
"
[
nzFrontPagination
]="
false
"
[
nzTotal
]="
inTotalNum
"
[
nzPageIndex
]="
inPageNum
"
[
nzPageSize
]="
inPageCount
"
(
nzPageIndexChange
)="
inChnagePage
($
event
)"
>
<thead>
<thead>
<tr>
<tr>
<th
nzWidth=
"20%"
>
监测点名称
</th>
<th
nzWidth=
"20%"
>
处理人
</th>
<th>
最大值
</th>
<th>
事件数量
</th>
<th>
最小值
</th>
<th>
解决状态
</th>
<th>
平均值
</th>
<th>
处理人情况
</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<ng-container
*
ngFor=
"let item of inList"
>
<ng-container
*
ngFor=
"let data of dealList"
>
<tr
(
click
)="
getEcharts
(
item
.
itemid
)"
>
<td>
{{item.itemName}}
</td>
<td>
{{item.max | toUtil}}
</td>
<td>
{{item.min | toUtil}}
</td>
<td>
{{item.avg | toUtil}}
</td>
</tr>
</ng-container>
</tbody>
</nz-table>
</nz-tab>
<nz-tab
nzTitle=
"发送流量排行"
>
<nz-table
#
nzTable
[
nzData
]="
outList
"
[
nzLoading
]="
outLoading
"
[
nzFrontPagination
]="
false
"
[
nzTotal
]="
outTotalNum
"
[
nzPageIndex
]="
outPageNum
"
[
nzPageSize
]="
outPageCount
"
(
nzPageIndexChange
)="
outChnagePage
($
event
)"
>
<thead>
<tr>
<tr>
<th
nzWidth=
"20%"
>
监测点名称
</th>
<td>
{{data.typeName}}
</td>
<th>
最大值
</th>
<td>
{{data.num}}
</td>
<th>
最小值
</th>
<td>
未解决 {{data.unsolved}} 部分解决 {{data.solveLittle}} 解决 {{data.solved}}
</td>
<th>
平均值
</th>
<td>
</tr>
<ng-container
*
ngFor=
"let item of data.eventTypes"
>
</thead>
<span>
{{item.typeName}} {{item.num}}
</span>
<tbody>
</ng-container>
<ng-container
*
ngFor=
"let data of outList"
>
</td>
<tr
class=
"cursor"
(
click
)="
getEcharts
(
data
.
itemid
)"
>
<td>
{{data.itemName}}
</td>
<td>
{{data.max | toUtil}}
</td>
<td>
{{data.min | toUtil}}
</td>
<td>
{{data.avg | toUtil}}
</td>
</tr>
</tr>
</ng-container>
</ng-container>
</tbody>
</tbody>
</nz-table>
</nz-table>
</nz-tab>
\ No newline at end of file
</nz-tabset>
src/main/webapp/app/analysis/operation-work/analysis-deal/analysis-deal.component.ts
View file @
a9ed6126
...
@@ -14,6 +14,8 @@ export class AnalysisDealComponent implements OnInit {
...
@@ -14,6 +14,8 @@ export class AnalysisDealComponent implements OnInit {
startTime
;
startTime
;
endTime
;
endTime
;
timeType
;
timeType
;
dealList
;
chartOption
;
obj
=
{
obj
=
{
startTime
:
''
,
startTime
:
''
,
...
@@ -35,11 +37,34 @@ export class AnalysisDealComponent implements OnInit {
...
@@ -35,11 +37,34 @@ export class AnalysisDealComponent implements OnInit {
getEcharts
()
{
getEcharts
()
{
this
.
analysisSer
.
operateUser
(
this
.
obj
).
subscribe
(
this
.
analysisSer
.
operateUser
(
this
.
obj
).
subscribe
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
errCode
==
10000
){
this
.
dealList
=
res
.
data
;
this
.
setEcharts
();
}
}
}
);
);
}
}
setEcharts
(){
this
.
chartOption
=
{
xAxis
:
{
type
:
'category'
,
data
:
this
.
dealList
.
map
(
e
=>
{
return
e
.
username
;
})
},
yAxis
:
{
type
:
'value'
},
series
:
[{
data
:
this
.
dealList
.
map
(
e
=>
{
return
e
.
num
;
}),
type
:
'bar'
}]
};
}
//时间改变
//时间改变
changeType
()
{
changeType
()
{
const
nowDate
=
new
Date
().
getTime
();
const
nowDate
=
new
Date
().
getTime
();
...
...
src/main/webapp/app/analysis/operation-work/analysis-event/analysis-event.component.html
View file @
a9ed6126
...
@@ -2,49 +2,28 @@
...
@@ -2,49 +2,28 @@
<nz-spin
[
nzSpinning
]="
isLoading
"
>
<nz-spin
[
nzSpinning
]="
isLoading
"
>
<div
echarts
[
options
]="
chartOption
"
style=
"height: 400px;width: 100%"
></div>
<div
echarts
[
options
]="
chartOption
"
style=
"height: 400px;width: 100%"
></div>
</nz-spin>
</nz-spin>
<nz-tabset
[
nzTabPosition
]="'
top
'"
[
nzType
]="'
card
'"
>
<nz-tab
nzTitle=
"接收流量排行"
>
<nz-table
#
nzTable
[
nzData
]="
eventList
"
>
<nz-table
#
nzTable
[
nzData
]="
inList
"
[
nzLoading
]="
inLoading
"
[
nzFrontPagination
]="
false
"
[
nzTotal
]="
inTotalNum
"
[
nzPageIndex
]="
inPageNum
"
[
nzPageSize
]="
inPageCount
"
(
nzPageIndexChange
)="
inChnagePage
($
event
)"
>
<thead>
<thead>
<tr>
<tr>
<th
nzWidth=
"20%"
>
监测点名称
</th>
<th
nzWidth=
"20%"
>
事件分类
</th>
<th>
最大值
</th>
<th>
事件数量
</th>
<th>
最小值
</th>
<th>
解决状态
</th>
<th>
平均值
</th>
<th>
处理人情况
</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<ng-container
*
ngFor=
"let item of inList"
>
<ng-container
*
ngFor=
"let data of eventList"
>
<tr
(
click
)="
getEcharts
(
item
.
itemid
)"
>
<td>
{{item.itemName}}
</td>
<td>
{{item.max | toUtil}}
</td>
<td>
{{item.min | toUtil}}
</td>
<td>
{{item.avg | toUtil}}
</td>
</tr>
</ng-container>
</tbody>
</nz-table>
</nz-tab>
<nz-tab
nzTitle=
"发送流量排行"
>
<nz-table
#
nzTable
[
nzData
]="
outList
"
[
nzLoading
]="
outLoading
"
[
nzFrontPagination
]="
false
"
[
nzTotal
]="
outTotalNum
"
[
nzPageIndex
]="
outPageNum
"
[
nzPageSize
]="
outPageCount
"
(
nzPageIndexChange
)="
outChnagePage
($
event
)"
>
<thead>
<tr>
<tr>
<th
nzWidth=
"20%"
>
监测点名称
</th>
<td>
{{data.typeName}}
</td>
<th>
最大值
</th>
<td>
{{data.num}}
</td>
<th>
最小值
</th>
<td>
未解决 {{data.unsolved}} 部分解决 {{data.solveLittle}} 解决 {{data.solved}}
</td>
<th>
平均值
</th>
<td>
</tr>
<ng-container
*
ngFor=
"let item of data.operates"
>
</thead>
<span>
{{item.username}} {{item.num}}
</span>
<tbody>
</ng-container>
<ng-container
*
ngFor=
"let data of outList"
>
</td>
<tr
class=
"cursor"
(
click
)="
getEcharts
(
data
.
itemid
)"
>
<td>
{{data.itemName}}
</td>
<td>
{{data.max | toUtil}}
</td>
<td>
{{data.min | toUtil}}
</td>
<td>
{{data.avg | toUtil}}
</td>
</tr>
</tr>
</ng-container>
</ng-container>
</tbody>
</tbody>
</nz-table>
</nz-table>
</nz-tab>
</nz-tabset>
\ No newline at end of file
src/main/webapp/app/analysis/operation-work/analysis-event/analysis-event.component.ts
View file @
a9ed6126
...
@@ -14,6 +14,8 @@ export class AnalysisEventComponent implements OnInit {
...
@@ -14,6 +14,8 @@ export class AnalysisEventComponent implements OnInit {
startTime
;
startTime
;
endTime
;
endTime
;
timeType
;
timeType
;
chartOption
;
eventList
;
obj
=
{
obj
=
{
startTime
:
''
,
startTime
:
''
,
...
@@ -35,11 +37,34 @@ export class AnalysisEventComponent implements OnInit {
...
@@ -35,11 +37,34 @@ export class AnalysisEventComponent implements OnInit {
getEcharts
()
{
getEcharts
()
{
this
.
analysisSer
.
eventByType
(
this
.
obj
).
subscribe
(
this
.
analysisSer
.
eventByType
(
this
.
obj
).
subscribe
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
errCode
==
10000
){
this
.
eventList
=
res
.
data
;
this
.
setEcharts
();
}
}
}
);
);
}
}
setEcharts
(){
this
.
chartOption
=
{
xAxis
:
{
type
:
'category'
,
data
:
this
.
eventList
.
map
(
e
=>
{
return
e
.
typeName
;
})
},
yAxis
:
{
type
:
'value'
},
series
:
[{
data
:
this
.
eventList
.
map
(
e
=>
{
return
e
.
num
;
}),
type
:
'bar'
}]
};
}
//时间改变
//时间改变
changeType
()
{
changeType
()
{
const
nowDate
=
new
Date
().
getTime
();
const
nowDate
=
new
Date
().
getTime
();
...
...
src/main/webapp/app/analysis/operation-work/analysis-status/analysis-status.component.html
View file @
a9ed6126
<!--解决状态统计-->
<!--解决状态统计-->
<!--处理人统计-->
<nz-spin
[
nzSpinning
]="
isLoading
"
>
<nz-spin
[
nzSpinning
]="
isLoading
"
>
<div
echarts
[
options
]="
chartOption
"
style=
"height: 400px;width: 100%"
></div>
<div
echarts
[
options
]="
chartOption
"
style=
"height: 400px;width: 100%"
></div>
</nz-spin>
</nz-spin>
<nz-tabset
[
nzTabPosition
]="'
top
'"
[
nzType
]="'
card
'"
>
<nz-tab
nzTitle=
"接收流量排行"
>
<nz-table
#
nzTable
[
nzData
]="
statusList
"
>
<nz-table
#
nzTable
[
nzData
]="
inList
"
[
nzLoading
]="
inLoading
"
[
nzFrontPagination
]="
false
"
[
nzTotal
]="
inTotalNum
"
[
nzPageIndex
]="
inPageNum
"
[
nzPageSize
]="
inPageCount
"
(
nzPageIndexChange
)="
inChnagePage
($
event
)"
>
<thead>
<thead>
<tr>
<tr>
<th
nzWidth=
"20%"
>
监测点名称
</th>
<th
nzWidth=
"20%"
>
解决状态
</th>
<th>
最大值
</th>
<th>
事件数量
</th>
<th>
最小值
</th>
<th>
解决状态
</th>
<th>
平均值
</th>
<th>
事件分类
</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<ng-container
*
ngFor=
"let item of inList"
>
<ng-container
*
ngFor=
"let data of statusList"
>
<tr
(
click
)="
getEcharts
(
item
.
itemid
)"
>
<td>
{{item.itemName}}
</td>
<td>
{{item.max | toUtil}}
</td>
<td>
{{item.min | toUtil}}
</td>
<td>
{{item.avg | toUtil}}
</td>
</tr>
</ng-container>
</tbody>
</nz-table>
</nz-tab>
<nz-tab
nzTitle=
"发送流量排行"
>
<nz-table
#
nzTable
[
nzData
]="
outList
"
[
nzLoading
]="
outLoading
"
[
nzFrontPagination
]="
false
"
[
nzTotal
]="
outTotalNum
"
[
nzPageIndex
]="
outPageNum
"
[
nzPageSize
]="
outPageCount
"
(
nzPageIndexChange
)="
outChnagePage
($
event
)"
>
<thead>
<tr>
<tr>
<th
nzWidth=
"20%"
>
监测点名称
</th>
<td>
{{data.operateStatusName}}
</td>
<th>
最大值
</th>
<td>
{{data.num}}
</td>
<th>
最小值
</th>
<td>
<th>
平均值
</th>
<ng-container
*
ngFor=
"let item of data.operates"
>
</tr>
<span>
{{item.username}} {{item.num}}
</span>
</thead>
</ng-container>
<tbody>
</td>
<ng-container
*
ngFor=
"let data of outList"
>
<td>
<tr
class=
"cursor"
(
click
)="
getEcharts
(
data
.
itemid
)"
>
<ng-container
*
ngFor=
"let item of data.eventTypeS"
>
<td>
{{data.itemName}}
</td>
<span>
{{item.typeName}} {{item.num}}
</span>
<td>
{{data.max | toUtil}}
</td>
</ng-container>
<td>
{{data.min | toUtil}}
</td>
</td>
<td>
{{data.avg | toUtil}}
</td>
</tr>
</tr>
</ng-container>
</ng-container>
</tbody>
</tbody>
</nz-table>
</nz-table>
</nz-tab>
\ No newline at end of file
</nz-tabset>
\ No newline at end of file
src/main/webapp/app/analysis/operation-work/analysis-status/analysis-status.component.ts
View file @
a9ed6126
...
@@ -14,6 +14,8 @@ export class AnalysisStatusComponent implements OnInit {
...
@@ -14,6 +14,8 @@ export class AnalysisStatusComponent implements OnInit {
startTime
;
startTime
;
endTime
;
endTime
;
timeType
;
timeType
;
chartOption
;
statusList
;
obj
=
{
obj
=
{
startTime
:
''
,
startTime
:
''
,
...
@@ -35,11 +37,34 @@ export class AnalysisStatusComponent implements OnInit {
...
@@ -35,11 +37,34 @@ export class AnalysisStatusComponent implements OnInit {
getEcharts
()
{
getEcharts
()
{
this
.
analysisSer
.
operateStatus
(
this
.
obj
).
subscribe
(
this
.
analysisSer
.
operateStatus
(
this
.
obj
).
subscribe
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
errCode
==
10000
){
this
.
statusList
=
res
.
data
;
this
.
setEcharts
();
}
}
}
);
);
}
}
setEcharts
(){
this
.
chartOption
=
{
xAxis
:
{
type
:
'category'
,
data
:
this
.
statusList
.
map
(
e
=>
{
return
e
.
operateStatusName
;
})
},
yAxis
:
{
type
:
'value'
},
series
:
[{
data
:
this
.
statusList
.
map
(
e
=>
{
return
e
.
num
;
}),
type
:
'bar'
}]
};
}
//时间改变
//时间改变
changeType
()
{
changeType
()
{
const
nowDate
=
new
Date
().
getTime
();
const
nowDate
=
new
Date
().
getTime
();
...
...
src/main/webapp/app/analysis/operation-work/operation-work.component.html
View file @
a9ed6126
...
@@ -29,12 +29,12 @@
...
@@ -29,12 +29,12 @@
</div>
</div>
</div>
</div>
<!--解决状态-->
<!--解决状态-->
<ng-container
*
ngIf=
"type == '
2
'"
>
<ng-container
*
ngIf=
"type == '
1
'"
>
<smart-analysis-status></smart-analysis-status>
<smart-analysis-status></smart-analysis-status>
</ng-container>
</ng-container>
<!--事件分类统计-->
<!--事件分类统计-->
<ng-container
*
ngIf=
"type == '
1
'"
>
<ng-container
*
ngIf=
"type == '
2
'"
>
<smart-analysis-event></smart-analysis-event>
<smart-analysis-event></smart-analysis-event>
</ng-container>
</ng-container>
...
...
src/main/webapp/app/analysis/resource-alarm/resource-alarm.component.html
View file @
a9ed6126
...
@@ -60,31 +60,31 @@
...
@@ -60,31 +60,31 @@
<div
echarts
[
options
]="
chartOption
"
style=
"height: 400px;width: 100%"
></div>
<div
echarts
[
options
]="
chartOption
"
style=
"height: 400px;width: 100%"
></div>
</nz-spin>
</nz-spin>
<h2>
常见问题TOP10
</h2>
<h2>
常见问题TOP10
</h2>
<
!--<nz-table #nzTable [nzData]="inList" [nzLoading]="inLoading" [nzFrontPagination]="false" [nzTotal]="inTotalNum"-->
<
nz-table
#
nzTable
[
nzData
]="
inList
"
[
nzLoading
]="
inLoading
"
[
nzFrontPagination
]="
false
"
[
nzTotal
]="
inTotalNum
"
<!--[nzPageIndex]="inPageNum" [nzPageSize]="inPageCount" (nzPageIndexChange)="inChnagePage($event)">--
>
[
nzPageIndex
]="
inPageNum
"
[
nzPageSize
]="
inPageCount
"
(
nzPageIndexChange
)="
inChnagePage
($
event
)"
>
<
!--<thead>--
>
<
thead
>
<
!--<tr>--
>
<
tr
>
<
!--<th nzWidth="20%">资源名称</th>--
>
<
th
nzWidth=
"20%"
>
资源名称
</th
>
<
!--<th>所在分组</th>--
>
<
th>
所在分组
</th
>
<
!--<th>告警名称</th>--
>
<
th>
告警名称
</th
>
<
!--<th>严重性</th>--
>
<
th>
严重性
</th
>
<
!--<th>时间段内发生次数</th>--
>
<
th>
时间段内发生次数
</th
>
<
!--</tr>--
>
<
/tr
>
<
!--</thead>--
>
<
/thead
>
<
!--<tbody>--
>
<
tbody
>
<
!--<ng-container *ngFor="let item of inList">--
>
<
ng-container
*
ngFor=
"let item of inList"
>
<
!--<tr (click)="getEcharts(item.itemid)">--
>
<
tr
(
click
)="
getEcharts
(
item
.
itemid
)"
>
<
!--<td>{{item.itemName}}</td>--
>
<
td>
{{item.itemName}}
</td
>
<
!--<td>{{item.max | toUtil}}</td>--
>
<
td>
{{item.max | toUtil}}
</td
>
<
!--<td>{{item.min | toUtil}}</td>--
>
<
td>
{{item.min | toUtil}}
</td
>
<
!--<td>{{item.avg | toUtil}}</td>--
>
<
td>
{{item.avg | toUtil}}
</td
>
<
!--<td>{{item.avg | toUtil}}</td>--
>
<
td>
{{item.avg | toUtil}}
</td
>
<
!--</tr>--
>
<
/tr
>
<
!--</ng-container>--
>
<
/ng-container
>
<
!--</tbody>--
>
<
/tbody
>
<
!--</nz-table>--
>
<
/nz-table
>
<h2>
统计报告
</h2>
<h2>
统计报告
</h2>
<nz-table
#
nzTable
[
nzData
]="
outList
"
[
nzLoading
]="
outLoading
"
[
nzFrontPagination
]="
false
"
[
nzTotal
]="
outTotalNum
"
<nz-table
#
nzTable
1
[
nzData
]="
outList
"
[
nzLoading
]="
outLoading
"
[
nzFrontPagination
]="
false
"
[
nzTotal
]="
outTotalNum
"
[
nzPageIndex
]="
outPageNum
"
[
nzPageSize
]="
outPageCount
"
(
nzPageIndexChange
)="
outChnagePage
($
event
)"
>
[
nzPageIndex
]="
outPageNum
"
[
nzPageSize
]="
outPageCount
"
(
nzPageIndexChange
)="
outChnagePage
($
event
)"
>
<thead>
<thead>
<tr>
<tr>
...
...
src/main/webapp/app/analysis/resource-usabil/resource-usabil.component.html
View file @
a9ed6126
...
@@ -60,3 +60,25 @@
...
@@ -60,3 +60,25 @@
<nz-spin
[
nzSpinning
]="
isLoading
"
>
<nz-spin
[
nzSpinning
]="
isLoading
"
>
<div
echarts
[
options
]="
chartOption
"
style=
"height: 400px;width: 100%"
></div>
<div
echarts
[
options
]="
chartOption
"
style=
"height: 400px;width: 100%"
></div>
</nz-spin>
</nz-spin>
<nz-table
#
nzTable
[
nzData
]="
eventList
"
[
nzLoading
]="
isLoading
"
>
<thead>
<tr>
<th
nzWidth=
"20%"
>
资源名称
</th>
<th>
所在分组
</th>
<th>
告警名称
</th>
<th>
严重性
</th>
<th>
时间段内发生次数
</th>
</tr>
</thead>
<tbody>
<ng-container
*
ngFor=
"let item of eventList"
>
<tr
(
click
)="
getEcharts
(
item
.
itemid
)"
>
<td>
{{item.itemName}}
</td>
<td>
{{item.max | toUtil}}
</td>
<td>
{{item.min | toUtil}}
</td>
<td>
{{item.avg | toUtil}}
</td>
<td>
{{item.avg | toUtil}}
</td>
</tr>
</ng-container>
</tbody>
</nz-table>
\ No newline at end of file
src/main/webapp/app/analysis/resource-usabil/resource-usabil.component.ts
View file @
a9ed6126
...
@@ -15,6 +15,9 @@ export class ResourceUsabilComponent implements OnInit {
...
@@ -15,6 +15,9 @@ export class ResourceUsabilComponent implements OnInit {
endTime
;
endTime
;
timeType
;
timeType
;
chartOption
;
eventList
;
obj
=
{
obj
=
{
type
:
''
,
type
:
''
,
groupid
:
''
,
groupid
:
''
,
...
@@ -54,7 +57,9 @@ export class ResourceUsabilComponent implements OnInit {
...
@@ -54,7 +57,9 @@ export class ResourceUsabilComponent implements OnInit {
this
.
obj
.
type
=
'top'
;
this
.
obj
.
type
=
'top'
;
this
.
analysisSer
.
findFailureRate
(
this
.
obj
).
subscribe
(
this
.
analysisSer
.
findFailureRate
(
this
.
obj
).
subscribe
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
errCode
==
10000
){
this
.
eventList
=
res
.
data
;
}
}
}
);
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment