|
@@ -87,7 +87,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button @click="getList" type="danger">搜索</el-button>
|
|
|
+ <el-button @click="search" type="danger">搜索</el-button>
|
|
|
<el-button @click="onReSet" type="primary" style="background-color: #409EFF;border-color: #409EFF;">重置</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -373,6 +373,13 @@ export default {
|
|
|
}).catch(() => {
|
|
|
})
|
|
|
},
|
|
|
+ search() {
|
|
|
+ this.pageInfo = {
|
|
|
+ ...this.pageInfo,
|
|
|
+ page: 1
|
|
|
+ }
|
|
|
+ this.getList()
|
|
|
+ },
|
|
|
onReSet() {
|
|
|
this.searchForm = {...initSearch}
|
|
|
this.getList()
|