|
@@ -225,6 +225,9 @@
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
+ <el-dialog :title="questionBank.title" :visible.sync="questionBank.open" width="1000px" append-to-body @close="handleQuestionBankClose">
|
|
|
|
|
+ <question-bank ref="questionBank" @questionBankResult="questionBankResult" @close="handleQuestionBankClose"></question-bank>
|
|
|
|
|
+ </el-dialog>
|
|
|
<el-dialog :title="title" :visible.sync="updateBatchData.open" width="1000px" append-to-body>
|
|
<el-dialog :title="title" :visible.sync="updateBatchData.open" width="1000px" append-to-body>
|
|
|
<el-form ref="form" :model="updateBatchData.form" label-width="110px">
|
|
<el-form ref="form" :model="updateBatchData.form" label-width="110px">
|
|
|
<el-form-item label="看课时间" prop="timeRange">
|
|
<el-form-item label="看课时间" prop="timeRange">
|
|
@@ -575,7 +578,6 @@ export default {
|
|
|
|
|
|
|
|
//选择结果
|
|
//选择结果
|
|
|
questionBankResult(val) {
|
|
questionBankResult(val) {
|
|
|
-
|
|
|
|
|
// 确保 questionBankList 是数组
|
|
// 确保 questionBankList 是数组
|
|
|
this.form.questionBankList = this.form.questionBankList || [];
|
|
this.form.questionBankList = this.form.questionBankList || [];
|
|
|
|
|
|
|
@@ -590,6 +592,9 @@ export default {
|
|
|
message: '添加成功',
|
|
message: '添加成功',
|
|
|
type: 'success'
|
|
type: 'success'
|
|
|
});
|
|
});
|
|
|
|
|
+
|
|
|
|
|
+ // 选择题目后关闭课题选择对话框
|
|
|
|
|
+ this.questionBank.open = false;
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
//删除课题
|
|
//删除课题
|
|
@@ -1111,6 +1116,9 @@ export default {
|
|
|
this.commentDialog.title = `查看评论 - ${row.title}`;
|
|
this.commentDialog.title = `查看评论 - ${row.title}`;
|
|
|
this.commentDialog.open = true;
|
|
this.commentDialog.open = true;
|
|
|
},
|
|
},
|
|
|
|
|
+ handleQuestionBankClose() {
|
|
|
|
|
+ this.questionBank.open = false;
|
|
|
|
|
+ },
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|