From b1d02b024d353597483b4bb32e24ebd776008e0e Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期四, 09 一月 2025 15:21:58 +0800
Subject: [PATCH] 修改报警解除后界面仍显示问题

---
 src/views/dry/common/prodRecordReport.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/dry/common/prodRecordReport.vue b/src/views/dry/common/prodRecordReport.vue
index 5ad030f..649b11a 100644
--- a/src/views/dry/common/prodRecordReport.vue
+++ b/src/views/dry/common/prodRecordReport.vue
@@ -5,9 +5,12 @@
 <script setup lang="ts">
 	import { onMounted, ref } from 'vue'
 	import { router } from '/@/router'
-	console.log(`output->router1`, router)
+  import { getTenantId, getToken } from '/@/utils/auth'
+  const token = getToken()
+	const tenantId = getTenantId()
+	console.log(`output->tenantId`, tenantId )
 	const reportUrl = ref('')
-	reportUrl.value = window._CONFIG['domianURL'] + '/jmreport/view/833110227445567488?batch=' + router.currentRoute.value.query.batch
+	reportUrl.value = window._CONFIG['domianURL'] + '/jmreport/view/833110227445567488?batch=' + router.currentRoute.value.query.batch +'&token=' + token+'&tenantId=' + tenantId
 	//reportUrl.value = 'www.baidu.com'
 	console.log(`output->reportUrl.value`, reportUrl.value)
 	// onMounted(() => {

--
Gitblit v1.9.3