aegon-lv82 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +12 -0
- package/src/App.vue +44 -0
- package/src/api/index.ts +19 -0
- package/src/api/modules/build-report/reportEditor.ts +526 -0
- package/src/api/modules/build-report/reportPermission.ts +64 -0
- package/src/api/modules/index.ts +69 -0
- package/src/api/modules/industry/green_mortgage.ts +42 -0
- package/src/api/modules/user/index.ts +4 -0
- package/src/api/request.ts +124 -0
- package/src/assets/sample-access-icon.png +0 -0
- package/src/assets/sample-pie-chart.png +0 -0
- package/src/assets/vue.svg +1 -0
- package/src/components/CapsuleScrollbar.vue +7 -0
- package/src/components/Export/ExcelExport.vue +592 -0
- package/src/components/Export/ExcelExport2.vue +494 -0
- package/src/components/Export/ExcelExport3.vue +342 -0
- package/src/components/Export/ExcelExport4.vue +665 -0
- package/src/components/Export/excelExport.js +547 -0
- package/src/components/Export/excelExport.ts +551 -0
- package/src/components/GEN-AI/index.vue +140 -0
- package/src/components/GEN-AI/index1.vue +422 -0
- package/src/components/GEN-AI/index10.vue +5 -0
- package/src/components/GEN-AI/index2.vue +548 -0
- package/src/components/GEN-AI/index3.vue +605 -0
- package/src/components/GEN-AI/index4.vue +609 -0
- package/src/components/GEN-AI/index5.vue +558 -0
- package/src/components/GEN-AI/index6.vue +634 -0
- package/src/components/GEN-AI/index7.vue +688 -0
- package/src/components/GEN-AI/index8.vue +458 -0
- package/src/components/GEN-AI/index9.vue +1217 -0
- package/src/components/GEN-AI/types.ts +12 -0
- package/src/components/GEN-AI/utils.ts +42 -0
- package/src/components/HelloWorld.vue +41 -0
- package/src/components/PageCard.vue +124 -0
- package/src/components/PageHeader.vue +32 -0
- package/src/components/backup/index5 copy.vue +556 -0
- package/src/components/backup/index5.vue +620 -0
- package/src/components/backup/index9 copy.vue +1029 -0
- package/src/components/backup/index9-pro.vue +1065 -0
- package/src/components/backup/index9.vue +1057 -0
- package/src/directives/btnLoading.ts +455 -0
- package/src/directives/debounce copy.ts +670 -0
- package/src/directives/debounce.ts +98 -0
- package/src/directives/index.ts +25 -0
- package/src/layouts/MainLayout.vue +129 -0
- package/src/main.ts +76 -0
- package/src/router/index.ts +142 -0
- package/src/router/menus.ts +28 -0
- package/src/store/modules/gen-ai/index.ts +1 -0
- package/src/store/modules/gen-ai/reportBuild.ts +37 -0
- package/src/style.css +79 -0
- package/src/styles/report-config-popover.css +39 -0
- package/src/styles/report-icon-btn.css +19 -0
- package/src/test/mock.ts +101 -0
- package/src/test/test1.vue +402 -0
- package/src/test/test2.vue +1689 -0
- package/src/types/gen-ai/build-report/reportEditor.ts +684 -0
- package/src/utils/function.ts +46 -0
- package/src/utils/gen-ai-navigation.ts +1 -0
- package/src/utils/gen-ai-scroll.ts +1 -0
- package/src/utils/openDataLoaderWordExport.ts +33 -0
- package/src/utils/pageScrollbar.ts +115 -0
- package/src/utils/randomTranscode.ts +87 -0
- package/src/utils/reportPdfExport.ts +44 -0
- package/src/views/Blank.vue +68 -0
- package/src/views/Home.vue +29 -0
- package/src/views/TemplateCenter/Knowledge.ts +83 -0
- package/src/views/TemplateCenter/data.d.ts +10 -0
- package/src/views/TemplateCenter/index.vue +1128 -0
- package/src/views/TemplateCenter/service.ts +69 -0
- package/src/views/gen-ai/build-report/chartStreamRefs.ts +174 -0
- package/src/views/gen-ai/build-report/coherence-check/index.vue +559 -0
- package/src/views/gen-ai/build-report/components/ReportChapterWorkspace.vue +4258 -0
- package/src/views/gen-ai/build-report/components/ReportConfigPanel.vue +727 -0
- package/src/views/gen-ai/build-report/components/ReportGenerateSettingsPanel.vue +2361 -0
- package/src/views/gen-ai/build-report/components/ReportGeneratingPanel.vue +1765 -0
- package/src/views/gen-ai/build-report/components/ReportPromptPanel.vue +614 -0
- package/src/views/gen-ai/build-report/components/ReportSourceFileSummary.vue +656 -0
- package/src/views/gen-ai/build-report/components/ReportSourcesPanel.vue +1327 -0
- package/src/views/gen-ai/build-report/components/ReportTemplateDetail.vue +191 -0
- package/src/views/gen-ai/build-report/components/ReportTemplateEditorFormPanel.vue +667 -0
- package/src/views/gen-ai/build-report/components/ReportTemplatePicker.vue +302 -0
- package/src/views/gen-ai/build-report/components/ReportWorkflowSidebar.vue +148 -0
- package/src/views/gen-ai/build-report/components/paramsSetting.vue +886 -0
- package/src/views/gen-ai/build-report/components/reportEdit.vue +2283 -0
- package/src/views/gen-ai/build-report/index.vue +856 -0
- package/src/views/gen-ai/build-report/report-domain.ts +1133 -0
- package/src/views/gen-ai/build-report/report-template-data.ts +295 -0
- package/src/views/gen-ai/build-report/useReportWorkflow.ts +1408 -0
- package/src/views/gen-ai/common/assets/NotoSans-SC.woff2 +0 -0
- package/src/views/gen-ai/common/assets/NotoSans-TC.woff2 +0 -0
- package/src/views/gen-ai/common/assets/NotoSans.woff2 +0 -0
- package/src/views/gen-ai/common/assets/fonts.css +278 -0
- package/src/views/gen-ai/common/assets/pagination.css +163 -0
- package/src/views/gen-ai/common/directives/btnLoading.ts +455 -0
- package/src/views/gen-ai/common/directives/debounce.ts +98 -0
- package/src/views/gen-ai/common/directives/index.ts +30 -0
- package/src/views/gen-ai/common/en.md +417 -0
- package/src/views/gen-ai/common/index.ts +36 -0
- package/src/views/gen-ai/common/types/component-expose.ts +9 -0
- package/src/views/gen-ai/common/utils/api-res-status.ts +7 -0
- package/src/views/gen-ai/common/utils/navigation.ts +59 -0
- package/src/views/gen-ai/common/utils/remote-request.ts +45 -0
- package/src/views/gen-ai/common/utils/scroll.ts +577 -0
- package/src/views/gen-ai/components/AIExport/docx-export.ts +950 -0
- package/src/views/gen-ai/components/AIExport/docxExport.ts +2566 -0
- package/src/views/gen-ai/components/AIExport/index.ts +52 -0
- package/src/views/gen-ai/components/AIExport/parseMarkdownHtml.ts +649 -0
- package/src/views/gen-ai/components/CapsuleScrollbar.vue +149 -0
- package/src/views/gen-ai/components/ChapterTitleScroll.vue +468 -0
- package/src/views/gen-ai/components/EntryHeroNavCards.vue +379 -0
- package/src/views/gen-ai/components/GenAiPagination.vue +52 -0
- package/src/views/gen-ai/components/ModelCard.vue +1114 -0
- package/src/views/gen-ai/components/Preview/FilePreviewPage.vue +947 -0
- package/src/views/gen-ai/components/Preview/PreviewCapsuleScroll.vue +205 -0
- package/src/views/gen-ai/components/Preview/PreviewOutlineTree.vue +148 -0
- package/src/views/gen-ai/components/Preview/index.ts +11 -0
- package/src/views/gen-ai/components/Preview/preview.ts +722 -0
- package/src/views/gen-ai/components/PromptField.vue +505 -0
- package/src/views/gen-ai/components/RecentReportsTable.vue +974 -0
- package/src/views/gen-ai/components/ReportCollapsibleSection.vue +172 -0
- package/src/views/gen-ai/components/ReportHistoryList.vue +637 -0
- package/src/views/gen-ai/components/ReportSectionConfirmPopover.vue +251 -0
- package/src/views/gen-ai/components/editor/ChapterTiptapEditor.vue +3139 -0
- package/src/views/gen-ai/components/editor/StructureBlockView.vue +441 -0
- package/src/views/gen-ai/components/editor/TiptapToolbar.vue +1036 -0
- package/src/views/gen-ai/components/editor/TypewriterDocEditor.vue +398 -0
- package/src/views/gen-ai/components/editor/_StructureOrgNode.vue +326 -0
- package/src/views/gen-ai/components/editor/index.ts +12 -0
- package/src/views/gen-ai/components/editor/parseMarkdownHtml.ts +667 -0
- package/src/views/gen-ai/gen-entry/api/index.ts +32 -0
- package/src/views/gen-ai/gen-entry/index.vue +287 -0
- package/src/views/gen-ai/gen-entry/types/index.ts +4 -0
- package/src/views/gen-ai/i.mark +2 -0
- package/src/views/gen-ai/management-center/index.vue +1815 -0
- package/src/views/gen-ai/management-center/mockData.ts +248 -0
- package/src/views/gen-ai/management-center/types/index.ts +37 -0
- package/src/views/gen-ai/model-manager/TemplateEditorFormPanel.vue +661 -0
- package/src/views/gen-ai/model-manager/api/index.ts +32 -0
- package/src/views/gen-ai/model-manager/api/mockApi.ts +33 -0
- package/src/views/gen-ai/model-manager/index.vue +1583 -0
- package/src/views/gen-ai/model-manager/mockData.ts +177 -0
- package/src/views/gen-ai/model-manager/template-detail-shared.ts +154 -0
- package/src/views/gen-ai/model-manager/template-editor.vue +345 -0
- package/src/views/gen-ai/model-manager/types/index.ts +40 -0
- package/src/views/gen-ai/model-manager/utils.ts +25 -0
- package/src/views/greenMortgage.vue +1834 -0
- package/src/vite-env.d.ts +46 -0
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
1. Nowadays, [Topic] has become an important issue and has aroused public attention.
|
|
2
|
+
Different people may have different opinions about it. Some people believe that [Opinion 1], while others think that [Opinion 2].
|
|
3
|
+
As far as I am concerned, [My Opinion].
|
|
4
|
+
2. There are several reasons for my opinion.
|
|
5
|
+
To begin with, [Reason 1]. It can help us [Effect 1].
|
|
6
|
+
In addition, [Reason 2]. It is also helpful for [Effect 2].
|
|
7
|
+
Last but not least, [Reason 3]. Therefore, we can [Result].
|
|
8
|
+
3. In my opinion, we should [Suggestion 1].
|
|
9
|
+
At the same time, we should [Suggestion 2].
|
|
10
|
+
Only in this way can we [Positive Result].
|
|
11
|
+
Based on the reasons above, [Topic] is important to us, and we should [Final Opinion].
|
|
12
|
+
|
|
13
|
+
## 第一部分:词族完整统计表(按出现次数排序)
|
|
14
|
+
|
|
15
|
+
| 词族 | 出现次数 | V | N | ADJ | ADV | V-ing | V-ed | 考点公式 |
|
|
16
|
+
| ------------- | -------- | ----------- | ------------------- | ------------------------- | --------------------------- | ----------- | --------- | ---------------------------------------------- |
|
|
17
|
+
| **satisfy** | **2** | satisfy | satisfaction | satisfactory / satisfying | satisfactorily | satisfying | satisfied | 人→satisfied;物→satisfying;be satisfied with |
|
|
18
|
+
| **require** | **2** | require | requirement | required | — | requiring | required | require + N;N + required |
|
|
19
|
+
| **possible** | **2** | — | possibility | possible / impossible | possibly | — | — | possible + N;be possible to do |
|
|
20
|
+
| **success** | **2** | succeed | success | successful | successfully | succeeding | succeeded | be + successful;achieve + success |
|
|
21
|
+
| **friend** | **2** | — | friend / friendship | friendly | — | befriending | — | be friendly to + N |
|
|
22
|
+
| **natural** | **2** | — | nature | natural | naturally | — | — | be + natural;come naturally |
|
|
23
|
+
| **near** | **2** | — | — | near | nearly | — | — | nearly + 数词/all/everyone |
|
|
24
|
+
| **attract** | **1** | attract | attraction | attractive | attractively | attracting | attracted | as + ADJ + as → attractive |
|
|
25
|
+
| **enjoy** | **1** | enjoy | enjoyment | enjoyable | — | enjoying | enjoyed | be + ADJ → enjoyable(不是 enjoyed) |
|
|
26
|
+
| **please** | **1** | please | pleasure | pleasant / pleasing | pleasantly | pleasing | pleased | take pleasure in(N,不是 pleased) |
|
|
27
|
+
| **compare** | **1** | compare | comparison | comparable | comparatively | comparing | compared | in comparison(N,不是 comparing) |
|
|
28
|
+
| **comfort** | **1** | comfort | comfort | comfortable | comfortably | comforting | comforted | feel + ADJ → comfortable |
|
|
29
|
+
| **warm** | **1** | warm | warmth | warm | warmly | warming | warmed | 介词 for + N → warmth |
|
|
30
|
+
| **possess** | **1** | possess | possession | possessive | possessively | possessing | possessed | in one's possession(N) |
|
|
31
|
+
| **blame** | **1** | blame | blame | blameworthy | — | blaming | blamed | be + V-ed → be blamed by |
|
|
32
|
+
| **correct** | **1** | correct | correctness | correct / incorrect | correctly | correcting | corrected | ADJ + N → incorrect |
|
|
33
|
+
| **produce** | **1** | produce | production | productive | productively | producing | produced | 过去时间→produced |
|
|
34
|
+
| **add** | **1** | add | addition | additional | additionally | adding | added | in addition to(N) |
|
|
35
|
+
| **carry** | **1** | carry | carrier | — | — | carrying | carried | need to be + V-ed → carried |
|
|
36
|
+
| **believe** | **1** | believe | belief | believable | believably | believing | believed | It is believed that... |
|
|
37
|
+
| **happy** | **1** | — | happiness | happy / unhappy | happily | — | — | feel + ADJ → unhappy(不是 happiness) |
|
|
38
|
+
| **major** | **1** | — | majority | major | — | — | — | the majority of + N |
|
|
39
|
+
| **show** | **1** | show | — | — | — | showing | shown | has/have + V-ed → shown(不是 showed) |
|
|
40
|
+
| **great** | **1** | — | greatness | great | greatly | — | — | great → greatly(ADV修饰V) |
|
|
41
|
+
| **moral** | **1** | — | morality | moral | morally | — | — | develop emotionally and morally(ADV) |
|
|
42
|
+
| **society** | **1** | — | society | social | socially | — | — | ADJ + N → social skills |
|
|
43
|
+
| **able** | **1** | — | ability | able / unable | ably | — | — | one's ability to do(N) |
|
|
44
|
+
| **affect** | **1** | affect | — | — | — | affecting | affected | 单数主语+V-s → affects |
|
|
45
|
+
| **perform** | **1** | perform | performance | — | — | performing | performed | ADJ + N → school performance |
|
|
46
|
+
| **necessary** | **1** | — | necessity | necessary | necessarily | — | — | a + N → a necessity |
|
|
47
|
+
| **spend** | **1** | spend | — | — | — | spending | spent | spend time + V-ing |
|
|
48
|
+
| **charm** | **1** | charm | charm | charming | charmingly | charming | charmed | 并列ADJ → smart, witty and charming |
|
|
49
|
+
| **speak** | **1** | speak | speech | spoken | — | speaking | spoken | the + N → the speaker / speech |
|
|
50
|
+
| **effect** | **1** | effect(V) | effect(N) | effective | effectively | affecting | affected | an + ADJ + N → effective presentation |
|
|
51
|
+
| **mistake** | **1** | mistake | mistake | mistaken | — | mistaking | mistaken | make + N → make a mistake |
|
|
52
|
+
| **equip** | **1** | equip | equipment | equipped | — | equipping | equipped | the + N → equipment |
|
|
53
|
+
| **win** | **1** | win | winner | winning | — | winning | won | a + N → a winner |
|
|
54
|
+
| **reach** | **1** | reach | — | reachable | — | reaching | reached | at + V-ing → at reaching |
|
|
55
|
+
| **old** | **1** | — | age | old | — | aging | aged | grow + 比较级 → grow older |
|
|
56
|
+
| **fortunate** | **1** | — | fortune | fortunate / unfortunate | fortunately / unfortunately | — | — | 句首副词修饰整句 → unfortunately |
|
|
57
|
+
| **solve** | **1** | — | solution | solvable | — | solving | solved | a + N → a solution |
|
|
58
|
+
| **profit** | **1** | profit | profit | profitable | profitably | profiting | profited | be + ADJ → profitable |
|
|
59
|
+
| **find** | **1** | find | finding | — | — | finding | found | 过去时→found(不是 finded) |
|
|
60
|
+
| **look** | **1** | look | look | — | — | looking | looked | spend time + V-ing → looking |
|
|
61
|
+
| **name** | **1** | name | name | — | — | naming | named | 过去并列→named |
|
|
62
|
+
|
|
63
|
+
## 第二部分:历年真题新增词族(补充)
|
|
64
|
+
|
|
65
|
+
| 词族 | 出现次数 | V | N | ADJ | ADV | V-ing | V-ed | 考点公式 | 真题来源 |
|
|
66
|
+
| --------------- | -------- | ----------- | ------------- | ----------------- | --------------- | ------------- | ------------ | --------------------------------------------------- | ---------------- |
|
|
67
|
+
| **consist** | **1** | consist | — | — | — | — | — | consist of(单三+**s**) | 2026.4 |
|
|
68
|
+
| **attend** | **1** | attend | attendance | attentive | **attentively** | attending | attended | be attending;watch attentively(ADV) | 2026.4 / 2024.10 |
|
|
69
|
+
| **raise** | **1** | raise | — | — | — | raising | raised | raise + 动物/问题(饲养/提出);to raise hogs | 2026.4 |
|
|
70
|
+
| **know** | **1** | know | knowledge | known | — | knowing | known | be known for(因……著名)≠ be known as | 2026.4 |
|
|
71
|
+
| **fame** | **1** | — | fame | **famous** | famously | — | — | be + ADJ(著名的) | 2016-2020 |
|
|
72
|
+
| **demonstrate** | **1** | demonstrate | demonstration | — | — | demonstrating | demonstrated | has demonstrated(现在完成时) | 2016-2020 |
|
|
73
|
+
| **extreme** | **1** | — | — | extreme | **extremely** | — | — | ADV + ADJ(极其) | 2016-2020 |
|
|
74
|
+
| **easy** | **1** | ease | ease | **easy / uneasy** | easily | — | — | be + ADJ(不安的) | 2016-2020 |
|
|
75
|
+
| **present** | **1** | present | **presence** | present | — | presenting | presented | the + N(存在);in the presence of | 2016-2020 |
|
|
76
|
+
| **term** | **1** | — | **terms** | — | — | — | — | 复数N(in terms of) | 2016-2020 |
|
|
77
|
+
| **quick** | **1** | — | — | quick | **quickly** | — | — | V + ADV(quickly opened) | 2024.10 |
|
|
78
|
+
| **burst** | **1** | burst | — | — | — | bursting | burst | burst into laughter(固定搭配) | 2024.10 |
|
|
79
|
+
| **home** | **1** | — | home | — | — | — | — | is home to(是……的所在地) | 2026.4 |
|
|
80
|
+
| **way** | **1** | — | way | — | — | — | — | in a similar way(以类似方式) | 2026.4 |
|
|
81
|
+
| **laugh** | **1** | laugh | laughter | — | — | laughing | laughed | make + 人 + V(make us laugh);burst into laughter | 2024.10 |
|
|
82
|
+
| **ask** | **1** | ask | — | — | — | asking | asked | as if + V-ing(仿佛在问) | 2024.10 |
|
|
83
|
+
| **devote** | **1** | devote | devotion | devoted | — | devoting | devoted | devote to + N/V-ing(致力于) | 2026.4 |
|
|
84
|
+
|
|
85
|
+
## 第三部分:核心判断模型(8条公式)
|
|
86
|
+
|
|
87
|
+
| 公式 | 判断要点 | 真题变形示例 |
|
|
88
|
+
| ------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------- |
|
|
89
|
+
| **be + ADJ** | 表状态/性质 | successful / natural / friendly / comfortable / profitable / enjoyable / famous / uneasy |
|
|
90
|
+
| **be + V-ed** | 被动 / 人的感受 | blamed / satisfied / believed / equipped / named / known / devoted |
|
|
91
|
+
| **be + V-ing** | 进行 / 物的性质 | satisfying(物)≠ satisfied(人);is home to |
|
|
92
|
+
| **ADJ + N** | 形容词修饰名词 | social skills / possible standards / effective presentation / school performance / cute baby / beautiful campus |
|
|
93
|
+
| **V + ADV** | 实义动词后接副词 | come naturally / develop emotionally / positively impacting / watch attentively / quickly opened |
|
|
94
|
+
| **介词 + N** | 表“概念/东西” | in comparison / in addition / in possession / take pleasure in / in terms of / in the presence of |
|
|
95
|
+
| **介词 + V-ing** | 表“动作” | by paying / from spending / at reaching / like rolling / devote to doing |
|
|
96
|
+
| **have/has + V-ed** | 现在完成时 | has shown(非 has showed);has demonstrated |
|
|
97
|
+
|
|
98
|
+
## 第四部分:介词后 N vs V-ing 专项(最容易错的点)
|
|
99
|
+
|
|
100
|
+
| 结构 | 词性 | 示例 |
|
|
101
|
+
| ----------------------- | ------- | ----------------------------------------------------------------------------------- |
|
|
102
|
+
| **in + N**(概念) | N | in **comparison**,in **addition**,in **fact**,in **possession**,in **terms of** |
|
|
103
|
+
| **in + V-ing**(动作) | V-ing | in positively **impacting**,in **doing** |
|
|
104
|
+
| **by + V-ing** | V-ing | by **paying**,by **spending** |
|
|
105
|
+
| **from + V-ing** | V-ing | from **spending** |
|
|
106
|
+
| **at + V-ing** | V-ing | at **reaching** |
|
|
107
|
+
| **of + N** | N | the **majority** of |
|
|
108
|
+
| **like + V-ing** | V-ing | like **rolling** |
|
|
109
|
+
| **take + N + in** | N | take **pleasure** in |
|
|
110
|
+
| **devote to + N/V-ing** | N/V-ing | devoted mainly **to** + N;devote to **doing** |
|
|
111
|
+
|
|
112
|
+
> **口诀:介词后面要辨清,概念用名动作ing;by/from/at/like/practice,统统接ing不接名。**
|
|
113
|
+
|
|
114
|
+
## 第五部分:V-ing / V-ed 人 vs 物 专项
|
|
115
|
+
|
|
116
|
+
| 词族 | 修饰人(V-ed) | 修饰物/事(V-ing) |
|
|
117
|
+
| ------- | --------------------- | ---------------------- |
|
|
118
|
+
| satisfy | satisfied(感到满意) | satisfying(令人满意) |
|
|
119
|
+
| please | pleased(感到高兴) | pleasing(令人高兴) |
|
|
120
|
+
| attract | attracted(被吸引) | attracting(吸引人的) |
|
|
121
|
+
| comfort | comforted(感到安慰) | comforting(令人安慰) |
|
|
122
|
+
| charm | charmed(被迷住) | charming(迷人的) |
|
|
123
|
+
|
|
124
|
+
> **口诀:人用ed,物用ing;感觉用ed,性质用ing。**
|
|
125
|
+
|
|
126
|
+
## 第六部分:固定搭配高频(直接背)
|
|
127
|
+
|
|
128
|
+
| 结构 | 真题示例 | 来源 |
|
|
129
|
+
| ----------------------------------- | ---------------------------------- | -------- |
|
|
130
|
+
| **spend time + V-ing** | spend time **looking** | #2~#10 |
|
|
131
|
+
| **keep on + V-ing** | keep on **going** | #2~#10 |
|
|
132
|
+
| **start by + V-ing** | start by **paying** | #2~#10 |
|
|
133
|
+
| **practice + V-ing** | practice **controlling** | #2~#10 |
|
|
134
|
+
| **like + V-ing** | like **rolling** | #2~#10 |
|
|
135
|
+
| **have difficulty (in) + V-ing** | difficulty in **doing** | #2~#10 |
|
|
136
|
+
| **take + N + in** | take **pleasure** in | #2~#10 |
|
|
137
|
+
| **need to be + V-ed** | need to be **carried** | #2~#10 |
|
|
138
|
+
| **one of the + 最高级 + N** | one of the **vital** factors | #2~#10 |
|
|
139
|
+
| **It is believed that...** | It is believed that... | #2~#10 |
|
|
140
|
+
| **consist of**(由……组成) | consists of about 11,000 residents | 2026.4 |
|
|
141
|
+
| **is home to**(是……的所在地) | is home to Neutron College | 2026.4 |
|
|
142
|
+
| **in a similar way**(以类似方式) | in a similar way | 2026.4 |
|
|
143
|
+
| **be known for**(因……著名) | is well known for its department | 2026.4 |
|
|
144
|
+
| **burst into laughter**(突然大笑) | burst into laughter | 2024.10 |
|
|
145
|
+
| **make + 人 + V**(使人做某事) | make us laugh | 2024.10 |
|
|
146
|
+
| **as if + V-ing**(仿佛在做) | as if asking | 2024.10 |
|
|
147
|
+
| **devote to + N/V-ing**(致力于) | devoted mainly to | 2026.4 |
|
|
148
|
+
| **in terms of**(就……而言) | in terms of | 早期真题 |
|
|
149
|
+
| **presence**(存在) | in the presence of | 早期真题 |
|
|
150
|
+
| **to raise + N**(饲养/提出) | to raise hogs | 2026.4 |
|
|
151
|
+
| **in a similar way**(以类似方式) | in a similar way | 2026.4 |
|
|
152
|
+
|
|
153
|
+
## 第七部分:必背词性变化表(完整合并版)
|
|
154
|
+
|
|
155
|
+
| 原形 | N | ADJ | ADV | V-ing | V-ed |
|
|
156
|
+
| ----------- | --------------------------- | ------------------------- | --------------- | ------------- | ------------ |
|
|
157
|
+
| satisfy | satisfaction | satisfactory / satisfying | satisfactorily | satisfying | satisfied |
|
|
158
|
+
| require | requirement | required | — | requiring | required |
|
|
159
|
+
| succeed | success | successful | successfully | succeeding | succeeded |
|
|
160
|
+
| attract | attraction | attractive | attractively | attracting | attracted |
|
|
161
|
+
| compare | comparison | comparable | comparatively | comparing | compared |
|
|
162
|
+
| please | pleasure | pleasant / pleasing | pleasantly | pleasing | pleased |
|
|
163
|
+
| enjoy | enjoyment | enjoyable | — | enjoying | enjoyed |
|
|
164
|
+
| possess | possession | possessive | possessively | possessing | possessed |
|
|
165
|
+
| perform | performance | — | — | performing | performed |
|
|
166
|
+
| correct | correctness | correct / incorrect | correctly | correcting | corrected |
|
|
167
|
+
| produce | production | productive | productively | producing | produced |
|
|
168
|
+
| add | addition | additional | additionally | adding | added |
|
|
169
|
+
| believe | belief | believable | believably | believing | believed |
|
|
170
|
+
| affect | — | effective\* | effectively\* | affecting | affected |
|
|
171
|
+
| equip | equipment | equipped | — | equipping | equipped |
|
|
172
|
+
| comfort | comfort | comfortable | comfortably | comforting | comforted |
|
|
173
|
+
| warm | warmth | warm | warmly | warming | warmed |
|
|
174
|
+
| blame | blame | blameworthy | — | blaming | blamed |
|
|
175
|
+
| profit | profit | profitable | profitably | profiting | profited |
|
|
176
|
+
| reach | — | reachable | — | reaching | reached |
|
|
177
|
+
| solve | solution | solvable | — | solving | solved |
|
|
178
|
+
| mistake | mistake | mistaken | — | mistaking | mistaken |
|
|
179
|
+
| speak | speech | spoken | — | speaking | spoken |
|
|
180
|
+
| show | — | — | — | showing | **shown** |
|
|
181
|
+
| find | finding | — | — | finding | **found** |
|
|
182
|
+
| win | winner | winning | — | winning | **won** |
|
|
183
|
+
| know | knowledge | known | — | knowing | **known** |
|
|
184
|
+
| attend | attendance | attentive | **attentively** | attending | attended |
|
|
185
|
+
| fame | fame | **famous** | famously | — | — |
|
|
186
|
+
| demonstrate | demonstration | — | — | demonstrating | demonstrated |
|
|
187
|
+
| extreme | — | extreme | **extremely** | — | — |
|
|
188
|
+
| easy | ease | **easy / uneasy** | easily | — | — |
|
|
189
|
+
| present | **presence / presentation** | present | — | presenting | presented |
|
|
190
|
+
| consist | — | — | — | — | — |
|
|
191
|
+
| raise | — | — | — | raising | raised |
|
|
192
|
+
| devote | devotion | devoted | — | devoting | devoted |
|
|
193
|
+
| burst | — | — | — | bursting | **burst** |
|
|
194
|
+
| laugh | laughter | — | — | laughing | laughed |
|
|
195
|
+
|
|
196
|
+
> \* **affect(V)** vs **effect(N)** 是常见干扰点,注意区分。
|
|
197
|
+
|
|
198
|
+
## 第八部分:做题5步法
|
|
199
|
+
|
|
200
|
+
```
|
|
201
|
+
1. 看空格前后
|
|
202
|
+
↓
|
|
203
|
+
2. 问:这里缺什么成分?(主/谓/宾/定/状)
|
|
204
|
+
↓
|
|
205
|
+
3. 判断词性(N / V / ADJ / ADV / V-ing / V-ed)
|
|
206
|
+
↓
|
|
207
|
+
4. 从词族中选出对应变形
|
|
208
|
+
↓
|
|
209
|
+
5. 检查固定搭配 + 语义 + 时态/语态
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
## 第九部分:考前3分钟速记口诀
|
|
213
|
+
|
|
214
|
+
```
|
|
215
|
+
be后形过现分清,名前形容不能省。
|
|
216
|
+
介词后面看动静,概念名词动作ing。
|
|
217
|
+
人用ed物用ing,完成时态has+done。
|
|
218
|
+
spend/keep/like/practice,统统加上ing。
|
|
219
|
+
比较级前加grow,句首副词修饰整句。
|
|
220
|
+
in comparison是名词,take pleasure要记清。
|
|
221
|
+
consist of要加s,is home to是所在。
|
|
222
|
+
known for表著名,burst into接名词。
|
|
223
|
+
devote to后跟doing,as if后也接ing。
|
|
224
|
+
watch quickly都是adv,famous前面要用be。
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
## 第十部分:版本对比(合并结果)
|
|
228
|
+
|
|
229
|
+
| 项目 | 合并前 | 合并后 |
|
|
230
|
+
| ------------------ | ------ | -------------------- |
|
|
231
|
+
| 词族总数 | 54个 | **69个(完整保留)** |
|
|
232
|
+
| 出现≥2次词族 | 7个 | **7个(保留)** |
|
|
233
|
+
| 出现1次词族 | 47个 | **62个(新增15个)** |
|
|
234
|
+
| 核心公式 | 8条 | **8条(保留)** |
|
|
235
|
+
| V-ing/V-ed专项 | ✅ | ✅ |
|
|
236
|
+
| 介词N vs V-ing专项 | ✅ | ✅ |
|
|
237
|
+
| 固定搭配表 | 10条 | **22条(新增12条)** |
|
|
238
|
+
| 词性变化表 | 26个 | **34个(新增8个)** |
|
|
239
|
+
| 口诀 | 6句 | **10句(新增4句)** |
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
# 广东自考英语二(13000)历年真题·高频考点完整统计(按频率排序)
|
|
244
|
+
|
|
245
|
+
## 数据来源说明
|
|
246
|
+
|
|
247
|
+
以下统计基于历年真题(2013-2026年)和考点分析资料,分为**考试题型频率**、**高频词形考点**、**固定搭配频率**三个维度,按出现频率从高到低排序。
|
|
248
|
+
|
|
249
|
+
## 一、考试题型频率统计(从高到低排序)
|
|
250
|
+
|
|
251
|
+
| 排名 | 考试题型 | 出现频率 | 考查要点 | 典型题量 |
|
|
252
|
+
| ---- | ---------------------------------- | ------------- | -------------------------- | -------- |
|
|
253
|
+
| 🥇 1 | **词性转换(V→N/ADJ/ADV)** | **每卷必考** | 动词变名词/形容词/副词 | 5-7空 |
|
|
254
|
+
| 🥇 2 | **动词时态/语态变换** | **每卷必考** | 被动语态、现在完成时、单三 | 3-4空 |
|
|
255
|
+
| 🥈 3 | **固定搭配填空** | **每卷必考** | 介词/动词固定结构 | 2-3空 |
|
|
256
|
+
| 🥈 4 | **名词单复数** | **每卷1-2空** | 可数名词复数形式 | 1-2空 |
|
|
257
|
+
| 🥉 5 | **人/物感受区分(V-ing vs V-ed)** | **高频** | 修饰人用ed,修饰物用ing | 1-2空 |
|
|
258
|
+
| 🥉 6 | **代词变形(人称/反身/物主)** | **中频** | 介词后用反身代词 | 0-1空 |
|
|
259
|
+
| 🥉 7 | **否定前缀/后缀派生** | **中频** | un-/in-/-less | 0-1空 |
|
|
260
|
+
| 🥉 8 | **副词修饰动词/全句** | **高频** | ADJ→ADV(+ly) | 1-2空 |
|
|
261
|
+
| 🥉 9 | **比较级/最高级** | **中频** | -er / -est / more / most | 0-1空 |
|
|
262
|
+
|
|
263
|
+
## 二、高频词形考点(按出现频率排序)
|
|
264
|
+
|
|
265
|
+
### 🔴 第一层级:≥3次(必背)
|
|
266
|
+
|
|
267
|
+
| 排名 | 词族 | 考查变形 | 出现次数 | 考查结构 | 真题来源 |
|
|
268
|
+
| ----- | ----------- | -------------------------------------- | -------- | -------------------------------------------------------------------------------- | ---------- |
|
|
269
|
+
| 🥇 1 | **able** | ability / unable / enable / disabled | **≥5** | one's + **ability**;**unable** to;**enable** + 人 + to;**disabled**(残疾的) | 历年高频 |
|
|
270
|
+
| 🥇 2 | **effect** | effective / effectively / effects | **≥4** | an + **effective** + N;复数**effects** | 历年高频 |
|
|
271
|
+
| 🥇 3 | **general** | generally | **≥3** | 副词修饰动词/全句(Generally speaking) | 历年高频 |
|
|
272
|
+
| 🥇 4 | **lose** | lost / loss / losing | **≥3** | be **lost**(迷路的);**loss**(N);**losing**(V-ing) | 2024.4 |
|
|
273
|
+
| 🥇 5 | **tire** | tired / tiring / tireless | **≥3** | 人→**tired**;物→**tiring**;**tireless**(不知疲倦的) | 2024.4 |
|
|
274
|
+
| 🥇 6 | **spend** | spent / spending | **≥3** | have/has **spent**;**spending**(N,花销) | 历年高频 |
|
|
275
|
+
| 🥇 7 | **satisfy** | satisfied / satisfying / satisfaction | **≥3** | 人→**satisfied**;物→**satisfying**;be satisfied with | 你的数据 |
|
|
276
|
+
| 🥇 8 | **require** | requirement / required | **≥3** | N + **required**;**requirement**(N) | 你的数据 |
|
|
277
|
+
| 🥇 9 | **attract** | attractive / attraction / attractively | **≥3** | as **attractive** as;**attraction**(N) | 你的数据 |
|
|
278
|
+
| 🥇 10 | **success** | successful / successfully | **≥3** | be **successful**;do **successfully** | 你的数据 |
|
|
279
|
+
| 🥇 11 | **know** | known / knowledge | **≥3** | be **known** for;**knowledge** of | 2026.4真题 |
|
|
280
|
+
| 🥇 12 | **say** | said / saying | **≥3** | has/have **said**;**saying**(谚语) | 历年高频 |
|
|
281
|
+
| 🥇 13 | **keep** | kept / keeping | **≥3** | have/has **kept**;keep **doing** | 历年高频 |
|
|
282
|
+
|
|
283
|
+
### 🟠 第二层级:2次(重点)
|
|
284
|
+
|
|
285
|
+
| 排名 | 词族 | 考查变形 | 考查结构 | 真题来源 |
|
|
286
|
+
| ---- | ------------ | ------------------------------------ | ------------------------------------------- | -------- |
|
|
287
|
+
| 1 | **compare** | comparison / comparable | in **comparison**;**comparable** to | 你的数据 |
|
|
288
|
+
| 2 | **possible** | possibility / possibly | **possible** + N;**possibility** of | 你的数据 |
|
|
289
|
+
| 3 | **natural** | natural / naturally | come **naturally**;be **natural** | 你的数据 |
|
|
290
|
+
| 4 | **attend** | attentive / attentively / attendance | watch **attentively**;**attention** (N) | 2024.10 |
|
|
291
|
+
| 5 | **please** | pleasure / pleasant / pleased | take **pleasure** in;be **pleased** with | 你的数据 |
|
|
292
|
+
| 6 | **comfort** | comfortable / comfortably | feel **comfortable**;live **comfortably** | 你的数据 |
|
|
293
|
+
| 7 | **add** | addition / additional | in **addition** to;**additional** + N | 你的数据 |
|
|
294
|
+
| 8 | **correct** | correct / incorrect / correctly | **incorrect** + N;do **correctly** | 你的数据 |
|
|
295
|
+
| 9 | **produce** | production / productive | **production**(N);**productive**(ADJ) | 你的数据 |
|
|
296
|
+
| 10 | **possess** | possession / possessive | in one's **possession** | 你的数据 |
|
|
297
|
+
| 11 | **perform** | performance | school **performance**(ADJ+N) | 你的数据 |
|
|
298
|
+
| 12 | **believe** | belief / believed | It is **believed** that...;**belief**(N) | 你的数据 |
|
|
299
|
+
| 13 | **word** | words / wordless | 复数**words**;**wordless**(无言的) | 2024.4 |
|
|
300
|
+
| 14 | **lazy** | laziness / lazily / lazier | **laziness**(N);**lazily**(ADV) | 2024.4 |
|
|
301
|
+
|
|
302
|
+
### 🟡 第三层级:1次(了解)
|
|
303
|
+
|
|
304
|
+
- act → action / active / activity
|
|
305
|
+
- apologize → apology
|
|
306
|
+
- anger → angry / angrily
|
|
307
|
+
- agree → agreement / disagree
|
|
308
|
+
- anxious → anxiety / anxiously
|
|
309
|
+
- achieve → achievement
|
|
310
|
+
- absence → absent
|
|
311
|
+
- arrive → arrival
|
|
312
|
+
- absolute → absolutely
|
|
313
|
+
- accept → acceptable
|
|
314
|
+
- admit → admission
|
|
315
|
+
- advance → advanced
|
|
316
|
+
- form → forms(名词复数)
|
|
317
|
+
- ease → easy(形容词)
|
|
318
|
+
- real → really(副词)
|
|
319
|
+
- chat → chatting(V-ing,双写t)
|
|
320
|
+
- inform → information(名词)
|
|
321
|
+
- care → careful(形容词)
|
|
322
|
+
- they → themselves(反身代词)
|
|
323
|
+
|
|
324
|
+
## 三、高频固定搭配(按出现频率排序)
|
|
325
|
+
|
|
326
|
+
### 🔴 第一层级:≥3次(必背)
|
|
327
|
+
|
|
328
|
+
| 排名 | 固定搭配 | 结构要点 | 真题来源 |
|
|
329
|
+
| ----- | -------------------------------- | ------------------------------ | ----------- |
|
|
330
|
+
| 🥇 1 | **consist of** | 由……组成;单三→**consists of** | 2026.4真题 |
|
|
331
|
+
| 🥇 2 | **be known for** | 因……而著名(≠ be known as) | 2026.4真题 |
|
|
332
|
+
| 🥇 3 | **devote to** | 致力于;to为介词,后接N/V-ing | 2026.4真题 |
|
|
333
|
+
| 🥇 4 | **burst into + N** | 突然……;后接名词 | 2024.10真题 |
|
|
334
|
+
| 🥇 5 | **have difficulty (in) + V-ing** | 做……有困难 | 你的数据 |
|
|
335
|
+
| 🥇 6 | **spend time + V-ing** | 花时间做某事 | 你的数据 |
|
|
336
|
+
| 🥇 7 | **look forward to** | 期待;to为介词,接N/V-ing | 历年高频 |
|
|
337
|
+
| 🥇 8 | **result in / result from** | 导致 / 起因于 | 历年高频 |
|
|
338
|
+
| 🥇 9 | **make + 人 + V(原形)** | 使人做某事 | 2024.10真题 |
|
|
339
|
+
| 🥇 10 | **be careful about** | 小心……(固定介词搭配) | 2024.10 |
|
|
340
|
+
|
|
341
|
+
### 🟠 第二层级:2次(重点)
|
|
342
|
+
|
|
343
|
+
| 固定搭配 | 结构要点 | 真题来源 |
|
|
344
|
+
| ----------------------- | ------------ | ----------- |
|
|
345
|
+
| **take pleasure in** | 以……为乐 | 你的数据 |
|
|
346
|
+
| **in addition to** | 除……之外 | 你的数据 |
|
|
347
|
+
| **in comparison** | 相比之下 | 你的数据 |
|
|
348
|
+
| **in possession of** | 拥有 | 你的数据 |
|
|
349
|
+
| **in terms of** | 就……而言 | 早期真题 |
|
|
350
|
+
| **is home to** | 是……的所在地 | 2026.4真题 |
|
|
351
|
+
| **in a similar way** | 以类似方式 | 2026.4真题 |
|
|
352
|
+
| **as if + V-ing** | 仿佛在做某事 | 2024.10真题 |
|
|
353
|
+
| **carry out** | 执行、实施 | 历年真题 |
|
|
354
|
+
| **figure out** | 弄明白 | 历年真题 |
|
|
355
|
+
| **put up with** | 忍受 | 历年真题 |
|
|
356
|
+
| **compared with / to** | 与……相比 | 历年真题 |
|
|
357
|
+
| **make a mess of** | 把……弄糟 | 历年真题 |
|
|
358
|
+
| **at the sacrifice of** | 以……为代价 | 历年真题 |
|
|
359
|
+
| **be of the essence** | 至关重要的 | 历年真题 |
|
|
360
|
+
|
|
361
|
+
### 🟡 第三层级:1次(了解)
|
|
362
|
+
|
|
363
|
+
| 固定搭配 | 结构要点 |
|
|
364
|
+
| ------------------------- | ------------------ |
|
|
365
|
+
| **keep on + V-ing** | 继续做 |
|
|
366
|
+
| **start by + V-ing** | 以……开始 |
|
|
367
|
+
| **practice + V-ing** | 练习做 |
|
|
368
|
+
| **need to be + V-ed** | 需要被…… |
|
|
369
|
+
| **take off** | 起飞/脱下 |
|
|
370
|
+
| **pay off** | 还清/获得回报 |
|
|
371
|
+
| **account for** | 解释/占比例 |
|
|
372
|
+
| **apply for** | 申请 |
|
|
373
|
+
| **impact on / effect on** | 对……的影响 |
|
|
374
|
+
| **solution to** | ……的解决方案 |
|
|
375
|
+
| **attitude towards** | 对……的态度 |
|
|
376
|
+
| **access to** | 进入/使用的途径 |
|
|
377
|
+
| **be in a mess** | 乱七八糟、处境狼狈 |
|
|
378
|
+
| **mess up** | 搞乱、弄脏、弄糟 |
|
|
379
|
+
| **compared with** | 与……相比 |
|
|
380
|
+
| **beyond compare** | 无与伦比 |
|
|
381
|
+
|
|
382
|
+
## 四、核心解题步骤(历年真题通用)
|
|
383
|
+
|
|
384
|
+
1. **看标题预测文章主题**(如“Voice and Text Chatting”可推测内容涉及社交媒体沟通形式)
|
|
385
|
+
2. **检查提示词是否认识**:超过4个不认识需优先补词汇
|
|
386
|
+
3. **判断空格所需词性**:高频考查四大词性——**动词、名词、形容词、副词**(动名形副)
|
|
387
|
+
4. **结合语法与句意进行变形**:特别注意被动语态(be+V-ed)、现在完成时(has/have+V-ed)、单三形式、名词复数
|
|
388
|
+
|
|
389
|
+
## 五、备考优先级建议
|
|
390
|
+
|
|
391
|
+
```
|
|
392
|
+
第一优先级(必背,≥3次):
|
|
393
|
+
able / effect / general / lose / tire / spend / satisfy / require / attract / success / know / say / keep
|
|
394
|
+
+ 8条高频固定搭配(consist of / be known for / devote to / burst into / have difficulty in / spend time V-ing / look forward to / result in)
|
|
395
|
+
|
|
396
|
+
第二优先级(重点,2次):
|
|
397
|
+
compare / possible / natural / attend / please / comfort / add / correct / produce / possess / perform / believe / word / lazy
|
|
398
|
+
+ 15条中频固定搭配
|
|
399
|
+
|
|
400
|
+
第三优先级(了解,1次):
|
|
401
|
+
其余出现1次的词族和固定搭配
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
## 六、考前速记口诀(完整版)
|
|
405
|
+
|
|
406
|
+
```
|
|
407
|
+
动名形副先判断,被动完成看时态。
|
|
408
|
+
人用ed物用ing,名前形容不能省。
|
|
409
|
+
介词后面辨动静,概念名词动作ing。
|
|
410
|
+
consist of要加s,known for表著名。
|
|
411
|
+
devote to后接doing,burst into接名词。
|
|
412
|
+
spend time加doing,look forward to doing。
|
|
413
|
+
make后接动词原,careful about固定搭。
|
|
414
|
+
general变副词,say变saying作谚语。
|
|
415
|
+
lose过去lost,tire加less表不知倦。
|
|
416
|
+
able加en表使能,effect加ive表有效。
|
|
417
|
+
```
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GEN-AI 公共入口:組件 + 工具(按需 `import '../common'`)
|
|
3
|
+
* 字體 / 分頁樣式僅隨 gen-ai 引用加載,不進全域 main.ts
|
|
4
|
+
*/
|
|
5
|
+
import './assets/fonts.css'
|
|
6
|
+
import './assets/pagination.css'
|
|
7
|
+
|
|
8
|
+
export { default as CapsuleScrollbar } from '../components/CapsuleScrollbar.vue'
|
|
9
|
+
export { default as ChapterTitleScroll } from '../components/ChapterTitleScroll.vue'
|
|
10
|
+
export { default as GenAiPagination } from '../components/GenAiPagination.vue'
|
|
11
|
+
export { default as PromptField } from '../components/PromptField.vue'
|
|
12
|
+
export type { PromptFieldLayoutBind } from '../components/PromptField.vue'
|
|
13
|
+
export { default as ReportChapterTiptapEditor } from '../components/editor/ChapterTiptapEditor.vue'
|
|
14
|
+
export { default as ReportCollapsibleSection } from '../components/ReportCollapsibleSection.vue'
|
|
15
|
+
export { default as ReportHistoryList } from '../components/ReportHistoryList.vue'
|
|
16
|
+
export type { ReportHistoryItem } from '../components/ReportHistoryList.vue'
|
|
17
|
+
export { default as ReportSectionConfirmPopover } from '../components/ReportSectionConfirmPopover.vue'
|
|
18
|
+
export { default as ReportTypewriterDocEditor } from '../components/editor/TypewriterDocEditor.vue'
|
|
19
|
+
export {
|
|
20
|
+
RECENT_REPORTS,
|
|
21
|
+
default as RecentReportsTable,
|
|
22
|
+
} from '../components/RecentReportsTable.vue'
|
|
23
|
+
export type { RecentReport } from '../components/RecentReportsTable.vue'
|
|
24
|
+
export { default as ModelCard } from '../components/ModelCard.vue'
|
|
25
|
+
export type { ModelCardItem } from '../components/ModelCard.vue'
|
|
26
|
+
export type { CapsuleScrollbarExpose, RecentReportsTableExpose } from './types/component-expose'
|
|
27
|
+
export * from './utils/navigation'
|
|
28
|
+
export * from './utils/scroll'
|
|
29
|
+
export * from '../components/Preview'
|
|
30
|
+
export {
|
|
31
|
+
closeAiBtnLoading,
|
|
32
|
+
hasActiveAiBtnLoading,
|
|
33
|
+
registerGenAiDirectives,
|
|
34
|
+
vAiBtnLoading,
|
|
35
|
+
vAiDebounce,
|
|
36
|
+
} from './directives'
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { Router } from 'vue-router'
|
|
2
|
+
|
|
3
|
+
type RouteQuery = { [key: string]: string }
|
|
4
|
+
|
|
5
|
+
function openGenAiPage(
|
|
6
|
+
router: Router,
|
|
7
|
+
envUrl: string | undefined,
|
|
8
|
+
routeName: string,
|
|
9
|
+
query?: RouteQuery
|
|
10
|
+
) {
|
|
11
|
+
const configured = envUrl?.trim()
|
|
12
|
+
const url = configured || router.resolve({ name: routeName, query }).href
|
|
13
|
+
window.open(url, '_blank')
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/** 開啟模板中心(優先 VITE_TEMPLATE_CENTER_URL,否則同域路由) */
|
|
17
|
+
export function openTemplateCenter(router: Router) {
|
|
18
|
+
openGenAiPage(router, import.meta.env.VITE_TEMPLATE_CENTER_URL, 'TemplateCenter')
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/** 開啟模板中心(優先 VITE_MODEL_MANAGER_URL,否則同域路由) */
|
|
22
|
+
export function openModelManager(router: Router, query?: RouteQuery) {
|
|
23
|
+
openGenAiPage(router, import.meta.env.VITE_MODEL_MANAGER_URL, 'model-manager', query)
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** 新分頁開啟模板編輯(新建 / 編輯 / 複製並編輯) */
|
|
27
|
+
export function openTemplateEditor(router: Router, query?: RouteQuery) {
|
|
28
|
+
openGenAiPage(
|
|
29
|
+
router,
|
|
30
|
+
import.meta.env.VITE_TEMPLATE_EDITOR_URL,
|
|
31
|
+
'model-manager-template-editor',
|
|
32
|
+
query
|
|
33
|
+
)
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** 開啟管理中心(優先 VITE_MANAGEMENT_CENTER_URL,否則同域路由) */
|
|
37
|
+
export function openManagementCenter(router: Router, query?: RouteQuery) {
|
|
38
|
+
openGenAiPage(router, import.meta.env.VITE_MANAGEMENT_CENTER_URL, 'management-center', query)
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/** 同頁跳轉報告列表(原 build-report-list / report-list.vue 已刪,改走 gen-entry) */
|
|
42
|
+
export function navigateToReportCenter(router: Router) {
|
|
43
|
+
void router.push({ name: 'gen-entry' })
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/** 開啟報告列表(優先 VITE_REPORT_CENTER_URL,否則新分頁打開同域路由) */
|
|
47
|
+
export function openReportCenter(router: Router, query?: RouteQuery) {
|
|
48
|
+
openGenAiPage(router, import.meta.env.VITE_REPORT_CENTER_URL, 'gen-entry', query)
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/** 開啟新建報告(優先 VITE_REPORT_CREATE_URL,否則新分頁打開同域路由) */
|
|
52
|
+
export function openReportCreate(router: Router, query?: RouteQuery) {
|
|
53
|
+
openGenAiPage(router, import.meta.env.VITE_REPORT_CREATE_URL, 'build-report', query)
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/** 同頁跳轉報告連貫性檢查頁(僅打開路由;業務入口請用 report-domain.openReportCoherenceCheck) */
|
|
57
|
+
export function openReportCoherenceCheckPage(router: Router, query?: RouteQuery) {
|
|
58
|
+
void router.push({ name: 'report-coherence-check', query })
|
|
59
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { postRequest } from '../../../../api/request'
|
|
2
|
+
|
|
3
|
+
/** 後端不可用時盡快失敗,避免長時間掛起影響背景刷新 */
|
|
4
|
+
export const GEN_AI_REQUEST_TIMEOUT_MS = 8000
|
|
5
|
+
|
|
6
|
+
const GEN_AI_API_BASE = '/aiapi/v1'
|
|
7
|
+
|
|
8
|
+
export function buildGenAiUrl(path: string) {
|
|
9
|
+
return `${GEN_AI_API_BASE}${path}`
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** 帶超時的 GEN-AI POST;失敗時拋錯,由各模塊 API 回退 mock */
|
|
13
|
+
export async function postGenAiRequest(
|
|
14
|
+
path: string,
|
|
15
|
+
data?: unknown,
|
|
16
|
+
options?: { timeoutMs?: number; signal?: AbortSignal }
|
|
17
|
+
) {
|
|
18
|
+
const timeoutMs = options?.timeoutMs ?? GEN_AI_REQUEST_TIMEOUT_MS
|
|
19
|
+
const controller = new AbortController()
|
|
20
|
+
const timer = window.setTimeout(() => controller.abort(), timeoutMs)
|
|
21
|
+
|
|
22
|
+
const onExternalAbort = () => controller.abort()
|
|
23
|
+
if (options?.signal) {
|
|
24
|
+
if (options.signal.aborted) {
|
|
25
|
+
controller.abort()
|
|
26
|
+
} else {
|
|
27
|
+
options.signal.addEventListener('abort', onExternalAbort, { once: true })
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
try {
|
|
32
|
+
const response = await postRequest({
|
|
33
|
+
url: buildGenAiUrl(path),
|
|
34
|
+
data,
|
|
35
|
+
signal: controller.signal,
|
|
36
|
+
})
|
|
37
|
+
if (response == null) {
|
|
38
|
+
throw new Error('暫無數據')
|
|
39
|
+
}
|
|
40
|
+
return response
|
|
41
|
+
} finally {
|
|
42
|
+
window.clearTimeout(timer)
|
|
43
|
+
options?.signal?.removeEventListener('abort', onExternalAbort)
|
|
44
|
+
}
|
|
45
|
+
}
|