diff --git a/src/renderer/src/AixPPTist/src/api/watcher.ts b/src/renderer/src/AixPPTist/src/api/watcher.ts index 29ea2e7..5a9e731 100644 --- a/src/renderer/src/AixPPTist/src/api/watcher.ts +++ b/src/renderer/src/AixPPTist/src/api/watcher.ts @@ -99,7 +99,7 @@ export default () => { } break case MsgEnum.HEADS.MSG_slideFlapping: // 幻灯片翻页 - emitter.emit('closegridPic') + emitter.emit('closegridPic') //如果有推图片窗口 就关闭 const slideIndex = content?.current || 0 const type = content?.animation // 上下动作 const steps = content?.animationSteps // 动画步骤 @@ -132,7 +132,7 @@ export default () => { break case MsgEnum.HEADS.MSG_pushSreen_ImgList: // 推图片上屏 const imgArray = content.ImgList.map((obj) => obj.url); - emitter.emit('opengridPic',{arr:imgArray}) + emitter.emit('opengridPic',{arr:imgArray}) // 打开推图片上屏窗口 break case MsgEnum.HEADS.MSG_0010: // 备用 break diff --git a/src/renderer/src/api/classTask/index.js b/src/renderer/src/api/classTask/index.js index 845469b..b521d07 100644 --- a/src/renderer/src/api/classTask/index.js +++ b/src/renderer/src/api/classTask/index.js @@ -71,6 +71,14 @@ export function updateClassworkeval(data) { }) } +export function updateClassworkevalList(data) { + return request({ + url: '/education/classworkeval/updateList', + method: 'put', + data: data + }) +} + // 修改classworkdata export function updateClassworkdata(data) { return request({ diff --git a/src/renderer/src/api/education/entpCourseWork.js b/src/renderer/src/api/education/entpCourseWork.js index 25f61e2..f243df1 100644 --- a/src/renderer/src/api/education/entpCourseWork.js +++ b/src/renderer/src/api/education/entpCourseWork.js @@ -135,4 +135,18 @@ export function getJYPath(url,config) { method: config.method||"get", params: config.params }) +} + + +/** + * @desc: 百度识图转发 + * @return: {*} + * @param {*} data + */ +export function getOcrContent(data) { + return request({ + url: '/ocr/exam', + method: 'post', + data: data + }) } \ No newline at end of file diff --git a/src/renderer/src/components/choose-textbook/index.vue b/src/renderer/src/components/choose-textbook/index.vue index 7e766f8..c57f831 100644 --- a/src/renderer/src/components/choose-textbook/index.vue +++ b/src/renderer/src/components/choose-textbook/index.vue @@ -7,7 +7,7 @@
-