Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
You need to sign in or sign up before continuing.
Commit ee8ff457
authored
Sep 04, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改跳转携带参数
1 parent
192a15f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
9 deletions
integration/pages/bankAccount/detail/detail.js
integration/pages/point/index/index.js
integration/pages/bankAccount/detail/detail.js
View file @
ee8ff45
...
...
@@ -64,7 +64,7 @@ Page({
const
{
item
}
=
options
this
.
options
=
options
this
.
options
=
options
this
.
setData
({
formData
:
{
bankUserName
:
item
.
bankUserName
,
...
...
@@ -86,9 +86,9 @@ Page({
//获取员工积分详情
getWithdrawalData
()
{
MineApi
.
getScoreDetailApi
().
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
this
.
setData
({
score
:
res
.
data
score
:
res
.
data
})
}
})
...
...
@@ -155,12 +155,21 @@ Page({
success
,
score
}
=
this
.
data
;
// 跳转到新的积分兑换页面
if
(
success
)
wx
.
$router
.
redirectTo
(
'integration.toCash'
,
{
score
})
else
this
.
setData
({
if
(
success
)
{
// wx.$router.redirectTo('integration.toCash', {
// score
// })
wx
.
navigateToMiniProgram
({
appId
:
'wx7ce755e425603084'
,
path
:
'packageIndex/pages/integral/index/index'
,
envVersion
:
'trial'
,
extraData
:{
external
:
true
}
})
}
else
this
.
setData
({
showModal
:
false
})
},
...
...
@@ -189,7 +198,7 @@ Page({
this
.
setData
({
showModal
:
true
,
success
:
true
,
dialogText
:
item
&&
item
.
id
?
'您的银行账户修改成功!'
:
'您的银行账户添加成功'
dialogText
:
item
&&
item
.
id
?
'您的银行账户修改成功!'
:
'您的银行账户添加成功'
})
}
else
{
// this.setData({
...
...
integration/pages/point/index/index.js
View file @
ee8ff45
...
...
@@ -32,6 +32,9 @@ Page({
appId
:
'wx7ce755e425603084'
,
path
:
'packageIndex/pages/integral/index/index'
,
envVersion
:
'trial'
,
extraData
:{
external
:
true
}
})
},
toWatchNote
()
{
...
...
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