diff --git a/src/pages/work/detail.vue b/src/pages/work/detail.vue index 7f29354..bef1f0a 100644 --- a/src/pages/work/detail.vue +++ b/src/pages/work/detail.vue @@ -14,7 +14,7 @@ - + @@ -37,15 +37,16 @@ const titleColumns = [ ] const columns = [ - { title: '年龄', dataIndex: 'age' }, - { title: '性别', dataIndex: 'sex' }, - { title: '学历', dataIndex: 'education' }, - { title: '首次参加工作时间', dataIndex: 'first_work_time' }, - { title: '工作年限', dataIndex: 'work_years' }, - { title: '本公司工作年限', dataIndex: 'work_years_in_company' }, - { title: '员工自评', dataIndex: 'comment_self', labelPosition: 'top' }, - { title: '未来计划', dataIndex: 'plans', labelPosition: 'top' }, - { title: '推荐理由', dataIndex: 'reason', labelPosition: 'top' }, + { title: '年龄', dataIndex: 'employee_data.age' }, + { title: '性别', dataIndex: 'employee_data.sex' }, + { title: '学历', dataIndex: 'employee_data.education' }, + { title: '首次参加工作时间', dataIndex: 'employee_data.first_work_time' }, + { title: '工作年限', dataIndex: 'employee_data.work_years' }, + { title: '本公司工作年限', dataIndex: 'employee_data.work_years_in_company' }, + { title: '员工自评', dataIndex: 'employee_data.comment_self', labelPosition: 'top' }, + { title: '未来计划', dataIndex: 'employee_data.plans', 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) => {