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 = []; }