Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
7dd5c120
Commit
7dd5c120
authored
Dec 13, 2022
by
sunerhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修复邀请加盟Bug
parent
a3c98e37
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
22 deletions
+21
-22
pages/application-process/basic-info.vue
+8
-12
pages/invitationRegister/invitationRegister.vue
+4
-2
pages/invitationRegister/invitationlogin.vue
+3
-3
pages/inviteJoin/inviteJoin.vue
+6
-5
No files found.
pages/application-process/basic-info.vue
View file @
7dd5c120
...
@@ -46,11 +46,11 @@
...
@@ -46,11 +46,11 @@
<view
class=
"contentItem"
v-if=
"applyParam.partnerLevel == 'B1'"
>
<view
class=
"contentItem"
v-if=
"applyParam.partnerLevel == 'B1'"
>
<text>
工作室名称
</text>
<text>
工作室名称
</text>
<input
type=
"text"
class=
"form-control"
v-model=
"applyParam.b1Name"
placeholder=
"请输入工作室名称"
<input
type=
"text"
class=
"form-control"
v-model=
"applyParam.b1Name"
placeholder=
"请输入工作室名称"
:disabled=
"this.display"
/>
/>
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
所属组织
</text>
<text>
所属组织
</text>
<input
type=
"text"
v-if=
"applyParam.hasCrossDistrict == 1"
class=
"form-control"
v-model=
"applyParam.
b1
Name"
placeholder=
"请输入工作室名称"
<input
type=
"text"
v-if=
"applyParam.hasCrossDistrict == 1"
class=
"form-control"
v-model=
"applyParam.
area
Name"
placeholder=
"请输入工作室名称"
:disabled=
"this.display"
/>
:disabled=
"this.display"
/>
<picker
v-else
@
change=
"changeArea"
:value=
"areaIdIdx"
:range=
"cffpAreaQuerys"
<picker
v-else
@
change=
"changeArea"
:value=
"areaIdIdx"
:range=
"cffpAreaQuerys"
range-key=
"areaName"
range-key=
"areaName"
...
@@ -161,6 +161,7 @@
...
@@ -161,6 +161,7 @@
mobile
:
null
,
mobile
:
null
,
shareId
:
null
,
shareId
:
null
,
display
:
false
,
display
:
false
,
hasCrossDistrict
:
''
,
cffp_userInfo
:
{
cffp_userInfo
:
{
name
:
''
,
name
:
''
,
mobile
:
''
mobile
:
''
...
@@ -169,16 +170,10 @@
...
@@ -169,16 +170,10 @@
},
},
components
:
{},
components
:
{},
onLoad
(
options
)
{
onLoad
(
options
)
{
if
(
options
.
dataForm
)
{
console
.
log
(
options
,
151551
)
this
.
shareId
=
option
.
shareId
if
(
options
.
shareId
)
{
// let dataOneForm = JSON.parse(options.dataForm)
this
.
hasCrossDistrict
=
options
.
hasCrossDistrict
// this.applyParam.name = dataOneForm.name
this
.
shareId
=
options
.
shareId
// this.applyParam.inviterInvitationCode = dataOneForm.invitationCode
// this.applyParam.mobileNumber = dataOneForm.mobile
// this.areaName = dataOneForm.areaName
// this.applyParam.partnerLevel = dataOneForm.partnerLevel
// this.partnerLevelName = dataOneForm.partnerLevel == 'A1' ? '事业伙伴' : '工作室'
// this.applyParam.areaId = dataOneForm.areaId
uni
.
setStorageSync
(
'applyId'
,
''
)
uni
.
setStorageSync
(
'applyId'
,
''
)
}
else
{
}
else
{
this
.
cffp_userInfo
=
uni
.
getStorageSync
(
'cffp_userInfo'
);
this
.
cffp_userInfo
=
uni
.
getStorageSync
(
'cffp_userInfo'
);
...
@@ -404,6 +399,7 @@
...
@@ -404,6 +399,7 @@
applyType
:
this
.
applyParam
.
inviterInvitationCode
?
'1'
:
'2'
,
applyType
:
this
.
applyParam
.
inviterInvitationCode
?
'1'
:
'2'
,
operatStep
:
1
,
operatStep
:
1
,
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
hasCrossDistrict
:
this
.
hasCrossDistrict
?
this
.
hasCrossDistrict
:
'0'
}
}
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
if
(
res
[
'success'
])
{
if
(
res
[
'success'
])
{
...
...
pages/invitationRegister/invitationRegister.vue
View file @
7dd5c120
...
@@ -25,10 +25,12 @@
...
@@ -25,10 +25,12 @@
shareId
:
''
,
shareId
:
''
,
levelaName
:
''
,
levelaName
:
''
,
mobileNumber
:
''
,
mobileNumber
:
''
,
name
:
''
name
:
''
,
hasCrossDistrict
:
''
}
}
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
hasCrossDistrict
=
options
.
hasCrossDistrict
this
.
shareId
=
options
.
shareId
this
.
shareId
=
options
.
shareId
this
.
invitationCode
=
options
.
invitationCode
this
.
invitationCode
=
options
.
invitationCode
this
.
getqueryById
()
this
.
getqueryById
()
...
@@ -53,7 +55,7 @@
...
@@ -53,7 +55,7 @@
// };'
// };'
uni
.
navigateTo
({
uni
.
navigateTo
({
// url:'/pages/invitationRegister/invitationlogin?name=' + this.name+'&mobile=' +this.mobileNumber + '&id=' + this.shareId
// url:'/pages/invitationRegister/invitationlogin?name=' + this.name+'&mobile=' +this.mobileNumber + '&id=' + this.shareId
url
:
`/pages/invitationRegister/invitationlogin?name=
${
this
.
name
}
&mobile=
${
this
.
mobileNumber
}
&
areaName=
${
this
.
areaName
}
&partnerLevel=
${
this
.
partnerLevel
}
&shareId=
${
this
.
shareId
}
&areaId=
${
this
.
areaId
}
&invitationCode=
${
this
.
invitationCode
}
`
url
:
`/pages/invitationRegister/invitationlogin?name=
${
this
.
name
}
&mobile=
${
this
.
mobileNumber
}
&
shareId=
${
this
.
shareId
}
&hasCrossDistrict=
${
this
.
hasCrossDistrict
}
`
})
})
}
}
...
...
pages/invitationRegister/invitationlogin.vue
View file @
7dd5c120
...
@@ -47,6 +47,7 @@
...
@@ -47,6 +47,7 @@
remainTimes
:
60
,
remainTimes
:
60
,
sendCodeHtml
:
'获取验证码'
,
sendCodeHtml
:
'获取验证码'
,
userId
:
''
,
userId
:
''
,
hasCrossDistrict
:
''
,
form
:{
form
:{
name
:
''
,
name
:
''
,
mobile
:
''
,
mobile
:
''
,
...
@@ -55,7 +56,7 @@
...
@@ -55,7 +56,7 @@
}
}
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
console
.
log
(
options
,
54
)
this
.
hasCrossDistrict
=
options
.
hasCrossDistrict
this
.
form
.
name
=
options
.
name
?
options
.
name
:
''
this
.
form
.
name
=
options
.
name
?
options
.
name
:
''
this
.
form
.
mobile
=
options
.
mobile
?
options
.
mobile
:
''
this
.
form
.
mobile
=
options
.
mobile
?
options
.
mobile
:
''
this
.
form
.
id
=
options
.
shareId
?
options
.
shareId
:
''
this
.
form
.
id
=
options
.
shareId
?
options
.
shareId
:
''
...
@@ -123,9 +124,8 @@
...
@@ -123,9 +124,8 @@
console
.
log
(
res
,
5454
)
console
.
log
(
res
,
5454
)
this
.
userId
=
String
(
res
[
'data'
][
'userId'
]);
this
.
userId
=
String
(
res
[
'data'
][
'userId'
]);
uni
.
setStorageSync
(
'isLogin'
,
'1'
)
uni
.
setStorageSync
(
'isLogin'
,
'1'
)
uni
.
setStorageSync
(
'cffp_userId'
,
this
.
userId
);
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/application-process/basic-info?userId='
+
this
.
userId
+
'&dataForm='
+
JSON
.
stringify
(
this
.
form
)
+
'&shareId='
+
this
.
form
.
id
url
:
'/pages/application-process/basic-info?userId='
+
this
.
userId
+
'&shareId='
+
this
.
form
.
id
+
'&hasCrossDistrict='
+
this
.
hasCrossDistrict
})
})
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
...
...
pages/inviteJoin/inviteJoin.vue
View file @
7dd5c120
...
@@ -249,10 +249,11 @@
...
@@ -249,10 +249,11 @@
api
.
saveApplyInfo
(
this
.
dataForm
).
then
(
res
=>
{
api
.
saveApplyInfo
(
this
.
dataForm
).
then
(
res
=>
{
if
(
res
[
'success'
])
{
if
(
res
[
'success'
])
{
this
.
shareId
=
res
.
data
.
id
this
.
shareId
=
res
.
data
.
id
this
.
$refs
.
share
.
open
()
// this.$refs.share.open()
// uni.navigateTo({
uni
.
navigateTo
({
// url: '/pages/invitationRegister/invitationRegister?shareId=' + this.shareId + '&invitationCode=' + this.invitationCode
url
:
'/pages/invitationRegister/invitationRegister?shareId='
+
this
.
shareId
+
// })
'&invitationCode='
+
this
.
invitationCode
+
'&hasCrossDistrict='
+
this
.
dataForm
.
hasCrossDistrict
})
}
}
uni
.
showToast
({
uni
.
showToast
({
title
:
res
[
'message'
],
title
:
res
[
'message'
],
...
@@ -278,7 +279,7 @@
...
@@ -278,7 +279,7 @@
scene
:
type
===
1
?
"WXSceneSession"
:
"WXSceneTimeline"
,
scene
:
type
===
1
?
"WXSceneSession"
:
"WXSceneTimeline"
,
type
:
0
,
type
:
0
,
href
:
"https://mdev.zuihuibi.cn/cffp/pages/invitationRegister/invitationRegister?shareId="
+
href
:
"https://mdev.zuihuibi.cn/cffp/pages/invitationRegister/invitationRegister?shareId="
+
this
.
shareId
+
'&invitationCode='
+
this
.
invitationCode
,
this
.
shareId
+
'&invitationCode='
+
this
.
invitationCode
+
'&hasCrossDistrict='
+
this
.
dataForm
.
hasCrossDistrict
,
title
:
"CFFP家庭财务策划师联盟邀您加入"
,
title
:
"CFFP家庭财务策划师联盟邀您加入"
,
summary
:
`我是家庭财务策划师
${
this
.
realName
}
正在使用CFFP财富中心,点击下载即刻加入!`
,
summary
:
`我是家庭财务策划师
${
this
.
realName
}
正在使用CFFP财富中心,点击下载即刻加入!`
,
imageUrl
:
"https://mdev.zuihuibi.cn/cffp/static/cffp_logo.jpg"
,
imageUrl
:
"https://mdev.zuihuibi.cn/cffp/static/cffp_logo.jpg"
,
...
...
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