|
@@ -75,6 +75,13 @@
|
|
@click="resetPageAndSearchForm"
|
|
@click="resetPageAndSearchForm"
|
|
>查询</el-button
|
|
>查询</el-button
|
|
>
|
|
>
|
|
|
|
+ <el-button
|
|
|
|
+ size="small"
|
|
|
|
+ icon="el-icon-refresh"
|
|
|
|
+ @click="resetEcsFormSearch"
|
|
|
|
+ >
|
|
|
|
+ 重置
|
|
|
|
+ </el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
<div class="block-seperator"></div>
|
|
<div class="block-seperator"></div>
|
|
@@ -203,6 +210,16 @@ export default {
|
|
this.currentPage = 1;
|
|
this.currentPage = 1;
|
|
this.searchForm();
|
|
this.searchForm();
|
|
},
|
|
},
|
|
|
|
+ resetEcsFormSearch() {
|
|
|
|
+ this.formSearch = {
|
|
|
|
+ examId: "",
|
|
|
|
+ orgId: "",
|
|
|
|
+ courseId: "",
|
|
|
|
+ studentName: "",
|
|
|
|
+ studentCode: "",
|
|
|
|
+ identityNumber: "",
|
|
|
|
+ };
|
|
|
|
+ },
|
|
searchForm() {
|
|
searchForm() {
|
|
if (!this.formSearch.examId) {
|
|
if (!this.formSearch.examId) {
|
|
this.$notify({
|
|
this.$notify({
|
|
@@ -216,6 +233,8 @@ export default {
|
|
.post(url, null, {
|
|
.post(url, null, {
|
|
params: {
|
|
params: {
|
|
...this.formSearch,
|
|
...this.formSearch,
|
|
|
|
+ pageNo: this.currentPage,
|
|
|
|
+ pageSize: this.pageSize,
|
|
},
|
|
},
|
|
headers: {
|
|
headers: {
|
|
"content-type": "application/x-www-form-urlencoded",
|
|
"content-type": "application/x-www-form-urlencoded",
|