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