Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
4e3852e4
Commit
4e3852e4
authored
Aug 11, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:隐藏搜嗦
parent
1df318b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
25 deletions
+49
-25
src/modules/college-manage/components/LeftStructureTree.jsx
+49
-25
No files found.
src/modules/college-manage/components/LeftStructureTree.jsx
View file @
4e3852e4
...
...
@@ -521,32 +521,56 @@ function LeftStructureTree(props) {
return
(
<
div
className=
"left-structure-tree"
>
<
div
className=
"organization"
>
<
div
className=
"search-con"
>
{
/* <Complete/> */
}
{
/* <AutoComplete
dropdownClassName="certain-category-search-dropdown"
dropdownMatchSelectWidth={250}
allowClear
onChange={changeName}
// onSearch={(value)=>{getCompleteOptionData(value)}}
notFoundContent={notFoundContentNode()}
value={queryName}
open={open}
onFocus={()=>{setOpen(true)}}
onBlur={()=>{setOpen(false)}}
style={{
width: 250,
}}
options={completeOptions}
onSelect={confirmSearchSelect}
placeholder={handlePlaceHolder()}
>
<Search
style={{ width: 250 }}
enterButton={<span className='icon iconfont'></span>}
/>
</AutoComplete> */
}
<
div
className=
"search-con"
>
{
/* <Complete/> */
}
{
/* <AutoComplete
dropdownClassName="certain-category-search-dropdown"
dropdownMatchSelectWidth={250}
allowClear
onChange={changeName}
// onSearch={(value)=>{getCompleteOptionData(value)}}
notFoundContent={notFoundContentNode()}
value={queryName}
open={open}
onFocus={() => { setOpen(true) }}
onBlur={() => { setOpen(false) }}
style={{
width: 250,
}}
options={completeOptions}
onSelect={confirmSearchSelect}
placeholder={handlePlaceHolder()}
>
<Search
style={{ width: 250 }}
enterButton={<span className='icon iconfont'></span>}
/>
</AutoComplete> */
}
</
div
>
{
(
props
.
treeType
===
'postGrouptab'
||
props
.
treeType
===
'customGroupTab'
)
&&
(
<
div
className=
"operate"
>
{
props
.
treeType
===
'postGrouptab'
&&
<
Button
className=
"add-btn"
onClick=
{
()
=>
{
addPostGroup
(
0
)
}
}
>
添加岗位组
</
Button
>
}
{
props
.
treeType
===
'customGroupTab'
&&
<
Button
className=
"add-btn"
onClick=
{
()
=>
{
addCustomGroup
(
0
)
}
}
>
添加自定义分组
</
Button
>
}
</
div
>
)
}
<
div
className=
"tree-con"
>
{
!
selctQueryName
?
<
DirectoryTree
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment