From 89009bb344d292d1413091448ba6ae866fd93c03 Mon Sep 17 00:00:00 2001 From: TiaStars Date: Tue, 10 Dec 2024 09:30:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E4=B8=8B=E8=BD=BD=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/views/onlineDeclaration/records/index.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 589beb3..9a1225b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "1.0.202412100904", + "version": "1.0.202412100928", "description": "金鸡湖现代服务业品牌管理系统", "author": "若依", "license": "MIT", diff --git a/src/views/onlineDeclaration/records/index.vue b/src/views/onlineDeclaration/records/index.vue index 9b668c0..35da1cd 100644 --- a/src/views/onlineDeclaration/records/index.vue +++ b/src/views/onlineDeclaration/records/index.vue @@ -537,7 +537,7 @@ export default { let enterpriseName = []; this.multipleSelection.map((item)=>{ id.push(Number(item.id)) - name.push(item.projectName) + name.push(item.enterpriseDirectory) enterpriseName.push(item.enterpriseName) }) exportZip({list:id.join(",")}).then((response) => { @@ -546,7 +546,7 @@ export default { const link = document.createElement("a"); // 创建a标签 link.href = url; if(this.multipleSelection.length == 1){ - link.download = name[0] + enterpriseName[0]; + link.download = enterpriseName[0] + '-' + name[0]; } else { link.download = "申报表单"; // 重命名文件 }