From 2f99a00a4737a3c0dbb4f699a720134fb145783a Mon Sep 17 00:00:00 2001 From: lyc Date: Thu, 21 Nov 2024 17:31:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=9D=BF-=E8=80=83=E8=AF=95=E5=88=86?= =?UTF-8?q?=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/api/mode/index.js | 21 +- .../template-study/container/header.vue | 13 +- .../container/adjust-dialog.vue | 303 +++++++++++ .../examination-analysis/container/dialog.vue | 211 ++++++++ .../container/edit-dialog.vue | 78 +++ .../examination-analysis/container/header.vue | 143 +++++ .../container/keyword-dialog.vue | 161 ++++++ .../container/{pdf-template.vue => pdf.vue} | 2 - .../container/question-answer.vue | 153 ------ .../container/read-result.vue | 174 ------ .../container/read-template.vue | 116 ---- .../examination-analysis/container/result.vue | 505 ++++++++++++++++++ .../src/views/examination-analysis/index.vue | 185 ++----- src/renderer/src/views/model/index.vue | 2 +- .../views/teachingDesign/container/right.vue | 1 - 15 files changed, 1460 insertions(+), 608 deletions(-) create mode 100644 src/renderer/src/views/examination-analysis/container/adjust-dialog.vue create mode 100644 src/renderer/src/views/examination-analysis/container/dialog.vue create mode 100644 src/renderer/src/views/examination-analysis/container/edit-dialog.vue create mode 100644 src/renderer/src/views/examination-analysis/container/header.vue create mode 100644 src/renderer/src/views/examination-analysis/container/keyword-dialog.vue rename src/renderer/src/views/examination-analysis/container/{pdf-template.vue => pdf.vue} (99%) delete mode 100644 src/renderer/src/views/examination-analysis/container/question-answer.vue delete mode 100644 src/renderer/src/views/examination-analysis/container/read-result.vue delete mode 100644 src/renderer/src/views/examination-analysis/container/read-template.vue create mode 100644 src/renderer/src/views/examination-analysis/container/result.vue diff --git a/src/renderer/src/api/mode/index.js b/src/renderer/src/api/mode/index.js index a53a36f..59d0380 100644 --- a/src/renderer/src/api/mode/index.js +++ b/src/renderer/src/api/mode/index.js @@ -15,7 +15,7 @@ export function conversation(data) { }) } -// 进行课标研读对话 +// 进行课标研读对话 质点提取 export function completion(data) { return axios({ url: rootPath + '/api/v1/parse/docs', @@ -100,3 +100,22 @@ export function tempResult(params) { }) } +// 新增 doc +export function addDoc(data) { + return request({ + url: '/education/doc', + method: 'post', + data + }) +} + +// 查询 doc +export function docList(params) { + return request({ + url: '/education/doc/list', + method: 'get', + params + }) +} + + diff --git a/src/renderer/src/components/template-study/container/header.vue b/src/renderer/src/components/template-study/container/header.vue index 219db88..0846bb1 100644 --- a/src/renderer/src/components/template-study/container/header.vue +++ b/src/renderer/src/components/template-study/container/header.vue @@ -2,7 +2,7 @@
- 高中语文课程标准 + {{ curNode.edustage}}{{ curNode.edusubject }}{{ type == 1 ? '课标研读': '教材分析'}}
@@ -26,7 +26,7 @@ 添加提示词 - 保存模板 + 一键研读
@@ -37,14 +37,14 @@ \ No newline at end of file diff --git a/src/renderer/src/views/examination-analysis/container/dialog.vue b/src/renderer/src/views/examination-analysis/container/dialog.vue new file mode 100644 index 0000000..5e81e27 --- /dev/null +++ b/src/renderer/src/views/examination-analysis/container/dialog.vue @@ -0,0 +1,211 @@ + + + + + \ No newline at end of file diff --git a/src/renderer/src/views/examination-analysis/container/edit-dialog.vue b/src/renderer/src/views/examination-analysis/container/edit-dialog.vue new file mode 100644 index 0000000..fa7ff5d --- /dev/null +++ b/src/renderer/src/views/examination-analysis/container/edit-dialog.vue @@ -0,0 +1,78 @@ + + + + + \ No newline at end of file diff --git a/src/renderer/src/views/examination-analysis/container/header.vue b/src/renderer/src/views/examination-analysis/container/header.vue new file mode 100644 index 0000000..880debf --- /dev/null +++ b/src/renderer/src/views/examination-analysis/container/header.vue @@ -0,0 +1,143 @@ + + + + + \ No newline at end of file diff --git a/src/renderer/src/views/examination-analysis/container/keyword-dialog.vue b/src/renderer/src/views/examination-analysis/container/keyword-dialog.vue new file mode 100644 index 0000000..4821d6e --- /dev/null +++ b/src/renderer/src/views/examination-analysis/container/keyword-dialog.vue @@ -0,0 +1,161 @@ + + + + + \ No newline at end of file diff --git a/src/renderer/src/views/examination-analysis/container/pdf-template.vue b/src/renderer/src/views/examination-analysis/container/pdf.vue similarity index 99% rename from src/renderer/src/views/examination-analysis/container/pdf-template.vue rename to src/renderer/src/views/examination-analysis/container/pdf.vue index ceba60f..c83dfd0 100644 --- a/src/renderer/src/views/examination-analysis/container/pdf-template.vue +++ b/src/renderer/src/views/examination-analysis/container/pdf.vue @@ -3,7 +3,6 @@ - - - \ No newline at end of file diff --git a/src/renderer/src/views/examination-analysis/container/read-result.vue b/src/renderer/src/views/examination-analysis/container/read-result.vue deleted file mode 100644 index aa3bd2d..0000000 --- a/src/renderer/src/views/examination-analysis/container/read-result.vue +++ /dev/null @@ -1,174 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/renderer/src/views/examination-analysis/container/read-template.vue b/src/renderer/src/views/examination-analysis/container/read-template.vue deleted file mode 100644 index 0b2c218..0000000 --- a/src/renderer/src/views/examination-analysis/container/read-template.vue +++ /dev/null @@ -1,116 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/renderer/src/views/examination-analysis/container/result.vue b/src/renderer/src/views/examination-analysis/container/result.vue new file mode 100644 index 0000000..e1cfa1b --- /dev/null +++ b/src/renderer/src/views/examination-analysis/container/result.vue @@ -0,0 +1,505 @@ + + + + + + diff --git a/src/renderer/src/views/examination-analysis/index.vue b/src/renderer/src/views/examination-analysis/index.vue index 9d0044d..7461e1c 100644 --- a/src/renderer/src/views/examination-analysis/index.vue +++ b/src/renderer/src/views/examination-analysis/index.vue @@ -1,177 +1,52 @@ \ No newline at end of file diff --git a/src/renderer/src/views/model/index.vue b/src/renderer/src/views/model/index.vue index da9b87b..e352f1c 100644 --- a/src/renderer/src/views/model/index.vue +++ b/src/renderer/src/views/model/index.vue @@ -7,7 +7,7 @@ 教材研读 教学框架设计 打开PPTist - + 考试分析 diff --git a/src/renderer/src/views/teachingDesign/container/right.vue b/src/renderer/src/views/teachingDesign/container/right.vue index 9e2cd94..48c1ce3 100644 --- a/src/renderer/src/views/teachingDesign/container/right.vue +++ b/src/renderer/src/views/teachingDesign/container/right.vue @@ -61,7 +61,6 @@ import { completion } from '@/api/mode/index.js' const resultList = ref([]) emitter.on('changeMode', (item) => { - console.log(item, 3000) resultList.value = item.child conversation() }) -- 2.44.0.windows.1