单选题:
-
+
-
+
道 当前题库单选题{{radioDataList.length}}道
多选题:
-
+
-
+
道 当前题库多选题{{checkDataList.length}}道
@@ -510,22 +507,9 @@ export default {
showBigImg: false,
examSubjectList: [], // 科目类别列表
- laborPersonList: [], // 劳务人员列表
- adminPersonList: [], // 管理人员列表
- tempPersonList: [], // 临时人员列表
- checkedPersonList: [], // 源列表已选人员列表
- personTotal: 0, // 源列表总条数
- personCheckedTotal: 0, // 源列表已选总条数
-
- compulsoryList: [], // 必修列表
- compulsoryList: [], // 必修人员列表
- cpsCheckedList:[], // 必修已选列表
- cpsFormList: [], // 必修表单列表
- cpsTotal: [], // 必修列表总条数
- cpsCheckedTotal: [], // 必修列表已选总条数
+ compulsoryList: [],
addCourseForm: {}, // 新增课程表单
- studyCycle: [], // 表单日期时间范围
personType: 0, // 人员类型
personnelName:"", // 人员名称
@@ -612,11 +596,11 @@ export default {
},
methods: {
cancel2(){
- this.examForm.checkQuestionType = null
+ // this.examForm.checkQuestionType = null
this.dialogVisible2 = false
},
cancel3(){
- this.examForm.checkQuestionType = null
+ // this.examForm.checkQuestionType = null
this.dialogVisible3 = false
},
singleChange(){
@@ -774,35 +758,19 @@ export default {
},
openDoor(){
// this.examForm.questions = this.examForm.questions.split(',')
- let tempStr = this.examForm.questions.split(',')
- console.log(tempStr,789)
- console.log(this.questionList,789)
- // this.examForm.questions = String.prototype.split(this.examForm.questions,',')
- // this.$nextTick(()=>{
-
- // this.examForm.questions = tempStr
- // this.questionList.map((item,index) => {
- // console.log("33333333333333333333")
- // tempStr.map((item2,index2) => {
- // if(item.id = item2){
- // that.$refs.questionListTable.toggleRowSelection(taht.questionList[index],true)
- // console.log("=======================")
- // console.log(this.questionList[index])
- // }
- // })
- // })
- // })
- this.dialogVisible2 = true
- this.$nextTick(() => {
- for(let i=0;i
{
+ for(let i=0;i
-
+
@@ -103,7 +103,7 @@
-
+
@@ -528,7 +528,10 @@ export default {
// return
// };
// this.active++;
-
+ if(!this.addCourseForm.courseId && !this.addCourseForm.examPaperId){
+ this.$message.error('试卷和课件至少选择一项')
+ return
+ }
this.$refs[examForm].validate((valid) => {
if(valid){
if(this.active == 1) {
@@ -565,13 +568,6 @@ export default {
// this.$message.error('请选择培训结束时间')
// return
// }
-
- if(!this.addCourseForm.courseId && !this.addCourseForm.examPaperId){
- this.$message.error('试卷和课件至少选择一项')
- return
- }
-
-
},
last() {
if(this.active == 2) {
@@ -702,8 +698,8 @@ export default {
pageNo: this.pagInfo.pageNo,
pageSize: this.pagInfo.pageSize,
subjectId: this.subjectId,
- trainBeginTime: this.starEndTime?this.starEndTime[0]:'',
- trainEndTime: this.starEndTime?this.starEndTime[1]:'',
+ trainBeginTime_begin: this.starEndTime?this.starEndTime[0]:'',
+ trainEndTime_end: this.starEndTime?this.starEndTime[1]:'',
projectSn: this.$store.state.projectSn,
}).then((result) => {
if (result.success) {