diff --git a/project/qujing/app/AppExaminationManage/components/Add.vue b/project/qujing/app/AppExaminationManage/components/Add.vue index 3b02c338..02c45e1d 100644 --- a/project/qujing/app/AppExaminationManage/components/Add.vue +++ b/project/qujing/app/AppExaminationManage/components/Add.vue @@ -33,6 +33,14 @@ {{ item.dictName }} + + + +
@@ -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 { diff --git a/project/qujing/app/AppExaminationManage/components/Detail.vue b/project/qujing/app/AppExaminationManage/components/Detail.vue index 45e44f05..f6e5d469 100644 --- a/project/qujing/app/AppExaminationManage/components/Detail.vue +++ b/project/qujing/app/AppExaminationManage/components/Detail.vue @@ -14,6 +14,7 @@ + diff --git a/project/qujing/app/AppExaminationManage/components/List.vue b/project/qujing/app/AppExaminationManage/components/List.vue index 36c0e231..fc871ccf 100644 --- a/project/qujing/app/AppExaminationManage/components/List.vue +++ b/project/qujing/app/AppExaminationManage/components/List.vue @@ -93,6 +93,7 @@ total: 10, colConfigs: [ { prop: 'examinationName', label: '考试名称', align: 'left', width: 400 }, + { prop: 'examinationType', label: '考试类型', align: 'center', format: v => this.dict.getLabel('qjExaminationType', v) }, { prop: 'allSubjectNumber', label: '试题总数', align: 'center' }, { prop: 'passScore', label: '通过分数', align: 'center' }, { prop: 'status', label: '状态', align: 'center', format: v => this.dict.getLabel('qjEIStatus', v) }, @@ -124,7 +125,7 @@ created() { this.search.areaId = this.$store.state.user.info.areaId - this.dict.load('qjEIStatus').then(() => { + this.dict.load(['qjEIStatus', 'qjExaminationType']).then(() => { this.getList() }) },