|
@@ -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;
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
/**
|
|
|
* 审核通过
|