Commit 946d74d1 by yangming

reset

1 parent d6327d8b
......@@ -20,6 +20,7 @@
<el-input size="small" v-model="searchForm.staffName" placeholder="请输入员工姓名"></el-input>
</el-form-item>
<el-form-item>
<el-button @click="handleReset" size="small">重置</el-button>
<el-button type="primary" @click="handleSearch" size="small">查询</el-button>
</el-form-item>
<el-form-item class="follow-form-jump">
......@@ -159,6 +160,13 @@ export default {
}
})
},
handleReset() {
this.searchForm = {
followerTypeId: '',
staffName: ''
}
this.handleSearch()
},
handleSearch() {
var params = {
...JSON.parse(JSON.stringify(this.searchForm)),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!