From 3bc3b3afb6a8a380186d3b0554f0cfedef4926d8 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 16 九月 2026 15:34:38 +0800
Subject: [PATCH] 新疆——新聚lims 1.检验任务的温湿度改为每个检验模版都填单独的温湿度 2.报告编制列表操作栏功能删除 3.检验单详情检验值输入框改为可以填汉字及数值
---
src/plugins/download.js | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/plugins/download.js b/src/plugins/download.js
index e5a7d57..17bcf96 100644
--- a/src/plugins/download.js
+++ b/src/plugins/download.js
@@ -89,7 +89,13 @@
if (state) {
url1 = Vue.prototype.javaApi + '/img/' + text;
} else {
- url1 = Vue.prototype.javaApi + '/word/' + text
+ if (text.startsWith("/word/")) {
+ url1 = Vue.prototype.javaApi + text
+ } else if (text.startsWith("word/")) {
+ url1 = Vue.prototype.javaApi + '/' + text
+ } else {
+ url1 = Vue.prototype.javaApi + '/word/' + text
+ }
}
// 浣跨敤 fetch 鑾峰彇鏂囦欢
const response = await fetch(url1);
--
Gitblit v1.9.3