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
112a6cf2
Commit
112a6cf2
authored
Dec 05, 2022
by
sunerhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改了一些Bug
parent
7cd97c70
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
32 deletions
+42
-32
manifest.json
+3
-3
pages/inviteJoin/inviteJoin.vue
+24
-18
pages/learnCertify/learnCertify.vue
+11
-8
pages/learningStatistics/learningStatistics.vue
+1
-0
pages/myCertify/myCertify.vue
+2
-2
pages/personalCenter/system/accontsetting.vue
+1
-1
No files found.
manifest.json
View file @
112a6cf2
...
...
@@ -60,7 +60,7 @@
"sdkConfigs"
:
{
"share"
:
{
"weixin"
:
{
"appid"
:
"wx
ec09b9be6cff4eb3
"
,
"appid"
:
"wx
b591d0034cdcf0cd
"
,
"UniversalLinks"
:
""
}
},
...
...
@@ -71,13 +71,13 @@
},
"weixin"
:
{
"__platform__"
:
[
"ios"
,
"android"
],
"appid"
:
"wx
ec09b9be6cff4eb3
"
,
"appid"
:
"wx
b591d0034cdcf0cd
"
,
"UniversalLinks"
:
""
}
},
"oauth"
:
{
"weixin"
:
{
"appid"
:
"wx
ec09b9be6cff4eb3
"
,
"appid"
:
"wx
b591d0034cdcf0cd
"
,
"UniversalLinks"
:
""
}
}
...
...
pages/inviteJoin/inviteJoin.vue
View file @
112a6cf2
...
...
@@ -153,21 +153,26 @@
identityArr
:
[
'工作室'
,
'事业伙伴'
],
applyIdentity
:
0
,
index
:
0
,
isCross
:
tru
e
,
isCross
:
fals
e
,
inviteLists
:
[],
orgList
:
[],
orgdataList
:[],
orgdataList
:
[],
queryorgList
:
[],
shareId
:
''
};
},
onLoad
()
{
this
.
getqueryOrgList
()
console
.
log
(
uni
.
getStorageSync
(
'userinfodataForm'
),
74174
)
let
dataForm
=
uni
.
getStorageSync
(
'userinfodataForm'
)
},
methods
:
{
queryorgchange
(
e
)
{
this
.
orgindex
=
e
.
detail
.
value
},
bindPChange
(){
console
.
log
(
'1'
)
},
// 查询组织list
getqueryOrgList
()
{
let
CffpAreaQueryReqVO
=
{
...
...
@@ -180,7 +185,7 @@
this
.
queryorgList
=
res
.
data
.
cffpAreaQuerys
this
.
orgList
=
res
.
data
.
cffpAreaQuerys
this
.
changeorgkey
()
// this.orgList = res.data.cffpAreaQuerys.map((x) => x.areaName)
// console.log(this.orgList, 22225)
}
...
...
@@ -196,22 +201,23 @@
this
.
applyIdentity
=
e
.
detail
.
value
this
.
changeorgkey
()
},
changeorgkey
(){
changeorgkey
()
{
let
that
=
this
let
orgKey
=
that
.
applyIdentity
==
0
?
'B1'
:
'A1'
that
.
orgdataList
=
[]
for
(
var
i
=
0
;
i
<
that
.
orgList
.
length
;
i
++
){
if
(
that
.
orgList
[
i
].
partnerLevel
==
orgKey
||
that
.
orgList
[
i
].
partnerLevel
==
'All'
)
{
return
that
.
orgdataList
.
push
(
that
.
orgList
[
i
].
areaName
)
console
.
log
(
that
.
orgList
,
1115
)
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
)
}
}
// this.orgdataList = this.orgList.filter((x) => {
// if (x.partnerLevel == orgKey || x.partnerLevel == 'All') {
// return x.areaName
// }
// })
// this.orgList = this.orgdataList.map((x) => x.areaName)
that
.
orgdataList
=
list
.
map
((
x
)
=>
x
.
areaName
)
},
// 发起邀请事件
shareToggle
()
{
...
...
@@ -272,8 +278,8 @@
type
:
0
,
href
:
"https://mdev.zuihuibi.cn/cffp/pages/invitationRegister/invitationRegister?shareId="
+
this
.
shareId
,
title
:
"
uni-app分享
"
,
summary
:
"我正在使用HBuilderX开发uni-app,赶紧跟我一起来体验!"
,
title
:
"
CFFP家庭财务策划师联盟邀您加入
"
,
summary
:
`我是家庭财务策划师
${
uni
.
getStorageSync
(
'cffp_userId'
)}
正在使用CFFP财富中心,点击下载即刻加入!`
,
imageUrl
:
"https://mdev.zuihuibi.cn/cffp/static/cffp_logo.jpg"
,
success
:
function
(
res
)
{
console
.
log
(
"success:"
+
JSON
.
stringify
(
res
));
...
...
@@ -289,8 +295,8 @@
type
:
0
,
href
:
"https://mdev.zuihuibi.cn/cffp/pages/invitationRegister/invitationRegister?shareId="
+
this
.
shareId
,
title
:
"
uni-app分享
"
,
summary
:
"我
正在使用HBuilderX开发uni-app,赶紧跟我一起来体验
!"
,
title
:
"
CFFP家庭财务策划师联盟邀您加入
"
,
summary
:
"我
是家庭财务策划师***正在使用CFFP财富中心,点击下载即刻加入
!"
,
imageUrl
:
"https://mdev.zuihuibi.cn/cffp/static/cffp_logo.jpg"
,
success
:
function
(
res
)
{
console
.
log
(
"success:"
+
JSON
.
stringify
(
res
));
...
...
pages/learnCertify/learnCertify.vue
View file @
112a6cf2
...
...
@@ -12,13 +12,15 @@
<!--
<view
class=
"isUnder"
style=
"border: 2rpx solid #3671F4;"
v-if=
"certifyItem.isAdopt=='1'"
>
认证中
</view>
-->
<view
:class=
"certifyItem.isAdopt=='1' ? 'isUnder' :
'isAdopt
'"
>
<view
:class=
"certifyItem.isAdopt=='1' ? 'isUnder' :
certifyItem.isAdopt=='3' ? 'isAdopt' : '
'"
>
<span
v-if=
"certifyItem.isAdopt=='1'"
>
认证中
</span>
<span
v-if=
"certifyItem.isAdopt=='3'"
>
通过认证
</span>
</view>
<image
:src=
"certifyItem.cerLogoUrl"
mode=
"widthFix"
></image>
<text
class=
"certify_name"
>
{{
certifyItem
.
cerName
}}
</text>
<view
class=
"view_btn"
@
click=
"switchDetail(certifyItem)"
>
{{
certifyItem
.
isAdopt
==
'2'
?
'查看证书'
:
'认证详情'
}}
</view>
<view
class=
"view_btn"
@
click=
"switchDetail(certifyItem)"
>
<span>
{{
certifyItem
.
isAdopt
==
'3'
?
'查看证书'
:
'认证详情'
}}
</span>
</view>
</view>
</view>
<view
class=
"title"
>
...
...
@@ -71,7 +73,8 @@
planFaqs
:[],
boutiqueWelfares
:[],
mask_flag
:
false
,
qrCode
:
null
qrCode
:
null
,
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}
},
components
:{},
...
...
@@ -80,7 +83,7 @@
},
methods
:{
getLearnCertifyList
(){
api
.
queryCertificateList
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
((
res
)
=>
{
api
.
queryCertificateList
({
userId
:
1
}).
then
((
res
)
=>
{
console
.
log
(
res
)
if
(
res
[
'success'
]){
this
.
certificates
=
res
[
'data'
][
'certificates'
];
...
...
@@ -95,13 +98,13 @@
},
switchDetail
(
certifyItem
){
//2通过跳到证书页,1跳到证书详情
if
(
certifyItem
.
isAdopt
==
1
){
if
(
certifyItem
.
isAdopt
==
3
){
uni
.
navigateTo
({
url
:
`../
certifyDetail/certifyDetail?certificateId=
${
certifyItem
.
certificateId
}
&userSignupId=null
`
url
:
`../
authentication-query/authentication-result?queryType=1
`
})
}
else
if
(
certifyItem
.
isAdopt
==
2
)
{
}
else
{
uni
.
navigateTo
({
url
:
`../
authentication-query/authentication-result?queryType=1
`
url
:
`../
certifyDetail/certifyDetail?certificateId=
${
certifyItem
.
certificateId
}
&userSignupId=null&status=
${
certifyItem
.
isAdopt
}
`
})
}
},
...
...
pages/learningStatistics/learningStatistics.vue
View file @
112a6cf2
...
...
@@ -184,6 +184,7 @@
},
userStudyTime
(){
api
.
userStudyTime
({
userId
:
this
.
userId
,
month
:
this
.
month
}).
then
(
res
=>
{
console
.
log
(
res
,
2555
)
if
(
res
[
'success'
]){
this
.
userStudyTimeList
=
res
[
'data'
][
'studyInfos'
];
this
.
$nextTick
(()
=>
{
...
...
pages/myCertify/myCertify.vue
View file @
112a6cf2
...
...
@@ -58,7 +58,7 @@
tabType
:
1
,
signupInfos
:[],
userCertificates
:[],
userId
:
uni
.
getStorageSync
(
'user_mobile'
)
userId
:
uni
.
getStorageSync
(
'user_mobile'
)
};
},
methods
:{
...
...
@@ -71,7 +71,7 @@
}
},
querySignupList
(){
api
.
querySignupList
({
userId
:
this
.
userId
}).
then
(
res
=>
{
api
.
querySignupList
({
userId
:
1
}).
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
[
'success'
]){
this
.
signupInfos
=
res
[
'data'
][
'signupInfos'
]
...
...
pages/personalCenter/system/accontsetting.vue
View file @
112a6cf2
...
...
@@ -62,7 +62,7 @@
showCancel
:
true
,
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
uni
.
removeStorageSync
(
'isLogin'
)
uni
.
clearStorageSync
();
uni
.
reLaunch
({
url
:
'/components/login/login'
})
...
...
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