diff --git a/src/renderer/src/AixPPTist/src/api/classcourse.ts b/src/renderer/src/AixPPTist/src/api/classcourse.ts index c92a6b6..8a4d9a1 100644 --- a/src/renderer/src/AixPPTist/src/api/classcourse.ts +++ b/src/renderer/src/AixPPTist/src/api/classcourse.ts @@ -38,12 +38,12 @@ export class Classcourse { if (isCourse) { // 连接socket ChatWs.id = classcourse.timgroupid // 群组id - if (!ChatWs.ws) { - ChatWs.init().then(_ => { - isPublic && ChatWs.sendMsg('open', {id: classcourse.id}) - // isPublic && console.log('socket-开课消息-已发送') - }) - } + // if (!ChatWs.ws) { + // ChatWs.init().then(_ => { + // isPublic && ChatWs.sendMsg('open', {id: classcourse.id}) + // // isPublic && console.log('socket-开课消息-已发送') + // }) + // } this.classcourse = classcourse // 课堂信息 this.id = classcourse.id // 课堂id // 如果课堂信息有paging,则更新当前页码 diff --git a/src/renderer/src/router/index.js b/src/renderer/src/router/index.js index c696c2b..418e339 100644 --- a/src/renderer/src/router/index.js +++ b/src/renderer/src/router/index.js @@ -90,6 +90,12 @@ export const constantRoutes = [ name: 'questionUpload', meta: { title: '习题上传', showBread: true } }, + { + path: 'groupTestPaper', + component: () => import('@/views/classTask/groupTestPaper/index.vue'), + name: 'groupTestPaper', + meta: { title: '自动组卷', showBread: true } + }, { path: 'aiKolors', component: () => import('@/components/ai-kolors/index.vue'), diff --git a/src/renderer/src/views/classManage/basicGroup.vue b/src/renderer/src/views/classManage/basicGroup.vue index a96285b..ee8170b 100644 --- a/src/renderer/src/views/classManage/basicGroup.vue +++ b/src/renderer/src/views/classManage/basicGroup.vue @@ -9,11 +9,8 @@
可用分组