Commit 27be1216 by liimin Committed by 岑成威

feat: 重构录音管理及上传模块,增加WebSocket调试能力

- 新增 NativeRecorder 实现长录音直接保存,提升录音稳定性
- 重构上传管理器,支持 WebView 和 UniApp 双策略,优化大文件分片上传
- 增加 WebSocket 调试命令:实时日志流、SQL执行、文件浏览器
- 引入 Vuex 活跃状态插件,自动重置超时计时器
- 优化数据库结构,统一使用 $dbRecord 管理接待记录
- 修复组件引用空值问题,增强代码健壮性
1 parent 5865bf82
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-12-26 10:03:54 * @Date: 2024-12-26 10:03:54
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* @LastEditTime: 2026-04-01 15:51:19 * @LastEditTime: 2026-04-08 11:13:18
* @FilePath: /gl_tape/mixin/record/recorder.js * @FilePath: /gl_tape/mixin/record/recorder.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Date: 2026-04-01 15:45:44 * @Date: 2026-04-01 15:45:44
* @Description: * @Description:
* @FilePath: /gl_tape/utils/logger/LocalLog.js * @FilePath: /gl_tape/utils/logger/LocalLog.js
* @LastEditTime: 2026-04-01 15:52:45 * @LastEditTime: 2026-04-08 11:13:38
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* 可以输入预定的版权声明、个性签名、空行等 * 可以输入预定的版权声明、个性签名、空行等
*/ */
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: limin * @Author: limin
* @Date: 2024-09-03 13:48:51 * @Date: 2024-09-03 13:48:51
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* @LastEditTime: 2026-04-01 16:05:17 * @LastEditTime: 2026-04-08 11:13:50
* @FilePath: /gl_tape/utils/logger/LogCat.js * @FilePath: /gl_tape/utils/logger/LogCat.js
*/ */
import { getTime } from './util' import { getTime } from './util'
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Date: 2026-04-01 15:45:44 * @Date: 2026-04-01 15:45:44
* @Description: * @Description:
* @FilePath: /gl_tape/utils/logger/index.js * @FilePath: /gl_tape/utils/logger/index.js
* @LastEditTime: 2026-04-01 16:02:42 * @LastEditTime: 2026-04-08 11:13:29
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* 可以输入预定的版权声明、个性签名、空行等 * 可以输入预定的版权声明、个性签名、空行等
*/ */
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: limin * @Author: limin
* @Date: 2026-01-16 14:48:27 * @Date: 2026-01-16 14:48:27
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* @LastEditTime: 2026-04-01 15:53:09 * @LastEditTime: 2026-04-08 11:14:03
* @FilePath: /gl_tape/utils/recordManager/PathUtils.js * @FilePath: /gl_tape/utils/recordManager/PathUtils.js
*/ */
/** /**
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: limin * @Author: limin
* @Date: 2026-01-28 20:57:12 * @Date: 2026-01-28 20:57:12
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* @LastEditTime: 2026-04-01 15:53:19 * @LastEditTime: 2026-04-08 11:14:15
* @FilePath: /gl_tape/utils/recordManager/RecordSaveService.js * @FilePath: /gl_tape/utils/recordManager/RecordSaveService.js
*/ */
import Queue from '@/utils/Queue.js' import Queue from '@/utils/Queue.js'
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: limin * @Author: limin
* @Date: 2026-01-14 16:22:23 * @Date: 2026-01-14 16:22:23
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* @LastEditTime: 2026-04-01 16:02:56 * @LastEditTime: 2026-04-08 11:14:37
* @FilePath: /gl_tape/utils/recordManager/RecordService.js * @FilePath: /gl_tape/utils/recordManager/RecordService.js
*/ */
import { AudioManager, RecordDto, helpler, StrategyFactory, TimeoutService } from './index.js' import { AudioManager, RecordDto, helpler, StrategyFactory, TimeoutService } from './index.js'
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: limin * @Author: limin
* @Date: 2024-12-06 10:13:02 * @Date: 2024-12-06 10:13:02
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* @LastEditTime: 2026-04-01 16:06:18 * @LastEditTime: 2026-04-08 15:34:24
* @FilePath: /gl_tape/utils/recordManager/TimeoutService.js * @FilePath: /gl_tape/utils/recordManager/TimeoutService.js
*/ */
class TimeoutService { class TimeoutService {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Date: 2026-04-01 15:45:43 * @Date: 2026-04-01 15:45:43
* @Description: * @Description:
* @FilePath: /gl_tape/ws/WorkerFactory.js * @FilePath: /gl_tape/ws/WorkerFactory.js
* @LastEditTime: 2026-04-01 16:03:29 * @LastEditTime: 2026-04-08 11:15:08
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* 可以输入预定的版权声明、个性签名、空行等 * 可以输入预定的版权声明、个性签名、空行等
*/ */
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Date: 2026-04-01 15:45:43 * @Date: 2026-04-01 15:45:43
* @Description: * @Description:
* @FilePath: /gl_tape/ws/constants.js * @FilePath: /gl_tape/ws/constants.js
* @LastEditTime: 2026-04-01 16:03:08 * @LastEditTime: 2026-04-08 11:14:58
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* 可以输入预定的版权声明、个性签名、空行等 * 可以输入预定的版权声明、个性签名、空行等
*/ */
......
/* /*
* @Author: cen * @Author: cen
* @Date: 2026-04-01 15:45:43 * @Date: 2026-04-08 11:12:21
* @Description: * @Description:
* @FilePath: /gl_tape/ws/workers/LiveLogWorker.js * @FilePath: /gl_tape/ws/workers/LiveLogWorker.js
* @LastEditTime: 2026-04-01 15:55:04 * @LastEditTime: 2026-04-08 11:16:07
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* 可以输入预定的版权声明、个性签名、空行等 * 可以输入预定的版权声明、个性签名、空行等
*/ */
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Date: 2026-04-01 15:45:43 * @Date: 2026-04-01 15:45:43
* @Description: * @Description:
* @FilePath: /gl_tape/ws/workers/SqlWorker.js * @FilePath: /gl_tape/ws/workers/SqlWorker.js
* @LastEditTime: 2026-04-01 15:55:19 * @LastEditTime: 2026-04-08 11:16:23
* @LastEditors: cenchengwei@foreverht.com * @LastEditors: cenchengwei@foreverht.com
* 可以输入预定的版权声明、个性签名、空行等 * 可以输入预定的版权声明、个性签名、空行等
*/ */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!