mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 21:36:44 +08:00
--fix bug
This commit is contained in:
@@ -540,32 +540,17 @@
|
||||
</div>
|
||||
<div class="progress">
|
||||
<div class="progresstext">
|
||||
{{
|
||||
item.finishStuCnt && item.finishStuCnt !== null
|
||||
? item.finishStuCnt
|
||||
: 0
|
||||
}}/{{
|
||||
item.totalStuCnt && item.totalStuCnt !== null
|
||||
? item.totalStuCnt
|
||||
: 0
|
||||
}}人
|
||||
{{item.finishStuCnt || 0 }}/{{item.totalStuCnt || 0}}人
|
||||
</div>
|
||||
<div style="display: flex">
|
||||
<a-progress
|
||||
:showInfo="false"
|
||||
:percent="item.percent"
|
||||
:percent="parseInt((item.finishStuCnt / item.totalStuCnt) * 100)"
|
||||
strokeColor="#FFC067"
|
||||
trailColor="rgba(253, 209, 98, 0.2)"
|
||||
/>
|
||||
<span class="progresstext" style="margin-left: 10px"
|
||||
>{{
|
||||
(item.finishStuCnt && item.finishStuCnt !== null
|
||||
? item.finishStuCnt
|
||||
: 0 / item.totalStuCnt &&
|
||||
item.totalStuCnt !== null
|
||||
? item.totalStuCnt
|
||||
: 0) * 100
|
||||
}}%</span
|
||||
>{{parseInt((item.finishStuCnt / item.totalStuCnt) * 100) || 0 }}%</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user