diff --git a/web/client/src/sections/humanAffairs/containers/employeeInformation.jsx b/web/client/src/sections/humanAffairs/containers/employeeInformation.jsx index f6deb0e..12c193a 100644 --- a/web/client/src/sections/humanAffairs/containers/employeeInformation.jsx +++ b/web/client/src/sections/humanAffairs/containers/employeeInformation.jsx @@ -483,7 +483,7 @@ const employeeInformation = (props) => { field="keywordTarget" placeholder="请选择搜索类型" style={{ width: 200 }} - initValue={"role"} + initValue={"name"} > 职位 部门 diff --git a/web/client/src/sections/humanAffairs/containers/leaveStatistics.jsx b/web/client/src/sections/humanAffairs/containers/leaveStatistics.jsx index 7c7fd0c..5660982 100644 --- a/web/client/src/sections/humanAffairs/containers/leaveStatistics.jsx +++ b/web/client/src/sections/humanAffairs/containers/leaveStatistics.jsx @@ -291,7 +291,7 @@ const leaveStatistics = (props) => { field="keywordTarget" placeholder="请选择搜索类型" style={{ width: 200 }} - initValue={"role"} + initValue={"name"} > 职位 部门 diff --git a/web/client/src/sections/humanAffairs/containers/overtimeStatistics.jsx b/web/client/src/sections/humanAffairs/containers/overtimeStatistics.jsx index cf38d3b..22e8b8d 100644 --- a/web/client/src/sections/humanAffairs/containers/overtimeStatistics.jsx +++ b/web/client/src/sections/humanAffairs/containers/overtimeStatistics.jsx @@ -386,7 +386,7 @@ const overtimeStatistics = (props) => { field="keywordTarget" placeholder="请选择搜索类型" style={{ width: 200 }} - initValue={"role"} + initValue={"name"} > 职位 部门 diff --git a/web/client/src/sections/humanAffairs/containers/personnelFiles.jsx b/web/client/src/sections/humanAffairs/containers/personnelFiles.jsx index c02c95b..33379d3 100644 --- a/web/client/src/sections/humanAffairs/containers/personnelFiles.jsx +++ b/web/client/src/sections/humanAffairs/containers/personnelFiles.jsx @@ -17,7 +17,7 @@ const Rest = (props) => { const [personnelModal, setPersonnelModal] = useState(false);//档案弹框 const [exportModalVs, setExportModalVs] = useState(false); const [keyword, setKeyword] = useState('');//搜索内容 - const [keywordTarget, setKeywordTarget] = useState('role');//搜索类型 + const [keywordTarget, setKeywordTarget] = useState('name');//搜索类型 const [downloadUrl, setDownloadUrl] = useState('') const optionsList = { dimission: '离职',