diff --git a/src/api/project-demand/index.js b/src/api/project-demand/index.js
index 255b2f4..2d67e3e 100644
--- a/src/api/project-demand/index.js
+++ b/src/api/project-demand/index.js
@@ -94,3 +94,13 @@ export const getRequirementStatePerm = () => {
method: "get"
});
};
+export const downloadTemplate = (type) => {
+ return request({
+ url: '/workflow/mosr/attachment/download/template',
+ method: "get",
+ responseType:'blob',
+ params:{
+ type:type
+ }
+ });
+};
diff --git a/src/components/AttachmentUpload.vue b/src/components/AttachmentUpload.vue
index d8fc3e1..9dca2db 100644
--- a/src/components/AttachmentUpload.vue
+++ b/src/components/AttachmentUpload.vue
@@ -1,29 +1,32 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 模板下载
+
@@ -34,13 +37,14 @@
-