浏览代码

批量审核完跳转下一条

qinchao 4 年之前
父节点
当前提交
b134f7e321
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      src/modules/oe/views/captureDetail.vue

+ 6 - 2
src/modules/oe/views/captureDetail.vue

@@ -436,7 +436,7 @@ export default {
         } else {
         } else {
           this.$notify({
           this.$notify({
             title: "成功",
             title: "成功",
-            message: "当前数据为最后一条",
+            message: "审核完毕",
             type: "success",
             type: "success",
           });
           });
           this.back();
           this.back();
@@ -460,9 +460,13 @@ export default {
           this.getDisciplineTypeList("");
           this.getDisciplineTypeList("");
           this.getExamProcessRecordData();
           this.getExamProcessRecordData();
         } else {
         } else {
+          var msg = "最后";
+          if (next === "0") {
+            msg = "第";
+          }
           this.$notify({
           this.$notify({
             title: "成功",
             title: "成功",
-            message: "当前数据为最后一条",
+            message: "当前数据为" + msg + "一条",
             type: "success",
             type: "success",
           });
           });
         }
         }