【修改】 pptx出题页面,还有关联页面更新

This commit is contained in:
dlaren
2025-08-06 14:52:17 +08:00
parent 131e394310
commit 20886b1297
4 changed files with 205 additions and 211 deletions

View File

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