Browse Source

rename User-Profile field label

hare8999@163.com 2 years ago
parent
commit
3763dd5beb

+ 1 - 1
src/views/accurateTeaching/components/EvaluationSetting/index.vue

@@ -41,7 +41,7 @@
         </el-switch>
       </div>
     </el-form-item>
-    <el-form-item label="选择年级组">
+    <el-form-item label="选择所带班级">
       <el-radio-group
         v-model="form.gradeId"
         size="mini"

+ 4 - 4
src/views/components/complete-profile.vue

@@ -1,9 +1,9 @@
 <template>
   <div class="fx-column">
-    <div class="notice pb40">*账号信息安全与您本人息息相关,请如实填写</div>
+    <div class="notice" style="margin-top: -20px; margin-bottom: 30px">*账号信息安全与您本人息息相关,请如实填写</div>
     <div class="fx-column" style="height: 420px; overflow-y:scroll">
       <el-form ref="form" :model="formData" :rules="formRules" :validate-on-rule-change="false" label-position="right"
-               label-width="70px">
+               label-width="80px">
         <el-row :gutter="20">
           <el-col :span="24">
             <el-form-item prop="username" label="姓 名">
@@ -58,12 +58,12 @@
         </el-row>
         <template v-if="isFrontTeacher">
           <!-- 这里的name另外定义了一个,因为内部for循环+v-model方式会引发循环赋值(uni-app的实现问题) -->
-          <el-form-item prop="gradeClass" label="年级组">
+          <el-form-item prop="gradeClass" label="所带班级">
             <el-cascader
                 v-model="formData.gradeClass"
                 :disabled="!formData.schoolId"
                 :options="classTree"
-                :placeholder="formData.schoolId?'选择年级组':'请先选择学校'"
+                :placeholder="formData.schoolId?'选择所带班级':'请先选择学校'"
                 :props="{multiple:true}"
                 class="width100"
             ></el-cascader>

+ 1 - 1
src/views/components/user-validation-mixin.js

@@ -45,7 +45,7 @@ export default {
         }],
         gradeClass: [{
           required: true,
-          message: '年级组必填',
+          message: '所带班级必填',
           access: ['isFrontTeacher'],
           trigger: 'change',
           validator: (r, v, cb) => cb(v?.length > 0 ? undefined : new Error(r.message))

+ 2 - 2
src/views/index/login.vue

@@ -15,7 +15,7 @@
         <index-news-top-wrapper class="mt20 index-block"/>
       </div>
       <bottom-p class="mt20"></bottom-p>
-      <el-dialog v-if="dialogVisible" title :visible.sync="dialogVisible" width="850px">
+      <el-dialog v-if="dialogVisible" title :visible.sync="dialogVisible" width="880px">
         <complete-profile @completed="handleProfileCompleted"
                           style="margin-left:250px; padding:0 30px"></complete-profile>
       </el-dialog>
@@ -160,7 +160,7 @@ export default {
   background: url("../../assets/images/img_bg1.png") no-repeat;
   /* background-size: 100% 100%;
   height: 580px; */
-  max-height: 520px;
+  max-height: 500px;
   width: 800px;
 }