From 2ed590c763a5982261a7f1b4491ec487bf8edf71 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Thu, 2 Nov 2023 11:25:52 +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 | 100 +++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) diff --git a/app/api/controller/OaApprove.php b/app/api/controller/OaApprove.php index 48e38ca..d8aeaa4 100644 --- a/app/api/controller/OaApprove.php +++ b/app/api/controller/OaApprove.php @@ -1566,6 +1566,106 @@ class OaApprove extends ApiController ], ]; break; + case 14: + //奖励申请 + $field = [ + 'amount' => [ + 'title' => '奖励金额', + 'type' => 'input', + 'item' => (object)[] + ], + 'detail_time' => [ + '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 15: + //采购申请 + $field = [ + 'name' => [ + 'title' => '物品名称', + 'type' => 'input', + 'item' => (object)[] + ], + 'detail_time' => [ + 'title' => '期望交互日期', + 'type' => 'input', + 'item' => (object)[] + ], + 'num' => [ + 'title' => '物品数量', + 'type' => 'input', + 'item' => (object)[] + ], + 'amount' => [ + '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; default: $field = []; }