From 02acd197e119a7a4d20c62f6b6e9da7ec7be75c9 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期四, 28 十一月 2024 13:29:58 +0800 Subject: [PATCH] 积木报表增加租户id --- src/views/report/jmreport/index.vue | 4 ++-- src/views/report/drag/index.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/report/drag/index.vue b/src/views/report/drag/index.vue index 295c10a..82c1117 100644 --- a/src/views/report/drag/index.vue +++ b/src/views/report/drag/index.vue @@ -4,10 +4,10 @@ </ContentWrap> </template> <script lang="ts" setup> -import { getAccessToken } from '@/utils/auth' +import {getAccessToken, getTenantId} from '@/utils/auth' defineOptions({ name: 'Drag' }) const BASE_URL = import.meta.env.VITE_BASE_URL -const src = ref(BASE_URL + '/drag/list?token=' + getAccessToken()) +const src = ref(BASE_URL + '/drag/list?token=' + getAccessToken() + "&tenantId=" + getTenantId()) </script> diff --git a/src/views/report/jmreport/index.vue b/src/views/report/jmreport/index.vue index 0bac351..55338e7 100644 --- a/src/views/report/jmreport/index.vue +++ b/src/views/report/jmreport/index.vue @@ -4,10 +4,10 @@ </ContentWrap> </template> <script lang="ts" setup> -import { getAccessToken } from '@/utils/auth' +import {getAccessToken, getTenantId} from '@/utils/auth' defineOptions({ name: 'JimuReport' }) const BASE_URL = import.meta.env.VITE_BASE_URL -const src = ref(BASE_URL + '/jmreport/list?token=' + getAccessToken()) +const src = ref(BASE_URL + '/jmreport/list?token=' + getAccessToken() + "&tenantId=" + getTenantId()) </script> -- Gitblit v1.9.3