给用户列表增加是否经理字段
This commit is contained in:
parent
1e58fbf8d6
commit
7b8db0f19f
@ -130,13 +130,14 @@
|
||||
dataIndex: 'action',
|
||||
scopedSlots: {customRender: 'action'},
|
||||
align: "center",
|
||||
width: 260
|
||||
width: 160
|
||||
},
|
||||
{ title: '登录名称', dataIndex: 'loginName', width: 100, align: "left"},
|
||||
{ title: '用户姓名', dataIndex: 'username', width: 100, align: "left"},
|
||||
{ title: '用户类型', dataIndex: 'userType', width: 80, align: "left" },
|
||||
{ title: '角色', dataIndex: 'roleName', width: 100, align: "left"},
|
||||
{ title: '机构', dataIndex: 'orgAbr', width: 115, align: "left"},
|
||||
{ title: '机构', dataIndex: 'orgAbr', width: 140, align: "left"},
|
||||
{ title: '是否经理', dataIndex: 'leaderFlagStr', width: 80, align: "left"},
|
||||
{ title: '电话号码', dataIndex: 'phonenum', width: 120, align: "left"},
|
||||
{ title: '排序', dataIndex: 'userBlngOrgaDsplSeq', width: 60, align: "left"},
|
||||
{ title: '状态',dataIndex: 'status',width:70,align:"center",
|
||||
|
||||
@ -44,6 +44,12 @@
|
||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="职位">
|
||||
<a-input placeholder="请输入职位" v-decorator.trim="[ 'position' ]" />
|
||||
</a-form-item>
|
||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="是否经理">
|
||||
<a-select placeholder="请选择是否经理" v-decorator="[ 'leaderFlag' ]">
|
||||
<a-select-option value="1">是</a-select-option>
|
||||
<a-select-option value="0">否</a-select-option>
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="电话号码">
|
||||
<a-input placeholder="请输入电话号码" v-decorator.trim="[ 'phonenum' ]" />
|
||||
</a-form-item>
|
||||
@ -139,7 +145,7 @@
|
||||
this.visible = true;
|
||||
this.model = Object.assign({}, record);
|
||||
this.$nextTick(() => {
|
||||
this.form.setFieldsValue(pick(this.model,'loginName','username','roleId','orgaId','position',
|
||||
this.form.setFieldsValue(pick(this.model,'loginName','username','roleId','orgaId','position','leaderFlag',
|
||||
'phonenum','email','userBlngOrgaDsplSeq','description'))
|
||||
autoJumpNextInput('userModal')
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user