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 = "申报表单"; // 重命名文件 }