Commit dad8f942 by zhangquan

bug修复

1 parent a5be204b
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
<div slot="search"> <div slot="search">
<el-form class="search-staff" :inline="true" :model="tableSearchForm"> <el-form class="search-staff" :inline="true" :model="tableSearchForm">
<el-form-item size="small" label="员工"> <el-form-item size="small" label="员工">
<el-input clearable v-model="tableSearchForm.staffName" placeholder="请输入员工姓名"></el-input> <el-input clearable v-model.trim="tableSearchForm.staffName" placeholder="请输入员工姓名"></el-input>
</el-form-item> </el-form-item>
<el-form-item size="small" class="emp-form-btn"> <el-form-item size="small" class="emp-form-btn">
<el-button type="primary" @click="handleSearch">查询</el-button> <el-button type="primary" @click="handleSearch">查询</el-button>
...@@ -467,7 +467,7 @@ export default { ...@@ -467,7 +467,7 @@ export default {
methods: { methods: {
//员工查询 //员工查询
handleSearch() { handleSearch() {
this.$refs?.staffDialog?.getList() this.$refs?.staffDialog?.getList({}, true)
}, },
resetTextArea() { resetTextArea() {
this.phone = '' this.phone = ''
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!