|
@@ -871,6 +871,13 @@ export default {
|
|
|
},
|
|
|
searchPaper() {
|
|
|
this.loading = true;
|
|
|
+ let fillCount = false;
|
|
|
+ if (this.genType == "SIMPLE") {
|
|
|
+ fillCount = true;
|
|
|
+ } else {
|
|
|
+ fillCount = false;
|
|
|
+ }
|
|
|
+
|
|
|
if (this.paperType == "IMPORT") {
|
|
|
this.$http
|
|
|
.get(
|
|
@@ -882,7 +889,9 @@ export default {
|
|
|
"?courseNo=" +
|
|
|
this.genPaper.courseNo +
|
|
|
"&ids=" +
|
|
|
- this.tempPaperIds
|
|
|
+ this.tempPaperIds +
|
|
|
+ "&fillCount=" +
|
|
|
+ fillCount
|
|
|
)
|
|
|
.then((response) => {
|
|
|
console.log("response:", response);
|
|
@@ -902,7 +911,9 @@ export default {
|
|
|
"?courseNo=" +
|
|
|
this.genPaper.courseNo +
|
|
|
"&ids=" +
|
|
|
- this.tempPaperIds
|
|
|
+ this.tempPaperIds +
|
|
|
+ "&fillCount=" +
|
|
|
+ fillCount
|
|
|
)
|
|
|
.then((response) => {
|
|
|
this.selectPapers = response.data.content;
|