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
d269e36e
Commit
d269e36e
authored
Sep 06, 2021
by
zhujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8ff20cb6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/modules/task-center/data-center/components/DataInfo.tsx
+3
-3
No files found.
src/modules/task-center/data-center/components/DataInfo.tsx
View file @
d269e36e
...
...
@@ -10,7 +10,7 @@ function DataInfo(props: any) {
return
<
div
className=
"infoBox"
>
<
div
className=
"left"
>
<
div
className=
"banner"
>
<
img
src=
{
props
.
info
.
cover
?.
mediaUrl
||
defaultCover
}
alt=
""
/>
<
img
src=
{
props
.
info
.
cover
?.
mediaUrl
||
defaultCover
}
alt=
""
/>
</
div
>
<
div
className=
"textBox"
>
<
div
className=
"nameBox"
>
...
...
@@ -39,9 +39,9 @@ function DataInfo(props: any) {
</
div
>
<
div
className=
"right"
>
<
div
className=
"prog"
>
<
Progress
type=
"circle"
width=
{
85
}
percent=
{
parseInt
(
props
.
info
.
finishCustomerNum
/
(
props
.
info
.
cultureCustomerNum
)
*
100
as
any
)
}
strokeWidth=
{
10
}
<
Progress
type=
"circle"
width=
{
85
}
percent=
{
parseInt
(
props
.
info
.
finishCustomerNum
/
(
props
.
info
.
cultureCustomerNum
)
*
100
as
any
)
||
0
}
strokeWidth=
{
10
}
format=
{
percent
=>
<
div
className=
'wcl'
>
{
`${(parseInt((props.info.finishCustomerNum || 0) /(props.info.cultureCustomerNum || 0)*100 as any))}% `
}
{
`${(parseInt((props.info.finishCustomerNum || 0) / (props.info.cultureCustomerNum || 0) * 100 as any)) || 0}% `
}
<
div
>
完成率
</
div
>
</
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