【添加】添加岗位字段到用户列表和编辑新增功能中
This commit is contained in:
@@ -185,6 +185,7 @@ module.exports = {
|
||||
heads: 'Heads',
|
||||
account: 'Account',
|
||||
userName: 'User Name',
|
||||
post: 'post',
|
||||
selectedAccount: 'Selected account?',
|
||||
// 新增、编辑用户
|
||||
loginPassword: 'Login Password',
|
||||
|
||||
@@ -185,6 +185,7 @@ module.exports = {
|
||||
heads: '头像',
|
||||
account: '账号',
|
||||
userName: '用户姓名',
|
||||
post: '岗位',
|
||||
selectedAccount: '选中账号?',
|
||||
// 新增、编辑用户
|
||||
loginPassword: '登录密码',
|
||||
|
||||
@@ -246,13 +246,13 @@ export default {
|
||||
return parseInt(index) + 1
|
||||
}
|
||||
},
|
||||
{
|
||||
title: this.$t('user.heads'),
|
||||
align: 'center',
|
||||
width: 120,
|
||||
dataIndex: 'avatar',
|
||||
scopedSlots: { customRender: 'avatarslot' }
|
||||
},
|
||||
// {
|
||||
// title: this.$t('user.heads'),
|
||||
// align: 'center',
|
||||
// width: 120,
|
||||
// dataIndex: 'avatar',
|
||||
// scopedSlots: { customRender: 'avatarslot' }
|
||||
// },
|
||||
{
|
||||
title: this.$t('user.account'),
|
||||
align: 'center',
|
||||
@@ -266,6 +266,12 @@ export default {
|
||||
width: 100,
|
||||
dataIndex: 'realname'
|
||||
},
|
||||
{
|
||||
title: this.$t('user.post'),
|
||||
align: 'center',
|
||||
width: 100,
|
||||
dataIndex: 'post'
|
||||
},
|
||||
{
|
||||
title: this.$t('user.gender'),
|
||||
align: 'center',
|
||||
|
||||
@@ -48,9 +48,9 @@
|
||||
<a-input :placeholder="$t('pleaseEnter') + $t('user.userName')" v-model="model.realname" :maxLength="50" :disabled="disableSubmit" />
|
||||
</a-form-model-item>
|
||||
|
||||
<!--<a-form-model-item label="职务" :labelCol="labelCol" :wrapperCol="wrapperCol">-->
|
||||
<!--<j-select-position placeholder="请选择职务" :multiple="false" v-decorator="['post', {}]"/>-->
|
||||
<!--</a-form-model-item>-->
|
||||
<a-form-model-item :label="$t('user.post')" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="post">
|
||||
<a-input :placeholder="$t('pleaseEnter') + $t('user.post')" v-model="model.post" :maxLength="50" :disabled="disableSubmit" />
|
||||
</a-form-model-item>
|
||||
|
||||
<a-form-model-item :label="$t('user.roleAssignment')" :labelCol="labelCol" :wrapperCol="wrapperCol" v-show="!roleDisabled">
|
||||
<j-multi-select-tag
|
||||
|
||||
Reference in New Issue
Block a user