From add86852b44af3dfb55c70c4d7b3ea9bb4fca227 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 15 四月 2026 17:41:20 +0800
Subject: [PATCH] 中兴实强 1.新增工艺路线的时候产品可以多选 2.绑定工艺路线时,可以删减工序并且每道工序可以多选报工人 3.报工列表展示报工人,非本订单报工人不可报工 其他

---
 src/components/filePreview/index.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/components/filePreview/index.vue b/src/components/filePreview/index.vue
index 7221b25..cda5b56 100644
--- a/src/components/filePreview/index.vue
+++ b/src/components/filePreview/index.vue
@@ -88,6 +88,7 @@
 });
 
 const isPdf = computed(() => {
+  console.log(fileUrl.value)
   return /\.pdf$/i.test(fileUrl.value);
 });
 
@@ -163,7 +164,7 @@
 };
 
 const open = (url) => {
-  fileUrl.value = javaApi + url;
+  fileUrl.value = window.location.protocol+'//'+window.location.host+ url;
   dialogVisible.value = true;
 };
 const handleClose = () => {

--
Gitblit v1.9.3