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