From 69e558de449bd708bc27eb2204d0e6c02d245a80 Mon Sep 17 00:00:00 2001 From: Luo Fan <44999219+fannluo@users.noreply.github.com> Date: Sun, 14 Apr 2019 18:08:14 +0800 Subject: [PATCH] =?UTF-8?q?improvement:=20=E6=95=B0=E6=8D=AE=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E9=A1=B5=E9=9D=A2=E6=8B=89=E5=8F=96=E6=89=80=E6=9C=89?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=20#119=20(#122)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline/blueflow/src/api/index.js | 7 +++++-- .../src/pages/statistics/Appmaker/index.vue | 12 ++++++------ .../blueflow/src/pages/statistics/Atom/index.vue | 16 ++++++++-------- .../src/pages/statistics/Instance/index.vue | 15 +++++++-------- .../src/pages/statistics/Template/index.vue | 14 +++++++------- pipeline/blueflow/src/store/index.js | 16 ++++++++++++---- 6 files changed, 45 insertions(+), 35 deletions(-) diff --git a/pipeline/blueflow/src/api/index.js b/pipeline/blueflow/src/api/index.js index 39849de147..c8062fc529 100644 --- a/pipeline/blueflow/src/api/index.js +++ b/pipeline/blueflow/src/api/index.js @@ -51,11 +51,14 @@ const api = { /** * 获取当前用户有权限业务 */ - getBizList () { + getBizList (isAll) { const prefixUrl = this.getPrefix('business') const opts = { method: 'GET', - url: prefixUrl + url: prefixUrl, + params: { + all: isAll + } } return request(opts) }, diff --git a/pipeline/blueflow/src/pages/statistics/Appmaker/index.vue b/pipeline/blueflow/src/pages/statistics/Appmaker/index.vue index 0f6c076c29..71bdb47649 100644 --- a/pipeline/blueflow/src/pages/statistics/Appmaker/index.vue +++ b/pipeline/blueflow/src/pages/statistics/Appmaker/index.vue @@ -96,7 +96,7 @@