调整审批流&&增加人员分组

This commit is contained in:
mzl
2025-10-10 11:09:37 +00:00
parent 5beaa11cf7
commit 11b5a694ac
17 changed files with 2648 additions and 286 deletions
@@ -182,6 +182,32 @@ class StockOrdersController extends BaseController
}
}
public function approvalNullify(Request $request)
{
try {
$raw = $this->service->serviceApprovalNullify($request);
$data = $this->transformData($raw, method_exists($this, 'approvalFormat')
? [$this, 'approvalFormat']
: null);
return $this->success($data);
} catch (\Throwable $e) {
return $this->error($e->getMessage());
}
}
public function approvalRevoke(Request $request)
{
try {
$raw = $this->service->serviceApprovalRevoke($request);
$data = $this->transformData($raw, method_exists($this, 'approvalFormat')
? [$this, 'approvalFormat']
: null);
return $this->success($data);
} catch (\Throwable $e) {
return $this->error($e->getMessage());
}
}
/**
* 最终审批
*/