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 @@