From 2c684c3dbfc82e7df67ef62fd44c4b388efcc488 Mon Sep 17 00:00:00 2001 From: zhaichao Date: Wed, 26 Aug 2026 18:01:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=99=E7=A0=94=E5=AE=A4=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/teachOffice/office.js | 9 +++++++++ frontend/src/views/teachOffice/office/index.vue | 13 ++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) 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 @@