|
@@ -457,6 +457,13 @@ export default {
|
|
|
this.searchQues();
|
|
|
},
|
|
|
searchQues() {
|
|
|
+ if (!this.formSearch.courseNo) {
|
|
|
+ this.$notify({
|
|
|
+ message: "请选择课程",
|
|
|
+ type: "warning",
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
this.tableData = [];
|
|
|
var url =
|
|
|
QUESTION_API + "/question/" + this.currentPage + "/" + this.pageSize;
|
|
@@ -736,7 +743,9 @@ export default {
|
|
|
secondPropertyId: "",
|
|
|
};
|
|
|
}
|
|
|
- this.searchQues();
|
|
|
+ if (this.formSearch.courseNo) {
|
|
|
+ this.searchQues();
|
|
|
+ }
|
|
|
},
|
|
|
},
|
|
|
};
|