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
d6c29ab5
Commit
d6c29ab5
authored
Aug 16, 2021
by
zhujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:tooltips
parent
486955e2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
src/modules/task-center/data-center/components/StudyTable.tsx
+12
-6
No files found.
src/modules/task-center/data-center/components/StudyTable.tsx
View file @
d6c29ab5
...
...
@@ -35,7 +35,7 @@ function StudyTable(props: any) {
function
getList
()
{
Service
.
Hades
(
'public/hades/getTaskCustomerRecordPage'
,
query
).
then
((
res
:
any
)
=>
{
res
.
result
.
records
.
map
((
item
:
any
)
=>
{
item
.
department
=
item
.
departmentNameList
.
map
((
_item
:
any
)
=>
{
item
.
department
=
item
.
departmentNameList
.
map
((
_item
:
any
)
=>
{
if
(
_item
==
'1000'
)
{
return
'微信'
}
else
{
...
...
@@ -75,11 +75,11 @@ function StudyTable(props: any) {
render
:
(
val
:
any
,
record
:
any
)
=>
{
return
<
div
>
{
record
.
department
.
map
((
item
:
any
,
index
:
number
)
=>
{
if
((
index
+
1
)
==
record
.
department
.
length
)
{
record
.
department
.
map
((
item
:
any
,
index
:
number
)
=>
{
if
((
index
+
1
)
==
record
.
department
.
length
)
{
return
item
}
else
{
return
[
item
,
';'
]
}
else
{
return
[
item
,
';'
]
}
})
...
...
@@ -103,7 +103,13 @@ function StudyTable(props: any) {
},
},
{
title
:
'学习进度'
,
title
:
<
div
>
学习进度
<
Tooltip
title=
{
'已完成任务数/任务总数'
}
>
<
span
style=
{
{
color
:
"rgba(191, 191, 191, 1)"
,
fontWeight
:
400
}
}
className=
"iconfont"
>

</
span
>
</
Tooltip
></
div
>,
key
:
'learnPercentage'
,
dataIndex
:
'learnPercentage'
,
render
:
(
val
:
any
,
record
:
any
)
=>
{
...
...
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