main
panliang 2024-05-03 19:49:00 +08:00
parent 5084bc40d3
commit 5b8e037578
1 changed files with 11 additions and 10 deletions

View File

@ -14,7 +14,7 @@
</uv-sticky> </uv-sticky>
<view class="p-base"> <view class="p-base">
<view class="card-shadow px-base"> <view class="card-shadow px-base">
<BaseData :data="data.employee_data" :colums="columns" /> <BaseData :data="data" :colums="columns" />
</view> </view>
</view> </view>
</view> </view>
@ -37,15 +37,16 @@ const titleColumns = [
] ]
const columns = [ const columns = [
{ title: '年龄', dataIndex: 'age' }, { title: '年龄', dataIndex: 'employee_data.age' },
{ title: '性别', dataIndex: 'sex' }, { title: '性别', dataIndex: 'employee_data.sex' },
{ title: '学历', dataIndex: 'education' }, { title: '学历', dataIndex: 'employee_data.education' },
{ title: '首次参加工作时间', dataIndex: 'first_work_time' }, { title: '首次参加工作时间', dataIndex: 'employee_data.first_work_time' },
{ title: '工作年限', dataIndex: 'work_years' }, { title: '工作年限', dataIndex: 'employee_data.work_years' },
{ title: '本公司工作年限', dataIndex: 'work_years_in_company' }, { title: '本公司工作年限', dataIndex: 'employee_data.work_years_in_company' },
{ title: '员工自评', dataIndex: 'comment_self', labelPosition: 'top' }, { title: '员工自评', dataIndex: 'employee_data.comment_self', labelPosition: 'top' },
{ title: '未来计划', dataIndex: 'plans', labelPosition: 'top' }, { title: '未来计划', dataIndex: 'employee_data.plans', labelPosition: 'top' },
{ title: '推荐理由', dataIndex: 'reason', labelPosition: 'top' }, { title: '推荐理由', dataIndex: 'employee_data.reason', labelPosition: 'top' },
{ title: '未通过原因', dataIndex: 'workflow_check.check_remarks', labelPosition: 'top', isShow: (row) => row?.workflow_check?.check_status == 4 }
] ]
onLoad((options) => { onLoad((options) => {