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