|
@@ -821,7 +821,6 @@ export default {
|
|
|
this.searchPaper();
|
|
|
},
|
|
|
selectChange(val) {
|
|
|
- console.log("val123:");
|
|
|
val.forEach((element) => {
|
|
|
element.publicSimple = 0;
|
|
|
element.publicMedium = 0;
|
|
@@ -877,7 +876,6 @@ export default {
|
|
|
this.loading = false;
|
|
|
});
|
|
|
} else {
|
|
|
- console.log("空值");
|
|
|
this.selectPapers = [];
|
|
|
this.totalSelect = 0;
|
|
|
this.loading = false;
|
|
@@ -888,9 +886,9 @@ export default {
|
|
|
this.searchPaperDetailStructs();
|
|
|
},
|
|
|
searchPaperStructs() {
|
|
|
- console.log("bbb");
|
|
|
var courseNo = this.genPaper.courseNo;
|
|
|
- var url = QUESTION_API + "/paperStruct?courseNo=" + courseNo;
|
|
|
+ var url =
|
|
|
+ QUESTION_API + "/paperStruct?courseNo=" + encodeURIComponent(courseNo);
|
|
|
this.loading = true;
|
|
|
this.$http.get(url).then((response) => {
|
|
|
this.paperStructs = response.data;
|
|
@@ -909,7 +907,6 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
searchPaperDetailStructs() {
|
|
|
- console.log("this.genPaper.paperStructId:", this.genPaper.paperStructId);
|
|
|
for (let paperStruct of this.paperStructs) {
|
|
|
if (paperStruct.id == this.genPaper.paperStructId) {
|
|
|
this.paperDetailStructs = paperStruct.paperDetailStructs;
|
|
@@ -1127,7 +1124,6 @@ export default {
|
|
|
setSimpleParams() {
|
|
|
var simpleParams = new Object();
|
|
|
for (let paper of this.tempPapers) {
|
|
|
- console.log("paper", paper);
|
|
|
if (this.genPaper.simpleGenPaperPolicy == "BY_SCORE") {
|
|
|
if (!this.isNumber(paper.publicSimple)) {
|
|
|
this.$notify({
|
|
@@ -1226,7 +1222,6 @@ export default {
|
|
|
simpleParams[paper.id] = numberParams;
|
|
|
}
|
|
|
this.genPaper.simpleParams = simpleParams;
|
|
|
- console.log("this.genPaper.simpleParams:", this.genPaper.simpleParams);
|
|
|
return true;
|
|
|
},
|
|
|
//查询课程下开启的课程属性
|