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 594c7e74
authored
Aug 25, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(boutique): 优化客户邀约接待流程
- 在客户邀约接待过程中增加异步处理 - 添加条件判断,根据 start 函数的返回值决定是否继续执行后续操作
1 parent
9b759e64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
pages/boutique/index.vue
pages/boutique/index.vue
View file @
594c7e7
...
...
@@ -103,7 +103,7 @@ export default {
}
]),
loadComplete
:
false
,
requested
:
false
requested
:
false
}
},
onBackPress
(
options
)
{
...
...
@@ -222,9 +222,9 @@ export default {
},
// 查询素材
async
getSoure
()
{
let
baseConfigData
=
await
uni
.
$api
.
systemApi
.
getBoutiqueMockData
(
true
),
{
moduleList
,
toolList
,
defaultCarId
}
=
baseConfigData
this
.
$store
.
state
.
boutique
.
baseConfigData
=
baseConfigData
let
baseConfigData
=
await
uni
.
$api
.
systemApi
.
getBoutiqueMockData
(
true
),
{
moduleList
,
toolList
,
defaultCarId
}
=
baseConfigData
this
.
$store
.
state
.
boutique
.
baseConfigData
=
baseConfigData
this
.
moduleList
=
moduleList
this
.
toolList
=
toolList
this
.
defaultCarId
=
defaultCarId
...
...
@@ -327,9 +327,12 @@ export default {
/**客户邀约接待 */
reception
(
customer
)
{
this
.
currentCarId
=
''
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(
async
()
=>
{
let
{
customerType
}
=
this
if
(
customerType
==
-
1
)
this
.
start
(
false
)
//开始接待
if
(
customerType
==
-
1
)
{
const
flag
=
await
this
.
start
(
false
)
if
(
!
flag
)
return
}
//开始接待
this
.
customerType
=
0
this
.
jumpPage
()
this
.
$nextTick
(()
=>
this
.
$store
.
dispatch
(
'setCustomerInfo'
,
customer
))
...
...
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