Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c7a9c461
authored
Sep 02, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
录音异常
1 parent
37ba75e4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
mixin/click.js
mixin/click.js
View file @
c7a9c46
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-04-08 11:28:48
* @Date: 2024-04-08 11:28:48
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-08-
15 16:31
:04
* @LastEditTime: 2024-08-
30 17:49
:04
* @FilePath: \gl_tape\mixin\click.js
* @FilePath: \gl_tape\mixin\click.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
*/
*/
...
@@ -133,6 +133,9 @@ export default {
...
@@ -133,6 +133,9 @@ export default {
startAudio
:
utils
.
throttle
(
async
function
()
{
startAudio
:
utils
.
throttle
(
async
function
()
{
if
(
this
.
audioInfo
.
audioStatus
==
'start'
)
return
if
(
this
.
audioInfo
.
audioStatus
==
'start'
)
return
this
.
setAudioInfo
({
audioList
:
[],
audioStatus
:
'start'
})
this
.
setAudioInfo
({
audioList
:
[],
audioStatus
:
'start'
})
this
.
setBooks
([])
this
.
$store
.
dispatch
(
'clearCustomerInfo'
)
this
.
setReceptionStatus
(
1
)
this
.
initTime
()
this
.
initTime
()
recorderManager
.
start
({
recorderManager
.
start
({
duration
:
600000
,
duration
:
600000
,
...
@@ -180,13 +183,10 @@ export default {
...
@@ -180,13 +183,10 @@ export default {
if
(
file
)
{
if
(
file
)
{
this
.
setAudioInfo
({
audioList
})
this
.
setAudioInfo
({
audioList
})
}
}
if
(
this
.
audioInfo
.
audioStatus
!=
'end'
)
{
if
(
this
.
audioInfo
.
audioStatus
!=
'end'
&&
this
.
audioInfo
.
audioStatus
!=
'finish'
)
{
return
return
}
}
this
.
saveRecord
()
this
.
saveRecord
()
this
.
setBooks
([])
this
.
$store
.
dispatch
(
'clearCustomerInfo'
)
this
.
setReceptionStatus
(
1
)
this
.
setAudioInfo
({
endReasonType
:
0
,
audioStatus
:
'finish'
})
this
.
setAudioInfo
({
endReasonType
:
0
,
audioStatus
:
'finish'
})
},
},
/**保存记录*/
/**保存记录*/
...
@@ -200,6 +200,9 @@ export default {
...
@@ -200,6 +200,9 @@ export default {
file
:
path
+
i
.
split
(
'/'
).
pop
()
file
:
path
+
i
.
split
(
'/'
).
pop
()
}
}
})
})
if
(
recordUrlList
.
length
)
{
this
.
$store
.
dispatch
(
'clearCustomerInfo'
)
}
uni
.
$recordManager
.
addRecord
({
uni
.
$recordManager
.
addRecord
({
...
params
,
...
params
,
id
:
utils
.
uuid
(),
id
:
utils
.
uuid
(),
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment