Commit 95db8d38 by 前端

Merge branch 'SAAS+V4.49' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V4.49

2 parents 71da5594 d5cb1dc2
......@@ -62,7 +62,7 @@ export default {
data() {
return {
errorTip:false,
receptionList: [{
receptionList: Object.freeze([{
label: '成交',
value: 1
},
......@@ -70,8 +70,8 @@ export default {
label: '战败',
value: 0
}
],
formObject: [{
]),
formObject: Object.freeze([{
label: "车主姓名",
placeholder: '车主姓名',
key: 'customerName',
......@@ -108,7 +108,7 @@ export default {
popKey: "employeeBoxVisible",
placeholder: '请选择',
},
],
]),
focusIndex: -1,
customerInfo:{}
}
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-12-26 10:03:54
* @LastEditors: limin
* @LastEditTime: 2025-01-09 11:05:10
* @LastEditTime: 2025-01-15 21:23:38
* @FilePath: \gl_tape\mixin\record\recorder.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -112,7 +112,9 @@ export default {
stop() {
this.endWatchClick()
this.record.clearLoopTimer()
this.audioManager.stop()
if(this.audioManager.isRecording){
this.audioManager.stop()
}
},
handler(params, fn) {
if (!this.audioManager.isRecording) return
......
......@@ -40,18 +40,21 @@ export default {
},
methods: {
async init() {
// await this.checkDB()
// 初始化 WebView
this.wv = await this.initWebview()
this.interval = UPLOAD_INTERVAL
// 初始化操作队列
this.operationQueue = new OperationQueue()
this.timeoutManager = new TimeoutManager()
// 开始轮询
this.startPolling()
// uni.$logger.local.error({ extra : { key: 'data', value: {'abc':123,'sss':456,'GDF':888} }, msg:'test', tag : { key: 'tag', value: 'tagtest' } })
// uni.$logger.local.getFiles('20240905','2024-09/05')
// uni.$logger.local.removeOverDays(1)
try {
// 初始化 WebView
this.wv = await this.initWebview()
this.interval = UPLOAD_INTERVAL
// 初始化操作队列
this.operationQueue = new OperationQueue()
this.timeoutManager = new TimeoutManager()
// 开始轮询
this.startPolling()
// uni.$logger.local.error({ extra : { key: 'data', value: {'abc':123,'sss':456,'GDF':888} }, msg:'test', tag : { key: 'tag', value: 'tagtest' } })
// uni.$logger.local.getFiles('20240905','2024-09/05')
// uni.$logger.local.removeOverDays(1)
} catch (error) {
this.reportError(`【上传管理Uploader】初始化失败 error:${error.message}`, error.message)
}
},
/**
* 订阅事件
......@@ -691,7 +694,7 @@ export default {
* 清除 timer
*/
canclePromises() {
this.timeoutManager.cancelAllTasks()
this.timeoutManager?.cancelAllTasks()
this.endTask()
},
off() {
......
......@@ -4,7 +4,7 @@
* @Author: limin
* @Date: 2025-01-02 18:49:17
* @LastEditors: limin
* @LastEditTime: 2025-01-06 19:37:32
* @LastEditTime: 2025-01-15 22:01:56
* @FilePath: \gl_tape\utils\recordManager\TempRecord.js
*/
import utils from '../utils'
......@@ -53,6 +53,7 @@ class TempRecord {
}
async save(record = this.record) {
try {
if(!record) throw new Error('记录对象为空')
uni.$logger.local.info('〖接待记录Record〗 == 开始持久化记录 ==' + JSON.stringify(record))
this.clearLoopTimer()
await this.saveTempFile(record)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!