From 893efaff3c2523976993063543dfedf4a5b412f3 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 13 三月 2025 14:27:42 +0800
Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/center-lims-before-ruoyi into dev

---
 src/views/business/reportPreparation/index.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/views/business/reportPreparation/index.vue b/src/views/business/reportPreparation/index.vue
index c5df9d9..1512399 100644
--- a/src/views/business/reportPreparation/index.vue
+++ b/src/views/business/reportPreparation/index.vue
@@ -857,6 +857,7 @@
   examineReport,
   downLoad,
   getReportInfo,
+  getURL
 } from "../../../api/business/reportPreparation";
 
 export default {
@@ -1798,11 +1799,17 @@
     },
     handleApprove(row) {
       this.currentInfo = row;
+      getURL().then(res => {
+
+      })
+
+
+
       let fileName = row.urlS === null || row.urlS === "" ? row.url : row.urlS;
       fileName = fileName.replace("/word/", "");
-      const userName = JSON.parse(localStorage.getItem("user")).name;
+      const userName = this.$store.state.user.name;
       this.option = {
-        url: this.javaApi + "/word/" + fileName,
+        url: javaApi + "/word/" + fileName,
         isEdit: false,
         fileType: "docx",
         title: fileName,

--
Gitblit v1.9.3