diff --git a/src/api/community/community/index.ts b/src/api/community/community/index.ts
index 6844d87..e611542 100644
--- a/src/api/community/community/index.ts
+++ b/src/api/community/community/index.ts
@@ -45,5 +45,9 @@ export const CommunityApi = {
exportCommunity: async (params) => {
return await request.download({ url: `/community/community/export-excel`, params })
+ },
+
+ importCommunityTemplate: async () => {
+ return await request.download({ url: `/community/community/get-import-template` })
}
}
diff --git a/src/views/community/community/components/CommunityImportForm.vue b/src/views/community/community/components/CommunityImportForm.vue
new file mode 100644
index 0000000..800022a
--- /dev/null
+++ b/src/views/community/community/components/CommunityImportForm.vue
@@ -0,0 +1,145 @@
+
+
+
+
+
diff --git a/src/views/community/community/index.vue b/src/views/community/community/index.vue
index 3c9f8d9..84b4a78 100644
--- a/src/views/community/community/index.vue
+++ b/src/views/community/community/index.vue
@@ -57,6 +57,14 @@
>
新增
+
+ 导入
+
+
+
+