人员管理接口修改2
This commit is contained in:
parent
e76d04825c
commit
ff182165ae
|
|
@ -4,16 +4,8 @@
|
||||||
<el-form-item label="关键字" prop="searchValue">
|
<el-form-item label="关键字" prop="searchValue">
|
||||||
<el-input v-model="queryParams.searchValue" placeholder="请输入员工姓名,编号,手机号" maxlength="20" clearable style="width: 240px"/>
|
<el-input v-model="queryParams.searchValue" placeholder="请输入员工姓名,编号,手机号" maxlength="20" clearable style="width: 240px"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="岗位" prop="postIds">
|
<el-form-item label="岗位" prop="postName">
|
||||||
<el-select v-model="queryParams.postIds" multiple style="width: 100%;" placeholder="请选择岗位">
|
<el-input v-model="queryParams.postName" placeholder="请输入员工岗位" maxlength="20" clearable style="width: 240px"/>
|
||||||
<el-option
|
|
||||||
v-for="item in postOptions"
|
|
||||||
:key="item.postId"
|
|
||||||
:label="item.postName"
|
|
||||||
:value="item.postId"
|
|
||||||
:disabled="item.status == 1"
|
|
||||||
></el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="身体状况" prop="checkStatus">
|
<el-form-item label="身体状况" prop="checkStatus">
|
||||||
<el-select v-model="queryParams.checkStatus" style="width: 240px" clearable>
|
<el-select v-model="queryParams.checkStatus" style="width: 240px" clearable>
|
||||||
|
|
@ -133,12 +125,10 @@ export default {
|
||||||
let param = {
|
let param = {
|
||||||
"searchValue":this.queryParams.searchValue,
|
"searchValue":this.queryParams.searchValue,
|
||||||
"checkStatus":this.queryParams.checkStatus,
|
"checkStatus":this.queryParams.checkStatus,
|
||||||
|
"postName":this.queryParams.postName,
|
||||||
"pageNum": this.queryParams.pageNum,
|
"pageNum": this.queryParams.pageNum,
|
||||||
"pageSize": this.queryParams.pageSize,
|
"pageSize": this.queryParams.pageSize,
|
||||||
}
|
}
|
||||||
if(this.queryParams.postIds&&this.queryParams.postIds.length>0){
|
|
||||||
param.postIds = this.queryParams.postIds
|
|
||||||
}
|
|
||||||
getStaffMorningCheckApi(param).then(response => {
|
getStaffMorningCheckApi(param).then(response => {
|
||||||
this.tableListData = response.rows;
|
this.tableListData = response.rows;
|
||||||
this.total = Number(response.total);
|
this.total = Number(response.total);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue