npmapps 1.1.6 → 1.3.1
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/README.md +41 -0
- package/files/part-002 +4 -0
- package/get.js +193 -0
- package/manifest.json +28 -0
- package/package.json +17 -10
- package/PUBLISH.md +0 -268
- package/app/wujie-wk/dev.log +0 -1979
- package/app/wujie-wk/t.html +0 -90
- package/app/wujie-wk/wujie-react-child/README.md +0 -126
- package/app/wujie-wk/wujie-react-child/eslint.config.js +0 -28
- package/app/wujie-wk/wujie-react-child/index.html +0 -13
- package/app/wujie-wk/wujie-react-child/package-lock.json +0 -4344
- package/app/wujie-wk/wujie-react-child/package.json +0 -32
- package/app/wujie-wk/wujie-react-child/public/vite.svg +0 -1
- package/app/wujie-wk/wujie-react-child/src/App.css +0 -0
- package/app/wujie-wk/wujie-react-child/src/App.tsx +0 -72
- package/app/wujie-wk/wujie-react-child/src/assets/react.svg +0 -1
- package/app/wujie-wk/wujie-react-child/src/components/FeatureCards.css +0 -63
- package/app/wujie-wk/wujie-react-child/src/components/FeatureCards.tsx +0 -112
- package/app/wujie-wk/wujie-react-child/src/components/LightCard/index.tsx +0 -36
- package/app/wujie-wk/wujie-react-child/src/components/LightCard/style.css +0 -20
- package/app/wujie-wk/wujie-react-child/src/hooks/use3DCard.ts +0 -53
- package/app/wujie-wk/wujie-react-child/src/hooks/useLightCard.ts +0 -141
- package/app/wujie-wk/wujie-react-child/src/index.css +0 -0
- package/app/wujie-wk/wujie-react-child/src/main.tsx +0 -8
- package/app/wujie-wk/wujie-react-child/src/pages/ChildToParent/index.css +0 -55
- package/app/wujie-wk/wujie-react-child/src/pages/ChildToParent/index.tsx +0 -88
- package/app/wujie-wk/wujie-react-child/src/pages/Css.tsx +0 -28
- package/app/wujie-wk/wujie-react-child/src/pages/Home.tsx +0 -72
- package/app/wujie-wk/wujie-react-child/src/pages/ParentToChild.css +0 -85
- package/app/wujie-wk/wujie-react-child/src/pages/ParentToChild.tsx +0 -119
- package/app/wujie-wk/wujie-react-child/src/pages/RouterJump/index.css +0 -61
- package/app/wujie-wk/wujie-react-child/src/pages/RouterJump/index.tsx +0 -87
- package/app/wujie-wk/wujie-react-child/src/router/index.tsx +0 -63
- package/app/wujie-wk/wujie-react-child/src/types/wujie.d.ts +0 -26
- package/app/wujie-wk/wujie-react-child/src/vite-env.d.ts +0 -1
- package/app/wujie-wk/wujie-react-child/tsconfig.app.json +0 -26
- package/app/wujie-wk/wujie-react-child/tsconfig.json +0 -7
- package/app/wujie-wk/wujie-react-child/tsconfig.node.json +0 -24
- package/app/wujie-wk/wujie-react-child/vite.config.ts +0 -10
- package/app/wujie-wk/wujie-vue2-child/.eslintrc.js +0 -19
- package/app/wujie-wk/wujie-vue2-child/README.md +0 -24
- package/app/wujie-wk/wujie-vue2-child/babel.config.js +0 -5
- package/app/wujie-wk/wujie-vue2-child/docs/superpowers/plans/2026-05-29-quill-editor.md +0 -836
- package/app/wujie-wk/wujie-vue2-child/docs/superpowers/specs/2026-05-29-quill-editor-design.md +0 -210
- package/app/wujie-wk/wujie-vue2-child/jsconfig.json +0 -19
- package/app/wujie-wk/wujie-vue2-child/package-lock.json +0 -21333
- package/app/wujie-wk/wujie-vue2-child/package.json +0 -63
- package/app/wujie-wk/wujie-vue2-child/postcss.config.js +0 -10
- package/app/wujie-wk/wujie-vue2-child/public/favicon.ico +0 -0
- package/app/wujie-wk/wujie-vue2-child/public/index.html +0 -17
- package/app/wujie-wk/wujie-vue2-child/public/rili.jpg +0 -0
- package/app/wujie-wk/wujie-vue2-child/public//344/270/200/351/224/256/351/273/221/346/232/227.html +0 -136
- package/app/wujie-wk/wujie-vue2-child/src/App.vue +0 -110
- package/app/wujie-wk/wujie-vue2-child/src/assets/bpmn-camunda.jpg +0 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/css/diagram.less +0 -17
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/Icon.less +0 -31
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app-codes.css +0 -26
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.eot +0 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.svg +0 -60
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.ttf +0 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.woff +0 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.woff2 +0 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/config.json +0 -248
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-bottom-tool.svg +0 -30
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-horizontal-center-tool.svg +0 -85
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-left-tool.svg +0 -84
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-right-tool.svg +0 -80
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-top-tool.svg +0 -84
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-vertical-center-tool.svg +0 -89
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/distribute-horizontally-tool.svg +0 -95
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/distribute-vertically-tool.svg +0 -99
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/set-color-tool.svg +0 -111
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-bottom-tool.svg +0 -30
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-horizontal-center-tool.svg +0 -30
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-left-tool.svg +0 -30
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-right-tool.svg +0 -30
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-top-tool.svg +0 -30
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-vertical-center-tool.svg +0 -30
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/distribute-horizontally-tool.svg +0 -30
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/distribute-vertically-tool.svg +0 -30
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/set-color-tool.svg +0 -63
- package/app/wujie-wk/wujie-vue2-child/src/assets/logo.png +0 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/EllTable/README.md +0 -70
- package/app/wujie-wk/wujie-vue2-child/src/components/EllTable/article.md +0 -184
- package/app/wujie-wk/wujie-vue2-child/src/components/EllTable/index.js +0 -213
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/CalendarSkeleton.vue +0 -147
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/CodeBlock.vue +0 -199
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/MonthSelect.vue +0 -376
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/README.md +0 -485
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/example.vue +0 -1747
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/index.vue +0 -2720
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/mockData.js +0 -475
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/recruitmentAdapter.js +0 -51
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/utils.js +0 -202
- package/app/wujie-wk/wujie-vue2-child/src/components/FormulaEditor/FunctionSelector.vue +0 -123
- package/app/wujie-wk/wujie-vue2-child/src/components/FormulaEditor/OperatorSelector.vue +0 -184
- package/app/wujie-wk/wujie-vue2-child/src/components/FormulaEditor/ParameterSelector.vue +0 -123
- package/app/wujie-wk/wujie-vue2-child/src/components/FormulaEditor/api.js +0 -69
- package/app/wujie-wk/wujie-vue2-child/src/components/FormulaEditor/index.vue +0 -435
- package/app/wujie-wk/wujie-vue2-child/src/components/HelloWorld.vue +0 -58
- package/app/wujie-wk/wujie-vue2-child/src/components/PageHeader/index.vue +0 -158
- package/app/wujie-wk/wujie-vue2-child/src/components/Splitter/README.md +0 -144
- package/app/wujie-wk/wujie-vue2-child/src/components/Splitter/example.vue +0 -84
- package/app/wujie-wk/wujie-vue2-child/src/components/Splitter/index.vue +0 -203
- package/app/wujie-wk/wujie-vue2-child/src/components/diagram/ToolBar.vue +0 -357
- package/app/wujie-wk/wujie-vue2-child/src/components/diagram/customTranslate/customTranslate.js +0 -12
- package/app/wujie-wk/wujie-vue2-child/src/components/diagram/customTranslate/translationsGerman.js +0 -241
- package/app/wujie-wk/wujie-vue2-child/src/components/diagram/index.vue +0 -261
- package/app/wujie-wk/wujie-vue2-child/src/components/diagram/xmlData.js +0 -29
- package/app/wujie-wk/wujie-vue2-child/src/directives/filldown.js +0 -155
- package/app/wujie-wk/wujie-vue2-child/src/directives/filldownTable.js +0 -291
- package/app/wujie-wk/wujie-vue2-child/src/main.js +0 -40
- package/app/wujie-wk/wujie-vue2-child/src/router/index.js +0 -72
- package/app/wujie-wk/wujie-vue2-child/src/store/index.js +0 -23
- package/app/wujie-wk/wujie-vue2-child/src/utils/winBox.js +0 -23
- package/app/wujie-wk/wujie-vue2-child/src/views/Extend/A.vue +0 -12
- package/app/wujie-wk/wujie-vue2-child/src/views/Extend/B.vue +0 -10
- package/app/wujie-wk/wujie-vue2-child/src/views/Extend/MagicalComponentsForELFormItem.vue +0 -78
- package/app/wujie-wk/wujie-vue2-child/src/views/Extend/index.vue +0 -59
- package/app/wujie-wk/wujie-vue2-child/src/views/Extend/tableMouseHorizontalWheel.vue +0 -184
- package/app/wujie-wk/wujie-vue2-child/src/views/Home.vue +0 -27
- package/app/wujie-wk/wujie-vue2-child/src/views/RouterJump.vue +0 -145
- package/app/wujie-wk/wujie-vue2-child/src/views/calendar/index.vue +0 -19
- package/app/wujie-wk/wujie-vue2-child/src/views/css.vue +0 -57
- package/app/wujie-wk/wujie-vue2-child/src/views/cssComponents/EllipsisText.vue +0 -73
- package/app/wujie-wk/wujie-vue2-child/src/views/cssComponents/HoverCard.vue +0 -69
- package/app/wujie-wk/wujie-vue2-child/src/views/cssComponents/TableHover.vue +0 -130
- package/app/wujie-wk/wujie-vue2-child/src/views/cssComponents/inputSlo.vue +0 -42
- package/app/wujie-wk/wujie-vue2-child/src/views/cssComponents/tableFixed.vue +0 -148
- package/app/wujie-wk/wujie-vue2-child/src/views/echarts/echart-dome.vue +0 -73
- package/app/wujie-wk/wujie-vue2-child/src/views/echarts/index.vue +0 -118
- package/app/wujie-wk/wujie-vue2-child/src/views/echarts/pei3d.vue +0 -658
- package/app/wujie-wk/wujie-vue2-child/src/views/element/bpmn/index.vue +0 -15
- package/app/wujie-wk/wujie-vue2-child/src/views/element/components/attendanceCycle/index.vue +0 -131
- package/app/wujie-wk/wujie-vue2-child/src/views/element/components/attendanceGroup/index.vue +0 -147
- package/app/wujie-wk/wujie-vue2-child/src/views/element/components/attendancePersonnel/index.vue +0 -158
- package/app/wujie-wk/wujie-vue2-child/src/views/element/components/companyCalendar/index.vue +0 -147
- package/app/wujie-wk/wujie-vue2-child/src/views/element/components/shift/index.vue +0 -147
- package/app/wujie-wk/wujie-vue2-child/src/views/element/components/shiftRotationSystem/index.vue +0 -147
- package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/columnManagement.vue +0 -340
- package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/dialogInput.vue +0 -71
- package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/elTableJsx.vue +0 -1826
- package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/formTable.vue +0 -595
- package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/index.vue +0 -29
- package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/simpleTable.vue +0 -189
- package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx.zip +0 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/index.vue +0 -39
- package/app/wujie-wk/wujie-vue2-child/src/views/element/quillEditor/README.md +0 -163
- package/app/wujie-wk/wujie-vue2-child/src/views/element/quillEditor/example.vue +0 -307
- package/app/wujie-wk/wujie-vue2-child/src/views/element/quillEditor/index.vue +0 -409
- package/app/wujie-wk/wujie-vue2-child/src/views/element/quillEditor/toolbar.js +0 -122
- package/app/wujie-wk/wujie-vue2-child/vue.config.js +0 -15
- package/app/wujie-wk/wujie-vue3-child/.claude/settings.local.json +0 -8
- package/app/wujie-wk/wujie-vue3-child/.vscode/extensions.json +0 -3
- package/app/wujie-wk/wujie-vue3-child/PROJECT_MEMORY.md +0 -427
- package/app/wujie-wk/wujie-vue3-child/README.md +0 -5
- package/app/wujie-wk/wujie-vue3-child/index.html +0 -13
- package/app/wujie-wk/wujie-vue3-child/package-lock.json +0 -5744
- package/app/wujie-wk/wujie-vue3-child/package.json +0 -28
- package/app/wujie-wk/wujie-vue3-child/public/vite.svg +0 -1
- package/app/wujie-wk/wujie-vue3-child/src/App.vue +0 -130
- package/app/wujie-wk/wujie-vue3-child/src/assets/vue.svg +0 -1
- package/app/wujie-wk/wujie-vue3-child/src/components/HelloWorld.vue +0 -43
- package/app/wujie-wk/wujie-vue3-child/src/components/SmartAnchorTabs/index.jsx +0 -224
- package/app/wujie-wk/wujie-vue3-child/src/components/SmartAnchorTabs/style.css +0 -154
- package/app/wujie-wk/wujie-vue3-child/src/components/tags-view.vue +0 -193
- package/app/wujie-wk/wujie-vue3-child/src/components/tags-view1.vue +0 -131
- package/app/wujie-wk/wujie-vue3-child/src/directives/aiLoading.js +0 -182
- package/app/wujie-wk/wujie-vue3-child/src/hooks/useClickOutside.js +0 -11
- package/app/wujie-wk/wujie-vue3-child/src/hooks/useTableDragSort.js +0 -28
- package/app/wujie-wk/wujie-vue3-child/src/main.js +0 -18
- package/app/wujie-wk/wujie-vue3-child/src/router/index.js +0 -104
- package/app/wujie-wk/wujie-vue3-child/src/store/tagsViewStroe.js +0 -34
- package/app/wujie-wk/wujie-vue3-child/src/style.css +0 -171
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/collapseExpand/index.jsx +0 -108
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/collapseExpand/index.module.scss +0 -97
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/README.md +0 -836
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/REFLEX_EXAMPLES.md +0 -728
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentPersonnelSelector.jsx +0 -687
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentPersonnelSelector.module.scss +0 -560
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelector.jsx +0 -570
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelector.module.scss +0 -330
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelectorV2.jsx +0 -378
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelectorV2.module.scss +0 -228
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/OptionsSelector.jsx +0 -399
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/OptionsSelector.module.scss +0 -252
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PersonnelSelector.jsx +0 -585
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PersonnelSelector.module.scss +0 -331
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PopoverSelector.jsx +0 -392
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PopoverSelector.module.scss +0 -39
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/README.md +0 -248
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/SelectorTrigger.jsx +0 -194
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/index.jsx +0 -1459
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/mockData.js +0 -301
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/dialogueSegment/index.jsx +0 -182
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/dialogueSegment/index.module.scss +0 -28
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/index.jsx +0 -375
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ChartsPanel/index.jsx +0 -121
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ChartsPanel/index.module.scss +0 -76
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/DonutChart/index.jsx +0 -104
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/PracticeTable/index.jsx +0 -75
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/PracticeTable/index.module.scss +0 -12
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankBarChart/index.jsx +0 -62
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankBarChart/index.module.scss +0 -43
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingGroup/index.jsx +0 -29
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingGroup/index.module.scss +0 -5
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingList/index.jsx +0 -58
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingList/index.module.scss +0 -85
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ScriptStatsPanel/index.jsx +0 -92
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ScriptStatsPanel/index.module.scss +0 -56
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/StatCardsRow/index.jsx +0 -40
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/StatCardsRow/index.module.scss +0 -53
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/echarts/EchartsDonut.jsx +0 -106
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/echarts/EchartsRankBar.jsx +0 -132
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/index.jsx +0 -176
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/index.module.scss +0 -96
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/CoachReport/index.jsx +0 -162
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/CoachReport/index.module.scss +0 -16
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ComprehensiveEvaluation/index.jsx +0 -29
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ComprehensiveEvaluation/index.module.scss +0 -25
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueBubble/index.jsx +0 -106
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueBubble/index.module.scss +0 -164
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueRecord/index.jsx +0 -182
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueRecord/index.module.scss +0 -203
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionDetail/index.jsx +0 -145
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionDetail/index.module.scss +0 -126
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionScores/index.jsx +0 -67
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionScores/index.module.scss +0 -105
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ReportHeader/index.jsx +0 -81
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ReportHeader/index.module.scss +0 -47
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/RoleInfo/index.jsx +0 -64
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/RoleInfo/index.module.scss +0 -85
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ScoreBadge/index.jsx +0 -39
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ScoreBadge/index.module.scss +0 -44
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/SubDimensionItem/index.jsx +0 -83
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/SubDimensionItem/index.module.scss +0 -101
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/index.jsx +0 -50
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/index.module.scss +0 -25
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/index.jsx +0 -196
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/index.module.scss +0 -41
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/inputColumn/index.jsx +0 -183
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/inputColumn/index.module.scss +0 -115
- package/app/wujie-wk/wujie-vue3-child/src/views/child-to-parent.vue +0 -117
- package/app/wujie-wk/wujie-vue3-child/src/views/home.vue +0 -53
- package/app/wujie-wk/wujie-vue3-child/src/views/jsx/btnSelect/btnSelect.vue +0 -169
- package/app/wujie-wk/wujie-vue3-child/src/views/jsx/btnSelect/index.vue +0 -69
- package/app/wujie-wk/wujie-vue3-child/src/views/jsx/com.vue +0 -44
- package/app/wujie-wk/wujie-vue3-child/src/views/jsx/dialog.jsx +0 -66
- package/app/wujie-wk/wujie-vue3-child/src/views/jsx/index.vue +0 -72
- package/app/wujie-wk/wujie-vue3-child/src/views/jsx/props.vue +0 -33
- package/app/wujie-wk/wujie-vue3-child/src/views/parent-to-child.vue +0 -225
- package/app/wujie-wk/wujie-vue3-child/src/views/phone-code.vue +0 -318
- package/app/wujie-wk/wujie-vue3-child/src/views/router-jump.vue +0 -123
- package/app/wujie-wk/wujie-vue3-child/src/views/test.vue +0 -192
- package/app/wujie-wk/wujie-vue3-child/vite.config.js +0 -15
- package/app/wujie-wk/wujie-vue3-child copy/.vscode/extensions.json +0 -3
- package/app/wujie-wk/wujie-vue3-child copy/README.md +0 -5
- package/app/wujie-wk/wujie-vue3-child copy/index.html +0 -13
- package/app/wujie-wk/wujie-vue3-child copy/package-lock.json +0 -4617
- package/app/wujie-wk/wujie-vue3-child copy/package.json +0 -22
- package/app/wujie-wk/wujie-vue3-child copy/public/vite.svg +0 -1
- package/app/wujie-wk/wujie-vue3-child copy/src/App.vue +0 -124
- package/app/wujie-wk/wujie-vue3-child copy/src/assets/vue.svg +0 -1
- package/app/wujie-wk/wujie-vue3-child copy/src/components/HelloWorld.vue +0 -43
- package/app/wujie-wk/wujie-vue3-child copy/src/main.js +0 -12
- package/app/wujie-wk/wujie-vue3-child copy/src/router/index.js +0 -84
- package/app/wujie-wk/wujie-vue3-child copy/src/style.css +0 -4
- package/app/wujie-wk/wujie-vue3-child copy/src/views/child-to-parent.vue +0 -117
- package/app/wujie-wk/wujie-vue3-child copy/src/views/home.vue +0 -53
- package/app/wujie-wk/wujie-vue3-child copy/src/views/parent-to-child.vue +0 -225
- package/app/wujie-wk/wujie-vue3-child copy/src/views/phone-code.vue +0 -318
- package/app/wujie-wk/wujie-vue3-child copy/src/views/router-jump.vue +0 -115
- package/app/wujie-wk/wujie-vue3-child copy/src/views/test.vue +0 -192
- package/app/wujie-wk/wujie-vue3-child copy/vite.config.js +0 -10
- package/app/wujie-wk/wujie-vue3-main/.vscode/extensions.json +0 -3
- package/app/wujie-wk/wujie-vue3-main/README.md +0 -154
- package/app/wujie-wk/wujie-vue3-main/index.html +0 -13
- package/app/wujie-wk/wujie-vue3-main/package-lock.json +0 -4736
- package/app/wujie-wk/wujie-vue3-main/package.json +0 -25
- package/app/wujie-wk/wujie-vue3-main/public/vite.svg +0 -1
- package/app/wujie-wk/wujie-vue3-main/src/App.vue +0 -879
- package/app/wujie-wk/wujie-vue3-main/src/assets/vue.svg +0 -1
- package/app/wujie-wk/wujie-vue3-main/src/components/HelloWorld.vue +0 -43
- package/app/wujie-wk/wujie-vue3-main/src/components/WujieReact/index.vue +0 -20
- package/app/wujie-wk/wujie-vue3-main/src/components/WujieVue2/index.vue +0 -8
- package/app/wujie-wk/wujie-vue3-main/src/components/WujieVue3/index.vue +0 -8
- package/app/wujie-wk/wujie-vue3-main/src/components/WujieVue3Copy/index.vue +0 -8
- package/app/wujie-wk/wujie-vue3-main/src/main.js +0 -23
- package/app/wujie-wk/wujie-vue3-main/src/router/index.js +0 -88
- package/app/wujie-wk/wujie-vue3-main/src/store/useMicroAppStore.js +0 -66
- package/app/wujie-wk/wujie-vue3-main/src/style.css +0 -3
- package/app/wujie-wk/wujie-vue3-main/src/views/home.vue +0 -103
- package/app/wujie-wk/wujie-vue3-main/src/views/router-jump.vue +0 -159
- package/app/wujie-wk/wujie-vue3-main/src/views/test.vue +0 -125
- package/app/wujie-wk/wujie-vue3-main/src/views/vue3-child-msg.vue +0 -108
- package/app/wujie-wk/wujie-vue3-main/vite.config.js +0 -12
|
@@ -1,427 +0,0 @@
|
|
|
1
|
-
# 项目记忆文件 - wujie-vue3-child
|
|
2
|
-
|
|
3
|
-
## 项目概述
|
|
4
|
-
|
|
5
|
-
**项目名称**: wujie-vue3-child
|
|
6
|
-
**项目类型**: Vue 3 微前端子应用
|
|
7
|
-
**构建工具**: Vite 6.0.5
|
|
8
|
-
**开发端口**: 3001
|
|
9
|
-
|
|
10
|
-
这是一个基于 Vue3 + Vite 的微前端子应用,使用无界(wujie)框架集成到主应用中。项目采用现代化技术栈,实现了智能教练业务系统。
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## 核心技术栈
|
|
15
|
-
|
|
16
|
-
### 框架与构建
|
|
17
|
-
- **Vue 3.5.13** - Composition API
|
|
18
|
-
- **Vite 6.0.5** - 现代化构建工具
|
|
19
|
-
- **Vue Router 4.5.0** - 路由管理
|
|
20
|
-
- **Pinia 2.3.0** - 状态管理
|
|
21
|
-
- **Element Plus 2.9.1** - UI 组件库
|
|
22
|
-
|
|
23
|
-
### 工具库
|
|
24
|
-
- **ECharts 6.0.0** - 数据可视化
|
|
25
|
-
- **Day.js 1.11.13** - 日期处理
|
|
26
|
-
- **Lodash 4.17.21** - 工具函数
|
|
27
|
-
- **vuedraggable 4.1.0** - 拖拽功能
|
|
28
|
-
- **Sass 1.83.0** - CSS 预处理器
|
|
29
|
-
|
|
30
|
-
### 特色能力
|
|
31
|
-
- **JSX 支持** - 通过 @vitejs/plugin-vue-jsx
|
|
32
|
-
- **CSS Modules** - 样式模块化隔离
|
|
33
|
-
- **微前端通信** - 基于 wujie 事件总线
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## 项目结构
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
src/
|
|
41
|
-
├── assets/ # 资源文件
|
|
42
|
-
├── components/ # 公共组件
|
|
43
|
-
│ └── tags-view.vue # 标签页管理(可拖拽)
|
|
44
|
-
├── hooks/ # 组合式 API 钩子
|
|
45
|
-
│ ├── useClickOutside.js # 点击外部检测
|
|
46
|
-
│ └── useTableDragSort.js # 表格拖拽排序
|
|
47
|
-
├── router/ # 路由配置
|
|
48
|
-
├── store/ # Pinia 状态管理
|
|
49
|
-
│ └── tagsViewStroe.js # 标签页状态
|
|
50
|
-
├── views/ # 页面视图
|
|
51
|
-
│ ├── aiCoach/ # 🎯 智能教练核心模块
|
|
52
|
-
│ │ ├── collapseExpand/ # 可拖拽折叠列表
|
|
53
|
-
│ │ ├── dialogueSegment/ # 对话环节管理
|
|
54
|
-
│ │ ├── practiceStatus/ # 练习情况统计
|
|
55
|
-
│ │ │ └── components/ # 细粒度组件
|
|
56
|
-
│ │ │ ├── ChartsPanel/ # 图表面板
|
|
57
|
-
│ │ │ ├── DonutChart/ # 环形图
|
|
58
|
-
│ │ │ ├── echarts/ # ECharts 图表
|
|
59
|
-
│ │ │ ├── PracticeTable/ # 练习表格
|
|
60
|
-
│ │ │ ├── RankingList/ # 排名列表
|
|
61
|
-
│ │ │ └── StatCardsRow/ # 统计卡片
|
|
62
|
-
│ │ ├── reportDetail/ # ✨ 报告详情(新增)
|
|
63
|
-
│ │ │ ├── components/
|
|
64
|
-
│ │ │ │ ├── ScoreBadge/ # 分数徽章
|
|
65
|
-
│ │ │ │ ├── ReportHeader/ # 报告头部
|
|
66
|
-
│ │ │ │ ├── DimensionScores/ # 维度评分
|
|
67
|
-
│ │ │ │ ├── ComprehensiveEvaluation/ # 综合评价
|
|
68
|
-
│ │ │ │ ├── RoleInfo/ # 角色信息
|
|
69
|
-
│ │ │ │ ├── DialogueBubble/ # 对话气泡
|
|
70
|
-
│ │ │ │ ├── SubDimensionItem/ # 子维度项
|
|
71
|
-
│ │ │ │ └── DimensionDetail/ # 维度详情
|
|
72
|
-
│ │ │ ├── index.jsx
|
|
73
|
-
│ │ │ └── index.module.scss
|
|
74
|
-
│ │ └── scriptTable/ # 脚本表格
|
|
75
|
-
│ ├── jsx/ # JSX 示例
|
|
76
|
-
│ ├── child-to-parent.vue # 子→父通信
|
|
77
|
-
│ ├── parent-to-child.vue # 父→子通信
|
|
78
|
-
│ ├── router-jump.vue # 路由跳转
|
|
79
|
-
│ ├── phone-code.vue # 验证码组件
|
|
80
|
-
│ └── home.vue # 首页
|
|
81
|
-
├── App.vue
|
|
82
|
-
└── main.js
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
## 核心功能模块
|
|
88
|
-
|
|
89
|
-
### 1. 智能教练 (aiCoach)
|
|
90
|
-
|
|
91
|
-
**入口**: `/ai-coach`
|
|
92
|
-
**文件**: `src/views/aiCoach/index.jsx`
|
|
93
|
-
|
|
94
|
-
#### 对话环节 (dialogueSegment)
|
|
95
|
-
- 管理多个对话环节,每个环节包含:
|
|
96
|
-
- 环节标题和目标描述
|
|
97
|
-
- 问答脚本 (qaScripts)
|
|
98
|
-
- 主动脚本 (proactiveScript)
|
|
99
|
-
- 支持拖拽排序、添加/删除、AI 生成话术
|
|
100
|
-
|
|
101
|
-
#### 练习情况 (practiceStatus)
|
|
102
|
-
**计划统计标签页**:
|
|
103
|
-
- 6 个统计卡片:总学员、完成率、平均练习次数等
|
|
104
|
-
- 进度环形图 + 时长/分数排名图
|
|
105
|
-
- 学员练习明细表格(分页)
|
|
106
|
-
- 支持部门和职务筛选
|
|
107
|
-
|
|
108
|
-
**剧本统计标签页**:
|
|
109
|
-
- 展示剧本相关统计
|
|
110
|
-
|
|
111
|
-
**技术特点**:
|
|
112
|
-
- 同时支持 CSS 和 ECharts 两种图表渲染方式
|
|
113
|
-
- 高度模块化组件设计,每个 UI 区块对应一个组件
|
|
114
|
-
- 使用 CSS Modules 实现样式隔离
|
|
115
|
-
|
|
116
|
-
#### 报告详情 (reportDetail) ✨ 新增
|
|
117
|
-
|
|
118
|
-
**入口**: `/ai-coach` → "报告详情" 标签页
|
|
119
|
-
**文件**: `src/views/aiCoach/reportDetail/index.jsx`
|
|
120
|
-
|
|
121
|
-
**页面结构**(垂直滚动布局):
|
|
122
|
-
|
|
123
|
-
1. **报告头部区域**:
|
|
124
|
-
- 左侧:报告标题、时间、轮次、时长
|
|
125
|
-
- 右侧:六边形分数徽章(显示得分和达标状态)
|
|
126
|
-
- 支持"中途退出"标签显示
|
|
127
|
-
|
|
128
|
-
2. **总览区域**(左右两栏):
|
|
129
|
-
- 左侧:陪练报告
|
|
130
|
-
- 5个维度评分进度条(话术准确度、语言组织、需求倾听记录、产品介绍解答、产品推荐促成)
|
|
131
|
-
- 进度条颜色根据得分自动分级(绿色/橙色/红色)
|
|
132
|
-
- 底部显示"0分-通过-满分"标注
|
|
133
|
-
- 陪练角色信息卡片
|
|
134
|
-
- 右侧:综合评价文字
|
|
135
|
-
|
|
136
|
-
3. **话术准确度详情**:
|
|
137
|
-
- 维度标题栏(icon + 名称 + 得分)
|
|
138
|
-
- 高分话术示例
|
|
139
|
-
- 对话气泡(客户问题 + AI回答)
|
|
140
|
-
- 得分卡片:
|
|
141
|
-
- 总分显示(带表情)
|
|
142
|
-
- 得分明细(关键词、语义准确等)
|
|
143
|
-
- 关键词标签展示
|
|
144
|
-
- 指导建议
|
|
145
|
-
|
|
146
|
-
4. **语言组织详情**:
|
|
147
|
-
- 维度标题栏
|
|
148
|
-
- 说明文字
|
|
149
|
-
- 3个子维度评分:
|
|
150
|
-
- 易于理解(进度条 + 评价)
|
|
151
|
-
- 逻辑性(进度条 + 评价)
|
|
152
|
-
- 亲和力(进度条 + 评价)
|
|
153
|
-
|
|
154
|
-
**组件列表**(8个子组件):
|
|
155
|
-
- `ScoreBadge` - 六边形分数徽章,支持达标/未达标状态
|
|
156
|
-
- `ReportHeader` - 报告头部,橙色渐变背景
|
|
157
|
-
- `DimensionScores` - 维度评分进度条列表
|
|
158
|
-
- `ComprehensiveEvaluation` - 综合评价文字区域
|
|
159
|
-
- `RoleInfo` - 陪练角色信息卡片
|
|
160
|
-
- `DialogueBubble` - 对话气泡(含得分卡片)
|
|
161
|
-
- `SubDimensionItem` - 子维度评分项
|
|
162
|
-
- `DimensionDetail` - 维度详情容器(支持对话和子维度两种类型)
|
|
163
|
-
|
|
164
|
-
**数据结构**:
|
|
165
|
-
```javascript
|
|
166
|
-
// 头部数据
|
|
167
|
-
{ title, isQuit, practiceTime, rounds, duration, score, isPassed }
|
|
168
|
-
|
|
169
|
-
// 维度数据
|
|
170
|
-
{ name, score, total, color } // color: green|orange|red
|
|
171
|
-
|
|
172
|
-
// 对话数据
|
|
173
|
-
{ question, answer, score }
|
|
174
|
-
|
|
175
|
-
// 子维度数据
|
|
176
|
-
{ name, score, total, comment }
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
**设计特点**:
|
|
180
|
-
- 完整还原UI设计,垂直滚动布局
|
|
181
|
-
- 所有组件使用 CSS Modules 样式隔离
|
|
182
|
-
- 完整的模拟数据,方便开发和调试
|
|
183
|
-
- 高度组件化,易于复用和维护
|
|
184
|
-
|
|
185
|
-
### 2. 微前端通信
|
|
186
|
-
|
|
187
|
-
#### 全局事件总线
|
|
188
|
-
```javascript
|
|
189
|
-
window.$wujie?.bus
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
#### 通信方式
|
|
193
|
-
1. **子→父通信**: `$emit('child-event', data)`
|
|
194
|
-
2. **父→子通信**: `$on('vue3-child-message', callback)`
|
|
195
|
-
3. **跨应用路由跳转**: `$emit('router-jump', { app, path, query })`
|
|
196
|
-
|
|
197
|
-
### 3. 其他功能
|
|
198
|
-
- **标签页管理**: 可拖拽的多标签页系统
|
|
199
|
-
- **验证码输入**: 6 位验证码组件,支持自动跳转
|
|
200
|
-
- **JSX 示例**: 按钮下拉框、对话框等
|
|
201
|
-
|
|
202
|
-
---
|
|
203
|
-
|
|
204
|
-
## 路由配置
|
|
205
|
-
|
|
206
|
-
| 路径 | 名称 | 组件 | 说明 |
|
|
207
|
-
|------|------|------|------|
|
|
208
|
-
| `/` | home | Home | 首页 |
|
|
209
|
-
| `/contact/child-to-parent` | child-to-parent | ChildToParent | 子通知父 |
|
|
210
|
-
| `/contact/parent-to-child` | parent-to-child | ParentToChild | 父通知子 |
|
|
211
|
-
| `/phone-code` | phone-code | PhoneCode | 验证码 |
|
|
212
|
-
| `/router-jump` | router-jump | RouterJump | 路由跳转 |
|
|
213
|
-
| `/jsx` | jsx | index.vue | JSX示例 |
|
|
214
|
-
| `/ai-coach` | ai-coach | index.jsx | 智能教练 |
|
|
215
|
-
| `/test` | test | Test | 测试页面 |
|
|
216
|
-
|
|
217
|
-
**路由模式**: History 模式
|
|
218
|
-
|
|
219
|
-
---
|
|
220
|
-
|
|
221
|
-
## 状态管理
|
|
222
|
-
|
|
223
|
-
### tagsViewStore
|
|
224
|
-
|
|
225
|
-
**文件**: `src/store/tagsViewStroe.js`
|
|
226
|
-
|
|
227
|
-
**State**:
|
|
228
|
-
- `tagsViewList`: 标签页列表
|
|
229
|
-
|
|
230
|
-
**Actions**:
|
|
231
|
-
- `addTagsView(tag)` - 添加标签页
|
|
232
|
-
- `removeTagsView(tag)` - 移除标签页
|
|
233
|
-
- `removeOtherTagsView(tag)` - 移除其他标签页
|
|
234
|
-
- `clearTagsView()` - 清空所有标签页
|
|
235
|
-
- `setTagsViewList(tagsList)` - 设置标签页列表
|
|
236
|
-
|
|
237
|
-
---
|
|
238
|
-
|
|
239
|
-
## 核心组件
|
|
240
|
-
|
|
241
|
-
### 1. tags-view.vue
|
|
242
|
-
**路径**: `src/components/tags-view.vue`
|
|
243
|
-
|
|
244
|
-
**功能**:
|
|
245
|
-
- 标签页视图管理
|
|
246
|
-
- 使用 vuedraggable 实现拖拽排序
|
|
247
|
-
- 支持右键菜单(关闭标签/关闭其他/关闭所有)
|
|
248
|
-
- 监听路由变化自动添加标签
|
|
249
|
-
- 使用 lodash throttle 优化性能
|
|
250
|
-
|
|
251
|
-
### 2. CollapseExpand
|
|
252
|
-
**路径**: `src/views/aiCoach/collapseExpand/index.jsx`
|
|
253
|
-
|
|
254
|
-
**功能**:
|
|
255
|
-
- 可拖拽的折叠展开列表组件
|
|
256
|
-
- 基于 Element Plus el-collapse 封装
|
|
257
|
-
- 支持自定义标题和内容插槽
|
|
258
|
-
- 支持删除操作(带确认)
|
|
259
|
-
|
|
260
|
-
### 3. ScriptTable
|
|
261
|
-
**路径**: `src/views/aiCoach/scriptTable/index.jsx`
|
|
262
|
-
|
|
263
|
-
**功能**:
|
|
264
|
-
- 脚本表格组件
|
|
265
|
-
- 支持问答脚本和主动脚本切换
|
|
266
|
-
- 使用 Sortable.js 实现表格行拖拽排序
|
|
267
|
-
- 包含 InputColumn 子组件用于单元格编辑
|
|
268
|
-
|
|
269
|
-
### 4. PracticeStatus 组件群
|
|
270
|
-
**路径**: `src/views/aiCoach/practiceStatus/components/`
|
|
271
|
-
|
|
272
|
-
**设计原则**: 高度模块化,单一职责
|
|
273
|
-
|
|
274
|
-
**组件列表**:
|
|
275
|
-
- `StatCardsRow` - 统计卡片行
|
|
276
|
-
- `ChartsPanel` - 图表面板容器
|
|
277
|
-
- `DonutChart` / `EchartsDonut` - 环形图(CSS/ECharts双实现)
|
|
278
|
-
- `RankBarChart` / `EchartsRankBar` - 排名柱状图(CSS/ECharts双实现)
|
|
279
|
-
- `RankingGroup` - 排名组容器
|
|
280
|
-
- `RankingList` - 排名列表
|
|
281
|
-
- `PracticeTable` - 练习明细表格
|
|
282
|
-
- `ScriptStatsPanel` - 剧本统计面板
|
|
283
|
-
|
|
284
|
-
---
|
|
285
|
-
|
|
286
|
-
## 自定义 Hooks
|
|
287
|
-
|
|
288
|
-
### useClickOutside
|
|
289
|
-
**路径**: `src/hooks/useClickOutside.js`
|
|
290
|
-
|
|
291
|
-
**功能**: 检测点击元素外部区域
|
|
292
|
-
|
|
293
|
-
**参数**:
|
|
294
|
-
- `elRef` - 目标元素引用
|
|
295
|
-
- `handler` - 点击外部时的回调函数
|
|
296
|
-
|
|
297
|
-
**特点**: 自动管理事件监听器的添加和移除
|
|
298
|
-
|
|
299
|
-
### useTableDragSort
|
|
300
|
-
**路径**: `src/hooks/useTableDragSort.js`
|
|
301
|
-
|
|
302
|
-
**功能**: Element Plus 表格拖拽排序
|
|
303
|
-
|
|
304
|
-
**特点**:
|
|
305
|
-
- 基于 Sortable.js 封装
|
|
306
|
-
- 支持指定拖拽手柄
|
|
307
|
-
- 自动管理实例销毁
|
|
308
|
-
- 响应式数据同步
|
|
309
|
-
|
|
310
|
-
---
|
|
311
|
-
|
|
312
|
-
## 代码组织方式
|
|
313
|
-
|
|
314
|
-
### 组件编写风格
|
|
315
|
-
- **SFC (`.vue`)**: 简单页面和表单类组件,使用 `<script setup>`
|
|
316
|
-
- **JSX (`.jsx`)**: 复杂动态组件和条件渲染多的组件
|
|
317
|
-
|
|
318
|
-
### 样式组织
|
|
319
|
-
- **全局样式**: `src/style.css`(极简,仅重置)
|
|
320
|
-
- **SFC组件**: 使用 `<style scoped>`
|
|
321
|
-
- **JSX组件**: 使用 CSS Modules (`.module.scss`)
|
|
322
|
-
|
|
323
|
-
### 模块化设计
|
|
324
|
-
- 按功能模块划分目录
|
|
325
|
-
- 单一职责原则:每个组件只负责一个 UI 区块
|
|
326
|
-
- 通用组件放在 `components/`,业务组件放在 `views/` 对应模块下
|
|
327
|
-
|
|
328
|
-
### 数据流
|
|
329
|
-
- **Props Down, Events Up** 原则
|
|
330
|
-
- 使用 Pinia 管理跨组件状态
|
|
331
|
-
- 父组件准备数据,子组件通过 props 接收
|
|
332
|
-
|
|
333
|
-
---
|
|
334
|
-
|
|
335
|
-
## 技术亮点
|
|
336
|
-
|
|
337
|
-
1. ✅ **Vue3 Composition API** - 全面使用组合式 API
|
|
338
|
-
2. ✅ **JSX 支持** - 复杂组件使用 JSX 提高开发效率
|
|
339
|
-
3. ✅ **CSS Modules** - 样式模块化和命名空间隔离
|
|
340
|
-
4. ✅ **拖拽功能** - vuedraggable + Sortable.js
|
|
341
|
-
5. ✅ **微前端通信** - 基于 wujie 事件总线
|
|
342
|
-
6. ✅ **图表双模式** - 同时支持 CSS 和 ECharts
|
|
343
|
-
7. ✅ **组件化设计** - 高度模块化,职责清晰
|
|
344
|
-
8. ✅ **自定义 Hooks** - 封装可复用的组合式逻辑
|
|
345
|
-
9. ✅ **Pinia 状态管理** - Vue3 官方推荐方案
|
|
346
|
-
10. ✅ **Element Plus** - 成熟 UI 组件库
|
|
347
|
-
|
|
348
|
-
---
|
|
349
|
-
|
|
350
|
-
## 最近更新
|
|
351
|
-
|
|
352
|
-
根据 Git 提交记录:
|
|
353
|
-
|
|
354
|
-
1. **重构练习状态页面** - 将组件拆分为独立模块
|
|
355
|
-
2. **支持隐藏图例** - 优化图表按钮样式
|
|
356
|
-
3. **调整环形图** - 半径和标签显示样式优化
|
|
357
|
-
4. **添加 ECharts 图表** - 支持切换显示
|
|
358
|
-
|
|
359
|
-
---
|
|
360
|
-
|
|
361
|
-
## 关键文件路径
|
|
362
|
-
|
|
363
|
-
**配置文件**:
|
|
364
|
-
- `package.json` - 项目依赖配置
|
|
365
|
-
- `vite.config.js` - Vite 构建配置
|
|
366
|
-
- `index.html` - HTML 入口
|
|
367
|
-
|
|
368
|
-
**核心文件**:
|
|
369
|
-
- `src/main.js` - 应用入口
|
|
370
|
-
- `src/App.vue` - 根组件
|
|
371
|
-
- `src/router/index.js` - 路由配置
|
|
372
|
-
- `src/store/tagsViewStroe.js` - 状态管理
|
|
373
|
-
|
|
374
|
-
**核心业务**:
|
|
375
|
-
- `src/views/aiCoach/index.jsx` - 智能教练主入口
|
|
376
|
-
- `src/views/aiCoach/dialogueSegment/index.jsx` - 对话环节
|
|
377
|
-
- `src/views/aiCoach/practiceStatus/index.jsx` - 练习情况
|
|
378
|
-
|
|
379
|
-
**公共组件**:
|
|
380
|
-
- `src/components/tags-view.vue` - 标签页管理
|
|
381
|
-
- `src/hooks/useClickOutside.js` - 点击外部检测
|
|
382
|
-
- `src/hooks/useTableDragSort.js` - 表格拖拽
|
|
383
|
-
|
|
384
|
-
---
|
|
385
|
-
|
|
386
|
-
## 开发建议
|
|
387
|
-
|
|
388
|
-
### 添加新功能时
|
|
389
|
-
1. 确定功能属于哪个模块,放在对应的 `views/` 子目录
|
|
390
|
-
2. 如果是复杂的动态组件,考虑使用 JSX
|
|
391
|
-
3. 如果组件较复杂,拆分为多个子组件,放在 `components/` 子目录
|
|
392
|
-
4. 使用 CSS Modules 避免样式冲突
|
|
393
|
-
5. 跨组件状态考虑在 `store/` 中添加新的 store
|
|
394
|
-
|
|
395
|
-
### 组件设计原则
|
|
396
|
-
- **单一职责**: 每个组件只负责一个功能
|
|
397
|
-
- **Props 类型定义**: 使用 PropTypes 或 TypeScript 定义 props
|
|
398
|
-
- **事件命名**: 使用 kebab-case,如 `update:modelValue`
|
|
399
|
-
- **样式隔离**: JSX 组件使用 CSS Modules,SFC 使用 scoped
|
|
400
|
-
|
|
401
|
-
### 性能优化
|
|
402
|
-
- 列表渲染使用 `:key`
|
|
403
|
-
- 大数据表格考虑虚拟滚动
|
|
404
|
-
- 复杂计算使用 `computed`
|
|
405
|
-
- 防抖节流使用 lodash 的 `debounce` / `throttle`
|
|
406
|
-
|
|
407
|
-
---
|
|
408
|
-
|
|
409
|
-
## 常见问题
|
|
410
|
-
|
|
411
|
-
### 微前端通信不生效
|
|
412
|
-
检查 `window.$wujie` 是否存在,确保在主应用中正确加载子应用
|
|
413
|
-
|
|
414
|
-
### 拖拽功能异常
|
|
415
|
-
检查是否正确引入 `vuedraggable` 和 `Sortable.js`,确保数据使用 `v-model` 双向绑定
|
|
416
|
-
|
|
417
|
-
### 路由跳转 404
|
|
418
|
-
确认路由配置中的 path 和 name 正确,检查是否使用 History 模式
|
|
419
|
-
|
|
420
|
-
### 样式不生效
|
|
421
|
-
- SFC: 检查是否添加 `scoped` 属性
|
|
422
|
-
- JSX: 检查 CSS Modules 导入和类名使用是否正确
|
|
423
|
-
|
|
424
|
-
---
|
|
425
|
-
|
|
426
|
-
**最后更新**: 2026-01-10
|
|
427
|
-
**维护者**: AI Assistant
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Vue 3 + Vite
|
|
2
|
-
|
|
3
|
-
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
|
4
|
-
|
|
5
|
-
Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://vuejs.org/guide/scaling-up/tooling.html#ide-support).
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
<title>Vite + Vue</title>
|
|
8
|
-
</head>
|
|
9
|
-
<body>
|
|
10
|
-
<div id="app"></div>
|
|
11
|
-
<script type="module" src="/src/main.js"></script>
|
|
12
|
-
</body>
|
|
13
|
-
</html>
|