人员绑定优化

yangwl
shaoyong 8 months ago
parent a67866390a
commit 93119d68a6

@ -5,10 +5,10 @@
:modal= false :modal= false
width="1000px" width="1000px"
> >
<el-row :gutter="20"> <el-row :gutter="10">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="80px" align="center"> <el-form :model="queryParams" ref="queryUserForm" size="small" :inline="true" v-show="showSearch" label-width="80px" align="center">
<el-col :span="6" :xs="6"> <el-col :span="6">
<el-form-item label="员工工号"> <el-form-item label="员工工号" prop="userCode">
<el-input <el-input
v-model="queryParams.userCode" v-model="queryParams.userCode"
placeholder="员工工号" placeholder="员工工号"
@ -19,7 +19,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="员工部门"> <el-form-item label="员工部门" prop="deptId">
<Treeselect <Treeselect
v-model="queryParams.deptId" v-model="queryParams.deptId"
:options="deptOptions" :options="deptOptions"
@ -37,7 +37,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="员工姓名"> <el-form-item label="员工姓名" prop="userName">
<el-input <el-input
v-model="queryParams.userName" v-model="queryParams.userName"
placeholder="员工姓名" placeholder="员工姓名"
@ -47,7 +47,7 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="5">
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button>
@ -147,7 +147,7 @@ export default {
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.resetForm("queryForm"); this.resetForm("queryUserForm");
this.handleQuery(); this.handleQuery();
}, },

Loading…
Cancel
Save