From 692a6b19e20d8db78a838ca310ceed19cdd98c08 Mon Sep 17 00:00:00 2001 From: dlaren Date: Wed, 6 Aug 2025 14:52:17 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=20pptx?= =?UTF-8?q?=E5=87=BA=E9=A2=98=E9=A1=B5=E9=9D=A2=EF=BC=8C=E8=BF=98=E6=9C=89?= =?UTF-8?q?=E5=85=B3=E8=81=94=E9=A1=B5=E9=9D=A2=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wps/pptx/index.ts | 17 +- src/views/paper/audit/WpsPptxForm.vue | 2 +- src/views/paper/question/WpsPptxForm.vue | 391 ++++++++++++----------- src/views/paper/question/WpsWordForm.vue | 6 - 4 files changed, 205 insertions(+), 211 deletions(-) diff --git a/src/api/wps/pptx/index.ts b/src/api/wps/pptx/index.ts index b308da0..41b8fe3 100644 --- a/src/api/wps/pptx/index.ts +++ b/src/api/wps/pptx/index.ts @@ -38,18 +38,17 @@ export const deletePptx = async (id: number) => { return await request.delete({ url: '/exam/pptx/delete?id=' + id }) } -// // 获取Word考点(大类) -export const getPptxInfo = async (path: String) => { - return await request.get({ url: '/tool/wps/runWpsPptx?path=' + path }) -} - // 查询Word节点列表(小类) 根据title查询出来下面所有的数据 -export const getPptxInfos = async (title: string) => { +export const getPptxByNameList = async (title: string) => { console.log(title) return await request.get({ url: '/exam/pptx/getByNameList?title=' + title }) } -// // 获取Pptx考点() -export const getPptxListInfos = async (data: any) => { - return await request.post({ url: '/tool/wps/runTestpptx' , data }) +// 上传文件 +export const getSlideDataInfo = (data: any) => { + return request.upload({ url: '/auto/wps/slideDataInfo', data }) +} +// 获取考点 +export const getslideMaster = (data: any) => { + return request.upload({ url: '/auto/wps/slideMaster', data }) } diff --git a/src/views/paper/audit/WpsPptxForm.vue b/src/views/paper/audit/WpsPptxForm.vue index f8805ef..4b4ba40 100644 --- a/src/views/paper/audit/WpsPptxForm.vue +++ b/src/views/paper/audit/WpsPptxForm.vue @@ -900,4 +900,4 @@ const handleTreeWithLevel = (list, level = 1) => { } } } - \ No newline at end of file + diff --git a/src/views/paper/question/WpsPptxForm.vue b/src/views/paper/question/WpsPptxForm.vue index 9926e80..de679ba 100644 --- a/src/views/paper/question/WpsPptxForm.vue +++ b/src/views/paper/question/WpsPptxForm.vue @@ -16,6 +16,7 @@ + - 添加 + 添加 @@ -278,16 +279,9 @@ - + +

考点

@@ -301,11 +295,11 @@
-

设置考点

+

考点详情

- + @@ -325,7 +319,7 @@
-
@@ -344,16 +338,15 @@