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