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 45dabdc3
authored
Jun 04, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 提交
1 parent
1e41983f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
pages/boutique/detail.vue
pages/boutique/index.vue
pages/boutique/detail.vue
View file @
45dabdc
...
@@ -85,10 +85,10 @@ export default {
...
@@ -85,10 +85,10 @@ export default {
default
:
"preview"
,
default
:
"preview"
,
},
},
customerType
:
Number
,
customerType
:
Number
,
historyId
:
Number
},
},
data
()
{
data
()
{
return
{
return
{
historyId
:
''
};
};
},
},
computed
:
{
computed
:
{
...
@@ -101,11 +101,6 @@ export default {
...
@@ -101,11 +101,6 @@ export default {
return
this
.
$store
.
state
.
user
.
historyStatus
;
return
this
.
$store
.
state
.
user
.
historyStatus
;
},
},
},
},
watch
:
{
watchStatus
()
{
this
.
historyId
=
''
}
},
mounted
()
{
},
mounted
()
{
},
methods
:
{
methods
:
{
...
mapMutations
(
"audio"
,
[
"setReceptionStatus"
]),
...
mapMutations
(
"audio"
,
[
"setReceptionStatus"
]),
...
@@ -132,7 +127,7 @@ export default {
...
@@ -132,7 +127,7 @@ export default {
back
()
{
back
()
{
if
(
this
.
historyId
)
{
if
(
this
.
historyId
)
{
this
.
jumpPage
({
id
:
this
.
historyId
})
this
.
jumpPage
({
id
:
this
.
historyId
})
this
.
historyId
=
''
this
.
$emit
(
'update:historyId'
,
''
)
return
return
}
}
this
.
$refs
?.
toolRef
?.
hide
();
this
.
$refs
?.
toolRef
?.
hide
();
...
@@ -144,7 +139,7 @@ export default {
...
@@ -144,7 +139,7 @@ export default {
this
.
$emit
(
"done"
,
e
);
this
.
$emit
(
"done"
,
e
);
},
},
jumpPage
({
id
,
historyId
})
{
jumpPage
({
id
,
historyId
})
{
if
(
historyId
)
this
.
historyId
=
historyId
if
(
historyId
)
this
.
$emit
(
'update:historyId'
,
historyId
)
this
.
$emit
(
"update:id"
,
Number
(
id
));
this
.
$emit
(
"update:id"
,
Number
(
id
));
},
},
/**回店客户 */
/**回店客户 */
...
...
pages/boutique/index.vue
View file @
45dabdc
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
ref=
"detail"
ref=
"detail"
:customerType
.
sync=
"customerType"
:customerType
.
sync=
"customerType"
@
reception=
"reception"
@
reception=
"reception"
:historyId
.
sync=
"historyId"
/>
/>
</
template
>
</
template
>
<
template
slot=
"content"
>
<
template
slot=
"content"
>
...
@@ -71,7 +72,8 @@ export default {
...
@@ -71,7 +72,8 @@ export default {
id
:
''
,
id
:
''
,
type
:
''
,
type
:
''
,
customerType
:
-
1
,
customerType
:
-
1
,
recording
:
false
recording
:
false
,
historyId
:
''
}
}
},
},
onBackPress
(
options
)
{
onBackPress
(
options
)
{
...
@@ -157,6 +159,11 @@ export default {
...
@@ -157,6 +159,11 @@ export default {
this
.
cancel
()
this
.
cancel
()
},
},
back
()
{
back
()
{
if
(
this
.
historyId
)
{
this
.
id
=
this
.
historyId
this
.
historyId
=
''
return
}
if
(
!
this
.
id
)
return
uni
.
navigateBack
();
if
(
!
this
.
id
)
return
uni
.
navigateBack
();
if
(
this
.
type
!=
"preview"
)
return
this
.
$refs
.
home
.
finishRef
.
open
();
if
(
this
.
type
!=
"preview"
)
return
this
.
$refs
.
home
.
finishRef
.
open
();
this
.
backHome
();
this
.
backHome
();
...
...
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