...
|
...
|
@@ -29,25 +29,25 @@ |
|
|
<div style="width: 230px;margin-left: 20px;display: flex;align-self: center;color: #75af49;align-items: center;">
|
|
|
<img src="../src/style/img/fault/success.png" style="width:22px;height: 22px;">
|
|
|
<span style="margin: 0px 6px 0px 6px;width: 105px;font-size: 16px;">正常</span>
|
|
|
<h style="font-size: 20px" class="text-link" @click="openDiagnosticItem('normal')">{{getFaultItemValue(cardList,'normal')}}</h>
|
|
|
<h style="font-size: 20px;color: #75af49;" class="text-link" @click="openDiagnosticItem('normal')">{{getFaultItemValue(cardList,'normal')}}</h>
|
|
|
</div>
|
|
|
<span class="flex-border-span">|</span>
|
|
|
<div style="width: 200px;margin-left: 40px;display: flex;align-self: center;color: #febb1a;align-items: center;">
|
|
|
<img src="../src/style/img/fault/error.png" style="width:22px;height: 22px;">
|
|
|
<span style="margin: 0px 6px 0px 6px;width: 105px;font-size: 16px;"> 异常</span>
|
|
|
<h style="font-size: 24px" class="text-link" @click="openDiagnosticItem('abnormal')">{{getFaultItemValue(cardList,'abnormal')}}</h>
|
|
|
<h style="font-size: 24px;color: #febb1a;" class="text-link" @click="openDiagnosticItem('abnormal')">{{getFaultItemValue(cardList,'abnormal')}}</h>
|
|
|
</div>
|
|
|
<span class="flex-border-span">|</span>
|
|
|
<div style="width: 200px;margin-left: 40px;display: flex;align-self: center;color: red;align-items: center;">
|
|
|
<img src="../src/style/img/fault/base/alarm.png" style="width:22px;height: 22px;">
|
|
|
<span style="margin: 0px 6px 0px 6px;width: 105px;font-size: 16px;"> 告警</span>
|
|
|
<h style="font-size: 24px" class="text-link" @click="openAlarm()">{{getFaultItemValue(cardList,'alarm')}}</h>
|
|
|
<h style="font-size: 24px;color: red;" class="text-link" @click="openAlarm()">{{getFaultItemValue(cardList,'alarm')}}</h>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="align-center" style="flex: 1;text-align: right;margin-right: 80px;">
|
|
|
<a class="m-r-20" v-if="cardList.faultFixInfoList && cardList.faultFixInfoList.length > 0" @click="openMoreDialog()">更多</a>
|
|
|
<a v-model="cardName" v-if="cardList.faultFixInfoList && cardList.faultFixInfoList.length > 0" @click="openOrCloseCard()">{{cardName}}</a>
|
|
|
<a class="m-r-20 text-link" v-if="cardList.faultFixInfoList && cardList.faultFixInfoList.length > 0" @click="openMoreDialog()">更多</a>
|
|
|
<a class="text-link" v-model="cardName" v-if="cardList.faultFixInfoList && cardList.faultFixInfoList.length > 0" @click="openOrCloseCard()">{{cardName}}</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-if="cardOpen"
|
...
|
...
|
@@ -78,13 +78,13 @@ |
|
|
CPU
|
|
|
</el-col>
|
|
|
<el-col :span="12" class="align-right border-solid p-6" v-if="resClass!='database'">
|
|
|
{{item.cpu}}
|
|
|
{{item.cpu}}{{item.cpuUnit}}
|
|
|
</el-col>
|
|
|
<el-col :span="12" class="align-left border-solid p-6" v-if="resClass!='database'">
|
|
|
内存
|
|
|
</el-col>
|
|
|
<el-col :span="12" class="align-right border-solid p-6" v-if="resClass!='database'">
|
|
|
{{item.men}}
|
|
|
{{item.men}}{{item.menUnit}}
|
|
|
</el-col>
|
|
|
<el-col :span="12" class="align-left border-solid p-6">
|
|
|
告警量
|
...
|
...
|
@@ -104,7 +104,6 @@ |
|
|
<el-row style="height: 70px;padding: 10px 30px;display:flex;align-items:center;" v-if="item.resClass=='system'">
|
|
|
<el-col :span="4" class="align-center" style="margin: auto;">
|
|
|
<el-tooltip
|
|
|
effect="light"
|
|
|
placement="top-start">
|
|
|
<template #content>
|
|
|
{{item.kpiName}}: {{item.linkState}}
|
...
|
...
|
@@ -116,13 +115,13 @@ |
|
|
<el-col :span="1" style="line-height: 36px;color: gainsboro;">
|
|
|
<span class="flex-border-span">|</span>
|
|
|
</el-col>
|
|
|
<el-col :span="4" class="align-center">
|
|
|
<el-col :span="4" class="text-link align-center" style="color:#1e9fff;" @click="openResPonse(item.kpiId,item.resId,'cpu性能曲线')">
|
|
|
<img src="../src/style/img/fault/base/CPU-green.png"><br/>
|
|
|
{{item.cpu}}
|
|
|
{{item.cpu}}{{item.cpuUnit}}
|
|
|
</el-col>
|
|
|
<el-col :span="5" class="align-center">
|
|
|
<el-col :span="5" class="text-link align-center" style="color:#1e9fff;" @click="openResPonse(item.kpiId,item.resId,'内存性能曲线')">
|
|
|
<img src="../src/style/img/fault/base/men.png"><br/>
|
|
|
{{item.men}}%
|
|
|
{{item.men}}{{item.menUnit}}
|
|
|
</el-col>
|
|
|
<el-col :span="5" class="align-center">
|
|
|
<img src="../src/style/img/fault/base/alarm.png"><br/>
|
...
|
...
|
@@ -136,7 +135,6 @@ |
|
|
<el-row style="height: 70px;padding: 10px 30px;display:flex;align-items:center;" v-if="item.resClass!='system'">
|
|
|
<el-col :span="3" class="align-center" v-if="item.resClass!='middleware'" >
|
|
|
<el-tooltip
|
|
|
effect="light"
|
|
|
placement="top-start">
|
|
|
<template #content>
|
|
|
{{item.kpiName}}: {{item.linkState}}
|
...
|
...
|
@@ -147,7 +145,6 @@ |
|
|
</el-col>
|
|
|
<el-col :span="3" class="align-center" v-else >
|
|
|
<el-tooltip
|
|
|
effect="light"
|
|
|
placement="top-start">
|
|
|
<template #content>
|
|
|
{{item.kpiName}}: {{item.linkState}}
|
...
|
...
|
|