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
ca117de6
Commit
ca117de6
authored
Sep 06, 2021
by
zhujian
Committed by
wufan
Sep 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
940ccd62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
src/modules/task-center/data-center/components/DataInfo.tsx
+11
-11
No files found.
src/modules/task-center/data-center/components/DataInfo.tsx
View file @
ca117de6
...
...
@@ -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,16 +39,16 @@ 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
}
format=
{
percent
=>
<
div
className=
'wcl'
>
{
`${(parseInt((props.info.finishCustomerNum || 0) /(props.info.cultureCustomerNum || 0)*100 as any))}% `
}
<
div
>
完成率
</
div
>
</
div
>
}
/>
{
/* <div className='wcl'> */
}
{
/* {`${(parseInt(props.info.finishCustomerNum /(props.info.cultureCustomerNum)*100 as any))}% `} */
}
{
/* <div>完成率</div> */
}
{
/* </div> */
}
<
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)) || 0}% `
}
<
div
>
完成率
</
div
>
</
div
>
}
/>
{
/* <div className='wcl'> */
}
{
/* {`${(parseInt(props.info.finishCustomerNum /(props.info.cultureCustomerNum)*100 as any))}% `} */
}
{
/* <div>完成率</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