diff --git a/frontend/src/api/teachOffice/office.js b/frontend/src/api/teachOffice/office.js
index 7161b685..dac589a2 100644
--- a/frontend/src/api/teachOffice/office.js
+++ b/frontend/src/api/teachOffice/office.js
@@ -35,3 +35,12 @@ export function disableOffice(jysdh) {
params: { jysdh: jysdh }
})
}
+
+// 下载教研室导入模板
+export function downloadOfficeTemplate() {
+ return request({
+ url: '/download/jys',
+ method: 'get',
+ responseType: 'blob'
+ })
+}
diff --git a/frontend/src/views/teachOffice/office/index.vue b/frontend/src/views/teachOffice/office/index.vue
index b108f480..ae428066 100644
--- a/frontend/src/views/teachOffice/office/index.vue
+++ b/frontend/src/views/teachOffice/office/index.vue
@@ -49,6 +49,9 @@
导入
+
+ 模板下载
+
@@ -149,8 +152,9 @@