diff --git a/.env.development b/.env.development
index 4c056ae..500d6b0 100644
--- a/.env.development
+++ b/.env.development
@@ -6,9 +6,9 @@ VITE_APP_ENV = 'development'
# 开发环境
# 李陈杰 209
-# VITE_APP_BASE_API = 'http://192.168.110.209:8899'
+VITE_APP_BASE_API = 'http://192.168.110.209:8899'
# 曾涛
-VITE_APP_BASE_API = 'http://192.168.110.180:8899'
+# VITE_APP_BASE_API = 'http://192.168.110.180:8899'
# 罗成
# VITE_APP_BASE_API = 'http://192.168.110.213:8899'
# 朱银
diff --git a/public/billOfQuantities.xlsx b/public/billOfQuantities.xlsx
new file mode 100644
index 0000000..0437516
Binary files /dev/null and b/public/billOfQuantities.xlsx differ
diff --git a/public/materialsEquipment.xlsx b/public/materialsEquipment.xlsx
new file mode 100644
index 0000000..eaa0762
Binary files /dev/null and b/public/materialsEquipment.xlsx differ
diff --git a/src/views/design/billofQuantities/index.vue b/src/views/design/billofQuantities/index.vue
index 79241ba..f046e8a 100644
--- a/src/views/design/billofQuantities/index.vue
+++ b/src/views/design/billofQuantities/index.vue
@@ -21,6 +21,9 @@
一键收起
+
+ 下载模板
+
@@ -51,15 +54,21 @@
+
+ 下载模板
+
导入excel
- 审核
+
+
+ 审核
+
+
{
+ // 导出模版文件
+ try {
+ let linkurl = '';
+ let name = '';
+ if (type==1) {
+ linkurl = '/billOfQuantities.xlsx';
+ name = '工程量清单模板.xlsx';
+ }else{
+ linkurl = '/materialsEquipment.xlsx';
+ name = '物资设备清单模板.xlsx';
+ }
+ // 创建a标签
+ const link = document.createElement('a');
+ // 设置PDF文件路径 - 相对于public目录
+ link.href = linkurl;
+ // 设置下载后的文件名
+ link.download = name;
+ // 触发点击
+ document.body.appendChild(link);
+ link.click();
+ // 清理
+ document.body.removeChild(link);
+ } catch (error) {
+ alert('下载失败,请重试');
+ }
+};