From 0e021d2f83cec6b2bf15aa4dd60b896108785dac Mon Sep 17 00:00:00 2001
From: zhanglipeng <chinazhanglipeng@qq.com>
Date: Fri, 18 Dec 2020 15:57:30 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ruoyi-ui/src/views/benyi/calendarshow/index.vue | 2 +-
 ruoyi-ui/src/views/benyi/child/index.vue        | 5 ++++-
 ruoyi-ui/src/views/dashboard/BarChart.vue       | 2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ruoyi-ui/src/views/benyi/calendarshow/index.vue b/ruoyi-ui/src/views/benyi/calendarshow/index.vue
index 34d02ce3a..9007027de 100644
--- a/ruoyi-ui/src/views/benyi/calendarshow/index.vue
+++ b/ruoyi-ui/src/views/benyi/calendarshow/index.vue
@@ -123,7 +123,7 @@ export default {
   },
   methods: {
     handleEventClick(info) {
-      this.msgSuccess("活动: " + info.event.title);
+      this.msgSuccess("事件: " + info.event.title);
     },
   },
   mounted() {
diff --git a/ruoyi-ui/src/views/benyi/child/index.vue b/ruoyi-ui/src/views/benyi/child/index.vue
index 585f52783..d8e72672c 100644
--- a/ruoyi-ui/src/views/benyi/child/index.vue
+++ b/ruoyi-ui/src/views/benyi/child/index.vue
@@ -3,7 +3,7 @@
     <el-form :model="queryParams" ref="queryForm" label-width="70px">
       <el-row :gutter="10">
         <el-col :xs="24" :ms="12" :md="5">
-           <el-form-item label="选择班级" prop="classid">
+          <el-form-item label="选择班级" prop="classid">
             <el-select v-model="queryParams.classid" placeholder="请选择班级">
               <el-option
                 v-for="dict in classOptions"
@@ -942,6 +942,8 @@ export default {
     getClassList() {
       listClass(null).then((response) => {
         this.classOptions = response.rows;
+        // console.log(response.rows[0].bjbh);
+        // this.form.classid = response.rows[0].bjbh;
       });
     },
     /** 查询幼儿信息列表 */
@@ -1067,6 +1069,7 @@ export default {
       this.reset();
       this.open = true;
       this.title = "添加幼儿信息";
+      this.form.classid = this.classOptions[0].bjbh;
     },
     /** 修改按钮操作 */
     async handleUpdate(row) {
diff --git a/ruoyi-ui/src/views/dashboard/BarChart.vue b/ruoyi-ui/src/views/dashboard/BarChart.vue
index 8940512b7..28c4621ee 100644
--- a/ruoyi-ui/src/views/dashboard/BarChart.vue
+++ b/ruoyi-ui/src/views/dashboard/BarChart.vue
@@ -85,7 +85,7 @@ export default {
   },
   methods: {
     handleEventClick(info) {
-      this.msgSuccess("活动: " + info.event.title);
+      this.msgSuccess("事件: " + info.event.title);
     }
   },
   mounted() {