|
|
<el-divider/>
|
|
|
<div class="d-flex" v-model="dialTest">
|
|
|
<div class="d-flex align-center" style="width: 300px;justify-content: center;">
|
|
|
<div class="d-flex" v-model="cardList">
|
|
|
<div class="d-flex align-center" style="width: 187px;padding-left: 113px;">
|
|
|
<!--<span style="width: 10px;height: 10px;background-color: red;border-radius: 50%"> </span>-->
|
|
|
<i class="iconfont icon-dian" style="font-size: 32px;color: red;"/>
|
|
|
<img class="m-l-6" src="../src/style/img/fault/base/resType/数据库.png">
|
|
|
<a class="m-l-6">数据库</a>
|
|
|
<img class="m-l-6" :src="'../src/style/img/fault/base/resType/'+cardList.resClass+'.png'" >
|
|
|
<a class="m-l-6">{{cardList.resClassName}}</a>
|
|
|
</div>
|
|
|
<div>
|
|
|
<div class="d-flex align-left">
|
|
|
<div style="width: 200px;margin-left: 20px;display: flex;align-self: center;">
|
|
|
<img src="../src/style/img/disRes.png">
|
|
|
<span style="margin: 0px 6px 0px 6px;width: 95px">诊断资源</span>
|
|
|
<h>{{dialTest && dialTest.diagnosticResources ?dialTest.diagnosticResources:0}}</h>
|
|
|
<h>{{cardList && cardList.diagnosticResources ?cardList.diagnosticResources:0}}</h>
|
|
|
</div>
|
|
|
|
|
|
|
<div style="width: 200px;margin-left: 20px;display: flex;align-self: center;">
|
|
|
<img src="../src/style/img/disKpi.png">
|
|
|
<span style="margin: 0px 6px 0px 6px;width: 95px">诊断指标</span>
|
|
|
<h>{{dialTest && dialTest.diagnosticIndicators ?dialTest.diagnosticIndicators:0}}</h>
|
|
|
<h>{{cardList && cardList.diagnosticIndicators ?cardList.diagnosticIndicators:0}}</h>
|
|
|
</div>
|
|
|
|
|
|
|
<div style="width: 200px;margin-left: 20px;display: flex;align-self: center;">
|
|
|
<img src="../src/style/img/disItem.png">
|
|
|
<span style="margin: 0px 6px 0px 6px;width: 95px">诊断项</span>
|
|
|
<h>{{dialTest && dialTest.diagnosticItem ?dialTest.diagnosticItem:0}}</h>
|
|
|
<h>{{cardList && cardList.diagnosticItem ?cardList.diagnosticItem:0}}</h>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div style="text-align: left;display: flex;margin-top: 10px;">
|
|
|
<div style="width: 200px;margin-left: 20px;display: flex;align-self: center;color: yellowgreen">
|
|
|
<img src="../src/style/img/success.png">
|
|
|
<span style="margin: 0px 6px 0px 6px;width: 95px;">正常</span>
|
|
|
<h style="font-size: 20px">{{dialTest && dialTest.normal ?dialTest.normal:0}}</h>
|
|
|
<h style="font-size: 20px">{{cardList && cardList.normal ?cardList.normal:0}}</h>
|
|
|
</div>
|
|
|
|
|
|
|
<div style="width: 200px;margin-left: 20px;display: flex;align-self: center;color: #f8d305">
|
|
|
<img src="../src/style/img/error.png">
|
|
|
<span style="margin: 0px 6px 0px 6px;width: 95px;"> 异常</span>
|
|
|
<h style="font-size: 20px">{{dialTest && dialTest.abnormal ?dialTest.abnormal:0}}</h>
|
|
|
<h style="font-size: 20px">{{cardList && cardList.abnormal ?cardList.abnormal:0}}</h>
|
|
|
</div>
|
|
|
|
|
|
|
<div style="width: 200px;margin-left: 20px;display: flex;align-self: center;color: red">
|
|
|
<img src="../src/style/img/fault/base/alarm.png">
|
|
|
<span style="margin: 0px 6px 0px 6px;width: 95px;"> 告警</span>
|
|
|
<h style="font-size: 20px">{{dialTest && dialTest.abnormal ?dialTest.abnormal:0}}</h>
|
|
|
<h style="font-size: 20px">{{cardList && cardList.abnormal ?cardList.abnormal:0}}</h>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -53,7 +53,7 @@ |
|
|
</div>
|
|
|
<div v-if="cardOpen"
|
|
|
style="margin-top: 10px;background-color: whitesmoke;display: flex;justify-content: flex-start;flex-wrap: wrap;padding: 6px;">
|
|
|
<div v-for="item in 10" style="width: 25%">
|
|
|
<div v-for="item in cardList.faultFixInfoList" style="width: 25%">
|
|
|
<div style="min-width: 338px;height: 160px;background: url(../src/style/img/fault/base/bg.png) no-repeat;background-size: 100% 100%;padding-top: 10px;">
|
|
|
<el-row style="height: 70px;padding: 10px 30px;">
|
|
|
<el-col :span="4" style="line-height: 55px;">
|
...
|
...
|
|