@@ -404,42 +404,15 @@ export default {
emActiveTab: 'examRecord',
examManageInfo:{examTotalScore:'100',passScore: 60,questionCount: '100', examPeriod: '2024-05-12 00:00:00-2024-06-01 00:00:00', joinCount: '100',noJoinCount: '2'},
isExamManage: false, // 考试管理开关
- examInfoList: [
- {examineeName: '123',idCard: '123456789123456789',questionName:'123123123123123123123123',questionType:'单选题',answer:'123123123123123123123123123123123'},
- {examineeName: '123',idCard: '123456789123456789',questionName:'123123123123123123123123',questionType:'单选题',answer:'123123123123123123123123123123123'},
- {examineeName: '123',idCard: '123456789123456789',questionName:'123123123123123123123123',questionType:'单选题',answer:'123123123123123123123123123123123'},
- {examineeName: '123',idCard: '123456789123456789',questionName:'123123123123123123123123',questionType:'单选题',answer:'123123123123123123123123123123123'},
- {examineeName: '123',idCard: '123456789123456789',questionName:'123123123123123123123123',questionType:'单选题',answer:'123123123123123123123123123123123'},
- {examineeName: '123',idCard: '123456789123456789',questionName:'123123123123123123123123',questionType:'单选题',answer:'123123123123123123123123123123123'},
- {examineeName: '123',idCard: '123456789123456789',questionName:'123123123123123123123123',questionType:'单选题',answer:'123123123123123123123123123123123'},
- {examineeName: '123',idCard: '123456789123456789',questionName:'123123123123123123123123',questionType:'单选题',answer:'123123123123123123123123123123123'},
- {examineeName: '123',idCard: '123456789123456789',questionName:'123123123123123123123123',questionType:'单选题',answer:'123123123123123123123123123123123'},
- {examineeName: '123',idCard: '123456789123456789',questionName:'123123123123123123123123',questionType:'单选题',answer:'123123123123123123123123123123123'},
- ], // 考试信息列表
+ examInfoList: [], // 考试信息列表
activeTab: '1', // 考试信息列表Tab
examDetailInfo:{}, // 考试基本信息
- level1CompanyData: [ // 随机抽题左边树形数据
- { label: "一级 1", children: [ { label: "二级 1-1", children: [ { label: "三级 1-1-1", }, ], }, ], },
- { label: "一级 1", children: [ { label: "二级 1-1", children: [ { label: "三级 1-1-1", }, ], }, ], },
- { label: "一级 1", children: [ { label: "二级 1-1", children: [ { label: "三级 1-1-1", }, ], }, ], },
- ],
+ level1CompanyData: [],
defaultProps: { // 随机抽题左边树形映射数据
children: "children",
label: "workerName",
},
- questionList: [ // 考试题目信息列表
- { questionInfo: 'sldkjalskfj;lsdjfsl;dkfj;sldfkslkdfjslkdfjsldkfjslkdfjsl', questionStatus: '1' },
- { questionInfo: 'sldkjalskfj;lsdjfsl;dkfj;sldfkslkdfjslkdfjsldkfjslkdfjsl', questionStatus: '1' },
- { questionInfo: 'sldkjalskfj;lsdjfsl;dkfj;sldfkslkdfjslkdfjsldkfjslkdfjsl', questionStatus: '1' },
- { questionInfo: 'sldkjalskfj;lsdjfsl;dkfj;sldfkslkdfjslkdfjsldkfjslkdfjsl', questionStatus: '1' },
- { questionInfo: 'sldkjalskfj;lsdjfsl;dkfj;sldfkslkdfjslkdfjsldkfjslkdfjsl', questionStatus: '1' },
- { questionInfo: 'sldkjalskfj;lsdjfsl;dkfj;sldfkslkdfjslkdfjsldkfjslkdfjsl', questionStatus: '1' },
- { questionInfo: 'sldkjalskfj;lsdjfsl;dkfj;sldfkslkdfjslkdfjsldkfjslkdfjsl', questionStatus: '1' },
- { questionInfo: 'sldkjalskfj;lsdjfsl;dkfj;sldfkslkdfjslkdfjsldkfjslkdfjsl', questionStatus: '1' },
- { questionInfo: 'sldkjalskfj;lsdjfsl;dkfj;sldfkslkdfjslkdfjsldkfjslkdfjsl', questionStatus: '1' },
- { questionInfo: 'sldkjalskfj;lsdjfsl;dkfj;sldfkslkdfjslkdfjsldkfjslkdfjsl', questionStatus: '1' },
- { questionStatus: '0' }
- ],
+ questionList: [],
subjectName: '', // 科目名字
questionName: '', // 试题名称
data: generateData(),
@@ -881,8 +854,6 @@ export default {
},
//新增/编辑
submitBtn() {
- console.log("=====================================")
- console.log(this.examForm,this.examAddDetail.questions)
// if(this.studyCycle.length > 0){
// console.log('==========studyCycle-submitBtn==========',this.studyCycle)
// this.addCourseForm.beginTime = this.studyCycle[0]
@@ -893,10 +864,7 @@ export default {
// this.addCourseForm.projectSn = this.$store.state.projectSn;
// this.examForm.projectSn = this.projectSn
this.$refs.examForm.validate((valid) => {
- console.log(valid);
if (valid) {
- console.log(this.title,this.examAddDetail.questions.map(item => item.id).join(','),this.examAddDetail.questions.filter(item => item.type == 1).length,this.examForm.examMode);
-
let examInfo = {
checkQuestionType:this.examForm.examMode,
name:this.examForm.subjectName,
diff --git a/src/views/projectFront/examSystem2/examRegulation/examRegulation.vue b/src/views/projectFront/examSystem2/examRegulation/examRegulation.vue
index 768bd90b..19ae439f 100644
--- a/src/views/projectFront/examSystem2/examRegulation/examRegulation.vue
+++ b/src/views/projectFront/examSystem2/examRegulation/examRegulation.vue
@@ -44,7 +44,7 @@
-
+
diff --git a/src/views/projectFront/examSystem2/learningMaterial/learningMaterial.vue b/src/views/projectFront/examSystem2/learningMaterial/learningMaterial.vue
index b2ee3b47..b3fd945d 100644
--- a/src/views/projectFront/examSystem2/learningMaterial/learningMaterial.vue
+++ b/src/views/projectFront/examSystem2/learningMaterial/learningMaterial.vue
@@ -285,7 +285,7 @@ export default {
},
editBefore(item,title){
this.title = title
- this.addCourseForm = item
+ this.addCourseForm = JSON.parse(JSON.stringify(item))
this.coverFileList = JSON.parse(item.coverImg)
this.materialFileList = JSON.parse(item.fileUrl)
this.dialogVisible = true
@@ -494,7 +494,7 @@ export default {
display: flex;
justify-content: center;
width: 100%;
- height: 680px;
+ height: 600px;
/deep/ .el-dialog__body {
padding: 0 20px;
}
diff --git a/src/views/projectFront/examSystem2/noticeManagement/noticeManagement.vue b/src/views/projectFront/examSystem2/noticeManagement/noticeManagement.vue
index 9524633e..ee438ed7 100644
--- a/src/views/projectFront/examSystem2/noticeManagement/noticeManagement.vue
+++ b/src/views/projectFront/examSystem2/noticeManagement/noticeManagement.vue
@@ -2,17 +2,19 @@
-
+
是否开启通知提醒
-
+
+
-
-
+
+
天
@@ -45,13 +47,14 @@