style:增加学习路径图学员管理操作-查看调整-(目前暂时隐藏)

This commit is contained in:
wyx
2023-01-13 16:46:52 +08:00
parent 156e84d273
commit 7bc5dd8fac

View File

@@ -529,7 +529,36 @@
:id="routerId" :id="routerId"
:stage="stage" :stage="stage"
:columns="tableDataFunc()" :columns="tableDataFunc()"
></TableStudent> >
<!-- <template #extension="{ data: { record } }">
<div style="display: flex">
<div
@click="showStudent(record)"
style="
color: #4ea6ff;
font-size: 14px;
text-align: center;
margin-left: 20px;
cursor: pointer;
"
>
查看
</div>
<div
@click="setLevels(record)"
style="
color: #4ea6ff;
font-size: 14px;
text-align: center;
margin-left: 20px;
cursor: pointer;
"
>
调整
</div>
</div>
</template> -->
</TableStudent>
</a-tab-pane> </a-tab-pane>
<!-- 1211注释 待开放 --> <!-- 1211注释 待开放 -->
<a-tab-pane key="4" tab="设置"> <a-tab-pane key="4" tab="设置">
@@ -857,7 +886,7 @@
<see-stu <see-stu
v-model:Seevisible="Seevisible" v-model:Seevisible="Seevisible"
v-model:checkStuId="checkStuId" v-model:checkStuId="checkStuId"
v-model:projectId="projectId" v-model:projectId="routerId"
/> />
<!-- 批量删除学员弹窗 --> <!-- 批量删除学员弹窗 -->
@@ -2451,6 +2480,19 @@ export default {
// } // }
} }
// 点击学员管理-查看学员操作
function showStudent(record) {
console.log(record)
state.Seevisible = true;
state.checkStuId = record.studentId;
}
// 调整关卡
function setLevels(record) {
console.log(record)
state.visiblene = true;
}
return { return {
...toRefs(state), ...toRefs(state),
...toRefs(levelList), ...toRefs(levelList),
@@ -2517,6 +2559,8 @@ export default {
homeworkModel, homeworkModel,
commonModel, commonModel,
downloadFile, downloadFile,
showStudent,
setLevels,
}; };
}, },
}; };