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
269725e0
Commit
269725e0
authored
Sep 08, 2026
by
yuzhenWang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'wyz01' into 'test'
发布测试,提交代码 See merge request
!135
parents
27213859
3015e046
Show whitespace changes
Inline
Side-by-side
Showing
63 changed files
with
177 additions
and
157 deletions
+177
-157
App.vue
+2
-1
api/api.ts
+5
-3
components/bootpage/bootpage.vue
+1
-1
components/commonPopup/restrictedTip.vue
+8
-4
components/search/search.vue
+1
-1
myPackageA/applyFranchise/applyFranchise.vue
+9
-7
myPackageA/commission/withdrawalRecord.vue
+1
-1
myPackageA/integralExchange/authenticaInfo.vue
+2
-2
myPackageA/integralExchange/exchange.vue
+5
-3
myPackageA/myTeam/myTeam.vue
+3
-3
myPackageA/poster/poster.vue
+1
-1
myPackageA/product-list/commission-detail.vue
+1
-1
myPackageA/product-list/product-commission.vue
+1
-1
myPackageA/product-list/product-list.vue
+1
-1
myPackageA/ruleAndContract/cancelProtocol.vue
+1
-1
myPackageA/ruleAndContract/clause.vue
+1
-1
myPackageA/ruleAndContract/taxRules.vue
+1
-1
myPackageA/salary/salaryList.vue
+4
-4
myPackageA/setting/logOff.vue
+2
-2
pages.json
+1
-12
pages/afterSaleDetail/afterSaleDetail.vue
+2
-2
pages/afterSales/afterSales.vue
+2
-2
pages/application-process/basic-info.vue
+1
-1
pages/applyDropClass/applyDropClass.vue
+1
-1
pages/commonDetail/commonDetail.vue
+1
-1
pages/courseDetail/courseDetail.vue
+13
-4
pages/courselist/courselist.vue
+1
-1
pages/dropLists/dropLists.vue
+2
-1
pages/exchangeRecord/exchangeRecord.vue
+2
-1
pages/index/index.vue
+7
-8
pages/inviteJoin/inviteJoin.vue
+3
-3
pages/lanch/index.vue
+30
-3
pages/myPoints/myPoints.vue
+1
-1
pages/myShare/myShare.vue
+1
-1
pages/orderConfirm/orderConfirm.vue
+8
-8
pages/orderDetail/orderDetail.vue
+2
-2
pages/orderStatus/orderStatus.vue
+3
-2
pages/personalCenter/accountoperation/aboutcffp.vue
+1
-1
pages/personalCenter/detail.vue
+2
-2
pages/personalCenter/helpCenter.vue
+1
-1
pages/personalCenter/myTeam.vue
+2
-2
pages/personalCenter/myTeamIncubate.vue
+2
-2
pages/personalCenter/personalCenter.vue
+3
-3
pages/personalCenter/system/accontsetting.vue
+1
-1
pages/personalCenter/system/menulist.vue
+1
-1
pages/personalCenter/system/settings.vue
+1
-1
pages/personalCenter/teamPerformance/teamPerformance.vue
+1
-1
pages/personalCenter/user-information.vue
+6
-5
pages/pointsExchange/customDatePop.vue
+1
-1
pages/pointsExchange/pointsExchange.vue
+3
-9
pages/product/product.vue
+1
-1
pages/saleCourseLists/saleCourseLists.vue
+3
-3
pages/systemMsg/system_msg.vue
+6
-19
pages/systemMsg/system_msg_detail.vue
+1
-1
pages/taxRules/taxRules.vue
+1
-1
pages/withdrawal/withdrawal.vue
+1
-1
sfp/childEdu/childEdu.vue
+1
-1
sfp/dataImport/data-import.vue
+1
-1
sfp/housePurchase/housePurchase.vue
+1
-1
sfp/housePurchase/loanBalance.vue
+1
-1
sfp/housePurchase/planningParameters.vue
+1
-1
sfp/index/index.vue
+1
-1
util/router.js
+2
-2
No files found.
App.vue
View file @
269725e0
...
...
@@ -93,7 +93,7 @@
// 只有已登录用户才需要检查
if
(
uni
.
getStorageSync
(
'loginType'
)
==
'codelogin'
&&
uni
.
getStorageSync
(
'cffp_userId'
))
{
try
{
const
res
=
await
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
});
const
res
=
await
api
.
queryInfo
({});
if
(
!
res
[
'success'
])
{
// 用户已注销,清除缓存
this
.
clearLoginState
();
...
...
@@ -254,6 +254,7 @@
}
//家办商城跳转未登录状态下
if
(
params
.
mpCffp
&&
(
params
.
noLogin
||!
params
.
dataToken
)){
uni
.
removeStorageSync
(
'userIsActive'
)
uni
.
removeStorageSync
(
'dataToken'
)
uni
.
setStorageSync
(
'loginType'
,
'visitor'
);
...
...
api/api.ts
View file @
269725e0
...
...
@@ -405,7 +405,7 @@ export default {
improveInfo
(
params
)
{
return
request
(
`
${
apiURL
}
/pay/get/improve/info`
,
'GET'
,
params
)
},
//
实名认证查询接口
//
提交实名认证
submitImproveInfo
(
params
)
{
return
request
(
`
${
apiURL
}
/pay/improve/info`
,
'POST'
,
params
)
},
...
...
@@ -451,7 +451,8 @@ export default {
},
//获取非分享名片信息
getBusinessCard
(
userId
)
{
return
request
(
`
${
apiURL
}
/business-card/my?userId=
${
userId
}
`
,
'GET'
)
// ?userId=${userId}
return
request
(
`
${
apiURL
}
/business-card/my`
,
'GET'
)
},
//获取分享状态名片信息
getShareBusinessCard
(
cardId
)
{
...
...
@@ -463,7 +464,8 @@ export default {
},
//获取分享名片统计
getCardStats
(
data
)
{
return
request
(
`
${
apiURL
}
/business-card/stats/
${
data
.
cardId
}
?userId=
${
data
.
userId
}
`
,
'GET'
)
// ?userId=${data.userId}
return
request
(
`
${
apiURL
}
/business-card/stats/
${
data
.
cardId
}
`
,
'GET'
)
},
dealerCouponCardList
(
params
)
{
return
request
(
`
${
sfpUrl
}
/dealerCoupon/inventory/list/page`
,
'POST'
,
params
)
...
...
components/bootpage/bootpage.vue
View file @
269725e0
...
...
@@ -184,7 +184,7 @@
},
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
components/commonPopup/restrictedTip.vue
View file @
269725e0
...
...
@@ -29,7 +29,7 @@
title
:
String
,
content
:
{
type
:
String
,
default
:
'
您的账号处在不可用状态,请长按图片添加客服咨询情况
'
default
:
''
},
showCode
:
{
type
:
Boolean
,
...
...
@@ -51,9 +51,13 @@
},
methods
:
{
open
()
{
if
(
dataHandling
.
getRuntimeEnv
()
==
'browser'
){
this
.
tipTxt
=
'您的账号处在不可用状态,请扫码添加客服咨询情况'
open
(
msg
)
{
// if(dataHandling.getRuntimeEnv()=='browser'){
// this.tipTxt = '您的账号处在不可用状态,请扫码添加客服咨询情况'
// }
if
(
msg
){
this
.
tipTxt
=
msg
}
if
(
this
.
visible
){
return
...
...
components/search/search.vue
View file @
269725e0
...
...
@@ -53,7 +53,7 @@
},
querySystemMessage
(){
if
(
this
.
userId
){
api
.
querySystemMessage
({
systemType
:
1
,
userId
:
this
.
userId
}).
then
((
res
)
=>
{
api
.
querySystemMessage
({
systemType
:
1
,}).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
this
.
messageUnreadCount
=
res
[
'data'
][
'unReadcount'
];
if
(
Number
(
this
.
messageUnreadCount
)
>
99
){
...
...
myPackageA/applyFranchise/applyFranchise.vue
View file @
269725e0
...
...
@@ -302,8 +302,7 @@
// 登录并且是禁用状态
if
(
this
.
loginType
==
'codelogin'
&&
this
.
userInfo
.
userIsActive
==
2
)
{
this
.
showCode
=
true
this
.
restrictedOrCanelContent
=
'您的账号处在不可用状态,请扫码添加客服咨询情况'
this
.
$refs
.
restrictedOrCanelTip
.
open
()
this
.
$refs
.
restrictedOrCanelTip
.
open
(
'您的账号处在不可用状态,请扫码添加客服咨询情况'
)
return
}
// 登录并且是注销状态 前端不判断,通过申请加盟的接口判断
...
...
@@ -354,8 +353,7 @@
// 不能登录并且是禁用状态
if
(
res
.
data
.
userIsActive
==
2
)
{
this
.
showCode
=
true
this
.
restrictedOrCanelContent
=
'您的账号处在不可用状态,请扫码添加客服咨询情况'
this
.
$refs
.
restrictedOrCanelTip
.
open
()
this
.
$refs
.
restrictedOrCanelTip
.
open
(
'您的账号处在不可用状态,请扫码添加客服咨询情况'
)
return
}
this
.
userId
=
String
(
res
[
'data'
][
'userId'
]);
...
...
@@ -406,9 +404,10 @@
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
this
.
form
.
nickName
=
res
[
'data'
][
'nickName'
]
if
(
this
.
form
.
nickName
)
{
this
.
editNickName
=
true
...
...
@@ -454,7 +453,9 @@
}
}
api
.
newSaveApplyInfo
(
params
).
then
((
res
)
=>
{
if
(
res
[
'success'
])
{
// 是合伙人就不让在加盟
if
(
res
.
data
.
isPartner
)
{
this
.
$refs
.
everyJoinPopup
.
open
()
...
...
@@ -470,10 +471,11 @@
)
this
.
$refs
.
successJoinPopup
.
open
()
}
else
{
console
.
log
(
'走到这里了'
);
// 由于注销需求,依据后端报错展示弹窗
this
.
showCode
=
false
this
.
restrictedOrCanelContent
=
res
[
'message'
]
this
.
$refs
.
restrictedOrCanelTip
.
open
()
this
.
$refs
.
restrictedOrCanelTip
.
open
(
res
[
'message'
]
)
}
})
...
...
myPackageA/commission/withdrawalRecord.vue
View file @
269725e0
...
...
@@ -119,7 +119,7 @@
},
methods
:
{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
myPackageA/integralExchange/authenticaInfo.vue
View file @
269725e0
...
...
@@ -226,9 +226,9 @@
},
methods
:{
continueBind
(){
console
.
log
(
'解绑'
);
let
params
=
{
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
//
userId:uni.getStorageSync('cffp_userId'),
oprType
:
this
.
paymentMethod
}
api
.
unbindImproveInfo
(
params
).
then
((
res
)
=>
{
...
...
myPackageA/integralExchange/exchange.vue
View file @
269725e0
...
...
@@ -164,9 +164,9 @@
},
// 查询实名信息
getImproveInfo
(){
console
.
log
(
'执行了'
);
let
params
=
{
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
//
userId:uni.getStorageSync('cffp_userId'),
oprType
:
this
.
paymentMethod
}
api
.
improveInfo
(
params
).
then
((
res
)
=>
{
...
...
@@ -182,6 +182,7 @@
}
else
{
this
.
showUnbind
=
false
}
console
.
log
(
'showUnbind'
,
this
.
showUnbind
);
}
else
{
uni
.
showToast
({
title
:
res
[
'message'
],
...
...
@@ -193,7 +194,8 @@
},
// 查询兑换得钱数和待结算得积分
queryByUserIdFortuneStatistic
(){
api
.
queryByUserIdFortuneStatistic
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)}).
then
((
res
)
=>
{
// userId:uni.getStorageSync('cffp_userId')
api
.
queryByUserIdFortuneStatistic
({}).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
this
.
queryResult
=
res
[
'data'
]
if
(
this
.
queryResult
.
yesExchangeFortune
){
...
...
myPackageA/myTeam/myTeam.vue
View file @
269725e0
...
...
@@ -431,7 +431,7 @@
},
methods
:
{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
@@ -471,7 +471,7 @@
},
getqueryTeamAchievement
()
{
this
.
CffpOrgInfoReqVO
.
userId
=
uni
.
getStorageSync
(
'cffp_userId'
),
//
this.CffpOrgInfoReqVO.userId=uni.getStorageSync('cffp_userId'),
this
.
CffpOrgInfoReqVO
.
queryType
=
this
.
tabList
.
filter
(
item
=>
item
.
id
==
this
.
currentTab
)[
0
].
type
this
.
CffpOrgInfoReqVO
.
sortType
=
this
.
btnList
.
filter
(
item
=>
item
.
id
==
this
.
currentFilterBtn
)[
0
].
sortType
api
.
queryTeamAchievement
(
this
.
CffpOrgInfoReqVO
).
then
(
res
=>
{
...
...
@@ -502,7 +502,7 @@
// 1,代表刚进页面,2,代表修改了备注
this
.
myTeamList
=
[]
api
.
queryMyTeamInfo
({
userId
:
this
.
userId
,
//
userId: this.userId,
type
:
'3'
}).
then
(
res
=>
{
if
(
res
[
'success'
]){
...
...
myPackageA/poster/poster.vue
View file @
269725e0
...
...
@@ -88,7 +88,7 @@ export default {
},
methods
:
{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
myPackageA/product-list/commission-detail.vue
View file @
269725e0
...
...
@@ -195,7 +195,7 @@ const fetchRateData = async () => {
}
}
const
queryInfo
=
()
=>
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
})
api
.
queryInfo
({})
.
then
((
res
)
=>
{
if
(
res
.
success
)
{
delete
res
.
data
?.
commonResult
;
...
...
myPackageA/product-list/product-commission.vue
View file @
269725e0
...
...
@@ -76,7 +76,7 @@ const goToCommissionDetail = (product) => {
}
const
queryInfo
=
()
=>
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
})
api
.
queryInfo
({})
.
then
((
res
)
=>
{
if
(
res
.
success
)
{
delete
res
.
data
?.
commonResult
;
...
...
myPackageA/product-list/product-list.vue
View file @
269725e0
...
...
@@ -309,7 +309,7 @@ const productTypes = ref([]);
// 产品列表
const
products
=
ref
([]);
const
queryInfo
=
()
=>
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
})
api
.
queryInfo
({})
.
then
((
res
)
=>
{
if
(
res
.
success
)
{
delete
res
.
data
?.
commonResult
;
...
...
myPackageA/ruleAndContract/cancelProtocol.vue
View file @
269725e0
...
...
@@ -123,7 +123,7 @@ export default {
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
myPackageA/ruleAndContract/clause.vue
View file @
269725e0
...
...
@@ -318,7 +318,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
myPackageA/ruleAndContract/taxRules.vue
View file @
269725e0
...
...
@@ -81,7 +81,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
myPackageA/salary/salaryList.vue
View file @
269725e0
...
...
@@ -38,7 +38,7 @@
<!-- 明细卡片(紧跟在对应条目下方) -->
<view
class=
"detail-card"
:class=
"
{ active: item.expanded }" v-if="item.expanded">
<view
class=
"detail-header"
>
<text
class=
"total-label"
>
🌟
基础信息
</text>
<text
class=
"total-label"
>
基础信息
</text>
<!--
<text
class=
"total-amount"
>
¥
{{
item
.
detail
.
grossAmount
}}
<text
class=
"unit"
>
元
</text></text>
-->
</view>
<!--
<view
style=
"border-top:2px solid #dce3ed; margin:0px 0;"
></view>
-->
...
...
@@ -85,7 +85,7 @@
</view>
-->
</view>
<view
class=
"detail-header"
>
<text
class=
"total-label"
>
🌟
打款明细
</text>
<text
class=
"total-label"
>
打款明细
</text>
<!--
<text
class=
"total-amount"
>
¥
{{
item
.
detail
.
grossAmount
}}
<text
class=
"unit"
>
元
</text></text>
-->
</view>
<!--
<view
style=
"border-top:2px solid #dce3ed; margin:0px 0;"
></view>
-->
...
...
@@ -266,7 +266,7 @@
if
(
item
.
mask
)
{
uni
.
showModal
({
title
:
'安全验证'
,
content
:
'
🔐
模拟人脸/指纹验证,点击“确定”通过验证'
,
content
:
' 模拟人脸/指纹验证,点击“确定”通过验证'
,
confirmText
:
'确定'
,
cancelText
:
'取消'
,
success
:
(
res
)
=>
{
...
...
@@ -293,7 +293,7 @@
}
},
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
myPackageA/setting/logOff.vue
View file @
269725e0
...
...
@@ -130,7 +130,7 @@
},
methods
:
{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
@@ -281,7 +281,7 @@
const
hasText
=
`
${
userId
}
|
${
timestamp
}
|
${
signatureSecret
}
`
const
hashResult
=
sha256
(
hasText
);
let
params
=
{
"userId"
:
uni
.
getStorageSync
(
'cffp_userId'
),
//
"userId":uni.getStorageSync('cffp_userId'),
"signatureData"
:
this
.
applyParam
.
personalSignOssPath
,
"signatureHash"
:
hashResult
,
"timestamp"
:
timestamp
,
...
...
pages.json
View file @
269725e0
...
...
@@ -752,18 +752,7 @@
},
"lazyLoad"
:
true
}
//
{
//
"path"
:
"ticket/unUsed"
,
//
"style"
:
{
//
"navigationBarTitleText"
:
"我的卡券"
//
}
//
},
//
{
//
"path"
:
"ticket/alreadyUsed"
,
//
"style"
:
{
//
"navigationBarTitleText"
:
"使用记录"
//
}
//
}
]
},
{
...
...
pages/afterSaleDetail/afterSaleDetail.vue
View file @
269725e0
...
...
@@ -101,7 +101,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
@@ -147,7 +147,7 @@
},
userAfterSalesDtl
(){
const
params
=
{
userId
:
this
.
userId
,
//
userId:this.userId,
orderNo
:
this
.
orderNo
,
afterSalesFlag
:
this
.
afterSalesFlag
}
...
...
pages/afterSales/afterSales.vue
View file @
269725e0
...
...
@@ -44,7 +44,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
@@ -90,7 +90,7 @@
},
userAfterSales
(){
const
param
=
{
userId
:
this
.
userId
,
//
userId:this.userId,
afterSalesFlag
:
this
.
afterSalesFlag
}
api
.
userAfterSales
(
param
).
then
(
res
=>
{
...
...
pages/application-process/basic-info.vue
View file @
269725e0
...
...
@@ -295,7 +295,7 @@
},
queryOrgList
()
{
const
param
=
{
userId
:
this
.
userId
,
//
userId: this.userId,
partnerLevel
:
this
.
applyParam
.
partnerLevel
}
api
.
queryOrgList
(
param
).
then
((
res
)
=>
{
...
...
pages/applyDropClass/applyDropClass.vue
View file @
269725e0
...
...
@@ -113,7 +113,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/commonDetail/commonDetail.vue
View file @
269725e0
...
...
@@ -38,7 +38,7 @@
},
methods
:
{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/courseDetail/courseDetail.vue
View file @
269725e0
...
...
@@ -394,8 +394,10 @@
},
// 打开微信分享啊
reinvite
()
{
//小程序没登录进入到系统,要回到小程序去登录
if
(
uni
.
getStorageSync
(
'mpCffp'
)
&&
!
uni
.
getStorageSync
(
'dataToken'
)
&&
this
.
loginType
===
'visitor'
)
{
if
(
uni
.
getStorageSync
(
'mpCffp'
)
&&
!
uni
.
getStorageSync
(
'dataToken'
)
&&
uni
.
getStorageSync
(
'loginType'
)
===
'visitor'
)
{
this
.
jumpMplogin
()
return
}
...
...
@@ -521,7 +523,7 @@
//预约成功组件点击确认后的回调函数
c_confirmVerifyPopup
()
{
api
.
appointment
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
//
userId: uni.getStorageSync('cffp_userId'),
courseId
:
this
.
fileId
}).
then
((
res
)
=>
{
if
(
res
[
'success'
])
{
...
...
@@ -541,6 +543,7 @@
},
// 登录组件成功后回调函数
c_confirmLoginPopup
()
{
console
.
log
(
'执行了'
);
//登录完成之后 弹出预约弹窗
this
.
$refs
.
verifyPopupCom
.
open
();
},
...
...
@@ -1166,7 +1169,7 @@
let
platform
=
uni
.
getSystemInfoSync
().
platform
let
UserShareRequestVO
=
{
systemType
:
platform
==
'ios'
?
'1'
:
'0'
,
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
//
userId: uni.getStorageSync('cffp_userId'),
businessType
:
'1'
,
// 分享类型
businessId
:
this
.
fileId
,
// 课程Id
shareUrl
:
shareURL
+
"/pages/courseDetail/courseDetail?fileId="
+
this
.
fileId
+
...
...
@@ -1182,6 +1185,11 @@
// title: '分享成功',
// duration: 2000
// });
}
else
{
uni
.
showToast
({
title
:
'分享统计失败'
,
duration
:
2000
});
}
})
},
...
...
@@ -1199,7 +1207,7 @@
}
},
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
const
cffp_userInfo
=
{
...
...
@@ -1401,6 +1409,7 @@
},
// 跳转到小程序登录
jumpMplogin
()
{
let
currentUrl
=
``
;
if
(
this
.
miniShareInfo
.
miniShare
)
{
if
(
uni
.
getStorageSync
(
'loginType'
)
==
'codelogin'
)
{
...
...
pages/courselist/courselist.vue
View file @
269725e0
...
...
@@ -750,7 +750,7 @@
})
},
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/dropLists/dropLists.vue
View file @
269725e0
...
...
@@ -55,7 +55,8 @@
})
},
queryDropCourseList
(){
api
.
queryDropCourseList
({
userId
:
this
.
userId
}).
then
(
res
=>
{
// userId:this.userId
api
.
queryDropCourseList
({}).
then
(
res
=>
{
if
(
res
[
'success'
]){
this
.
dropLists
=
res
[
'data'
][
'dropCourseListDtos'
]
}
...
...
pages/exchangeRecord/exchangeRecord.vue
View file @
269725e0
...
...
@@ -53,7 +53,8 @@
},
methods
:{
findByUserIdForWithdralHis
(){
api
.
findByUserIdForWithdralHis
({
userId
:
this
.
userId
}).
then
((
res
)
=>
{
// userId:this.userId
api
.
findByUserIdForWithdralHis
({}).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
this
.
cffpFortuneDeductionList
=
res
[
'data'
][
'cffpFortuneDeductionList'
]
}
...
...
pages/index/index.vue
View file @
269725e0
...
...
@@ -276,9 +276,9 @@
},
onShow
()
{
if
(
uni
.
getStorageSync
(
'dataToken'
)){
this
.
dataToken
=
uni
.
getStorageSync
(
'dataToken'
)
}
//
if(uni.getStorageSync('dataToken')){
//
this.dataToken = uni.getStorageSync('dataToken')
//
}
this
.
loginType
=
uni
.
getStorageSync
(
'loginType'
)
this
.
init
();
...
...
@@ -371,7 +371,7 @@
},
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
@@ -548,7 +548,8 @@
}
},
querySystemMessage
()
{
api
.
querySystemMessage
({
systemType
:
1
,
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)}).
then
(
res
=>
{
// userId:uni.getStorageSync('cffp_userId')
api
.
querySystemMessage
({
systemType
:
1
,}).
then
(
res
=>
{
if
(
res
[
'success'
]
&&
res
[
'data'
][
'dataList'
]
&&
res
[
'data'
][
'dataList'
].
length
>
0
)
{
let
total
=
res
[
'data'
][
'dataList'
].
filter
(
item
=>
{
...
...
@@ -783,15 +784,13 @@
})
},
reLogin
(){
console
.
log
(
'index调用'
);
uni
.
showLoading
({
title
:
'加载中...'
});
// 添加iOS平台检测
const
isIOS
=
navigator
.
platform
.
match
(
/
(
iPhone|iPod|iPad
)
/i
);
const
params
=
{
loginType
:
'5'
,
authToken
:
this
.
dataToken
,
code
:
this
.
dataToken
,
loginType
:
'5'
,
visitorUuid
:
uni
.
getStorageSync
(
'visitorUuid'
)?
uni
.
getStorageSync
(
'visitorUuid'
):
dataHandling
.
uuid
()
}
...
...
pages/inviteJoin/inviteJoin.vue
View file @
269725e0
...
...
@@ -221,7 +221,7 @@
})
},
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
const
cffp_userInfo
=
{
...
...
@@ -242,7 +242,7 @@
// 查询组织list
getqueryOrgList
()
{
let
CffpAreaQueryReqVO
=
{
userId
:
this
.
userId
,
//
userId: this.userId,
partnerLevel
:
''
}
api
.
queryOrgList
(
CffpAreaQueryReqVO
).
then
(
res
=>
{
...
...
@@ -629,7 +629,7 @@
this
.
generatedImage
=
''
},
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/lanch/index.vue
View file @
269725e0
...
...
@@ -25,8 +25,11 @@
let
dataToken
=
ref
()
let
restrictedTipRef
=
ref
()
onLoad
((
options
)
=>
{
jumpInfo
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
options
))
jumpInfo
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
options
))
if
(
options
.
backFlag
){
uni
.
setStorageSync
(
'backFlag'
,
options
.
backFlag
)
}
// 参数带token了重新登录
if
(
options
.
dataToken
)
{
console
.
log
(
'jumpInfo.value'
,
jumpInfo
.
value
);
...
...
@@ -80,10 +83,10 @@
}
}
})
const
reLogin
=
(
landingPage
)
=>
{
console
.
log
(
'lanuch调用了'
);
uni
.
showLoading
({
title
:
'加载中...'
});
...
...
@@ -91,7 +94,7 @@
const
isIOS
=
navigator
.
platform
.
match
(
/
(
iPhone|iPod|iPad
)
/i
);
const
params
=
{
loginType
:
'5'
,
authToken
:
dataToken
.
value
,
code
:
dataToken
.
value
,
visitorUuid
:
uni
.
getStorageSync
(
'visitorUuid'
)?
uni
.
getStorageSync
(
'visitorUuid'
):
dataHandling
.
uuid
()
}
api
.
loginVerification
(
params
).
then
((
res
)
=>
{
...
...
@@ -133,9 +136,17 @@
}
else
if
(
landingPage
==
'applyFranchise'
)
{
uni
.
reLaunch
({
url
:
`/myPackageA/applyFranchise/applyFranchise?shareId=
${
jumpInfo
.
value
.
shareId
}
&invitationCode=
${
jumpInfo
.
value
.
invitationCode
}
&inviteUserId=
${
jumpInfo
.
value
.
inviteUserId
}
&miniShare=1`
})
}
else
if
(
landingPage
==
'index'
){
if
(
jumpInfo
.
value
.
miniShare
){
uni
.
reLaunch
({
url
:
'/pages/index/index?miniShare=1'
})
}
else
{
console
.
log
(
'走到这里了'
);
uni
.
reLaunch
({
url
:
'/pages/index/index'
})
}
}
else
if
(
landingPage
==
'courselist'
){
uni
.
reLaunch
({
url
:
'/pages/courselist/courselist'
...
...
@@ -150,6 +161,20 @@
})
}
}
else
{
//内嵌带的code失效了,用户需要重新登录
if
(
res
.
data
.
commonResult
&&
res
.
data
.
commonResult
.
errorCode
==
'1101'
){
if
(
dataHandling
.
h5RuntimeEnv
()
==
'wechat-miniprogram'
){
if
(
jumpInfo
.
value
.
backFlag
==
'ydMall'
){
wx
.
miniProgram
.
reLaunch
({
url
:
`/myPackageA/login/index?codeInvalid=1&systemSource=cffp&pageSource=lanch&landingPage=
${
jumpInfo
.
value
.
landingPage
}
`
})
}
}
else
{
uni
.
reLaunch
({
url
:
`/myPackageA/login/login`
})
}
return
}
else
{
uni
.
showToast
({
title
:
res
[
'message'
],
duration
:
2000
,
...
...
@@ -157,6 +182,8 @@
})
uni
.
reLaunch
({
url
:
`/pages/index/index`
})
}
}
})
uni
.
hideLoading
()
...
...
pages/myPoints/myPoints.vue
View file @
269725e0
...
...
@@ -116,7 +116,7 @@
findByUserIdForFortuneStatistic
(){
const
param
=
{
isDtl
:
2
,
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
//
userId:uni.getStorageSync('cffp_userId'),
// userId: 1,
fortuneDate
:
this
.
fortuneDate
,
timeFlag
:
this
.
timeFlag
...
...
pages/myShare/myShare.vue
View file @
269725e0
...
...
@@ -130,7 +130,7 @@
},
methods
:
{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/orderConfirm/orderConfirm.vue
View file @
269725e0
...
...
@@ -237,7 +237,7 @@
methods
:
{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
@@ -278,7 +278,7 @@
orderId
:
this
.
orderId
,
amount
:
this
.
isRedirect
==
1
?
this
.
calculatedPrice
:
this
.
totalPrice
,
paymentMethod
:
this
.
paymentMethod
,
userId
:
this
.
userId
,
//
userId: this.userId,
integralExchange
:
this
.
isDeduction
==
"true"
?
this
.
deductionCore
:
0
,
paymentType
:
''
,
isPayOrAuth
:
''
,
...
...
@@ -342,6 +342,7 @@
// #ifdef H5
param
.
paymentType
=
2
;
//deviceType:PC为1,移动端为2,微信为3
if
(
this
.
deviceType
==
3
)
{
// 向小程序通信
if
(
dataHandling
.
h5RuntimeEnv
()
==
'wechat-miniprogram'
)
{
...
...
@@ -355,11 +356,9 @@
}
let
_this
=
this
param
.
isPayOrAuth
=
1
;
// uni.showToast({
// title: JSON.stringify(param),
// duration: 10000,
// icon: 'none'
// })
uni
.
showToast
({
content
:
`微信支付:
${
JSON
.
stringify
(
param
)}
`
})
api
.
wxAuthorize
(
param
).
then
((
res
)
=>
{
_this
.
paymentBtnDisabled
=
false
;
...
...
@@ -554,7 +553,8 @@
courseDetailLoad
(
option
)
{
this
.
courseDetail
();
this
.
queryByUserIdFortuneStatistic
()
this
.
deviceType
=
common
.
checkDeviceType
();
this
.
deviceType
=
common
.
checkDeviceType
();
//原来的
// this.deviceType = '3'; //测试的
if
(
this
.
deviceType
==
3
)
{
this
.
paymentMethod
=
1
;
}
...
...
pages/orderDetail/orderDetail.vue
View file @
269725e0
...
...
@@ -170,7 +170,7 @@
},
methods
:
{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
@@ -203,7 +203,7 @@
},
userCourseInfo
()
{
const
param
=
{
userId
:
this
.
userId
,
//
userId: this.userId,
orderId
:
this
.
orderId
,
queryType
:
this
.
type
==
'drop'
?
'1'
:
'2'
,
commissionType
:
this
.
commissionType
,
...
...
pages/orderStatus/orderStatus.vue
View file @
269725e0
...
...
@@ -105,7 +105,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
@@ -132,7 +132,8 @@
})
},
querySystemMessage
()
{
api
.
querySystemMessage
({
systemType
:
1
,
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)}).
then
(
res
=>
{
// userId:uni.getStorageSync('cffp_userId')
api
.
querySystemMessage
({
systemType
:
1
,}).
then
(
res
=>
{
if
(
res
[
'success'
]
&&
res
[
'data'
][
'dataList'
].
length
>
0
)
{
this
.
infoTotal
=
res
[
'data'
][
'dataList'
].
filter
(
item
=>
{
return
item
.
isRead
==
0
...
...
pages/personalCenter/accountoperation/aboutcffp.vue
View file @
269725e0
...
...
@@ -84,7 +84,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/personalCenter/detail.vue
View file @
269725e0
...
...
@@ -317,8 +317,8 @@
},
100
);
};
const
queryInfo
=
()
=>
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
})
.
then
((
res
:
QueryInfoResponse
)
=>
{
//
👈
添加类型注解
api
.
queryInfo
({})
.
then
((
res
:
QueryInfoResponse
)
=>
{
// 添加类型注解
if
(
res
.
success
)
{
delete
res
.
data
?.
commonResult
;
...
...
pages/personalCenter/helpCenter.vue
View file @
269725e0
...
...
@@ -92,7 +92,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/personalCenter/myTeam.vue
View file @
269725e0
...
...
@@ -296,7 +296,7 @@
},
methods
:
{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
@@ -336,7 +336,7 @@
},
getqueryTeamAchievement
()
{
this
.
CffpOrgInfoReqVO
.
userId
=
uni
.
getStorageSync
(
'cffp_userId'
),
//
this.CffpOrgInfoReqVO.userId=uni.getStorageSync('cffp_userId'),
this
.
CffpOrgInfoReqVO
.
queryType
=
this
.
tabList
.
filter
(
item
=>
item
.
id
==
this
.
currentTab
)[
0
].
type
this
.
CffpOrgInfoReqVO
.
sortType
=
this
.
btnList
.
filter
(
item
=>
item
.
id
==
this
.
currentFilterBtn
)[
0
].
sortType
api
.
queryTeamAchievement
(
this
.
CffpOrgInfoReqVO
).
then
(
res
=>
{
...
...
pages/personalCenter/myTeamIncubate.vue
View file @
269725e0
...
...
@@ -158,7 +158,7 @@
myTeamList
:[],
//我的团队表格数据,
myTeamData
:{},
//我的团队总数据,
CffpOrgInfoReqVO
:
{
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
//
userId: uni.getStorageSync('cffp_userId'),
startDate
:
`
${
new
Date
().
getFullYear
()}
-
${
new
Date
().
getMonth
()
+
1
>
9
?
new
Date
().
getMonth
()
+
1
:
'0'
+
(
new
Date
().
getMonth
()
+
1
)}
`
,
endDate
:
`
${
new
Date
().
getFullYear
()}
-
${
new
Date
().
getMonth
()
+
1
>
9
?
new
Date
().
getMonth
()
+
1
:
'0'
+
(
new
Date
().
getMonth
()
+
1
)}
`
,
courseOrPolicy
:
'1'
,
...
...
@@ -223,7 +223,7 @@
},
methods
:
{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/personalCenter/personalCenter.vue
View file @
269725e0
...
...
@@ -546,7 +546,8 @@
},
querySystemMessage
()
{
if
(
this
.
userId
)
{
api
.
querySystemMessage
({
systemType
:
1
,
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
((
res
)
=>
{
// userId: uni.getStorageSync('cffp_userId')
api
.
querySystemMessage
({
systemType
:
1
,
}).
then
((
res
)
=>
{
if
(
res
[
'success'
]
&&
res
[
'data'
][
'dataList'
]
&&
res
[
'data'
][
'dataList'
].
length
>
0
)
{
this
.
messageInfo
=
res
[
'data'
][
'dataList'
];
this
.
msgTotal
=
res
[
'data'
][
'dataList'
].
filter
(
item
=>
{
...
...
@@ -755,7 +756,6 @@
}
else
{
const
urlObj
=
JSON
.
parse
(
JSON
.
stringify
(
item
))
console
.
log
(
'222222222'
,
urlObj
.
link
);
if
(
urlObj
.
type
)
{
urlObj
.
link
=
`
${
urlObj
.
link
}
?type=
${
urlObj
.
type
}
&from=personalCenter&partnerType=
${
this
.
customerBasicInfo
.
partnerType
}
`
...
...
@@ -845,7 +845,7 @@
},
// 查询个人资料
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
if
(
res
[
'success'
])
{
this
.
customerBasicInfo
=
res
[
'data'
];
if
(
res
[
'data'
][
'businessCardId'
])
{
...
...
pages/personalCenter/system/accontsetting.vue
View file @
269725e0
...
...
@@ -74,7 +74,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/personalCenter/system/menulist.vue
View file @
269725e0
...
...
@@ -54,7 +54,7 @@
},
methods
:
{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/personalCenter/system/settings.vue
View file @
269725e0
...
...
@@ -83,7 +83,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/personalCenter/teamPerformance/teamPerformance.vue
View file @
269725e0
...
...
@@ -122,7 +122,7 @@
}
],
CffpOrgInfoReqVO
:
{
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
//
userId: uni.getStorageSync('cffp_userId'),
startDate
:
`
${
new
Date
().
getFullYear
()}
-
${
new
Date
().
getMonth
()
+
1
>
9
?
new
Date
().
getMonth
()
+
1
:
'0'
+
(
new
Date
().
getMonth
()
+
1
)}
`
,
endDate
:
`
${
new
Date
().
getFullYear
()}
-
${
new
Date
().
getMonth
()
+
1
>
9
?
new
Date
().
getMonth
()
+
1
:
'0'
+
(
new
Date
().
getMonth
()
+
1
)}
`
,
queryType
:
''
,
...
...
pages/personalCenter/user-information.vue
View file @
269725e0
...
...
@@ -170,7 +170,8 @@
const
initialData
=
JSON
.
parse
(
options
.
customerBasicInfo
);
this
.
optionForm
=
JSON
.
parse
(
JSON
.
stringify
(
initialData
));
this
.
tempInfo
.
optionForm
=
JSON
.
parse
(
JSON
.
stringify
(
initialData
));
console
.
log
(
'this.optionForm'
,
this
.
optionForm
);
console
.
log
(
'this.tempInfo'
,
this
.
tempInfo
);
// 初始化 realInfo.shiming 和 tempInfo.shiming
this
.
realInfo
.
shiming
=
{};
this
.
tempInfo
.
shiming
=
{};
...
...
@@ -189,7 +190,7 @@
},
methods
:
{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
@@ -243,7 +244,7 @@
// 查询实名信息
getImproveInfo
(){
let
params
=
{
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
//
userId:uni.getStorageSync('cffp_userId'),
oprType
:
'0'
//因为接口不传这个值会报错,所以传一个值,拿到实名信息
}
api
.
improveInfo
(
params
).
then
((
res
)
=>
{
...
...
@@ -364,7 +365,7 @@
saveUserInfo
()
{
let
UserRequestVO
=
{
id
:
uni
.
getStorageSync
(
'cffp_userId'
),
//
id: uni.getStorageSync('cffp_userId'),
realName
:
this
.
optionForm
.
realName
,
nickName
:
this
.
optionForm
.
nickName
,
headPicture
:
this
.
optionForm
.
headPicture
,
...
...
@@ -372,7 +373,7 @@
}
let
params
=
{
realNameAuthRequest
:
{...
this
.
realInfo
.
shiming
},
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
//
userId: uni.getStorageSync('cffp_userId'),
oprType
:
0
//只更新实名
}
...
...
pages/pointsExchange/customDatePop.vue
View file @
269725e0
...
...
@@ -532,7 +532,7 @@
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
margin
:
40
rpx
10
0
rpx
;
margin
:
40
rpx
0
rpx
;
box-sizing
:
border-box
;
.header-time
{
background
:
rgba
(
245
,
245
,
245
,
1
);
...
...
pages/pointsExchange/pointsExchange.vue
View file @
269725e0
...
...
@@ -246,12 +246,7 @@
api
.
dropOptionsQuery
({
code
:
'CFFP_Commission_Item'
}).
then
((
res
)
=>
{
this
.
commissionTypeList
=
[{
dropOptionName
:
'全部'
,
dropOptionCode
:
null
,
id
:
'0'
}].
concat
(
res
[
'data'
][
'dropMasterInfoList'
][
0
][
'dropOptionsInfoList'
]);
// for(let i=0;i
<
this
.
commissionTypeList
.
length
;
i
++
){
// if(this.commissionType == this.commissionTypeList[i]['dropOptionCode']){
// this.commissionTypeIdx = i;
// break;
// }
// }
})
},
closePop
()
{
...
...
@@ -259,7 +254,7 @@
},
//时间选择框确定事件
comfirm
(
obj
)
{
console
.
log
(
'obj'
,
obj
);
this
.
currentItem
=
obj
.
current
// timeType 8:月份 9:三种方式的选择 10:自定义日期选择
...
...
@@ -321,7 +316,6 @@
})
},
toWithdrawal
()
{
if
(
!
this
.
yesExchangeFortune
||
this
.
yesExchangeFortune
==
0
)
{
uni
.
showModal
({
content
:
`目前可兑换积分为
${
this
.
yesExchangeFortune
}
,积分低于1分时无法兑换`
,
...
...
@@ -368,7 +362,7 @@
}
},
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/product/product.vue
View file @
269725e0
...
...
@@ -127,7 +127,7 @@
}
},
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/saleCourseLists/saleCourseLists.vue
View file @
269725e0
...
...
@@ -206,7 +206,7 @@
},
userCourseCount
(){
const
params
=
{
userId
:
this
.
userId
,
//
userId:this.userId,
queryDate
:
this
.
queryDate
}
api
.
userCourseCount
(
params
).
then
(
res
=>
{
...
...
@@ -217,7 +217,7 @@
},
userCourseList
(){
const
params
=
{
userId
:
this
.
userId
,
//
userId:this.userId,
queryDate
:
this
.
queryDate
}
if
(
this
.
tabType
===
1
){
...
...
@@ -257,7 +257,7 @@
})
},
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/systemMsg/system_msg.vue
View file @
269725e0
...
...
@@ -67,7 +67,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
@@ -94,7 +94,8 @@
})
},
querySystemMessage
()
{
api
.
querySystemMessage
({
systemType
:
1
,
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)}).
then
(
res
=>
{
// userId:uni.getStorageSync('cffp_userId')
api
.
querySystemMessage
({
systemType
:
1
,}).
then
(
res
=>
{
if
(
res
[
'success'
]
&&
res
[
'data'
][
'dataList'
]
&&
res
[
'data'
][
'dataList'
].
length
>
0
)
{
this
.
system_msgs_list
=
res
[
'data'
][
'dataList'
];
}
else
{
...
...
@@ -134,7 +135,8 @@
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
api
.
oneKeyRead
({
systemType
:
1
,
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)}).
then
((
res
)
=>
{
// userId:uni.getStorageSync('cffp_userId')
api
.
oneKeyRead
({
systemType
:
1
}).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
that
.
querySystemMessage
();
}
else
{
...
...
@@ -150,22 +152,7 @@
}
}
});
// api.oneKeyRead({systemType:1,userId:uni.getStorageSync('cffp_userId')}).then((res)=>{
// if(res['success']){
// uni.showToast({
// title: '所有信息都已读',
// duration: 2000,
// icon: 'none'
// })
// this.querySystemMessage();
// }else{
// uni.showToast({
// title: res['message'],
// duration: 2000,
// icon: 'none'
// })
// }
// })
}
}
}
...
...
pages/systemMsg/system_msg_detail.vue
View file @
269725e0
...
...
@@ -58,7 +58,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/taxRules/taxRules.vue
View file @
269725e0
...
...
@@ -83,7 +83,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
pages/withdrawal/withdrawal.vue
View file @
269725e0
...
...
@@ -110,7 +110,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
sfp/childEdu/childEdu.vue
View file @
269725e0
...
...
@@ -534,7 +534,7 @@
return
common
.
formatFloat
(
num
,
digitNum
=
2
,
type
=
1
)
},
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
sfp/dataImport/data-import.vue
View file @
269725e0
...
...
@@ -127,7 +127,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
sfp/housePurchase/housePurchase.vue
View file @
269725e0
...
...
@@ -371,7 +371,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
sfp/housePurchase/loanBalance.vue
View file @
269725e0
...
...
@@ -134,7 +134,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
sfp/housePurchase/planningParameters.vue
View file @
269725e0
...
...
@@ -84,7 +84,7 @@
},
methods
:{
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
sfp/index/index.vue
View file @
269725e0
...
...
@@ -636,7 +636,7 @@
this
.
resultShowFlag
=
false
;
},
queryInfo
()
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
api
.
queryInfo
({}).
then
(
res
=>
{
// 保存用户得个人信息
if
(
res
[
'success'
])
{
delete
res
.
data
.
commonResult
...
...
util/router.js
View file @
269725e0
...
...
@@ -67,8 +67,8 @@ export default function initApp() {
url
:
'/myPackageA/login/login'
})
}
if
(
uni
.
getStorageSync
(
'
cffp_userId'
)
)
{
api
.
queryInfo
({
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
if
(
uni
.
getStorageSync
(
'
loginType'
)
==
'codelogin'
)
{
api
.
queryInfo
({}).
then
(
res
=>
{
if
(
!
res
[
'success'
])
{
uni
.
setStorageSync
(
'loginType'
,
'visitor'
)
uni
.
navigateTo
({
...
...
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