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
1
Merge Requests
1
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
e16359ce
Commit
e16359ce
authored
Aug 11, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:删除无用代码
parent
b8e71798
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
src/modules/college-manage/EmployeeManage.tsx
+0
-3
src/modules/college-manage/components/DepartMentTabCon.jsx
+0
-1
No files found.
src/modules/college-manage/EmployeeManage.tsx
View file @
e16359ce
...
@@ -182,9 +182,6 @@ function EmployeeManage() {
...
@@ -182,9 +182,6 @@ function EmployeeManage() {
if
(
record
.
depNameList
.
length
===
0
){
if
(
record
.
depNameList
.
length
===
0
){
return
<
span
>
-
</
span
>
return
<
span
>
-
</
span
>
}
}
// return record.depNameList.map((item,index)=>{
// return <span><WWOpenDataCom type="departmentName" openid={item}/>{index<(record.depNameList.length -1)?';':''}</span>;
// })
return
<
Tooltip
title=
{
<
div
>
{
handleDepName
(
record
.
depNameList
)
}
</
div
>
}
placement=
'top'
arrowPointAtCenter
><
div
className=
"post-name"
>
{
record
.
depNameList
.
map
((
item
:
any
,
index
:
any
)
=>
{
return
<
Tooltip
title=
{
<
div
>
{
handleDepName
(
record
.
depNameList
)
}
</
div
>
}
placement=
'top'
arrowPointAtCenter
><
div
className=
"post-name"
>
{
record
.
depNameList
.
map
((
item
:
any
,
index
:
any
)
=>
{
return
<
span
><
WWOpenDataCom
type=
"departmentName"
openid=
{
item
}
/>
{
index
<
(
record
.
depNameList
.
length
-
1
)?
';'
:
''
}
</
span
>
return
<
span
><
WWOpenDataCom
type=
"departmentName"
openid=
{
item
}
/>
{
index
<
(
record
.
depNameList
.
length
-
1
)?
';'
:
''
}
</
span
>
})
}
})
}
...
...
src/modules/college-manage/components/DepartMentTabCon.jsx
View file @
e16359ce
...
@@ -123,7 +123,6 @@ function DepartMentTabCon(props) {
...
@@ -123,7 +123,6 @@ function DepartMentTabCon(props) {
<
div
className=
"operate"
>
<
div
className=
"operate"
>
{
props
.
currentTab
===
'departMentTab'
?
{
props
.
currentTab
===
'departMentTab'
?
<
span
>
-
</
span
>
<
span
>
-
</
span
>
// <div className="operate__item" onClick=
{()
=>
delUser
(
'single'
,
item
.
userId
)}
>
删除
<
/div
>
:
:
(
selectDep
.
depLevel
>
0
?
(
selectDep
.
depLevel
>
0
?
<
div
className=
"operate__item"
onClick=
{
()
=>
delUser
(
'single'
,
item
.
userId
)
}
>
移出
</
div
>
<
div
className=
"operate__item"
onClick=
{
()
=>
delUser
(
'single'
,
item
.
userId
)
}
>
移出
</
div
>
...
...
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