Authored by wangtao

部门视图优化

... ... @@ -2,7 +2,7 @@
<div :style="getStyle">
<!-- 卡片 -->
<div style="padding: 2px 6px" v-if="sysInParams.dataType == 'card'">
<div style="padding: 2px 6px;max-height: 100%;overflow-y: auto;" v-if="sysInParams.dataType == 'card'">
<el-empty v-if="cardData.length == 0" :image-size="300" :description="emptyText"></el-empty>
<div v-else style="display: flex;flex-wrap: wrap;">
<div class="custom-table-card" v-for="item in cardData">
... ... @@ -47,6 +47,14 @@
<p class="num-title-worst">中</p>
</li>
<li >
<div class="title num-title-wjk"></div>
<b style="margin-left: 10px">
{{ item[cardDataConfig.notMonitored] }}
</b>
<p class="num-title-wjk">未监控</p>
</li>
</ul>
</div>
</div>
... ... @@ -360,11 +368,10 @@ export default {
/**
* 卡片下
* 卡片下
* @param item
*/
cardDrillPage(item){
debugger
let funStr = this.optionsSetUp.cardTopologyDrill;
if(funStr){
try {
... ... @@ -509,6 +516,10 @@ export default {
background-color: #d81e06;
}
.num-title-wjk{
background-color: lightgrey;
}
.num-title-total{
background-color: #b0aaaa;
color: black!important;
... ... @@ -578,6 +589,6 @@ export default {
line-height: 30px;
border-radius: 5px;
font-weight: bold;
color: white;
color: black;
}
</style>
... ...