npmapps 1.0.24 → 1.0.26

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.
Files changed (210) hide show
  1. package/app/.codegraph/daemon.pid +6 -0
  2. package/app/.eslintrc.js +19 -0
  3. package/app/README.md +24 -0
  4. package/app/babel.config.js +5 -0
  5. package/app/devtool-windows-amd64.zip +0 -0
  6. package/app/docs/superpowers/plans/2026-05-29-quill-editor.md +836 -0
  7. package/app/docs/superpowers/specs/2026-05-29-quill-editor-design.md +210 -0
  8. package/app/docs/superpowers/specs/2026-06-06-lazy-cascader-design.md +400 -0
  9. package/app/jsconfig.json +19 -0
  10. package/app/package-lock.json +21347 -0
  11. package/app/package.json +63 -0
  12. package/app/postcss.config.js +10 -0
  13. package/app/public/favicon.ico +0 -0
  14. package/app/public/index.html +17 -0
  15. package/app/public//344/270/200/351/224/256/351/273/221/346/232/227.html +136 -0
  16. package/app/src/App.vue +110 -0
  17. package/app/src/assets/bpmn-camunda.jpg +0 -0
  18. package/app/src/assets/css/diagram.less +17 -0
  19. package/app/src/assets/icon/Icon.less +31 -0
  20. package/app/src/assets/icon/font/app-codes.css +26 -0
  21. package/app/src/assets/icon/font/app.eot +0 -0
  22. package/app/src/assets/icon/font/app.svg +60 -0
  23. package/app/src/assets/icon/font/app.ttf +0 -0
  24. package/app/src/assets/icon/font/app.woff +0 -0
  25. package/app/src/assets/icon/font/app.woff2 +0 -0
  26. package/app/src/assets/icon/font/config.json +248 -0
  27. package/app/src/assets/icon/font/source/raw/align-bottom-tool.svg +30 -0
  28. package/app/src/assets/icon/font/source/raw/align-horizontal-center-tool.svg +85 -0
  29. package/app/src/assets/icon/font/source/raw/align-left-tool.svg +84 -0
  30. package/app/src/assets/icon/font/source/raw/align-right-tool.svg +80 -0
  31. package/app/src/assets/icon/font/source/raw/align-top-tool.svg +84 -0
  32. package/app/src/assets/icon/font/source/raw/align-vertical-center-tool.svg +89 -0
  33. package/app/src/assets/icon/font/source/raw/distribute-horizontally-tool.svg +95 -0
  34. package/app/src/assets/icon/font/source/raw/distribute-vertically-tool.svg +99 -0
  35. package/app/src/assets/icon/font/source/raw/set-color-tool.svg +111 -0
  36. package/app/src/assets/icon/font/source/symbols/align-bottom-tool.svg +30 -0
  37. package/app/src/assets/icon/font/source/symbols/align-horizontal-center-tool.svg +30 -0
  38. package/app/src/assets/icon/font/source/symbols/align-left-tool.svg +30 -0
  39. package/app/src/assets/icon/font/source/symbols/align-right-tool.svg +30 -0
  40. package/app/src/assets/icon/font/source/symbols/align-top-tool.svg +30 -0
  41. package/app/src/assets/icon/font/source/symbols/align-vertical-center-tool.svg +30 -0
  42. package/app/src/assets/icon/font/source/symbols/distribute-horizontally-tool.svg +30 -0
  43. package/app/src/assets/icon/font/source/symbols/distribute-vertically-tool.svg +30 -0
  44. package/app/src/assets/icon/font/source/symbols/set-color-tool.svg +63 -0
  45. package/app/src/assets/logo.png +0 -0
  46. package/app/src/components/EllTable/README.md +70 -0
  47. package/app/src/components/EllTable/article.md +184 -0
  48. package/app/src/components/EllTable/index.js +213 -0
  49. package/app/src/components/FormulaEditor/FunctionSelector.vue +123 -0
  50. package/app/src/components/FormulaEditor/OperatorSelector.vue +184 -0
  51. package/app/src/components/FormulaEditor/ParameterSelector.vue +123 -0
  52. package/app/src/components/FormulaEditor/api.js +69 -0
  53. package/app/src/components/FormulaEditor/index.vue +435 -0
  54. package/app/src/components/HelloWorld.vue +58 -0
  55. package/app/src/components/PageHeader/index.vue +158 -0
  56. package/app/src/components/Splitter/README.md +144 -0
  57. package/app/src/components/Splitter/example.vue +88 -0
  58. package/app/src/components/Splitter/index.vue +203 -0
  59. package/app/src/components/diagram/ToolBar.vue +357 -0
  60. package/app/src/components/diagram/customTranslate/customTranslate.js +12 -0
  61. package/app/src/components/diagram/customTranslate/translationsGerman.js +241 -0
  62. package/app/src/components/diagram/index.vue +261 -0
  63. package/app/src/components/diagram/xmlData.js +29 -0
  64. package/app/src/directives/filldown.js +155 -0
  65. package/app/src/directives/filldownTable.js +291 -0
  66. package/app/src/main.js +40 -0
  67. package/app/src/router/index.js +63 -0
  68. package/app/src/store/index.js +23 -0
  69. package/app/src/utils/winBox.js +23 -0
  70. package/app/src/views/Extend/A.vue +12 -0
  71. package/app/src/views/Extend/B.vue +10 -0
  72. package/app/src/views/Extend/MagicalComponentsForELFormItem.vue +87 -0
  73. package/app/src/views/Extend/index.vue +59 -0
  74. package/app/src/views/Extend/tableMouseHorizontalWheel.vue +193 -0
  75. package/app/src/views/Home.vue +37 -0
  76. package/app/src/views/RouterJump.vue +155 -0
  77. package/app/src/views/css.vue +57 -0
  78. package/app/src/views/cssComponents/EllipsisText.vue +83 -0
  79. package/app/src/views/cssComponents/HoverCard.vue +79 -0
  80. package/app/src/views/cssComponents/TableHover.vue +140 -0
  81. package/app/src/views/cssComponents/inputSlo.vue +52 -0
  82. package/app/src/views/cssComponents/tableFixed.vue +158 -0
  83. package/app/src/views/echarts/echart-dome.vue +82 -0
  84. package/app/src/views/echarts/index.vue +118 -0
  85. package/app/src/views/echarts/pei3d.vue +667 -0
  86. package/app/src/views/element/bpmn/index.vue +18 -0
  87. package/app/src/views/element/components/attendanceCycle/index.vue +131 -0
  88. package/app/src/views/element/components/attendanceGroup/index.vue +147 -0
  89. package/app/src/views/element/components/attendancePersonnel/index.vue +158 -0
  90. package/app/src/views/element/components/companyCalendar/index.vue +147 -0
  91. package/app/src/views/element/components/shift/index.vue +147 -0
  92. package/app/src/views/element/components/shiftRotationSystem/index.vue +147 -0
  93. package/app/src/views/element/elTableJsx/columnManagement.vue +340 -0
  94. package/app/src/views/element/elTableJsx/dialogInput.vue +71 -0
  95. package/app/src/views/element/elTableJsx/elTableJsx.vue +1826 -0
  96. package/app/src/views/element/elTableJsx/formTable.vue +598 -0
  97. package/app/src/views/element/elTableJsx/index.vue +29 -0
  98. package/app/src/views/element/elTableJsx/simpleTable.vue +192 -0
  99. package/app/src/views/element/elTableJsx.zip +0 -0
  100. package/app/src/views/element/index.vue +44 -0
  101. package/app/src/views/element/lazyCascader/LazyCascader.vue +302 -0
  102. package/app/src/views/element/lazyCascader/data.js +205 -0
  103. package/app/src/views/element/lazyCascader/index.vue +315 -0
  104. package/app/src/views/element/quillEditor/README.md +163 -0
  105. package/app/src/views/element/quillEditor/example.vue +314 -0
  106. package/app/src/views/element/quillEditor/index.vue +409 -0
  107. package/app/src/views/element/quillEditor/toolbar.js +122 -0
  108. package/app/vue.config.js +15 -0
  109. package/package.json +1 -1
  110. package/app/wujie-vue3-child/.claude/settings.local.json +0 -8
  111. package/app/wujie-vue3-child/.vscode/extensions.json +0 -3
  112. package/app/wujie-vue3-child/PROJECT_MEMORY.md +0 -427
  113. package/app/wujie-vue3-child/README.md +0 -5
  114. package/app/wujie-vue3-child/index.html +0 -13
  115. package/app/wujie-vue3-child/package-lock.json +0 -5744
  116. package/app/wujie-vue3-child/package.json +0 -28
  117. package/app/wujie-vue3-child/public/vite.svg +0 -1
  118. package/app/wujie-vue3-child/src/App.vue +0 -130
  119. package/app/wujie-vue3-child/src/assets/vue.svg +0 -1
  120. package/app/wujie-vue3-child/src/components/HelloWorld.vue +0 -43
  121. package/app/wujie-vue3-child/src/components/tags-view.vue +0 -193
  122. package/app/wujie-vue3-child/src/components/tags-view1.vue +0 -131
  123. package/app/wujie-vue3-child/src/directives/aiLoading.js +0 -182
  124. package/app/wujie-vue3-child/src/hooks/useClickOutside.js +0 -11
  125. package/app/wujie-vue3-child/src/hooks/useTableDragSort.js +0 -28
  126. package/app/wujie-vue3-child/src/main.js +0 -18
  127. package/app/wujie-vue3-child/src/router/index.js +0 -104
  128. package/app/wujie-vue3-child/src/store/tagsViewStroe.js +0 -34
  129. package/app/wujie-vue3-child/src/style.css +0 -171
  130. package/app/wujie-vue3-child/src/views/aiCoach/collapseExpand/index.jsx +0 -108
  131. package/app/wujie-vue3-child/src/views/aiCoach/collapseExpand/index.module.scss +0 -97
  132. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/README.md +0 -836
  133. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/REFLEX_EXAMPLES.md +0 -728
  134. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentPersonnelSelector.jsx +0 -687
  135. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentPersonnelSelector.module.scss +0 -560
  136. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelector.jsx +0 -570
  137. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelector.module.scss +0 -330
  138. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelectorV2.jsx +0 -378
  139. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelectorV2.module.scss +0 -228
  140. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/OptionsSelector.jsx +0 -399
  141. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/OptionsSelector.module.scss +0 -252
  142. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PersonnelSelector.jsx +0 -585
  143. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PersonnelSelector.module.scss +0 -331
  144. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PopoverSelector.jsx +0 -392
  145. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PopoverSelector.module.scss +0 -39
  146. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/README.md +0 -248
  147. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/SelectorTrigger.jsx +0 -194
  148. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/index.jsx +0 -1459
  149. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/mockData.js +0 -301
  150. package/app/wujie-vue3-child/src/views/aiCoach/dialogueSegment/index.jsx +0 -182
  151. package/app/wujie-vue3-child/src/views/aiCoach/dialogueSegment/index.module.scss +0 -28
  152. package/app/wujie-vue3-child/src/views/aiCoach/index.jsx +0 -293
  153. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ChartsPanel/index.jsx +0 -121
  154. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ChartsPanel/index.module.scss +0 -76
  155. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/DonutChart/index.jsx +0 -104
  156. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/PracticeTable/index.jsx +0 -75
  157. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/PracticeTable/index.module.scss +0 -12
  158. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankBarChart/index.jsx +0 -62
  159. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankBarChart/index.module.scss +0 -43
  160. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingGroup/index.jsx +0 -29
  161. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingGroup/index.module.scss +0 -5
  162. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingList/index.jsx +0 -58
  163. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingList/index.module.scss +0 -85
  164. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ScriptStatsPanel/index.jsx +0 -92
  165. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ScriptStatsPanel/index.module.scss +0 -56
  166. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/StatCardsRow/index.jsx +0 -40
  167. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/StatCardsRow/index.module.scss +0 -53
  168. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/echarts/EchartsDonut.jsx +0 -106
  169. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/echarts/EchartsRankBar.jsx +0 -132
  170. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/index.jsx +0 -176
  171. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/index.module.scss +0 -96
  172. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/CoachReport/index.jsx +0 -162
  173. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/CoachReport/index.module.scss +0 -16
  174. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ComprehensiveEvaluation/index.jsx +0 -29
  175. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ComprehensiveEvaluation/index.module.scss +0 -25
  176. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueBubble/index.jsx +0 -106
  177. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueBubble/index.module.scss +0 -164
  178. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueRecord/index.jsx +0 -182
  179. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueRecord/index.module.scss +0 -203
  180. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionDetail/index.jsx +0 -145
  181. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionDetail/index.module.scss +0 -126
  182. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionScores/index.jsx +0 -67
  183. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionScores/index.module.scss +0 -105
  184. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ReportHeader/index.jsx +0 -81
  185. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ReportHeader/index.module.scss +0 -47
  186. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/RoleInfo/index.jsx +0 -64
  187. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/RoleInfo/index.module.scss +0 -85
  188. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ScoreBadge/index.jsx +0 -39
  189. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ScoreBadge/index.module.scss +0 -44
  190. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/SubDimensionItem/index.jsx +0 -83
  191. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/SubDimensionItem/index.module.scss +0 -101
  192. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/index.jsx +0 -50
  193. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/index.module.scss +0 -25
  194. package/app/wujie-vue3-child/src/views/aiCoach/scriptTable/index.jsx +0 -196
  195. package/app/wujie-vue3-child/src/views/aiCoach/scriptTable/index.module.scss +0 -41
  196. package/app/wujie-vue3-child/src/views/aiCoach/scriptTable/inputColumn/index.jsx +0 -183
  197. package/app/wujie-vue3-child/src/views/aiCoach/scriptTable/inputColumn/index.module.scss +0 -115
  198. package/app/wujie-vue3-child/src/views/child-to-parent.vue +0 -117
  199. package/app/wujie-vue3-child/src/views/home.vue +0 -53
  200. package/app/wujie-vue3-child/src/views/jsx/btnSelect/btnSelect.vue +0 -169
  201. package/app/wujie-vue3-child/src/views/jsx/btnSelect/index.vue +0 -69
  202. package/app/wujie-vue3-child/src/views/jsx/com.vue +0 -44
  203. package/app/wujie-vue3-child/src/views/jsx/dialog.jsx +0 -66
  204. package/app/wujie-vue3-child/src/views/jsx/index.vue +0 -72
  205. package/app/wujie-vue3-child/src/views/jsx/props.vue +0 -33
  206. package/app/wujie-vue3-child/src/views/parent-to-child.vue +0 -225
  207. package/app/wujie-vue3-child/src/views/phone-code.vue +0 -318
  208. package/app/wujie-vue3-child/src/views/router-jump.vue +0 -123
  209. package/app/wujie-vue3-child/src/views/test.vue +0 -192
  210. package/app/wujie-vue3-child/vite.config.js +0 -15
@@ -1,85 +0,0 @@
1
- // 陪练角色信息样式
2
- .roleInfo {
3
- background: #fff;
4
- padding: 20px 24px;
5
- border-radius: 8px;
6
- margin-top: 24px;
7
- }
8
-
9
- .sectionTitle {
10
- font-size: 22px;
11
- font-weight: 600;
12
- color: #262626;
13
- margin: 0 0 16px 0;
14
- padding-bottom: 12px;
15
- }
16
-
17
- .roleCard {
18
- display: flex;
19
- align-items: center;
20
- gap: 16px;
21
- background-color: #F8F8F8;
22
- padding: 20px;
23
- border-radius: 12px;
24
- }
25
-
26
- .avatar {
27
- width: 60px;
28
- height: 60px;
29
- border-radius: 8px;
30
- overflow: hidden;
31
- flex-shrink: 0;
32
-
33
- img {
34
- width: 100%;
35
- height: 100%;
36
- object-fit: cover;
37
- }
38
- }
39
-
40
- .avatarPlaceholder {
41
- width: 100%;
42
- height: 100%;
43
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
44
- display: flex;
45
- align-items: center;
46
- justify-content: center;
47
- color: #fff;
48
- font-size: 22px;
49
- font-weight: 600;
50
- }
51
-
52
- .infoSection {
53
- flex: 1;
54
- background-color: #fff;
55
- padding: 20px;
56
- border-radius: 12px;
57
- .infoItem {
58
- margin-bottom: 12px;
59
- display: flex;
60
- align-items: center;
61
- gap: 18px;
62
- }
63
- }
64
-
65
-
66
- .name {
67
- font-size: 16px;
68
- font-weight: 600;
69
- color: #262626;
70
- }
71
-
72
- .details {
73
- display: flex;
74
- align-items: center;
75
- font-size: 14px;
76
- color: #8c8c8c;
77
- }
78
-
79
- .detailItem {
80
- display: inline-block;
81
- }
82
-
83
- .divider {
84
- margin: 0 8px;
85
- }
@@ -1,39 +0,0 @@
1
- import { defineComponent } from 'vue'
2
- import styles from './index.module.scss'
3
-
4
- /**
5
- * 分数徽章组件
6
- * @description 显示练习得分和达标状态的六边形徽章
7
- */
8
- export default defineComponent({
9
- name: 'ScoreBadge',
10
-
11
- props: {
12
- // 分数
13
- score: {
14
- type: Number,
15
- required: true,
16
- },
17
- // 是否达标
18
- isPassed: {
19
- type: Boolean,
20
- default: false,
21
- },
22
- },
23
-
24
- setup(props) {
25
- return () => {
26
- const statusText = props.isPassed ? '已达标' : '未达标'
27
- const badgeClass = props.isPassed ? styles.passed : styles.failed
28
-
29
- return (
30
- <div class={[styles.scoreBadge, badgeClass]}>
31
- <div class={styles.hexagon}>
32
- <div class={styles.score}>{props.score}</div>
33
- <div class={styles.status}>{statusText}</div>
34
- </div>
35
- </div>
36
- )
37
- }
38
- },
39
- })
@@ -1,44 +0,0 @@
1
- // 分数徽章样式
2
- .scoreBadge {
3
- position: relative;
4
- width: 120px;
5
- height: 138px;
6
- }
7
-
8
- .hexagon {
9
- position: relative;
10
- width: 120px;
11
- height: 138px;
12
- background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
13
- clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
14
- display: flex;
15
- flex-direction: column;
16
- align-items: center;
17
- justify-content: center;
18
- box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
19
- }
20
-
21
- .score {
22
- font-size: 48px;
23
- font-weight: bold;
24
- color: #fff;
25
- line-height: 1;
26
- }
27
-
28
- .status {
29
- font-size: 14px;
30
- color: #fff;
31
- margin-top: 4px;
32
- }
33
-
34
- // 已达标状态
35
- .passed .hexagon {
36
- background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
37
- box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
38
- }
39
-
40
- // 未达标状态
41
- .failed .hexagon {
42
- background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
43
- box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
44
- }
@@ -1,83 +0,0 @@
1
- import { defineComponent } from 'vue'
2
- import styles from './index.module.scss'
3
-
4
- /**
5
- * 子维度项组件
6
- * @description 显示评分维度下的子维度详情(如语言组织的易于理解、逻辑性等)
7
- */
8
- export default defineComponent({
9
- name: 'SubDimensionItem',
10
-
11
- props: {
12
- // 维度名称
13
- name: {
14
- type: String,
15
- required: true,
16
- },
17
- // 得分
18
- score: {
19
- type: Number,
20
- required: true,
21
- },
22
- // 总分
23
- total: {
24
- type: Number,
25
- required: true,
26
- },
27
- // 评价内容
28
- comment: {
29
- type: String,
30
- default: '',
31
- },
32
- },
33
-
34
- setup(props) {
35
- // 计算进度百分比
36
- const percentage = (props.score / props.total) * 100
37
-
38
- // 根据分数百分比确定进度条颜色类型
39
- const getProgressColorClass = () => {
40
- if (percentage >= 60) {
41
- return styles.progressFillHigh // 大于等于60:绿色
42
- } else if (percentage >= 30) {
43
- return styles.progressFillMedium // 30-60:黄色
44
- } else {
45
- return styles.progressFillLow // 低于30:红色
46
- }
47
- }
48
-
49
- return () => {
50
- return (
51
- <div class={styles.subDimensionItem}>
52
- {/* 维度标题和分数 */}
53
- <div class={styles.header}>
54
- <span class={styles.name}>{props.name}</span>
55
- <span class={styles.score}>{props.score}分</span>
56
- </div>
57
-
58
- {/* 进度条 */}
59
- <div class={styles.progressBar}>
60
- <div class={styles.progressTrack}>
61
- <div
62
- class={getProgressColorClass()}
63
- style={{ width: `${percentage}%` }}
64
- ></div>
65
- </div>
66
- <div class={styles.progressLabels}>
67
- <span>0</span>
68
- <span>{props.total}</span>
69
- </div>
70
- </div>
71
-
72
- {/* 评价内容 */}
73
- {props.comment && (
74
- <div class={styles.comment}>
75
- <span class={styles.commentIcon}>👍</span>
76
- <span class={styles.commentText}>{props.comment}</span>
77
- </div>
78
- )}
79
- </div>
80
- )
81
- }
82
- },
83
- })
@@ -1,101 +0,0 @@
1
- // 子维度项样式
2
- .subDimensionItem {
3
- background: #fafafa;
4
- padding: 16px 20px;
5
- border-radius: 8px;
6
- margin-bottom: 16px;
7
-
8
- &:last-child {
9
- margin-bottom: 0;
10
- }
11
- }
12
-
13
- .header {
14
- display: flex;
15
- justify-content: space-between;
16
- align-items: center;
17
- margin-bottom: 12px;
18
- }
19
-
20
- .name {
21
- font-size: 14px;
22
- font-weight: 600;
23
- color: #52c41a;
24
- }
25
-
26
- .score {
27
- font-size: 14px;
28
- font-weight: 600;
29
- color: #52c41a;
30
- background: #f6ffed;
31
- padding: 3px 14px;
32
- border-radius: 12px;
33
- }
34
-
35
- // 进度条
36
- .progressBar {
37
- margin-bottom: 12px;
38
- }
39
-
40
- .progressTrack {
41
- width: 100%;
42
- height: 8px;
43
- background: #e8e8e8;
44
- border-radius: 4px;
45
- overflow: hidden;
46
- margin-bottom: 6px;
47
- }
48
-
49
- // 进度条填充 - 低分(红色)
50
- .progressFillLow {
51
- height: 100%;
52
- background: linear-gradient(90deg, #f5222d 0%, #ff4d4f 100%);
53
- border-radius: 4px;
54
- transition: width 0.3s ease;
55
- }
56
-
57
- // 进度条填充 - 中等(黄色/橙色)
58
- .progressFillMedium {
59
- height: 100%;
60
- background: linear-gradient(90deg, #fa8c16 0%, #ffa940 100%);
61
- border-radius: 4px;
62
- transition: width 0.3s ease;
63
- }
64
-
65
- // 进度条填充 - 高分(绿色)
66
- .progressFillHigh {
67
- height: 100%;
68
- background: linear-gradient(90deg, #52c41a 0%, #73d13d 100%);
69
- border-radius: 4px;
70
- transition: width 0.3s ease;
71
- }
72
-
73
- .progressLabels {
74
- display: flex;
75
- justify-content: space-between;
76
- font-size: 12px;
77
- color: #8c8c8c;
78
- }
79
-
80
- // 评价内容
81
- .comment {
82
- display: flex;
83
- align-items: flex-start;
84
- gap: 8px;
85
- padding: 12px 14px;
86
- background: #fff;
87
- border-radius: 6px;
88
- border-left: 3px solid #52c41a;
89
- }
90
-
91
- .commentIcon {
92
- font-size: 16px;
93
- flex-shrink: 0;
94
- }
95
-
96
- .commentText {
97
- flex: 1;
98
- font-size: 13px;
99
- color: #595959;
100
- line-height: 1.7;
101
- }
@@ -1,50 +0,0 @@
1
- import { defineComponent, ref } from 'vue'
2
- import styles from './index.module.scss'
3
- import ReportHeader from './components/ReportHeader/index.jsx'
4
- import CoachReport from './components/CoachReport/index.jsx'
5
- import DialogueRecord from './components/DialogueRecord/index.jsx'
6
-
7
- /**
8
- * 报告详情页面
9
- * @description 显示练习报告的完整详情,包括总览和各维度的详细评分
10
- */
11
- export default defineComponent({
12
- name: 'ReportDetail',
13
-
14
- setup() {
15
- // 报告头部数据
16
- const headerData = ref({
17
- title: '银行理财推荐',
18
- isQuit: true, // 是否中途退出
19
- practiceTime: '2025-08-20 12:12',
20
- rounds: 2,
21
- duration: "23'23\"",
22
- score: 55,
23
- isPassed: false, // 是否达标
24
- })
25
-
26
- // 当前激活的标签页
27
- const activeTab = ref('coachReport')
28
-
29
- return () => {
30
- return (
31
- <div class={styles.reportDetail}>
32
- {/* 报告头部 */}
33
- <ReportHeader {...headerData.value} />
34
-
35
- {/* 标签页 */}
36
- <div class={styles.tabsContainer}>
37
- <el-tabs v-model={activeTab.value} class={styles.tabs}>
38
- <el-tab-pane label="陪练报告" name="coachReport">
39
- <CoachReport />
40
- </el-tab-pane>
41
- <el-tab-pane label="对话记录" name="dialogueRecord">
42
- <DialogueRecord />
43
- </el-tab-pane>
44
- </el-tabs>
45
- </div>
46
- </div>
47
- )
48
- }
49
- },
50
- })
@@ -1,25 +0,0 @@
1
- // 报告详情页面样式
2
- .reportDetail {
3
- padding: 20px;
4
- background: #fff;
5
- min-height: 100vh;
6
- }
7
-
8
- // 标签页容器
9
- .tabsContainer {
10
- margin-top: 24px;
11
- }
12
-
13
- .tabs {
14
- :global {
15
- .el-tabs__header {
16
- margin-bottom: 24px;
17
- }
18
-
19
- .el-tabs__item {
20
- font-size: 16px;
21
- font-weight: 500;
22
- }
23
- }
24
- }
25
-
@@ -1,196 +0,0 @@
1
- import { defineComponent, ref, computed, watch, onUnmounted, nextTick } from 'vue'
2
- import styles from './index.module.scss'
3
- import { Expand, DeleteFilled } from '@element-plus/icons-vue'
4
- import InputColumn from './inputColumn/index.jsx'
5
- import Sortable from 'sortablejs'
6
- export default defineComponent({
7
- // 脚本表格组件
8
- name: 'ScriptTable',
9
- props: {
10
- scripts: {
11
- type: Object,
12
- default: () => { },
13
- },
14
- },
15
- setup(props, { emit, attrs, slots }) {
16
- console.log(props.scripts);
17
- const labelEmu = {
18
- qaScripts: '问答脚本',
19
- proactiveScript: '主动脚本',
20
- }
21
- const type = ref('all')
22
- const activeName = ref('qaScripts')
23
-
24
- const tabs = computed(() => {
25
- const lsit = []
26
- for (const key in props.scripts) {
27
- lsit.push({
28
- label: labelEmu[key],
29
- value: props.scripts[key],
30
- key: key,
31
- })
32
- }
33
- return lsit
34
- })
35
-
36
- watch(() => props.scripts, (newVal, oldVal) => {
37
- console.log(newVal, oldVal, 'scripts变化');
38
-
39
- }, {
40
- deep: true,
41
- })
42
-
43
- const tableRef = ref(null)
44
- let sortable = null
45
- watch(() => tableRef.value, async (newVal, oldVal) => {
46
- if (newVal) {
47
- await nextTick()
48
- const tbody = tableRef.value?.$el.querySelector('.el-table__body-wrapper tbody')
49
- if (!tbody) return
50
- sortable?.destroy()
51
- sortable = Sortable.create(tbody, {
52
- animation: 150,
53
- handle: '.drag-cell', // 只有手柄能拖
54
- onEnd: evt => {
55
- const { oldIndex, newIndex } = evt
56
- if (oldIndex === undefined || newIndex === undefined) return
57
- const [removed] = props.scripts[activeName.value].splice(oldIndex, 1)
58
- props.scripts[activeName.value].splice(newIndex, 0, removed)
59
- },
60
- })
61
- }
62
- })
63
- onUnmounted(() => sortable?.destroy())
64
- return () => (
65
- <div class={styles.scriptTable}>
66
- {/* <el-button type="primary" size="small" onClick={() => {
67
- console.log(props.scripts[activeName.value]);
68
- }}>测试 </el-button> */}
69
- <div class={[styles.header]}>
70
- <div class={[styles.tabs]}>
71
- {
72
- tabs.value.map((item) => (
73
- <div
74
- class={[styles.tab, { [styles.active]: item.key === activeName.value }]}
75
- key={item.key}
76
- onClick={() => activeName.value = item.key}
77
- >
78
- {item.label} {item.value.length}
79
- </div>
80
- ))
81
- }
82
- </div>
83
- <div class={[styles.right]}>
84
- <span>学员需练习</span>
85
- <el-select size="small" v-model={type.value} style={{ width: '60px', marginLeft: '10px', marginRight: '10px' }}>
86
- {
87
- {
88
- default: () => (
89
- <>
90
- <el-option label="全部" value="all" />
91
- <el-option label="部分" value="partial" />
92
- </>
93
- ),
94
- }
95
- }
96
- </el-select>
97
- <span>话术</span>
98
- </div>
99
- </div>
100
- <div>
101
- <el-table
102
- ref={tableRef}
103
- data={props.scripts[activeName.value]}
104
- style={{ width: '100%' }}
105
- border
106
- size="small"
107
- row-key="id"
108
- headerCellStyle={{
109
- background: '#F8F8F8',
110
- color: '#303133',
111
- fontWeight: 'bold',
112
- }}
113
- >
114
- {{
115
- default: (scope) => (
116
- <>
117
- {
118
- attrs.isDraggable &&
119
-
120
- <el-table-column prop="order" label="排序" width="50px">
121
- {{
122
- default: (scope) => (
123
- <div class="drag-cell" style={{ display: 'flex', justifyContent: 'center', alignItems: 'center' }}>
124
- <el-icon style={{ cursor: 'grab' }} class={'drag-icon'} size={20}><Expand /></el-icon>
125
- </div>
126
- )
127
- }}
128
- </el-table-column>
129
- }
130
- <el-table-column prop="problemDesc" label="问题描述">
131
- {{
132
- default: (scope) => (
133
- <InputColumn scope={scope} tableColumn={{
134
- prop: 'problemDesc',
135
- label: '问题描述',
136
- }} />
137
- )
138
- }}
139
- </el-table-column>
140
- <el-table-column prop="standardScript" label="标准话术">
141
- {{
142
- default: (scope) => (
143
- <InputColumn scope={scope} tableColumn={{
144
- prop: 'standardScript',
145
- label: '标准话术',
146
- }} />
147
- )
148
- }}
149
- </el-table-column>
150
- <el-table-column prop="keyword" label="关键词">
151
- {{
152
- default: (scope) => (
153
- <InputColumn scope={scope} tableColumn={{
154
- prop: 'keyword',
155
- label: '关键词',
156
- placeholder: '请输入请输入请输入关键词,多个关键词用逗号分隔',
157
- tag: true,
158
- split: ',',
159
- noAiGenerate: true,
160
- }} />
161
- )
162
- }}
163
- </el-table-column>
164
- <el-table-column prop="aiScript" label="操作" width="50px">
165
- {{
166
- default: (scope) => (
167
- <el-icon style={{ cursor: 'pointer' }} ><DeleteFilled /></el-icon>
168
- )
169
- }}
170
- </el-table-column>
171
- {/* <InputColumn tableColumn={{
172
- prop: 'standardScript',
173
- label: '标准话术',
174
- }} />
175
- <InputColumn tableColumn={{
176
- prop: 'keyword',
177
- label: '关键词',
178
- }} /> */}
179
- </>
180
- ),
181
- }}
182
- </el-table>
183
- </div>
184
- <div>
185
- {
186
- attrs.footer && attrs.footer({
187
- labelEmu,
188
- activeName: activeName.value,
189
- type: type.value,
190
- })
191
- }
192
- </div>
193
- </div>
194
- )
195
- }
196
- })
@@ -1,41 +0,0 @@
1
- .scriptTable{
2
- .header{
3
- display: flex;
4
- justify-content: space-between;
5
- align-items: center;
6
- background-color: #F8F8F8;
7
- border: 1px solid #EBEEF5;
8
- border-bottom: none;
9
- padding: 10px;
10
- .tabs{
11
- display: flex;
12
- justify-content: flex-start;
13
- align-items: center;
14
- }
15
- .tab{
16
- padding: 5px 10px;
17
- cursor: pointer;
18
- }
19
- .tab.active{
20
- color: #FC6506;
21
- font-weight: bold;
22
- position: relative;
23
- &::after{
24
- content: '';
25
- position: absolute;
26
- bottom: -10px;
27
- left: 0;
28
- display: block;
29
- transform: translateX(50%);
30
- width: 50%;
31
- height: 2px;
32
- background-color: #FC6506;
33
- }
34
- }
35
- .right{
36
- display: flex;
37
- justify-content: flex-end;
38
- align-items: center;
39
- }
40
- }
41
- }