From 29b8671ebd7bf9de889f15d50c1da002352ac744 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期一, 08 七月 2024 09:41:25 +0800 Subject: [PATCH] 删除多余阅卷按钮 --- src/views/train/index.vue | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/views/train/index.vue b/src/views/train/index.vue index 2e5f472..484207e 100644 --- a/src/views/train/index.vue +++ b/src/views/train/index.vue @@ -66,9 +66,9 @@ </el-date-picker> </el-form-item> <el-form-item label="鐘舵��"> - <el-radio v-model="form.status" :label="0">寰呭紑濮�</el-radio> - <el-radio v-model="form.status" :label="1">杩涜涓�</el-radio> - <el-radio v-model="form.status" :label="2">宸茬粨鏉�</el-radio> + <el-radio v-model="form.status" :label="0" :disabled="!form.id">寰呭紑濮�</el-radio> + <el-radio v-model="form.status" :label="1" :disabled="!form.id">杩涜涓�</el-radio> + <el-radio v-model="form.status" :label="2" :disabled="!form.id">宸茬粨鏉�</el-radio> </el-form-item> </el-form> <div slot="footer" class="dialog-footer"> @@ -103,7 +103,9 @@ open: false, listLoading: true, title: '', - form: {}, + form: { + status: 0 + }, tableData: [], classesIds: [], activeName: 'all', @@ -194,7 +196,7 @@ id: null, meetName: null, classesId: null, - status: null, + status: 0, startTime: null, endTime: null, time: [] @@ -238,6 +240,7 @@ }) }, handleAdd () { + this.resetForm() this.open = true this.title = '鏂板缓鎴块棿' } @@ -261,6 +264,7 @@ flex: 1; position: relative; width: 100%; + height: 100%; } } -- Gitblit v1.8.0