From 5f32b360c5cc299d5ce9a94b812b34703184f2d0 Mon Sep 17 00:00:00 2001
From: lxp <1928192722@qq.com>
Date: 星期三, 12 三月 2025 16:02:09 +0800
Subject: [PATCH] modified: src/api/business/reportPreparation.js modified: src/views/business/reportPreparation/index.vue
---
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