From 24d16e65d3a3ea454b66e1590a018ac7225c2329 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 22 Mar 2023 14:27:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E8=AF=95=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/AppExaminationManage/components/Add.vue | 13 +++++++++++-- .../app/AppExaminationManage/components/Detail.vue | 1 + .../app/AppExaminationManage/components/List.vue | 3 ++- 3 files changed, 14 insertions(+), 3 deletions(-) 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() }) },