Browse Source

LY 定期培训 超期和补赔

ly 1 year ago
parent
commit
5b4d0bdfe3

+ 1 - 0
ui/src/views/training/bccdevice/index.vue

@@ -65,6 +65,7 @@
         <template v-slot="scope">
           <el-tag v-if="scope.row.examState == 1" size="small" type="success">合格</el-tag>
           <el-tag v-else-if="scope.row.examState == 0" size="small" type="info">未完成</el-tag>
+          <el-tag v-else-if="scope.row.examState == -1" size="small" type="danger">不合格</el-tag>
         </template>
       </el-table-column>
       <el-table-column label="学习时长min" align="center" prop="learnTime" :show-overflow-tooltip="true"/>

+ 2 - 0
ui/src/views/training/trainingbcc/deviceList.vue

@@ -69,6 +69,8 @@
         <template v-slot="scope">
           <el-tag v-if="scope.row.examState == 1" size="small" type="success">合格</el-tag>
           <el-tag v-else-if="scope.row.examState == 0" size="small" type="info">未完成</el-tag>
+          <el-tag v-else-if="scope.row.examState == -1" size="small" type="danger">不合格</el-tag>
+
         </template>
       </el-table-column>
       <el-table-column label="考试次数" align="center"  prop="examNum" :show-overflow-tooltip="true"/>

+ 1 - 1
ui/src/views/training/trainingbcc/record.vue

@@ -354,7 +354,7 @@ export default {
     this.getDicts("ACTUALPOST").then(response => {
       this.positionOptions = response.data;
     });
-    this.getDicts("TRAINING_TYPE").then(response => {
+    this.getDicts("TRAINING_TYPE_BCC").then(response => {
       this.trainingTypeOptions = response.data;
     });
   },