人员管理接口修改2

This commit is contained in:
zzyuan 2025-06-24 14:06:23 +08:00
parent e76d04825c
commit ff182165ae
1 changed files with 3 additions and 13 deletions

View File

@ -4,16 +4,8 @@
<el-form-item label="关键字" prop="searchValue">
<el-input v-model="queryParams.searchValue" placeholder="请输入员工姓名,编号,手机号" maxlength="20" clearable style="width: 240px"/>
</el-form-item>
<el-form-item label="岗位" prop="postIds">
<el-select v-model="queryParams.postIds" multiple style="width: 100%;" placeholder="请选择岗位">
<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 label="岗位" prop="postName">
<el-input v-model="queryParams.postName" placeholder="请输入员工岗位" maxlength="20" clearable style="width: 240px"/>
</el-form-item>
<el-form-item label="身体状况" prop="checkStatus">
<el-select v-model="queryParams.checkStatus" style="width: 240px" clearable>
@ -133,12 +125,10 @@ export default {
let param = {
"searchValue":this.queryParams.searchValue,
"checkStatus":this.queryParams.checkStatus,
"postName":this.queryParams.postName,
"pageNum": this.queryParams.pageNum,
"pageSize": this.queryParams.pageSize,
}
if(this.queryParams.postIds&&this.queryParams.postIds.length>0){
param.postIds = this.queryParams.postIds
}
getStaffMorningCheckApi(param).then(response => {
this.tableListData = response.rows;
this.total = Number(response.total);