Kaynağa Gözat

fiex:修复BUG

Tang 3 yıl önce
ebeveyn
işleme
cb141e543b

+ 4 - 0
src/components/tableList.vue

@@ -895,6 +895,8 @@
                 ? "未通过"
                 : scope.row[item.prop] === 1
                 ? "通过"
+                : scope.row[item.prop] === 3
+                ? "审核中"
                 : ""
             }}
           </span>
@@ -911,6 +913,8 @@
                 ? "未通过"
                 : scope.row[item.prop] === 2
                 ? "通过"
+                : scope.row[item.prop] === 3
+                ? "审核中"
                 : ""
             }}
           </span>

+ 8 - 1
src/views/education/classManageMent/classHours/index.vue

@@ -75,7 +75,7 @@
         <span
           style="font-size: 14px; margin: 0px 6px"
           v-if="statusShow.indexOf(2) !== -1"
-          >已推送:{{gfNum}}/{{total}}</span
+          >已推送:{{ gfNum }}/{{ total }}</span
         >
       </div>
     </div>
@@ -334,6 +334,13 @@ export default {
         this.$message.warning("请勾选需要学时信息推送的学员");
         return;
       }
+      let stu = this.$refs.tableList.allCheckData.some((item) => {
+        return item.periodStatus === -1;
+      });
+      if (stu) {
+        this.$message.warning("所勾选学员的学时审批状态不允许为不可审核状态");
+        return;
+      }
       let arr = this.$refs.tableList.allCheckData.map((item) => {
         return {
           userId: item.userId,

+ 0 - 7
src/views/education/classManageMent/studentMenu/index.vue

@@ -750,13 +750,6 @@ export default {
         this.$message.warning("请勾选需要官方信息推送的学员");
         return;
       }
-      let stu = this.$refs.tableList.allCheckData.some((item) => {
-        return item.periodStatus === -1;
-      });
-      if (stu) {
-        this.$message.warning("所勾选学员的学时审批状态不允许为不可审核状态");
-        return;
-      }
       let arr = this.$refs.tableList.allCheckData.map((item) => {
         return {
           userId: item.userId,