Browse Source

设置学生监护人信息

liqk 3 years ago
parent
commit
10cf9ba28f

+ 2 - 0
TEAMModelOS/ClientApp/public/lang/en-US.js

@@ -459,6 +459,7 @@ const LANG_EN_US = {
         cc2:'PC端(HiTeach)',
         cc3:'Web端 (HiTeach CC)',
         cc4:'教師:',
+        stuClient:'學生連接數'
     },
     // 班级管理
     classMgmt: {
@@ -3776,6 +3777,7 @@ const LANG_EN_US = {
         updClass: 'Change Class',
         sltStuLabel: 'Selected Student:',
         classLabel: 'Class:',
+        confirmText:'確認',
 
         // AddStudent.vue
         accountInfo: 'Account Information',

+ 2 - 0
TEAMModelOS/ClientApp/public/lang/zh-CN.js

@@ -459,6 +459,7 @@ const LANG_ZH_CN = {
         cc2:'PC端(HiTeach)',
         cc3:'Web端 (HiTeach CC)',
         cc4:'教师:',
+        stuClient:'学生连接数'
     },
     // 班级管理
     classMgmt: {
@@ -3776,6 +3777,7 @@ const LANG_ZH_CN = {
         updClass: '修改班级',
         sltStuLabel: '选取学生:',
         classLabel: '班级:',
+        confirmText:'确认',
 
         // AddStudent.vue
         accountInfo: '账号资讯',

+ 2 - 0
TEAMModelOS/ClientApp/public/lang/zh-TW.js

@@ -459,6 +459,7 @@ const LANG_ZH_TW = {
         cc2:'PC端(HiTeach)',
         cc3:'Web端 (HiTeach CC)',
         cc4:'教師:',
+        stuClient:'學生連接數'
     },
     // 班级管理
     classMgmt: {
@@ -3776,6 +3777,7 @@ const LANG_ZH_TW = {
         updClass: '修改班級',
         sltStuLabel: '選取學生:',
         classLabel: '班級:',
+        confirmText:'確認',
 
         //AddStudent.vue
         accountInfo: '帳號資訊',

+ 7 - 7
TEAMModelOS/ClientApp/src/view/student-account/stuMgt/StuMgt.vue

@@ -139,9 +139,9 @@
                         <div>
                             <ol>
                                 <li v-for="(item,index) in studentInfo.guardians" :key="index" class="guardian-item">
-                                    <Input v-special-char v-model="item.gName" class="guardian-info-input" :placeholder="$t('stuAccount.gName')"></Input>
-                                    <Input v-special-char v-model="item.guardian" class="guardian-info-input" :placeholder="$t('stuAccount.guardian')"></Input>
-                                    <Input v-special-char v-model="item.gPhone" class="guardian-info-input" :placeholder="$t('stuAccount.gPhone')"></Input>
+                                    <Input v-special-char v-model="item.name" class="guardian-info-input" :placeholder="$t('stuAccount.gName')"></Input>
+                                    <Input v-special-char v-model="item.relation" class="guardian-info-input" :placeholder="$t('stuAccount.guardian')"></Input>
+                                    <Input v-special-char v-model="item.mobile" class="guardian-info-input" :placeholder="$t('stuAccount.gPhone')"></Input>
                                     <Icon type="md-remove-circle" class="remove-guardian-icon" color="#ed4014" @click="removeGuardian(index)" />
                                 </li>
                             </ol>
@@ -149,7 +149,7 @@
                     </FormItem>
                 </Form>
                 <Button :loading="btnLoading" @click="confirmAddStu" long type="primary" class="confirm-btn">
-                    确认
+                    {{$t('stuAccount.confirmText')}}
                 </Button>
             </div>
 
@@ -299,9 +299,9 @@ export default {
                 return
             }
             this.studentInfo.guardians.push({
-                guardian: '',
-                gName: '',
-                gPhone: ''
+                relation: '',
+                name: '',
+                mobile: ''
             })
         },
         /**