Pārlūkot izejas kodu

add:学时审核新增需求

Tang 3 gadi atpakaļ
vecāks
revīzija
3cfcf75466

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

@@ -417,7 +417,7 @@ export default {
             })
             .then((res) => {
               if (res.msg) {
-                this.$message.warning(res.msg);
+                this.$message.warning(res.msg + "正在操作");
                 return;
               } else {
                 //学员详情

+ 26 - 12
src/views/education/classManageMent/learningHoursRecordList/index.vue

@@ -37,7 +37,7 @@
     <el-dialog
       :visible.sync="vidBoxHours"
       v-if="vidBoxHours"
-      width="1160px"
+      width="1360px"
       :show-close="false"
       :close-on-click-modal="false"
     >
@@ -61,7 +61,7 @@
     <el-dialog
       :visible.sync="vidBox"
       v-if="vidBox"
-      width="1160px"
+      width="1360px"
       :show-close="false"
       :close-on-click-modal="false"
     >
@@ -436,16 +436,30 @@ export default {
      * @remard 学时记录
      */
     activeStudyRecord(options) {
-      this.objs = {
-        gradeId: options.gradeId,
-        userId: options.userId,
-        goodsId: options.goodsId,
-        className: options.className,
-        classHours: options.classHours,
-        studyStartTime: options.studyStartTime,
-        studyEndTime: options.studyEndTime,
-      };
-      this.vidBox = true;
+      this.$api
+        .inquireGradegradelockPeriodStatus({
+          gradeId: Number(options.gradeId),
+          userId: Number(options.userId),
+          goodsId: Number(options.goodsId),
+        })
+        .then((res) => {
+          if (res.msg) {
+            this.$message.warning(res.msg + "正在操作");
+            return;
+          } else {
+            this.objs = {
+              id: options.gradeId,
+              gradeId: options.gradeId,
+              userId: options.userId,
+              goodsId: options.goodsId,
+              className: options.className,
+              classHours: options.classHours,
+              studyStartTime: options.studyStartTime,
+              studyEndTime: options.studyEndTime,
+            };
+            this.vidBox = true;
+          }
+        });
     },
     /**
      * 搜索列表

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 747 - 587
src/views/education/classManageMent/learningHoursRecordList/studyTimesRecord.vue


+ 1 - 1
src/views/education/classManageMent/listOfhoursToBeReviewed/index.vue

@@ -247,7 +247,7 @@ export default {
         })
         .then((res) => {
           if (res.msg) {
-            this.$message.warning(res.msg);
+            this.$message.warning(res.msg + "正在操作");
             return;
           } else {
             //学员详情

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels