feat:工作流 - 前端进度 70%

This commit is contained in:
weifs
2023-04-18 15:54:36 +08:00
parent c13aa8d7a4
commit 836d4f8209
5 changed files with 336 additions and 191 deletions

View File

@@ -63,7 +63,7 @@ class WorkflowController extends AbstractController
*/
public function procdef__all()
{
User::auth('admin');
User::auth();
$data['name'] = Request::input('name');
$ret = Ihttp::ihttp_post($this->flow_url.'/api/v1/workflow/procdef/findAll', json_encode($data));
$procdef = json_decode($ret['ret'] == 1 ? $ret['data'] : '{}', true);