【开发】人员信息
This commit is contained in:
@@ -6,8 +6,13 @@
|
||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||
<a-row :gutter="24">
|
||||
<a-col :xl="6" :lg="8" :md="8" :sm="24">
|
||||
<a-form-item label="用户名称">
|
||||
<a-input placeholder="请输入用户名称" v-model="queryParam.name" :maxLength="50"></a-input>
|
||||
<a-form-item label="姓名">
|
||||
<a-input placeholder="请输入姓名" v-model="queryParam.name" :maxLength="50"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :xl="6" :lg="8" :md="8" :sm="24">
|
||||
<a-form-item label="手机号">
|
||||
<a-input placeholder="请输入手机号" v-model="queryParam.phone" :maxLength="50"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :xl="6" :lg="8" :md="8" :sm="24">
|
||||
@@ -23,7 +28,7 @@
|
||||
|
||||
<!-- 操作按钮区域-->
|
||||
<div class="table-operator">
|
||||
<a-button type="primary" icon="plus" @click="handleAdd">新增</a-button>
|
||||
<!-- <a-button type="primary" icon="plus" @click="handleAdd">新增</a-button>-->
|
||||
</div>
|
||||
<!-- 操作按钮区域-end-->
|
||||
|
||||
@@ -45,9 +50,8 @@
|
||||
</template>
|
||||
|
||||
|
||||
<!-- slot-scope="text,record"-->
|
||||
<span slot="action" class="action-span-cell" >
|
||||
<a @click="handleEdit(record)">编辑</a>
|
||||
|
||||
<span slot="action" slot-scope="text,record" class="action-span-cell" >
|
||||
<a @click="handleDetail(record)">查看</a>
|
||||
</span>
|
||||
</a-table>
|
||||
@@ -81,34 +85,46 @@ export default {
|
||||
return parseInt(index) + 1
|
||||
}
|
||||
}, {
|
||||
title: '用户名',
|
||||
title: '姓名',
|
||||
align: 'center',
|
||||
width: 140,
|
||||
dataIndex: 'name',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
{
|
||||
title: '用户账号',
|
||||
}, {
|
||||
title: '性别',
|
||||
align: 'center',
|
||||
dataIndex: 'username',
|
||||
width: 80,
|
||||
dataIndex: 'gender_dictText',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
{
|
||||
}, {
|
||||
title: '职务',
|
||||
align: 'center',
|
||||
width: 280,
|
||||
dataIndex: 'post',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
}, {
|
||||
title: '手机号',
|
||||
align: 'center',
|
||||
width: 140,
|
||||
dataIndex: 'phone',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
{
|
||||
}, {
|
||||
title: '创建时间',
|
||||
align: 'center',
|
||||
width: 200,
|
||||
dataIndex: 'createTime',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
}, {
|
||||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: 130,
|
||||
width: 160,
|
||||
scopedSlots: { customRender: 'action' }
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: '/payCaseCommitteeSubitem/payCaseCommitteeSubitem/findTwo'
|
||||
list: '/company/payContactsManagement/listByCompany'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
:width="width"
|
||||
:visible="visible"
|
||||
:confirmLoading="confirmLoading"
|
||||
switchFullscreen
|
||||
@ok="handleOk"
|
||||
:footer="null"
|
||||
@cancel="handleCancel"
|
||||
cancelText="关闭">
|
||||
<a-spin :spinning="confirmLoading">
|
||||
@@ -168,7 +167,7 @@ export default {
|
||||
this.model = Object.assign({}, record)
|
||||
this.visible = true
|
||||
this.$nextTick(() => {
|
||||
this.form.setFieldsValue(pick(this.model))
|
||||
this.form.setFieldsValue(pick(this.model, 'company', 'name', 'gender', 'post', 'phone', 'email', 'contactAddress', 'postalCode', 'remarks'))
|
||||
})
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user