Commit Graph

1859 Commits

Author SHA1 Message Date
超级老白兔
35c9369d3d Refactor IndexController to return a simple message instead of an iframe. Update AudioRecorder and SimpleFileUpload components to include file name in the upload callback. Modify MessageEnter component to handle new file structure and improve message handling logic. Clean up unused state and enhance video message rendering. Update websocket message management to handle message IDs more robustly. 2025-11-08 15:13:20 +08:00
超级老白兔
f9c08b6091 重构状态管理:将 useWeChatStore 更名为 useDataCenterStore,并更新相关引用 2025-11-06 18:08:49 +08:00
超级老白兔
a3af9de4a9 Update typeId in login parameters to a fixed value for consistency in Login component. 2025-11-06 10:21:53 +08:00
超级老白兔
e467a8e6e0 Add typeId to login parameters for session verification in Login component. 2025-11-06 10:20:39 +08:00
超级老白兔
fa802b50ad Add 404 Not Found route to the router configuration to handle unmatched paths. 2025-11-05 10:37:39 +08:00
超级老白兔
e163ada783 Merge branch 'develop' into yongpxu-dev 2025-11-04 19:34:12 +08:00
超级老白兔
888e2b376a Merge branch 'yongpxu-dev' into yongpxu-dev2 2025-11-04 19:33:36 +08:00
wong
adc22c7d19 代码提交 2025-11-04 17:48:51 +08:00
超级老白兔
ac605baa24 Refactor TrafficDistributionForm component to improve state management and error handling. Update time range parsing logic for better validation and user feedback. Adjust form submission handling and enhance device selection logic. Modify slider maximum value for daily distribution limits. 2025-11-04 16:40:53 +08:00
超级老白兔
05c5915e7b Add description field to PowerPackage interface and update UI to display package descriptions. Enhance styles for description tags in Buy Power component. 2025-11-04 15:09:09 +08:00
wong
a4060fec1b 代码提交 2025-11-03 14:42:16 +08:00
wong
469ab4a085 门店端优化 2025-11-03 14:07:15 +08:00
wong
367a76a54f 代码提交优化 2025-11-03 14:06:58 +08:00
超级老白兔
998e65d98d Update WebSocket configuration to use environment variable for URL instead of hardcoded value. 2025-11-03 10:31:31 +08:00
超级老白兔
a8ba45c08a Merge branch 'yongpxu-dev' of https://gitee.com/cunkebao/cunkebao_v3 into yongpxu-dev 2025-11-03 10:11:16 +08:00
超级老白兔
055b300c5a Update API URLs in development and production environment files to new server endpoints for consistency across environments. 2025-11-03 10:11:12 +08:00
超级老白兔
baf389ec65 Merge branch 'yongpxu-dev' into yongpxu-dev2 2025-11-03 10:04:09 +08:00
超级老白兔
ca7a2e954f Implement power statistics API and enhance Power Management component. Add new Statistics interface and update UI to display formatted usage data. Adjust styles for better readability. 2025-10-31 16:32:04 +08:00
超级老白兔
eada5fe8b1 Refactor AIKnowledgeDetail and AIKnowledgeList components to improve user navigation and search functionality. Update deletion logic to navigate back on success and enhance search with debouncing and keyword handling. Adjust API to support keyword filtering in fetchKnowledgeBaseList. 2025-10-31 16:18:12 +08:00
超级老白兔
fe347965ff Enhance FileUpload component to support additional file types including PDF, TXT, MD, MP4, and AVI. Refactor file type handling logic for improved accuracy and user feedback. Update styles in AIKnowledgeDetail for better layout and user experience, including new sections for prompt rules and independent prompts. 2025-10-31 15:46:51 +08:00
超级老白兔
8d017ed2cb Integrate FileUpload component for material uploads in AIKnowledgeDetail. Update upload logic to handle file types and improve user feedback on upload success or failure. Adjust tab rendering order for better clarity. 2025-10-30 17:04:11 +08:00
超级老白兔
eafca9ae85 Replace custom close button in GlobalPromptModal with Ant Design's CloseOutlined icon for improved consistency and user experience. Simplify the onClose functionality while maintaining existing styles. 2025-10-30 16:44:17 +08:00
超级老白兔
990c7a2693 Refactor API interactions in GlobalPromptModal to utilize new initGlobalPrompt and saveGlobalPrompt functions. Update modal logic to handle prompt configuration more effectively, removing deprecated state management for enabling prompts. Enhance user experience with improved input handling and feedback mechanisms. 2025-10-30 16:42:42 +08:00
超级老白兔
da87f9a865 Refactor GlobalPromptModal to use antd-mobile Popup for improved mobile experience. Update styles for modal footer and enhance user feedback with Toast notifications. Remove deprecated Ant Design Modal components and adjust layout for better usability. 2025-10-30 16:26:15 +08:00
超级老白兔
515c85e600 Enhance Buy Power and Recharge components with loading states and pagination. Update styles for better layout and introduce new pagination UI in the Power Management section. Remove outdated AI knowledge interface documentation. 2025-10-30 16:08:43 +08:00
超级老白兔
6b3948d454 Refactor Power Management component to enhance user experience with improved power package and consumption record management. Introduce new API interfaces for power statistics and consumption records, and update UI elements for better navigation and interaction. 2025-10-30 15:26:48 +08:00
wong
e3afa24795 代码优化 2025-10-30 11:41:22 +08:00
wong
903a29ed09 app更新提示 2025-10-30 10:58:45 +08:00
超级老白兔
6a64e3854c Refactor Recharge component to support custom recharge amounts and quick selection options. Remove version package data and enhance payment handling with improved user feedback. Add AI knowledge management routes and UI elements in the workspace section. 2025-10-29 17:49:51 +08:00
超级老白兔
0d1d082d9e Add manual AI response generation feature in MessageEnter component. Implement handleManualTriggerAi function to allow users to trigger AI replies on demand. Update weChat store with manualTriggerAi function to manage AI request logic and context retrieval. Enhance UI with a reload button for AI responses in AI modes. 2025-10-29 16:56:44 +08:00
wong
8ae8e66a3a 代码优化 2025-10-29 15:48:48 +08:00
wong
f684c4cb3f 代码提交 2025-10-29 15:31:43 +08:00
超级老白兔
44a8fbe0c9 用户操作绝对优先 - 任何用户行为立即打断AI
唯一ID验证 - 防止过期回复覆盖
状态互斥保护 - AI生成 ⇄ 用户输入互斥
智能防抖 - 3秒延迟合并多条消息
2025-10-29 15:21:27 +08:00
超级老白兔
9c5e253d75 Refactor MessageEnter component to streamline AI message handling. Update message sending logic to prioritize passed content, ensuring better integration with AI-assisted and AI takeover modes. Clean up unused code and enhance console logging for improved debugging. 2025-10-29 14:53:15 +08:00
超级老白兔
5fb15592ff Refactor MessageEnter component to handle AI-assisted and AI takeover scenarios. Update weChat store to support multiple AI types for message processing. Remove unnecessary console log in message response handler for cleaner output. 2025-10-29 14:50:55 +08:00
wong
da8bcb04c9 免密登录代码提交 2025-10-29 11:48:02 +08:00
wong
1862b11c0d 修复bug 2025-10-29 10:52:44 +08:00
wong
942f08bbf2 111 2025-10-29 10:38:11 +08:00
wong
175c78c3d0 数智员工免密登录 2025-10-29 10:30:50 +08:00
超级老白兔
0decc34593 Enhance file upload process in devlop.py with progress tracking and remote file validation. Add aiType field to weChatGroup and ContractData interfaces for AI type differentiation. Update ChatWindow component to handle AI configuration changes and ensure proper database updates for contact and message management. Implement database versioning to include aiType in chatSessions and contactsUnified tables, with migration logic for existing data. Improve error handling and user feedback during configuration updates. 2025-10-28 16:55:55 +08:00
wong
18a7055a4e 消息新增ai类型字段 2025-10-28 16:46:38 +08:00
超级老白兔
5638d8c66a Merge branch 'yongpxu-dev' into yongpxu-dev2 2025-10-28 14:32:37 +08:00
wong
1644e478c7 AI对话功能优化 2025-10-28 09:25:39 +08:00
超级老白兔
d1c35b480f Merge branch 'yongpxu-dev' into yongxu-dev3 2025-10-27 17:13:24 +08:00
超级老白兔
3d8c656224 加载动画优化 2025-10-27 17:08:37 +08:00
超级老白兔
364a52b553 Remove Dexie database implementation and related initialization logic. Update Recharge component to fetch and display subscription packages dynamically, enhancing user experience with improved payment handling and UI updates. 2025-10-27 17:07:10 +08:00
超级老白兔
8cff6750f9 Implement AI loading animation in MessageEnter component and enhance user interface. Remove unused loading icon and streamline input area for better user experience during AI response generation. 2025-10-27 16:57:26 +08:00
超级老白兔
d01c91e6ee 只有文字消息才会触发ai回复 2025-10-27 15:49:52 +08:00
超级老白兔
e1893e1506 增加消息类型 2025-10-27 15:45:07 +08:00
超级老白兔
ae4b592bb6 转给他人逻辑处理,包括关闭和删除联系人、联系会话 2025-10-27 15:38:01 +08:00