考试管理
This commit is contained in:
@@ -33,6 +33,14 @@
|
||||
<el-radio :label="item.dictValue" :key="item.dictValue" v-for="item in dict.getDict('qjEIChooseType')">{{ item.dictName }}</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item prop="examinationType" label="考试类型" :rules="[{required: true, message: '请选择选题方式', trigger: 'change'}]">
|
||||
<ai-select
|
||||
v-model="form.examinationType"
|
||||
clearable
|
||||
placeholder="请选择"
|
||||
:selectList="dict.getDict('qjExaminationType')">
|
||||
</ai-select>
|
||||
</el-form-item>
|
||||
<el-form-item prop="subjectConfigs" style="width: 100%;" label="题目设置" :rules="[{required: true, message: '请选择题目设置', trigger: 'change'}]">
|
||||
<div class="type-list">
|
||||
<div class="choose-item" v-for="(item, index) in form.subjectConfigs" :key="index">
|
||||
@@ -152,6 +160,7 @@
|
||||
form: {
|
||||
examinationName: '',
|
||||
title: '',
|
||||
examinationType: '',
|
||||
showIndex: '',
|
||||
chooseType: '0',
|
||||
questions: [],
|
||||
@@ -222,7 +231,7 @@
|
||||
|
||||
created () {
|
||||
this.getList()
|
||||
this.dict.load(['qjQBType', 'qjEIChooseType', 'qjEACondition', 'qjEAType']).then(() => {
|
||||
this.dict.load(['qjQBType', 'qjEIChooseType', 'qjEACondition', 'qjEAType', 'qjExaminationType']).then(() => {
|
||||
if (this.params && this.params.id) {
|
||||
this.id = this.params.id
|
||||
this.getInfo(this.params.id)
|
||||
@@ -522,7 +531,7 @@
|
||||
}
|
||||
|
||||
.type-name {
|
||||
width: 50px;
|
||||
width: 80px;
|
||||
}
|
||||
|
||||
span {
|
||||
|
||||
Reference in New Issue
Block a user