|
@@ -875,39 +875,39 @@ export default {
|
|
|
this.$http
|
|
|
.get(
|
|
|
QUESTION_API +
|
|
|
- "/importPaper/" +
|
|
|
- this.tempPaperIds +
|
|
|
- "/" +
|
|
|
+ "/importPaper/huoge/" +
|
|
|
this.curSelect +
|
|
|
"/" +
|
|
|
this.pageSize +
|
|
|
"?courseNo=" +
|
|
|
- this.genPaper.courseNo
|
|
|
+ this.genPaper.courseNo +
|
|
|
+ "&ids=" +
|
|
|
+ this.tempPaperIds
|
|
|
)
|
|
|
.then((response) => {
|
|
|
console.log("response:", response);
|
|
|
this.selectPapers = response.data.content;
|
|
|
this.totalSelect = response.data.totalElements;
|
|
|
- this.curSelect = response.data.pageable.pageNumber + 1;
|
|
|
+ this.curSelect = response.data.number + 1;
|
|
|
this.loading = false;
|
|
|
});
|
|
|
} else if (this.paperType == "GENERATE") {
|
|
|
this.$http
|
|
|
.get(
|
|
|
QUESTION_API +
|
|
|
- "/genPaper/" +
|
|
|
- this.tempPaperIds +
|
|
|
- "/" +
|
|
|
+ "/genPaper/huoge/" +
|
|
|
this.curSelect +
|
|
|
"/" +
|
|
|
this.pageSize +
|
|
|
"?courseNo=" +
|
|
|
- this.genPaper.courseNo
|
|
|
+ this.genPaper.courseNo +
|
|
|
+ "&ids=" +
|
|
|
+ this.tempPaperIds
|
|
|
)
|
|
|
.then((response) => {
|
|
|
this.selectPapers = response.data.content;
|
|
|
this.totalSelect = response.data.totalElements;
|
|
|
- this.curSelect = response.data.pageable.pageNumber + 1;
|
|
|
+ this.curSelect = response.data.number + 1;
|
|
|
this.loading = false;
|
|
|
});
|
|
|
} else {
|