Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9b57a24b
authored
2026-02-11 18:19:38 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
进度保留2位小数
1 parent
c545fa3d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
src/views/data_anonymization/anonTaskCreate.vue
src/views/data_anonymization/anonTaskCreate.vue
View file @
9b57a24
...
...
@@ -69,7 +69,7 @@
<div
class=
"folder-progress"
v-show=
"clickSelectNode.path && (dicomStatisticsData.state == 'S' || !Object.keys(dicomStatisticsData)?.length)"
>
<div
class=
"folder-title"
>
正在扫描
</div>
<el-progress
:percentage=
"
dicomStatisticsData.progress || 0
"
:stroke-width=
"12"
striped
striped-flow
<el-progress
:percentage=
"
!dicomStatisticsData.progress ? 0 : changeNum(dicomStatisticsData.progress, 2)
"
:stroke-width=
"12"
striped
striped-flow
:show-text=
"false"
:duration=
"8"
/>
<div
v-show=
"Object.keys(dicomStatisticsData)?.length"
style=
"display: flex;justify-content: space-between;"
><span
class=
"cnt"
>
{{ '共扫描' +
changeNum(dicomStatisticsData.total, 0) + '个文件' }}
</span><span
v-show=
"dicomStatisticsData.remainingTime"
class=
"desc"
>
{{ '剩' +
...
...
@@ -80,12 +80,12 @@
<div
class=
"folder-progress"
v-show=
"clickSelectNode.path && (dicomStatisticsData.state == 'R')"
>
<div
class=
"folder-title"
>
正在解析
</div>
<el-progress
:percentage=
"
dicomStatisticsData.progress || 0
"
:stroke-width=
"12"
striped
striped-flow
<el-progress
:percentage=
"
!dicomStatisticsData.progress ? 0 : changeNum(dicomStatisticsData.progress, 2)
"
:stroke-width=
"12"
striped
striped-flow
:show-text=
"false"
:duration=
"8"
/>
<div
style=
"display: flex;justify-content: space-between;"
><span
class=
"cnt"
>
{{ '共' +
changeNum(dicomStatisticsData.total, 0) +
'个文件, 已解析'
+ (
dicomStatisticsData.progress || 0
) + '%' }}
</span><span
v-show=
"dicomStatisticsData.remainingTime"
class=
"desc"
>
{{ '剩' +
+ (
!dicomStatisticsData.progress ? 0 : changeNum(dicomStatisticsData.progress, 2)
) + '%' }}
</span><span
v-show=
"dicomStatisticsData.remainingTime"
class=
"desc"
>
{{ '剩' +
transferTime(dicomStatisticsData.remainingTime)
}}
</span></div>
</div>
...
...
@@ -96,7 +96,7 @@
<CircleCloseFilled
/>
</el-icon><span>
解析失败
</span>
</div>
<el-progress
:percentage=
"
dicomStatisticsData.progress || 0
"
:stroke-width=
"12"
color=
"#F30000"
<el-progress
:percentage=
"
!dicomStatisticsData.progress ? 0 : changeNum(dicomStatisticsData.progress, 2)
"
:stroke-width=
"12"
color=
"#F30000"
:show-text=
"false"
/>
<div
style=
"display: flex;justify-content: space-between;"
><span
class=
"cnt"
>
{{ '已成功解析' +
changeNum(dicomStatisticsData.successCount, 0) + '个文件, 失败' + changeNum(dicomStatisticsData.errorCount,
...
...
@@ -116,7 +116,7 @@
<svg-icon
name=
"icon-success"
/>
</el-icon><span>
解析成功
</span>
</div>
<el-progress
:percentage=
"dicomStatisticsData.progress
|| 100
"
:stroke-width=
"12"
color=
"#4FA55D"
<el-progress
:percentage=
"dicomStatisticsData.progress
== 100 ? 100 : changeNum(dicomStatisticsData.progress, 2)
"
:stroke-width=
"12"
color=
"#4FA55D"
:show-text=
"false"
/>
<div
style=
"display: flex;justify-content: space-between;"
><span
class=
"cnt"
>
{{ '已成功解析' +
changeNum(dicomStatisticsData.successCount, 0)
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment