更新审批表单

This commit is contained in:
yaooo 2023-11-02 11:25:52 +08:00
parent 0d5e679a23
commit 2ed590c763
1 changed files with 100 additions and 0 deletions

View File

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