From 6e1eaeb96f8e1840b56526a363696cdcf90b31f1 Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Thu, 22 Feb 2024 11:25:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9F=A5=E7=9C=8B=E5=B8=AE=E5=8A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/DialogCreateOrder.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/inout/DialogCreateOrder.vue b/src/views/inout/DialogCreateOrder.vue index ca84416..9080d82 100644 --- a/src/views/inout/DialogCreateOrder.vue +++ b/src/views/inout/DialogCreateOrder.vue @@ -284,6 +284,7 @@ export default { }, data() { return { + BASE_URL: process.env.VUE_APP_BASE_API, //查看帮助相关 ioCreateOrderHelp500:{}, // ioCreateOrderHelp502:{}, @@ -417,6 +418,9 @@ export default { //为url类型 if (helpType == 1) { window.open(this["ioCreateOrderHelp"+code].urlPath, '_blank') + }else if(helpType == 0 ||helpType == null){ + let certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="; + window.open(certFileUrl + this["ioCreateOrderHelp"+code].filePath); } },