From 310d9d3a2b22eaa530da2f1b028d6b86b6f15a59 Mon Sep 17 00:00:00 2001 From: lyc Date: Wed, 27 Nov 2024 12:02:14 +0800 Subject: [PATCH 1/4] edit --- .../container/adjust-dialog.vue | 36 +++++++++++-------- .../template-study/container/left.vue | 6 +++- .../template-study/container/right.vue | 4 +-- 3 files changed, 29 insertions(+), 17 deletions(-) diff --git a/src/renderer/src/components/template-study/container/adjust-dialog.vue b/src/renderer/src/components/template-study/container/adjust-dialog.vue index fb3cce1..35de365 100644 --- a/src/renderer/src/components/template-study/container/adjust-dialog.vue +++ b/src/renderer/src/components/template-study/container/adjust-dialog.vue @@ -40,8 +40,8 @@ diff --git a/src/renderer/src/components/template-study/container/right.vue b/src/renderer/src/components/template-study/container/right.vue index 2fb7ada..68d9acd 100644 --- a/src/renderer/src/components/template-study/container/right.vue +++ b/src/renderer/src/components/template-study/container/right.vue @@ -76,7 +76,7 @@ - + @@ -278,7 +278,7 @@ const getCompletion = async () => { for (let item of childTempList.value) { try { item.loading = true - params.prompt = `按照${item.name}的要求,针对${curNode.edustage}${curNode.edusubject}${modeType.value} 对${curNode.itemtitle}进行教学分析` + params.prompt = `按照${item.name}的要求,针对${curNode.edustage}${curNode.edusubject}${modeType.value} 对${curNode.itemtitle}进行教学分析` const { data } = await completion(params) let answer = data.answer item.oldAnswer = answer From c1bba6e4431ba9f660af4ee671c60d1c834997ec Mon Sep 17 00:00:00 2001 From: zdg Date: Wed, 27 Nov 2024 13:45:48 +0800 Subject: [PATCH 2/4] =?UTF-8?q?pptist=20=E5=9F=BA=E7=A1=80=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/store.js | 4 +- src/renderer/src/AixPPTist/src/App.vue | 47 ++- src/renderer/src/AixPPTist/src/api/index.ts | 171 ++++++++ src/renderer/src/AixPPTist/src/api/store.ts | 19 + src/renderer/src/AixPPTist/src/global.d.ts | 2 +- .../src/AixPPTist/src/mocks/slides.ts | 365 +++++++++--------- .../src/AixPPTist/src/store/slides.ts | 14 +- src/renderer/src/api/education/entpcourse.js | 54 +++ .../src/api/education/entpcoursefile.js | 8 + src/renderer/src/plugins/shareStore.js | 2 +- src/renderer/src/store/modules/tool.js | 2 +- src/renderer/src/views/model/index.vue | 171 +++++++- 12 files changed, 647 insertions(+), 212 deletions(-) create mode 100644 src/renderer/src/AixPPTist/src/api/index.ts create mode 100644 src/renderer/src/AixPPTist/src/api/store.ts create mode 100644 src/renderer/src/api/education/entpcourse.js diff --git a/src/main/store.js b/src/main/store.js index a34bd90..22e61dd 100644 --- a/src/main/store.js +++ b/src/main/store.js @@ -23,7 +23,9 @@ const defaultData = { curNode: null, // 当前选中的节点 defaultExpandedKeys: [], //展开的节点 subjectTree: [] // "树结构" 章节 - } + }, + env: {}, // 不走同步 Pinia - 变量 + curr: {} // 不走同步 Pinia - 当前信息 }, local: { // 本地(永久localStorage) }, diff --git a/src/renderer/src/AixPPTist/src/App.vue b/src/renderer/src/AixPPTist/src/App.vue index 9029052..2d58652 100644 --- a/src/renderer/src/AixPPTist/src/App.vue +++ b/src/renderer/src/AixPPTist/src/App.vue @@ -1,15 +1,20 @@