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 d5658688
authored
Jun 07, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 修复BUG
1 parent
ec3df806
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
pages/boutique/detail.vue
pages/boutique/index.vue
pages/boutique/detail.vue
View file @
d565868
...
...
@@ -101,7 +101,7 @@ export default {
watchStatus
()
{
return
this
.
$store
.
state
.
user
.
historyStatus
;
},
toolList
()
{
toolList
()
{
return
JSON
.
parse
(
JSON
.
stringify
(
this
.
media
)).
sort
(
function
(
a
,
b
)
{
return
a
.
shortSort
-
b
.
shortSort
})
...
...
@@ -149,7 +149,17 @@ export default {
this
.
$emit
(
"update:id"
,
Number
(
id
));
},
/**回店客户 */
reception
({
item
})
{
async
reception
({
item
})
{
const
result
=
await
this
.
$permision
.
requestAndroidPermission
(
"android.permission.RECORD_AUDIO"
);
if
(
result
!==
1
)
{
uni
.
showToast
({
title
:
"为了记录语音通话,请打开录音权限"
,
icon
:
"none"
,
});
return
}
this
.
$store
.
dispatch
(
'setCustomerInfo'
,
{
customerName
:
item
.
customerName
,
carModel
:
item
.
carSeriesName
,
...
...
pages/boutique/index.vue
View file @
d565868
...
...
@@ -187,11 +187,12 @@ export default {
title
:
"为了记录语音通话,请打开录音权限"
,
icon
:
"none"
,
});
return
;
return
false
}
if
(
before
)
this
.
clearHistory
();
this
.
startAudio
();
this
.
recording
=
true
return
true
},
jumpPage
(
id
)
{
this
.
id
=
id
?
id
:
this
.
moduleList
[
0
].
id
...
...
@@ -205,10 +206,11 @@ export default {
this
.
$refs
.
home
.
finishRef
.
close
();
this
.
$refs
.
detail
.
open
();
},
chooseCustomerType
(
index
)
{
const
{
moduleList
}
=
this
async
chooseCustomerType
(
index
)
{
const
{
moduleList
}
=
this
,
flag
=
await
this
.
start
()
if
(
!
flag
)
return
this
.
customerType
=
index
this
.
start
()
if
(
index
==
0
)
{
const
{
id
}
=
moduleList
[
moduleList
.
length
-
1
]
this
.
jumpPage
(
id
)
...
...
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