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
2b75b344
Commit
2b75b344
authored
Dec 06, 2022
by
sunerhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改了一些Bug
parent
154e0b2d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
15 deletions
+35
-15
pages/application-process/education.vue
+2
-1
pages/application-process/id-card.vue
+3
-1
pages/inviteJoin/inviteJoin.vue
+11
-8
pages/personalCenter/personalCenter.vue
+19
-5
No files found.
pages/application-process/education.vue
View file @
2b75b344
...
...
@@ -78,7 +78,7 @@
dataForm
:{
loginId
:
uni
.
getStorageSync
(
'cffp_userId'
),
targetType
:
"5"
,
targetId
:
uni
.
getStorageSync
(
'cffp_userId'
)
,
targetId
:
''
,
targetNo
:
"4"
,
targetUseFor
:
"12"
,
targetSeq
:
"0"
...
...
@@ -122,6 +122,7 @@
},
upLoadPhoto
(
event
){
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
this
.
dataForm
.
targetId
=
this
.
applyParam
.
id
CommonUpload
(
this
.
dataForm
).
then
(
res
=>
{
this
.
applyParam
.
lastGraduateCertificationOssPath
=
res
.
data
.
filePath
;
});
...
...
pages/application-process/id-card.vue
View file @
2b75b344
...
...
@@ -72,7 +72,8 @@
dataForm
:{
loginId
:
uni
.
getStorageSync
(
'cffp_userId'
),
targetType
:
"5"
,
targetId
:
uni
.
getStorageSync
(
'cffp_userId'
),
targetId
:
''
,
// uni.getStorageSync('cffp_userId')
targetNo
:
""
,
targetUseFor
:
"12"
,
targetSeq
:
"0"
...
...
@@ -106,6 +107,7 @@
if
(
type
==
'back'
){
this
.
dataForm
.
targetNo
=
3
;
}
this
.
dataForm
.
targetId
=
this
.
applyParam
.
id
CommonUpload
(
this
.
dataForm
).
then
(
res
=>
{
if
(
type
==
'front'
){
this
.
applyParam
.
idFrontPageOssPath
=
res
.
data
.
filePath
;
...
...
pages/inviteJoin/inviteJoin.vue
View file @
2b75b344
...
...
@@ -166,6 +166,7 @@
this
.
getqueryOrgList
()
let
dataForm
=
uni
.
getStorageSync
(
'userinfodataForm'
)
this
.
realName
=
dataForm
.
realName
console
.
log
(
dataForm
,
1125
)
},
methods
:
{
queryorgchange
(
e
)
{
...
...
@@ -205,19 +206,21 @@
changeorgkey
()
{
let
that
=
this
let
orgKey
=
that
.
applyIdentity
==
0
?
'B1'
:
'A1'
that
.
orgdataList
=
[]
//
that.orgdataList = []
console
.
log
(
that
.
orgList
,
1115
)
const
list
=
that
.
orgList
.
map
(
item
=>
{
const
list
=
that
.
orgList
.
map
(
(
item
)
=>
{
if
(
item
.
partnerLevel
==
orgKey
||
item
.
partnerLevel
==
'ALL'
){
return
item
}
});
for
(
var
i
=
0
;
i
<
list
.
length
;
i
++
)
{
if
(
list
[
i
]
==
undefined
)
{
list
.
splice
(
i
,
1
)
}
}
}).
filter
(
item2
=>
item2
!=
undefined
)
// console.log(list, 41745)
// for (var i = 0; i
<
list
.
length
;
i
++
)
{
// if (list[i] == undefined) {
// list.splice(i,1)
// }
// }
// console.log(list, 551)
that
.
orgdataList
=
list
.
map
((
x
)
=>
x
.
areaName
)
},
// 发起邀请事件
...
...
pages/personalCenter/personalCenter.vue
View file @
2b75b344
...
...
@@ -9,7 +9,7 @@
<view
class=
"firstLineBox"
>
<view>
<strong>
{{
customerBasicInfo
.
realName
}}
</strong>
<text
class=
"csTag"
>
{{
customerBasicInfo
.
partnerType
||
'CFFP财富中心'
}}
</text>
<text
class=
"csTag"
v-if=
"customerBasicInfo.partnerType"
>
{{
customerBasicInfo
.
partnerType
}}
</text>
</view>
<view
class=
"personalInfoBtn"
@
click=
"userinfo()"
>
<text>
个人资料
</text>
...
...
@@ -112,7 +112,7 @@
{
id
:
'04'
,
categoryName
:
'团队管理'
,
children
:[
{
title
:
'我的团队'
,
icon
:
'team'
,
link
:
'/pages/personalCenter/myTeam'
,
isOpen
:
true
,
isShow
:
true
},
{
title
:
'邀请加盟'
,
icon
:
'shareJoin'
,
link
:
'/pages/inviteJoin/inviteJoin'
,
isOpen
:
true
,
isShow
:
true
}
{
title
:
'邀请加盟'
,
icon
:
'shareJoin'
,
link
:
'/pages/inviteJoin/inviteJoin'
,
isOpen
:
true
,
isShow
:
true
,
identity
:
true
}
],
}
],
...
...
@@ -150,14 +150,28 @@
if
(
item
.
title
===
'我的邀请码'
){
this
.
$refs
.
popup1
.
open
(
'bottom'
);
}
else
{
uni
.
navigateTo
({
url
:
item
.
link
});
this
.
ckidentity
(
item
)
}
}
else
{
common
.
errorDialog
(
2
,
'该模块正在开发中,敬请期待!'
,
'提示'
);
}
},
ckidentity
(
item
){
if
(
item
.
identity
==
true
&&
this
.
customerBasicInfo
.
partnerType
==
null
){
console
.
log
(
'运行到了这里'
)
uni
.
showToast
({
title
:
"您本人尚未加盟,您加盟后可邀请加盟"
,
duration
:
2000
,
icon
:
'none'
});
return
false
}
else
{
uni
.
navigateTo
({
url
:
item
.
link
});
}
},
userinfo
(){
uni
.
navigateTo
({
url
:
`/pages/personalCenter/user-information?customerBasicInfo=`
+
JSON
.
stringify
(
this
.
customerBasicInfo
)
...
...
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