diff --git a/package.json b/package.json
index 3f40792..8aaa9cf 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ruoyi",
- "version": "1.0.202408121511",
+ "version": "1.0.202408121626",
"description": "金鸡湖现代服务业品牌管理系统",
"author": "若依",
"license": "MIT",
diff --git a/src/views/enterpriselibrary/index.vue b/src/views/enterpriselibrary/index.vue
index d9ba7d3..9d556b7 100644
--- a/src/views/enterpriselibrary/index.vue
+++ b/src/views/enterpriselibrary/index.vue
@@ -337,7 +337,12 @@ export default {
//下载模版
frontDownload() {
var a = document.createElement("a"); //创建一个标签
- a.href = "/demo/JinJiHu/static/企业库数据模板.xlsx";
+ // 测试环境下载地址
+ // a.href = "/demo/JinJiHu/static/企业库数据模板.xlsx";
+ // 脱敏三方测试用下载地址
+ a.href = "/demo/JinJiHuTest/static/企业库数据模板.xlsx";
+ // 正式环境下载地址
+ // a.href = "./static/企业库数据模板.xlsx";
//给a标签的href属性值加上地址,注意,这里是绝对路径,不用加 点.
a.download ="企业库模板.xlsx";
//设置下载文件文件名,这里加上.xlsx指定文件类型,pdf文件就指定.fpd即可
diff --git a/src/views/onlineDeclaration/enterpriseDirectory/index.vue b/src/views/onlineDeclaration/enterpriseDirectory/index.vue
index 7907ce0..b18b2bf 100644
--- a/src/views/onlineDeclaration/enterpriseDirectory/index.vue
+++ b/src/views/onlineDeclaration/enterpriseDirectory/index.vue
@@ -846,7 +846,12 @@ export default {
//下载模版
frontDownload() {
var a = document.createElement("a"); //创建一个标签
- a.href = "/demo/JinJiHu/static/企业名录模板.xlsx";
+ // 测试环境下载地址
+ // a.href = "/demo/JinJiHu/static/企业名录模板.xlsx";
+ // 脱敏三方测试用下载地址
+ a.href = "/demo/JinJiHuTest/static/企业名录模板.xlsx";
+ // 正式环境下载地址
+ // a.href = "./static/企业名录模板.xlsx";
//给a标签的href属性值加上地址,注意,这里是绝对路径,不用加 点.
a.download ="企业名录模板.xlsx";
//设置下载文件文件名,这里加上.xlsx指定文件类型,pdf文件就指定.fpd即可