|
@@ -411,7 +411,6 @@ export default {
|
|
|
},
|
|
|
searchQues() {
|
|
|
var pageNo = Number(this.currentPage);
|
|
|
- console.log("pageNo:", pageNo);
|
|
|
this.currentPage = 1;
|
|
|
this.tableData = [];
|
|
|
var url = QUESTION_API + "/question/" + pageNo + "/" + this.pageSize;
|
|
@@ -511,7 +510,6 @@ export default {
|
|
|
},
|
|
|
//预览
|
|
|
prevViewQues(row) {
|
|
|
- console.log("row", row);
|
|
|
this.quesModel = row;
|
|
|
this.disposeSelectAnswer();
|
|
|
this.openQuesDialog();
|
|
@@ -604,7 +602,6 @@ export default {
|
|
|
},
|
|
|
//查询所有课程属性名
|
|
|
initCourseProperty() {
|
|
|
- console.log("改变");
|
|
|
this.formSearch.coursePropertyName = "";
|
|
|
this.formSearch.firstPropertyId = "";
|
|
|
this.formSearch.secondPropertyId = "";
|
|
@@ -625,13 +622,11 @@ export default {
|
|
|
if (this.formSearch.coursePropertyName) {
|
|
|
this.formSearch.firstPropertyId = "";
|
|
|
this.formSearch.secondPropertyId = "";
|
|
|
- console.log("this.coursePropertyList:", this.coursePropertyList);
|
|
|
for (let courseProperty of this.coursePropertyList) {
|
|
|
if (courseProperty.name == this.formSearch.coursePropertyName) {
|
|
|
this.$http
|
|
|
.get(QUESTION_API + "/property/first/" + courseProperty.id)
|
|
|
.then(response => {
|
|
|
- console.log(response);
|
|
|
this.firstPropertyList = response.data;
|
|
|
});
|
|
|
}
|
|
@@ -647,7 +642,6 @@ export default {
|
|
|
QUESTION_API + "/property/second/" + this.formSearch.firstPropertyId
|
|
|
)
|
|
|
.then(response => {
|
|
|
- console.log(response);
|
|
|
this.secondPropertyList = response.data;
|
|
|
});
|
|
|
}
|
|
@@ -659,7 +653,6 @@ export default {
|
|
|
this.$http
|
|
|
.get(QUESTION_API + "/property/first/" + courseProperty.id)
|
|
|
.then(response => {
|
|
|
- console.log(response);
|
|
|
this.firstPropertyList = response.data;
|
|
|
//查询二级
|
|
|
this.getSecond();
|
|
@@ -675,7 +668,6 @@ export default {
|
|
|
QUESTION_API + "/property/second/" + this.formSearch.firstPropertyId
|
|
|
)
|
|
|
.then(response => {
|
|
|
- console.log(response);
|
|
|
this.secondPropertyList = response.data;
|
|
|
});
|
|
|
}
|