Browse Source

修改男女标识为 1男 0女

master
yujintao 6 years ago
parent
commit
2ae2cf27b1
  1. 4
      src/i18n/en-US.js
  2. 4
      src/i18n/zh-CN.js
  3. 4
      src/i18n/zh-TW.js
  4. 5
      src/views/modules/sys/user-add-or-update.vue

4
src/i18n/en-US.js

@ -363,8 +363,8 @@ t.user.password = 'Password'
t.user.comfirmPassword = 'Confirm'
t.user.realName = 'Real Name'
t.user.gender = 'Gender'
t.user.gender0 = 'Male'
t.user.gender1 = 'Female'
t.user.gender0 = 'Female'
t.user.gender1 = 'Male'
t.user.gender2 = 'Secure'
t.user.roleIdList = 'Role Config'
t.user.validate = {}

4
src/i18n/zh-CN.js

@ -373,8 +373,8 @@ t.user.password = '密码'
t.user.comfirmPassword = '确认密码'
t.user.realName = '真实姓名'
t.user.gender = '性别'
t.user.gender0 = ''
t.user.gender1 = ''
t.user.gender0 = ''
t.user.gender1 = ''
t.user.gender2 = '保密'
t.user.roleIdList = '角色配置'
t.user.validate = {}

4
src/i18n/zh-TW.js

@ -362,8 +362,8 @@ t.user.password = '密碼'
t.user.comfirmPassword = '確認密碼'
t.user.realName = '真實姓名'
t.user.gender = '性別'
t.user.gender0 = ''
t.user.gender1 = ''
t.user.gender0 = ''
t.user.gender1 = ''
t.user.gender2 = '保密'
t.user.roleIdList = '角色配置'
t.user.validate = {}

5
src/views/modules/sys/user-add-or-update.vue

@ -69,9 +69,8 @@
:label="$t('user.gender')"
size="mini">
<el-radio-group v-model="dataForm.gender">
<el-radio :label="0">{{ $t('user.gender0') }}</el-radio>
<el-radio :label="1">{{ $t('user.gender1') }}</el-radio>
<el-radio :label="2">{{ $t('user.gender2') }}</el-radio>
<el-radio :label="0">{{ $t('user.gender0') }}</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item prop="email"
@ -132,7 +131,7 @@ export default {
password: '',
comfirmPassword: '',
realName: '',
gender: 0,
gender: 1,
email: '',
mobile: '',
roleIdList: [],

Loading…
Cancel
Save