|
@@ -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",
|