--fix bug

This commit is contained in:
yuping
2023-03-27 00:06:07 +08:00
parent beb9ed2c3b
commit bac1ab0e2a
3 changed files with 8 additions and 6 deletions

View File

@@ -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) {