From 49a8b7a64515d199b480c666356dcab002f5f131 Mon Sep 17 00:00:00 2001 From: "DESKTOP-932OMT8\\REN" Date: Tue, 24 Jun 2025 11:12:34 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91=20?= =?UTF-8?q?=E7=BC=BA=E5=B0=91=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wps/xlsx/index.ts | 4 +++ .../Setting/components/security.vue | 32 +++++++++++++++++-- src/utils/eventBus.ts | 9 ++++++ src/views/paper/question/EmailForm.vue | 2 +- 4 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 src/utils/eventBus.ts diff --git a/src/api/wps/xlsx/index.ts b/src/api/wps/xlsx/index.ts index 300c04c..164ae49 100644 --- a/src/api/wps/xlsx/index.ts +++ b/src/api/wps/xlsx/index.ts @@ -40,3 +40,7 @@ export const updateXlsx = async (params: XlsxVO) => { export const deleteXlsx = async (id: number) => { return await request.delete({ url: '/wps/xlsx/delete?id=' + id }) } + +export const getXlsxInfo = async (path: String) => { + return await request.get({ url: '/tool/wps/runWpsXlsx?path=' + path }) +} \ No newline at end of file diff --git a/src/components/Setting/components/security.vue b/src/components/Setting/components/security.vue index f0c3a90..7dd139a 100644 --- a/src/components/Setting/components/security.vue +++ b/src/components/Setting/components/security.vue @@ -1,6 +1,7 @@