Browse Source

默认搜索

master
deartibers 2 years ago
parent
commit
feb32b5127
  1. 2
      web/client/src/sections/humanAffairs/containers/employeeInformation.jsx
  2. 2
      web/client/src/sections/humanAffairs/containers/leaveStatistics.jsx
  3. 2
      web/client/src/sections/humanAffairs/containers/overtimeStatistics.jsx
  4. 2
      web/client/src/sections/humanAffairs/containers/personnelFiles.jsx

2
web/client/src/sections/humanAffairs/containers/employeeInformation.jsx

@ -483,7 +483,7 @@ const employeeInformation = (props) => {
field="keywordTarget" field="keywordTarget"
placeholder="请选择搜索类型" placeholder="请选择搜索类型"
style={{ width: 200 }} style={{ width: 200 }}
initValue={"role"} initValue={"name"}
> >
<Form.Select.Option value='role'>职位</Form.Select.Option> <Form.Select.Option value='role'>职位</Form.Select.Option>
<Form.Select.Option value='dep'>部门</Form.Select.Option> <Form.Select.Option value='dep'>部门</Form.Select.Option>

2
web/client/src/sections/humanAffairs/containers/leaveStatistics.jsx

@ -291,7 +291,7 @@ const leaveStatistics = (props) => {
field="keywordTarget" field="keywordTarget"
placeholder="请选择搜索类型" placeholder="请选择搜索类型"
style={{ width: 200 }} style={{ width: 200 }}
initValue={"role"} initValue={"name"}
> >
<Form.Select.Option value='role'>职位</Form.Select.Option> <Form.Select.Option value='role'>职位</Form.Select.Option>
<Form.Select.Option value='dep'>部门</Form.Select.Option> <Form.Select.Option value='dep'>部门</Form.Select.Option>

2
web/client/src/sections/humanAffairs/containers/overtimeStatistics.jsx

@ -386,7 +386,7 @@ const overtimeStatistics = (props) => {
field="keywordTarget" field="keywordTarget"
placeholder="请选择搜索类型" placeholder="请选择搜索类型"
style={{ width: 200 }} style={{ width: 200 }}
initValue={"role"} initValue={"name"}
> >
<Form.Select.Option value='role'>职位</Form.Select.Option> <Form.Select.Option value='role'>职位</Form.Select.Option>
<Form.Select.Option value='dep'>部门</Form.Select.Option> <Form.Select.Option value='dep'>部门</Form.Select.Option>

2
web/client/src/sections/humanAffairs/containers/personnelFiles.jsx

@ -17,7 +17,7 @@ const Rest = (props) => {
const [personnelModal, setPersonnelModal] = useState(false);// const [personnelModal, setPersonnelModal] = useState(false);//
const [exportModalVs, setExportModalVs] = useState(false); const [exportModalVs, setExportModalVs] = useState(false);
const [keyword, setKeyword] = useState('');// const [keyword, setKeyword] = useState('');//
const [keywordTarget, setKeywordTarget] = useState('role');// const [keywordTarget, setKeywordTarget] = useState('name');//
const [downloadUrl, setDownloadUrl] = useState('') const [downloadUrl, setDownloadUrl] = useState('')
const optionsList = { const optionsList = {
dimission: '离职', dimission: '离职',

Loading…
Cancel
Save