From 0f5eb829c6198f7950c9722584d9d642dbbffd92 Mon Sep 17 00:00:00 2001 From: weifs <605403358@qq.com> Date: Thu, 13 Apr 2023 09:38:50 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=B7=A5=E4=BD=9C=E6=B5=81=20-=20?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E8=AE=BE=E7=BD=AE=E9=A1=B5=E9=9D=A2=20-=20?= =?UTF-8?q?=2030%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/nginx/default.conf | 9 +- .../js/pages/manage/setting/approve.vue | 111 +++++++++++++----- 2 files changed, 85 insertions(+), 35 deletions(-) diff --git a/docker/nginx/default.conf b/docker/nginx/default.conf index dc6defe47..2eda6e165 100644 --- a/docker/nginx/default.conf +++ b/docker/nginx/default.conf @@ -170,14 +170,13 @@ server { } # 工作流 - location /workflow/api/ { - auth_request /workflowauth; - auth_request_set $auth_status $upstream_status; - proxy_pass http://workflow/api/; - } location /workflow/ { proxy_pass http://workflow/; } + location /workflow/api/ { + auth_request /workflowauth; + proxy_pass http://workflow/api/; + } location /workflowauth { internal; proxy_set_header Content-Type "application/json"; diff --git a/resources/assets/js/pages/manage/setting/approve.vue b/resources/assets/js/pages/manage/setting/approve.vue index 680b0f762..b34772b92 100644 --- a/resources/assets/js/pages/manage/setting/approve.vue +++ b/resources/assets/js/pages/manage/setting/approve.vue @@ -1,58 +1,109 @@