|
|
@@ -4,7 +4,6 @@ import EditableForm from '@/components/EditableForm'
|
|
|
|
|
|
const EmployeeForm = props => {
|
|
|
const { staff } = props
|
|
|
- console.log(staff)
|
|
|
const columns = [
|
|
|
{
|
|
|
dataIndex: 'jobNumber',
|
|
|
@@ -37,7 +36,7 @@ const EmployeeForm = props => {
|
|
|
span: 12
|
|
|
},
|
|
|
{
|
|
|
- dataIndex: 'avtelephoneatar',
|
|
|
+ dataIndex: 'telephone',
|
|
|
label: '手机',
|
|
|
span: 12
|
|
|
},
|
|
|
@@ -47,7 +46,7 @@ const EmployeeForm = props => {
|
|
|
span: 12
|
|
|
},
|
|
|
{
|
|
|
- dataIndex: 'avtelephoneatarName',
|
|
|
+ dataIndex: 'wecat',
|
|
|
label: '微信',
|
|
|
span: 12
|
|
|
},
|
|
|
@@ -72,7 +71,7 @@ const EmployeeForm = props => {
|
|
|
span: 12
|
|
|
},
|
|
|
{
|
|
|
- dataIndex: 'position',
|
|
|
+ dataIndex: 'nation',
|
|
|
label: '民族',
|
|
|
span: 12
|
|
|
},
|
|
|
@@ -145,17 +144,17 @@ const EmployeeForm = props => {
|
|
|
span: 12
|
|
|
},
|
|
|
{
|
|
|
- dataIndex: 'graduateInstitutionsName',
|
|
|
+ dataIndex: 'certificate',
|
|
|
label: '毕业证书',
|
|
|
span: 12
|
|
|
},
|
|
|
{
|
|
|
- dataIndex: 'certificate',
|
|
|
+ dataIndex: 'diploma',
|
|
|
label: '学位证书',
|
|
|
span: 12
|
|
|
},
|
|
|
{
|
|
|
- dataIndex: 'diploma',
|
|
|
+ dataIndex: 'professionalTitle',
|
|
|
label: '职称',
|
|
|
span: 12
|
|
|
},
|
|
|
@@ -213,10 +212,10 @@ const EmployeeForm = props => {
|
|
|
<h2 className="text-gray-500">员工详情</h2>
|
|
|
</Col>
|
|
|
<Col span={16} className="zh-text-right zh-gray">
|
|
|
- XXX创建于XXX
|
|
|
+ {staff.username}入职于{staff.hiredate}
|
|
|
</Col>
|
|
|
<Col span={22}>
|
|
|
- <h2 className="text-2xl pb-4">张三</h2>
|
|
|
+ <h2 className="text-2xl pb-4">{staff.username}</h2>
|
|
|
</Col>
|
|
|
<Col span={2} />
|
|
|
</Row>
|