|
@@ -83,6 +83,14 @@
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item style="padding-left: 30px">
|
|
|
+ <el-button
|
|
|
+ size="small"
|
|
|
+ icon="el-icon-refresh"
|
|
|
+ @click="resetSearchForm"
|
|
|
+ >
|
|
|
+ 重置
|
|
|
+ </el-button>
|
|
|
+
|
|
|
<el-button
|
|
|
size="small"
|
|
|
type="primary"
|
|
@@ -93,7 +101,8 @@
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
|
|
|
- <div style="margin-bottom: 5px;float: right;">
|
|
|
+ <div style="margin-bottom: 5px;">
|
|
|
+ 批量操作:
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="primary"
|
|
@@ -545,6 +554,12 @@ export default {
|
|
|
this.formSearch.pageSize = pageSize;
|
|
|
this.searchRecords(1);
|
|
|
},
|
|
|
+ resetSearchForm() {
|
|
|
+ this.formSearch.courseId = "";
|
|
|
+ this.formSearch.paperStatus = "";
|
|
|
+ this.formSearch.paperName = "";
|
|
|
+ //this.searchRecords(1);
|
|
|
+ },
|
|
|
searchRecords(pageNo) {
|
|
|
this.formSearch.pageNo = pageNo;
|
|
|
|