用户审核审批流程

This commit is contained in:
yaooo 2023-11-01 17:28:21 +08:00
parent 1c66ddcd13
commit 598acfebea
1 changed files with 2 additions and 0 deletions

View File

@ -339,9 +339,11 @@ class OaApprove extends ApiController
if (empty($param['type'])) { if (empty($param['type'])) {
$this->apiError("审批流程类型不能为空"); $this->apiError("审批流程类型不能为空");
} }
//1审核结束 2下一审批人
if (empty($param['check_node'])) { if (empty($param['check_node'])) {
$this->apiError("审批节点不能为空"); $this->apiError("审批节点不能为空");
} }
// 1同意 2拒绝
if (empty($param['check'])) { if (empty($param['check'])) {
$this->apiError("审批状态不能为空"); $this->apiError("审批状态不能为空");
} }