xiatian 4 年之前
父节点
当前提交
8cc9522230
共有 1 个文件被更改,包括 1 次插入7 次删除
  1. 1 7
      src/modules/oe/views/examScheduling.vue

+ 1 - 7
src/modules/oe/views/examScheduling.vue

@@ -696,7 +696,6 @@ export default {
     },
     exportPaper(examStudentId) {
       this.loading = true;
-      var currentUser = this.user;
       this.$http
         .get("/api/ecs_oe_admin/exam/record/select/byExamStudentId", {
           params: { examStudentId: examStudentId },
@@ -706,16 +705,11 @@ export default {
             var examRecordList = response.data;
             if (examRecordList && examRecordList.length > 0) {
               var basePaperId = examRecordList[0].basePaperId;
-              var rootOrgId = currentUser.rootOrgId;
               this.$http
                 .get(
                   "/api/ecs_ques/paper/export/" +
                     basePaperId +
-                    "/PAPER/" +
-                    rootOrgId +
-                    "/" +
-                    basePaperId +
-                    "/offLine",
+                    "/PAPER/offLine",
                   {
                     responseType: "arraybuffer",
                     filename: "utf-8",