xwt
3 天以前 85fd8ec92dc19f1a478f010723fa85ec7ec670a2
pages/QC/LLJ/Add.vue
@@ -1331,7 +1331,7 @@
            });
         },
         downloadAttachment(item) {
            const baseUrl = "http://192.168.1.22:10054"; // 如有需要请改为你的后端实际地址
            const baseUrl = "http://192.168.1.22:10054";
            // 去除所有空格、全角空格、回车、换行
            const fileName = item.fattach.replace(/[\s\u3000\r\n]+/g, '').trim();
            const url = baseUrl + "/api/Llj/DownloadFtpFile?itemNo=" + encodeURIComponent(item.itemNo) + "&fileName=" + encodeURIComponent(fileName);