|
@@ -457,7 +457,7 @@ export default {
|
|
this.searchQues();
|
|
this.searchQues();
|
|
},
|
|
},
|
|
searchQues() {
|
|
searchQues() {
|
|
- var pageNo = Number(this.currentPage | 1);
|
|
|
|
|
|
+ var pageNo = this.currentPage;
|
|
this.currentPage = 1;
|
|
this.currentPage = 1;
|
|
this.tableData = [];
|
|
this.tableData = [];
|
|
var url = QUESTION_API + "/question/" + pageNo + "/" + this.pageSize;
|
|
var url = QUESTION_API + "/question/" + pageNo + "/" + this.pageSize;
|
|
@@ -465,7 +465,7 @@ export default {
|
|
this.$http.get(url, { params: this.formSearch }).then((response) => {
|
|
this.$http.get(url, { params: this.formSearch }).then((response) => {
|
|
this.tableData = response.data.content;
|
|
this.tableData = response.data.content;
|
|
this.total = response.data.totalElements;
|
|
this.total = response.data.totalElements;
|
|
- this.currentPage = Number(pageNo);
|
|
|
|
|
|
+ this.currentPage = pageNo;
|
|
this.loading = false;
|
|
this.loading = false;
|
|
});
|
|
});
|
|
},
|
|
},
|