Tang 3 жил өмнө
parent
commit
ffdd39a9c7

+ 3 - 11
src/views/education/classManageMent/studentPushData/index.vue

@@ -120,7 +120,7 @@ export default {
         },
         {
           label: "是否配置报名接口",
-          prop: "officialStatus",
+          prop: "interfacePushId",
           hidden: true,
           scope: "isOptions",
           options: [
@@ -128,10 +128,6 @@ export default {
               label: "是",
               value: 1,
             },
-            {
-              label: "否",
-              value: 0,
-            },
             {
               label: "否",
               value: null,
@@ -145,17 +141,13 @@ export default {
         },
         {
           label: "是否配置学时接口",
-          prop: "periodPlush",
+          prop: "interfacePeriodId",
           hidden: true,
           scope: "isOptions",
           options: [
             {
               label: "是",
-              value: 1,
-            },
-            {
-              label: "否",
-              value: 0,
+              value: 2,
             },
             {
               label: "否",

+ 16 - 14
src/views/education/mockTestManagement/mockExamArrangement/addMockExam/index.vue

@@ -328,21 +328,23 @@ export default {
             1
           );
           delete data.timeArray;
-          this.$api.appmockapply(data).then((res) => {
-            this.$message.success("新增成功");
-            setTimeout(() => {
-              this.$store
-                .dispatch("tagsView/exitView", this.$route)
-                .then((res) => {
-                  this.$router.push({
-                    path: "mockExamArrangement",
+          this.$api
+            .appmockapply(data)
+            .then((res) => {
+              this.$message.success("新增成功");
+              setTimeout(() => {
+                this.$store
+                  .dispatch("tagsView/exitView", this.$route)
+                  .then((res) => {
+                    this.$router.push({
+                      path: "mockExamArrangement",
+                    });
                   });
-                })
-                .catch(() => {
-                  this.disabledBtn = false;
-                });
-            }, 300);
-          });
+              }, 300);
+            })
+            .catch(() => {
+              this.disabledBtn = false;
+            });
         })
         .catch((err) => {
           this.$message.error(err.toString().replace("Error:", ""));

+ 16 - 14
src/views/education/mockTestManagement/mockExamArrangement/editMockExam/index.vue

@@ -366,21 +366,23 @@ export default {
             1
           );
           delete data.timeArray;
-          this.$api.editmockapply(data).then((res) => {
-            this.$message.success("修改成功");
-            setTimeout(() => {
-              this.$store
-                .dispatch("tagsView/exitView", this.$route)
-                .then((res) => {
-                  this.$router.push({
-                    path: "mockExamArrangement",
+          this.$api
+            .editmockapply(data)
+            .then((res) => {
+              this.$message.success("修改成功");
+              setTimeout(() => {
+                this.$store
+                  .dispatch("tagsView/exitView", this.$route)
+                  .then((res) => {
+                    this.$router.push({
+                      path: "mockExamArrangement",
+                    });
                   });
-                })
-                .catch(() => {
-                  this.disabledBtn = false;
-                });
-            }, 300);
-          });
+              }, 300);
+            })
+            .catch(() => {
+              this.disabledBtn = false;
+            });
         })
         .catch((err) => {
           this.$message.error(err.toString().replace("Error:", ""));

+ 1 - 1
src/views/index.vue

@@ -1376,7 +1376,7 @@ export default {
   }
 }
 .style_div {
-  margin-bottom: 26px;
+  margin-bottom: 44px;
   display: flex;
   align-items: center;
   .flex_boxs {