mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 19:36:46 +08:00
--fix bug
This commit is contained in:
@@ -1042,7 +1042,7 @@
|
||||
<span style="margin-right: 3px">报名设置</span>
|
||||
</div>
|
||||
<div class="b_input">
|
||||
<a-checkbox v-model:checked="checked1">
|
||||
<a-checkbox v-model:checked="checked1" :disabled = "itemType!=3">
|
||||
<span style="color: #6d7584">是否允许公开报名</span>
|
||||
</a-checkbox>
|
||||
</div>
|
||||
@@ -1053,7 +1053,7 @@
|
||||
<span style="margin-right: 3px">签到设置</span>
|
||||
</div>
|
||||
<div class="b_input">
|
||||
<a-checkbox v-model:checked="xjkkradioV1">
|
||||
<a-checkbox v-model:checked="xjkkradioV1" :disabled = "itemType!=3">
|
||||
<span style="color: #6d7584">是否允许未报名的学员签到</span>
|
||||
</a-checkbox>
|
||||
</div>
|
||||
@@ -2163,6 +2163,7 @@ export default defineComponent({
|
||||
workInfo: {},
|
||||
examInfo: {},
|
||||
tableLoading: false,
|
||||
itemType: null,
|
||||
columns1: [
|
||||
{
|
||||
title: "课程编号",
|
||||
@@ -3721,6 +3722,7 @@ export default defineComponent({
|
||||
//编辑开课
|
||||
const handelEditStu = async (item) => {
|
||||
state.offcourseId = item.offcourseId;
|
||||
state.itemType = item.type;
|
||||
state.offcoursePlanId = item.id;
|
||||
|
||||
if (item.homeWorkId) {
|
||||
|
||||
@@ -235,7 +235,7 @@
|
||||
}}
|
||||
</div>
|
||||
<div class="proright1">
|
||||
<span class="textpro">必修课</span>
|
||||
<span class="textpro">必修任务</span>
|
||||
<a-progress
|
||||
:percent="fixDoublePer(chapterOverviewList[choosedStageIndex].completeReqCnt / (chapterOverviewList[choosedStageIndex].totalReqCnt || 0))"
|
||||
style="width: 369px"
|
||||
@@ -249,7 +249,7 @@
|
||||
}}
|
||||
</div>
|
||||
<div class="proright1">
|
||||
<span class="textpro">选修课</span>
|
||||
<span class="textpro">选修任务</span>
|
||||
<a-progress
|
||||
:percent="fixDoublePer(chapterOverviewList[choosedStageIndex].completeOptCnt / (chapterOverviewList[choosedStageIndex].totalOptCnt || 0))"
|
||||
style="width: 369px"
|
||||
|
||||
@@ -431,7 +431,7 @@
|
||||
{{ stageOverviewList[choosedStageIndex]?.completeReqCnt || 0}}
|
||||
</div>
|
||||
<div class="proright1">
|
||||
<span class="textpro">必修课</span>
|
||||
<span class="textpro">必修任务</span>
|
||||
<a-progress
|
||||
:percent="fixDoublePer(stageOverviewList[choosedStageIndex]?.completeReqCnt/(stageOverviewList[choosedStageIndex]?.totalReqCnt || 0))"
|
||||
style="width: 369px"
|
||||
@@ -441,7 +441,7 @@
|
||||
{{ stageOverviewList[choosedStageIndex]?.completeOptCnt || 0}}
|
||||
</div>
|
||||
<div class="proright1">
|
||||
<span class="textpro">选修课</span>
|
||||
<span class="textpro">选修任务</span>
|
||||
<a-progress
|
||||
:percent="fixDoublePer(stageOverviewList[choosedStageIndex]?.completeOptCnt/(stageOverviewList[choosedStageIndex]?.totalOptCnt || 0))"
|
||||
style="width: 369px"
|
||||
|
||||
Reference in New Issue
Block a user