فهرست منبع

fix: bug 修改

zhangjie 11 ماه پیش
والد
کامیت
b78a719c31

+ 10 - 0
src/assets/styles/element-ui-costom.scss

@@ -343,6 +343,16 @@
   }
   .el-table__row.row-danger {
     color: $--color-danger;
+    .el-table__cell {
+      border-top: 1px solid $--color-danger !important;
+      border-bottom: 1px solid $--color-danger !important;
+      &:first-child {
+        border-left: 1px solid $--color-danger !important;
+      }
+      &:last-child {
+        border-right: 2px solid $--color-danger !important;
+      }
+    }
   }
   &.el-table--noback {
     tr.el-table__row {

+ 1 - 1
src/modules/exam/components/taskApply/TaskInfo.vue

@@ -126,7 +126,7 @@ export default {
       });
 
       if (this.IS_MODEL2) {
-        const { printCount, clazzNames } = data.examRoomClassList[0];
+        const { printCount, clazzNames } = data.examRoomInfoList[0];
         const nums = printCount.split("+").map((item) => item * 1);
         this.examRoomClassInfo = {
           backupCount: nums[1],

+ 10 - 1
src/modules/target/components/requirement-statistics/RequirementStatisticsRadar.vue

@@ -42,7 +42,13 @@
           <el-table-column class-name="action-column" label="操作" width="100">
             <template slot-scope="scope">
               <el-popover placement="right" trigger="hover">
-                <el-table :data="scope.row.obeSubRequirements" border>
+                <el-table
+                  :data="scope.row.obeSubRequirements"
+                  border
+                  :row-class-name="
+                    ({ row }) => rowClassHandle(row, scope.row.expectValue)
+                  "
+                >
                   <el-table-column
                     label="毕业要求指标"
                     prop="name"
@@ -152,6 +158,9 @@ export default {
       };
       this.chartOption = option;
     },
+    rowClassHandle(row, expectValue) {
+      return row.matrixDegree < expectValue ? "row-danger" : "";
+    },
   },
 };
 </script>