Browse Source

1111111111

chenken 6 years ago
parent
commit
4c26d15e3c
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/modules/oe/views/captureDetail.vue

+ 7 - 7
src/modules/oe/views/captureDetail.vue

@@ -188,13 +188,13 @@ export default {
         });
     },
     getStudentInfo(studentId) {
-      this.$http.get("/api/ecs_core/student/" + studentId).then(response => {
-        if (response.data.photoPath) {
-          var prefix =
-            "http://exam-cloud-test.b0.upaiyun.com/student_base_photo/";
-          this.studentBasePhotoPath = prefix + response.data.photoPath;
-        }
-      });
+      this.$http
+        .get("/api/ecs_core/student/getStudentInfo?studentId=" + studentId)
+        .then(response => {
+          if (response.data.photoPath) {
+            this.studentBasePhotoPath = response.data.photoPath;
+          }
+        });
     },
     /**
      * 审核通过