...
|
...
|
@@ -57,49 +57,76 @@ |
|
|
<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;">
|
|
|
<img src="../src/style/img/fault/base/基础-数据库-黄.png">
|
|
|
<img src="../src/style/img/fault/base/基础-数据库-黄.png" v-if="item[0].resClass=='database'">
|
|
|
<img src="../src/style/img/fault/base/基础-其他-黄.png" v-if="item[0].resClass=='other'">
|
|
|
<img src="../src/style/img/fault/base/基础-操作系统-黄.png" v-if="item[0].resClass=='system'">
|
|
|
<img src="../src/style/img/fault/base/基础-中间件-黄.png" v-if="item[0].resClass=='middleware'">
|
|
|
</el-col>
|
|
|
<el-col :span="16">
|
|
|
这是资源名称啊啊啊啊啊啊啊<br>
|
|
|
IP地址:127.0.0.0.111111
|
|
|
{{item[0].resName}}<br>
|
|
|
{{item[0].ipAddr}}
|
|
|
</el-col>
|
|
|
<el-col :span="4" class="align-right">
|
|
|
<i class="iconfont icon-gengduo-shuxiang" style="font-size: 30px;"></i>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
|
|
|
<el-row style="height: 70px;padding: 10px 30px;">
|
|
|
<el-row style="height: 70px;padding: 10px 30px;" v-if="item[0].resClass=='system'">
|
|
|
<el-col :span="4" class="align-center">
|
|
|
<img src="../src/style/img/fault/base/连接失败.png">
|
|
|
<img v-if="item[3].diagnosisResult =='连接成功'" src="../src/style/img/fault/base/linkSucccess.png" >
|
|
|
<img v-else src="../src/style/img/fault/base/linkError.png" >
|
|
|
</el-col>
|
|
|
<el-col :span="1" style="line-height: 36px;color: gainsboro;">
|
|
|
|
|
|
|
</el-col>
|
|
|
<el-col :span="4" class="align-center">
|
|
|
<img src="../src/style/img/fault/base/CPU-绿.png"><br/>
|
|
|
21%
|
|
|
{{item[2].diagnosisResult}}
|
|
|
</el-col>
|
|
|
<el-col :span="1" style="line-height: 36px;color: gainsboro;">
|
|
|
|
|
|
|
</el-col>
|
|
|
<el-col :span="4" class="align-center">
|
|
|
<img src="../src/style/img/fault/base/内存.png"><br/>
|
|
|
21%
|
|
|
{{item[1].diagnosisResult}}%
|
|
|
</el-col>
|
|
|
<el-col :span="1" style="line-height: 36px;color: gainsboro;">
|
|
|
|
|
|
|
</el-col>
|
|
|
<el-col :span="4" class="align-center">
|
|
|
<img src="../src/style/img/fault/base/alarm.png"><br/>
|
|
|
21%
|
|
|
{{item[0].alarmNum}}
|
|
|
</el-col>
|
|
|
<el-col :span="1" style="line-height: 36px;color: gainsboro;">
|
|
|
|
|
|
|
</el-col>
|
|
|
<el-col :span="4" class="align-center">
|
|
|
<img src="../src/style/img/fault/base/时间-绿.png"><br/>
|
|
|
30分钟
|
|
|
{{item[0].collTimeRecent}}
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row style="height: 70px;padding: 10px 30px;" v-if="item[0].resClass!='system'">
|
|
|
<el-col :span="4" class="align-center" v-if="item[0].resClass!='middleware'">
|
|
|
<img src="../src/style/img/fault/base/linkSucccess.png" v-if="item[0].diagnosisResult=='连接成功'">
|
|
|
<img src="../src/style/img/fault/base/linkError.png" v-else>
|
|
|
</el-col>
|
|
|
<el-col :span="4" class="align-center" v-else>
|
|
|
<img src="../src/style/img/fault/base/linkSucccess.png">
|
|
|
<img src="../src/style/img/fault/base/linkError.png">
|
|
|
</el-col>
|
|
|
<el-col :span="1" style="line-height: 36px;color: gainsboro;">
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<div class="d-flex" style="align-self: center;padding-bottom: 21px;">
|
|
|
<img src="../src/style/img/fault/base/alarm.png">
|
|
|
<span style="padding: 3px 0px 0px 6px;">{{item[0].alarmNum}}</span>
|
|
|
</div>
|
|
|
|
|
|
<div class="d-flex" style="align-self: center;padding-bottom: 21px;padding-left: 175px;">
|
|
|
<img src="../src/style/img/fault/base/时间-绿.png">
|
|
|
<span>{{item[0].collTimeRecent}}</span>
|
|
|
</div>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
|