Authored by wangtao

部门视图优化

@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 2
3 <div :style="getStyle"> 3 <div :style="getStyle">
4 <!-- 卡片 --> 4 <!-- 卡片 -->
5 - <div style="padding: 2px 6px" v-if="sysInParams.dataType == 'card'"> 5 + <div style="padding: 2px 6px;max-height: 100%;overflow-y: auto;" v-if="sysInParams.dataType == 'card'">
6 <el-empty v-if="cardData.length == 0" :image-size="300" :description="emptyText"></el-empty> 6 <el-empty v-if="cardData.length == 0" :image-size="300" :description="emptyText"></el-empty>
7 <div v-else style="display: flex;flex-wrap: wrap;"> 7 <div v-else style="display: flex;flex-wrap: wrap;">
8 <div class="custom-table-card" v-for="item in cardData"> 8 <div class="custom-table-card" v-for="item in cardData">
@@ -47,6 +47,14 @@ @@ -47,6 +47,14 @@
47 <p class="num-title-worst">中</p> 47 <p class="num-title-worst">中</p>
48 </li> 48 </li>
49 49
  50 + <li >
  51 + <div class="title num-title-wjk"></div>
  52 + <b style="margin-left: 10px">
  53 + {{ item[cardDataConfig.notMonitored] }}
  54 + </b>
  55 + <p class="num-title-wjk">未监控</p>
  56 + </li>
  57 +
50 </ul> 58 </ul>
51 </div> 59 </div>
52 </div> 60 </div>
@@ -360,11 +368,10 @@ export default { @@ -360,11 +368,10 @@ export default {
360 368
361 369
362 /** 370 /**
363 - * 卡片下 371 + * 卡片下
364 * @param item 372 * @param item
365 */ 373 */
366 cardDrillPage(item){ 374 cardDrillPage(item){
367 - debugger  
368 let funStr = this.optionsSetUp.cardTopologyDrill; 375 let funStr = this.optionsSetUp.cardTopologyDrill;
369 if(funStr){ 376 if(funStr){
370 try { 377 try {
@@ -509,6 +516,10 @@ export default { @@ -509,6 +516,10 @@ export default {
509 background-color: #d81e06; 516 background-color: #d81e06;
510 } 517 }
511 518
  519 +.num-title-wjk{
  520 + background-color: lightgrey;
  521 +}
  522 +
512 .num-title-total{ 523 .num-title-total{
513 background-color: #b0aaaa; 524 background-color: #b0aaaa;
514 color: black!important; 525 color: black!important;
@@ -578,6 +589,6 @@ export default { @@ -578,6 +589,6 @@ export default {
578 line-height: 30px; 589 line-height: 30px;
579 border-radius: 5px; 590 border-radius: 5px;
580 font-weight: bold; 591 font-weight: bold;
581 - color: white; 592 + color: black;
582 } 593 }
583 </style> 594 </style>