xiatian 4 år sedan
förälder
incheckning
e840407fb4

+ 5 - 2
src/modules/basic/view/admin_operate.vue

@@ -64,12 +64,15 @@
           </el-table-column>
           </el-table-column>
           <el-table-column width="120" prop="name" label="姓名">
           <el-table-column width="120" prop="name" label="姓名">
           </el-table-column>
           </el-table-column>
-          <el-table-column prop="roles" label="用户角色"> </el-table-column>
+          <el-table-column width="120" prop="roles" label="用户角色">
+          </el-table-column>
           <el-table-column width="120" prop="operateIp" label="IP地址">
           <el-table-column width="120" prop="operateIp" label="IP地址">
           </el-table-column>
           </el-table-column>
           <el-table-column width="200" prop="operate" label="操作">
           <el-table-column width="200" prop="operate" label="操作">
           </el-table-column>
           </el-table-column>
-          <el-table-column width="150" prop="operateTime" label="操作时间">
+          <el-table-column prop="operateInfo" label="操作详情">
+          </el-table-column>
+          <el-table-column width="160" prop="operateTime" label="操作时间">
           </el-table-column>
           </el-table-column>
         </el-table>
         </el-table>
         <div class="page pull-right">
         <div class="page pull-right">

+ 12 - 5
src/modules/oe/views/examDetail.vue

@@ -672,11 +672,18 @@ export default {
         this.form.rootOrgId = this.user.rootOrgId;
         this.form.rootOrgId = this.user.rootOrgId;
         this.form.creator = this.user.userId;
         this.form.creator = this.user.userId;
         this.$http
         this.$http
-          .get(this.exportUrl, {
-            params: {
-              query: this.form,
-            },
-          })
+          .get(
+            this.exportUrl +
+              "?$key=" +
+              this.user.key +
+              "&$token=" +
+              this.user.token,
+            {
+              params: {
+                query: this.form,
+              },
+            }
+          )
           .then(() => {
           .then(() => {
             this.$notify({
             this.$notify({
               type: "success",
               type: "success",

+ 12 - 5
src/modules/oe/views/scoreStatistics.vue

@@ -389,11 +389,18 @@ export default {
       this.form.rootOrgId = this.user.rootOrgId;
       this.form.rootOrgId = this.user.rootOrgId;
       this.form.creator = this.user.userId;
       this.form.creator = this.user.userId;
       this.$http
       this.$http
-        .get(this.exportUrl, {
-          params: {
-            query: this.form,
-          },
-        })
+        .get(
+          this.exportUrl +
+            "?$key=" +
+            this.user.key +
+            "&$token=" +
+            this.user.token,
+          {
+            params: {
+              query: this.form,
+            },
+          }
+        )
         .then(() => {
         .then(() => {
           this.$notify({
           this.$notify({
             type: "success",
             type: "success",

+ 23 - 5
src/modules/questions/views/EditPaper.vue

@@ -1156,7 +1156,13 @@ export default {
             if (action == "confirm") {
             if (action == "confirm") {
               this.loading = true;
               this.loading = true;
               this.$http
               this.$http
-                .delete(QUESTION_API + "/paperDetail/" + paperDetailsId)
+                .delete(
+                  QUESTION_API +
+                    "/paperDetail/" +
+                    this.paperId +
+                    "/" +
+                    paperDetailsId
+                )
                 .then(() => {
                 .then(() => {
                   this.initPaper();
                   this.initPaper();
                   this.loading = true;
                   this.loading = true;
@@ -1525,7 +1531,13 @@ export default {
         }).then(() => {
         }).then(() => {
           this.dialogLoading = true;
           this.dialogLoading = true;
           this.$http
           this.$http
-            .delete(QUESTION_API + "/paper/deleteQuestion/" + this.quesModel.id)
+            .delete(
+              QUESTION_API +
+                "/paper/deleteQuestion/" +
+                this.editPaperDetailUnit.id +
+                "/" +
+                this.quesModel.id
+            )
             .then((response) => {
             .then((response) => {
               if (response.data.length > 0) {
               if (response.data.length > 0) {
                 var deleteInfo =
                 var deleteInfo =
@@ -1650,7 +1662,7 @@ export default {
         this.deleteQues01(paperDetailUnitId);
         this.deleteQues01(paperDetailUnitId);
       } else {
       } else {
         let questionId = paperDetailUnit.question.id;
         let questionId = paperDetailUnit.question.id;
-        this.deleteQues02(questionId);
+        this.deleteQues02(questionId, paperDetailUnitId);
       }
       }
     },
     },
     deleteQues01(paperDetailUnitId) {
     deleteQues01(paperDetailUnitId) {
@@ -1676,14 +1688,20 @@ export default {
         },
         },
       });
       });
     },
     },
-    deleteQues02(questionId) {
+    deleteQues02(questionId, paperDetailUnitId) {
       this.$alert("您确定删除吗?", "提示", {
       this.$alert("您确定删除吗?", "提示", {
         confirmButtonText: "确定",
         confirmButtonText: "确定",
         callback: (action) => {
         callback: (action) => {
           if (action == "confirm") {
           if (action == "confirm") {
             this.loading = true;
             this.loading = true;
             this.$http
             this.$http
-              .delete(QUESTION_API + "/paper/deleteQuestion/" + questionId)
+              .delete(
+                QUESTION_API +
+                  "/paper/deleteQuestion/" +
+                  paperDetailUnitId +
+                  "/" +
+                  questionId
+              )
               .then((response) => {
               .then((response) => {
                 if (response.data.length > 0) {
                 if (response.data.length > 0) {
                   var deleteInfo =
                   var deleteInfo =

+ 8 - 1
src/modules/questions/views/ExtractPaperInfo.vue

@@ -598,7 +598,14 @@ export default {
           .then(() => {});
           .then(() => {});
       } else {
       } else {
         this.$http
         this.$http
-          .post(QUESTION_API + "/addAudioTimeConfig", this.audioTimeConfigList)
+          .post(
+            QUESTION_API +
+              "/addAudioTimeConfig?examId=" +
+              this.extractConfig.examId +
+              "&courseCode=" +
+              this.extractConfig.courseCode,
+            this.audioTimeConfigList
+          )
           .then(() => {});
           .then(() => {});
       }
       }
     },
     },