Преглед изворни кода

缺陷问题-缺陷数量颜色修改、增加缺陷占比

liyanyan пре 1 месец
родитељ
комит
35e9a6b08a
2 измењених фајлова са 13 додато и 1 уклоњено
  1. 6 0
      src/styles/custom.scss
  2. 7 1
      src/views/allcase/components/ProblemTableBox.vue

+ 6 - 0
src/styles/custom.scss

@@ -22,6 +22,12 @@
     color: #004983;
     cursor: pointer;
   }
+  .red-link {
+    font-weight: 600;
+    color: red;
+    text-decoration:underline;
+    cursor: pointer;
+  }
 }
 
 // 搜索button

+ 7 - 1
src/views/allcase/components/ProblemTableBox.vue

@@ -26,6 +26,12 @@
         <span class="link" @click="toPage(scope.row)">{{ scope.row.total_num }}</span>
       </template>
     </el-table-column>
+    <el-table-column
+      prop="proportion"
+      label="缺陷占比"
+      v-if="from == 'ZMBLZK'"
+    >
+    </el-table-column>
   </el-table>
 </template>
 
@@ -79,7 +85,7 @@ export default {
 }
 .link{
   font-weight: 600;
-  color: #409eff;
+  color: red;
   text-decoration:underline;
   cursor: pointer;
 }