Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 73a9da20
authored
Nov 29, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
海报,刷新
1 parent
0b185588
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
packagesList/packageOutput/pages/summary.js
pages/tab/output/components/client/client.js
packagesList/packageOutput/pages/summary.js
View file @
73a9da2
...
...
@@ -427,18 +427,18 @@ Page({
},
/**长按海报 */
async
longtouch
(
e
)
{
console
.
log
(
'长按海报'
,
e
)
//
console.log('长按海报', e)
let
{
activityId
}
=
e
.
detail
const
res
=
await
outputApi
.
reportPosterTrack
({
activityId
})
wx
.
$eventbus
.
emit
(
'clienRefresh'
)
wx
.
$eventbus
.
emit
(
'clien
t
Refresh'
)
this
.
getSceneProStatus
(
this
.
data
.
sceneCodeList
[
this
.
data
.
sceneActive
-
1
])
},
// 母链分享
posterTrack
()
{
wx
.
$eventbus
.
emit
(
'clienRefresh'
)
wx
.
$eventbus
.
emit
(
'clien
t
Refresh'
)
this
.
getSceneProStatus
(
this
.
data
.
sceneCodeList
[
this
.
data
.
sceneActive
-
1
])
},
...
...
pages/tab/output/components/client/client.js
View file @
73a9da2
...
...
@@ -30,7 +30,7 @@ Component({
},
lifetimes
:
{
attached
()
{
wx
.
$eventbus
.
on
(
'clienRefresh'
,
res
=>
{
wx
.
$eventbus
.
on
(
'clien
t
Refresh'
,
res
=>
{
this
.
clientRefresh
()
})
this
.
getPMerchantInfo
()
...
...
@@ -50,7 +50,6 @@ Component({
})
},
onBindRefresh
()
{
this
.
clientRefresh
(
true
)
},
clientRefresh
(
isPull
=
false
)
{
...
...
@@ -138,7 +137,7 @@ Component({
/**长按海报 */
async
longtouch
(
e
)
{
console
.
log
(
'长按海报'
,
e
)
this
.
onBind
Refresh
()
this
.
client
Refresh
()
let
{
activityId
}
=
e
.
detail
const
res
=
await
outputApi
.
reportPosterTrack
({
activityId
...
...
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