From c5116e93fc42e6f4d732a7ea990068ad9d0e0736 Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期四, 24 七月 2025 14:52:56 +0800
Subject: [PATCH] feat(dry): 新增设备维护记录功能、新增维修记录功能、设备主数据增加履历相关字段

---
 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