mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
feat:学习路径图考试管理关卡字段传递
This commit is contained in:
@@ -142,6 +142,10 @@
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
levelName: {
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
projectTaskId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
@@ -223,6 +227,13 @@
|
||||
width: 60,
|
||||
align: "center",
|
||||
className: "h",
|
||||
customRender: () => {
|
||||
return (
|
||||
<div class="racona">
|
||||
<span> {props.levelName}</span>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "考试次数",
|
||||
|
||||
@@ -498,7 +498,7 @@
|
||||
: item.type === 4
|
||||
? evaluationModel(item)
|
||||
: item.type === 5
|
||||
? examinationModel(item)
|
||||
? examinationModel(item, value.name)
|
||||
: item.type === 10
|
||||
? homeworkModel(item)
|
||||
: null
|
||||
@@ -1106,7 +1106,7 @@
|
||||
<!-- 面授管理抽屉 结束-->
|
||||
|
||||
<!-- 考试管理抽屉 开始-->
|
||||
<router-examination-manage v-model:ExaminationModelVisible="examinationModelVisible" :title="examinationModelVisibleTitle" :datasource="examinationData" />
|
||||
<router-examination-manage v-model:ExaminationModelVisible="examinationModelVisible" :title="examinationModelVisibleTitle" :datasource="examinationData" :levelName="examLevelName"/>
|
||||
<!-- 考试管理抽屉 结束-->
|
||||
|
||||
<!-- 测评管理抽屉 开始-->
|
||||
@@ -1361,8 +1361,8 @@ export default {
|
||||
evaluationData: '',
|
||||
homeworkData: '',
|
||||
commonData: '',
|
||||
commonLevelName: ''
|
||||
|
||||
commonLevelName: '',
|
||||
examLevelName: ''
|
||||
});
|
||||
|
||||
const levelList = reactive({
|
||||
@@ -1637,8 +1637,9 @@ export default {
|
||||
// 面授课弹框名称 RouterFaceTeachManage
|
||||
}
|
||||
// 考试点击管理弹框
|
||||
const examinationModel = (data) => {
|
||||
const examinationModel = (data, levelname) => {
|
||||
console.log(data)
|
||||
state.examLevelName = levelname;
|
||||
state.examinationModelVisible = true;
|
||||
state.examinationModelVisibleTitle = data.name;
|
||||
state.examinationData = data;
|
||||
|
||||
Reference in New Issue
Block a user