Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wandouchengzhang_coach
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
石盼盼
wandouchengzhang_coach
Commits
9c2b576c
Commit
9c2b576c
authored
Nov 30, 2020
by
吴颖
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'wuying' into 'master'
Wuying See merge request
!51
parents
d5b494dc
9c2a8b76
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
financial.js
pages/tabbar/financial/financial.js
+6
-5
No files found.
pages/tabbar/financial/financial.js
View file @
9c2b576c
...
...
@@ -9,6 +9,7 @@ Page({
data
:
{
show
:
false
,
activeIndex
:
1
,
user_id
:
''
,
coach_id
:
''
,
role_id
:
'
2
'
,
detail
:
''
,
...
...
@@ -26,10 +27,10 @@ Page({
withdrawLocked
:
false
,
},
onLoad
:
function
(
options
)
{
this
.
setData
({
coach_id
:
app
.
globalData
.
coach_id
,
user_id
:
wx
.
getStorageSync
(
'
userInfo
'
).
id
})
this
.
getMoney
()
this
.
getList
(
1
)
...
...
@@ -59,7 +60,7 @@ Page({
url
:
'
commission/list
'
,
data
:
{
role_id
:
this
.
data
.
role_id
,
wx_user_id
:
this
.
data
.
coach
_id
,
wx_user_id
:
this
.
data
.
user
_id
,
type
:
type
,
pageSize
:
'
15
'
,
page
:
this
.
data
.
profitPage
...
...
@@ -90,7 +91,7 @@ Page({
let
params
=
{
url
:
'
commission
'
,
data
:
{
wx_user_id
:
this
.
data
.
coach_id
wx_user_id
:
this
.
data
.
user_id
,
},
callback
:
(
data
)
=>
{
this
.
setData
({
...
...
@@ -188,11 +189,11 @@ Page({
url
:
'
take_money
'
,
type
:
'
POST
'
,
data
:
{
wx_user_id
:
this
.
data
.
coach
_id
,
wx_user_id
:
this
.
data
.
user
_id
,
amount
:
this
.
data
.
detail
.
unrealized_revenue
},
callback
:(
data
)
=>
{
base
.
toast
(
'
您的提现申请已提交
'
)
base
.
toast
(
'
提现成功
'
)
}
}
base
.
newRequest
(
params
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment