feat:项目-学员管理-学员查看-证书数量传递

This commit is contained in:
wyx
2023-03-08 20:46:15 +08:00
parent eab1292e38
commit 6390eb6e9f
2 changed files with 8 additions and 1 deletions

View File

@@ -44,7 +44,7 @@
<div class="sortbox" style="margin-left: 34px">
<div class="sortname">已修证书</div>
<div class="sortnub">
<span class="nub1">{{ rank.certNum || 0 }}</span>
<span class="nub1">{{ certificateNum || 0 }}</span>
</div>
</div>
@@ -168,6 +168,10 @@ export default {
type: Number,
default: null,
},
certificateNum: {
type: Number,
default: null,
},
},
setup(props, ctx) {
const state = reactive({

View File

@@ -1595,6 +1595,7 @@
v-model:Seevisible="Seevisible"
v-model:checkStuId="checkStuId"
v-model:projectId="projectId"
v-model:certificateNum="certificateNum"
/>
<!-- 学员换组 -->
<change-group
@@ -2466,6 +2467,7 @@ export default {
Stuvisible: false, //添加学员
Importvisible: false, //导入学员
Seevisible: false, //查看学员
certificateNum: 0,
Changevisible: false, //学员换组
editHs: false, //编辑弹窗
delete_hs: false, //删除弹窗
@@ -4716,6 +4718,7 @@ export default {
state.editRecord = record;
}
function showStudent(record) {
state.certificateNum = record.certCount;
state.Seevisible = true;
state.checkStuId = record.studentId;
}