From e4aa77e119251d4677e70339682b44641ed36e0e Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Thu, 2 Nov 2023 11:55:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AE=A1=E6=89=B9=E8=A1=A8?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/OaApprove.php | 169 +++++++++++++++++++++++++++++++ 1 file changed, 169 insertions(+) diff --git a/app/api/controller/OaApprove.php b/app/api/controller/OaApprove.php index ef97a78..4075ce1 100644 --- a/app/api/controller/OaApprove.php +++ b/app/api/controller/OaApprove.php @@ -1889,6 +1889,175 @@ class OaApprove extends ApiController ], ]; break; + case 20: + //转岗申请 + $field = [ + 'name' => [ + 'title' => '员工姓名', + 'type' => 'select', + 'item' => (object)[] + ], + 'detail_time' => [ + 'title' => '入职日期', + 'type' => 'input', + 'item' => (object)[] + ], + 'department_type' => [ + 'title' => '所在部门', + 'type' => 'select', + 'item' => (object)[] + ], + 'position_type' => [ + 'title' => '担任职务', + 'type' => 'select', + 'item' => (object)[] + ], + 'num' => [ + 'title' => '转岗后部门', + 'type' => 'select', + 'item' => (object)[] + ], + 'num1' => [ + 'title' => '转岗后职务', + 'type' => 'select', + 'item' => (object)[] + ], + 'start_time' => [ + 'title' => '申请转岗日期', + 'type' => 'input', + 'item' => (object)[] + ], + 'end_time' => [ + 'title' => '预计转岗日期', + 'type' => 'input', + 'item' => (object)[] + ], + 'content' => [ + 'title' => '转岗原因', + 'type' => 'textarea', + 'item' => (object)[] + ], + 'file_ids' => [ + 'title' => '附件', + 'type' => 'file', + 'item' => (object)[] + ], + 'flow_id' => [ + 'title' => '审批流程', + 'type' => 'select', + 'item' => $flowMap + ], + 'check_admin_ids' => [ + 'title' => '审核人', + 'type' => 'select', + 'item' => (object)[] + ], + 'copy_uids' => [ + 'title' => '抄送人', + 'type' => 'select', + 'item' => (object)[] + ], + ]; + break; + case 21: + //招聘需求 + $field = [ + 'department_type' => [ + 'title' => '招聘部门', + 'type' => 'select', + 'item' => (object)[] + ], + 'detail_time' => [ + 'title' => '到岗日期', + 'type' => 'input', + 'item' => (object)[] + ], + 'position_type' => [ + 'title' => '招聘岗位', + 'type' => 'select', + 'item' => (object)[] + ], + 'num' => [ + 'title' => '招聘人数', + 'type' => 'input', + 'item' => (object)[] + ], + 'content' => [ + 'title' => '岗位职责', + 'type' => 'textarea', + 'item' => (object)[] + ], + 'remark' => [ + 'title' => '任职要求', + 'type' => 'textarea', + 'item' => (object)[] + ], + 'file_ids' => [ + 'title' => '附件', + 'type' => 'file', + 'item' => (object)[] + ], + 'flow_id' => [ + 'title' => '审批流程', + 'type' => 'select', + 'item' => $flowMap + ], + 'check_admin_ids' => [ + 'title' => '审核人', + 'type' => 'select', + 'item' => (object)[] + ], + 'copy_uids' => [ + 'title' => '抄送人', + 'type' => 'select', + 'item' => (object)[] + ], + ]; + break; + case 22: + //通用审批 + $field = [ + 'name' => [ + 'title' => '审批内容', + 'type' => 'input', + 'item' => (object)[] + ], + 'detail_type' => [ + 'title' => '紧急程度', + 'type' => 'select', + 'item' => [ + 1 => '普通', + 2 => '紧急', + 3 => '特急', + ], + ], + 'content' => [ + 'title' => '详细描述', + 'type' => 'textarea', + 'item' => (object)[] + ], + 'file_ids' => [ + 'title' => '附件', + 'type' => 'file', + 'item' => (object)[] + ], + 'flow_id' => [ + 'title' => '审批流程', + 'type' => 'select', + 'item' => $flowMap + ], + 'check_admin_ids' => [ + 'title' => '审核人', + 'type' => 'select', + 'item' => (object)[] + ], + 'copy_uids' => [ + 'title' => '抄送人', + 'type' => 'select', + 'item' => (object)[] + ], + ]; + break; default: $field = []; }