From 765a5474e1965194b9429ebb414dd8703b2625be Mon Sep 17 00:00:00 2001 From: sk1551 <15175617877@163.com> Date: Fri, 10 Apr 2020 08:49:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=BC=E5=84=BF=E5=9B=AD=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/system/school/index.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/system/school/index.vue b/ruoyi-ui/src/views/system/school/index.vue index 76326695a..a7e0e6fa7 100644 --- a/ruoyi-ui/src/views/system/school/index.vue +++ b/ruoyi-ui/src/views/system/school/index.vue @@ -236,7 +236,11 @@ </el-form-item> <el-form-item label="状态"> <el-radio-group v-model="form.status"> - <el-radio label="1">请选择字典生成</el-radio> + <el-radio + v-for="dict in statusOptions" + :key="dict.dictValue" + :label="dict.dictValue" + >{{dict.dictLabel}}</el-radio> </el-radio-group> </el-form-item> <el-form-item label="幼儿园规模" prop="scale"> @@ -355,6 +359,7 @@ export default { emMan: undefined, emTel: undefined, status: undefined, + statusOptions: [], scale: undefined, createUser: undefined, createTime: undefined, @@ -384,6 +389,9 @@ export default { this.getDicts("sys_yeylx").then(response => { this.typeOptions = response.data; }); + this.getDicts("sys_normal_disable").then(response => { + this.statusOptions = response.data; + }); }, components: { VDistpicker