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
0b7a8596
Commit
0b7a8596
authored
Jul 09, 2025
by
yuzhenWang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-20250625wyz-修改申请加盟' into 'dev'
修改统计弹窗,修复支付宝支付跳登录页发布生产 See merge request
!39
parents
ab6294c3
7f763246
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
74 additions
and
18 deletions
+74
-18
manifest.json
+1
-1
pages.json
+1
-0
pages/index/index.vue
+35
-8
pages/personalCenter/personalCenter.vue
+36
-8
util/router.js
+1
-1
No files found.
manifest.json
View file @
0b7a8596
...
...
@@ -185,7 +185,7 @@
}
}
},
"disableReload"
:
true
//
添加这行禁用自动刷新
"disableReload"
:
true
//
添加这行禁用自动刷新
},
"uniStatistics"
:
{
"enable"
:
false
...
...
pages.json
View file @
0b7a8596
...
...
@@ -475,6 +475,7 @@
"navigationBarTitleText"
:
"批量数据计算"
}
}
],
"subPackages"
:
[{
"root"
:
"myPackageA"
,
...
...
pages/index/index.vue
View file @
0b7a8596
...
...
@@ -130,30 +130,57 @@
<view
class=
""
>
<text
class=
"iconfont icon-a-tuandui3 leftIcon"
></text>
<text>
团队有效人数
</text>
<text
class=
"iconfont icon-weiwancheng rightIcon"
></text>
<text
v-if=
"partnerStatistic.totalPeopleNum
<partnerStatistic
.
reachPeopleNum
"
class=
"iconfont icon-weiwancheng rightIcon"
></text>
<text
v-else
class=
"iconfont icon-duihao2 rightIcon"
></text>
</view>
<view
class=
"num"
>
<text
>
{{
partnerStatistic
.
totalPeopleNum
}}
/
{{
partnerStatistic
.
reachPeopleNum
}}
</text>
<text
v-if=
"partnerStatistic.peopleNum>0"
>
(相差
{{
partnerStatistic
.
peopleNum
}}
人)
</text>
</view>
</view>
<view
class=
""
>
<view
class=
""
v-if=
"partnerStatistic.reachSingeSaleNum>0"
>
<view
class=
""
>
<text
class=
"iconfont icon-xiaoshoue leftIcon"
></text>
<text>
个人标准销售累计金额
</text>
<text
class=
"iconfont icon-duihao2 rightIcon"
></text>
<!--
<text
class=
"iconfont icon-duihao2 rightIcon"
></text>
-->
<text
v-if=
"partnerStatistic.totalSingeSaleNum
<partnerStatistic
.
reachSingeSaleNum
"
class=
"iconfont icon-weiwancheng rightIcon"
></text>
<text
v-else
class=
"iconfont icon-duihao2 rightIcon"
></text>
</view>
<view
class=
"num"
>
<text
>
{{
partnerStatistic
.
totalSingeSaleNum
}}
元 /
{{
partnerStatistic
.
reachSingeSaleNum
}}
元
</text>
<text
>
{{
partnerStatistic
.
totalSingeSaleNum
.
toFixed
(
2
)
}}
元 /
{{
partnerStatistic
.
reachSingeSaleNum
.
toFixed
(
2
)
}}
元
</text>
</view>
</view>
<view
class=
""
v-if=
"partnerStatistic.reachSaleNum>0"
>
<view
class=
""
>
<text
class=
"iconfont icon-ddailirenshu leftIcon"
></text>
<text>
团队标准销售累计金额
</text>
<text
class=
"iconfont icon-weiwancheng rightIcon"
></text>
<!--
<text
class=
"iconfont icon-weiwancheng rightIcon"
></text>
-->
<text
v-if=
"partnerStatistic.totalSaleNum
<partnerStatistic
.
reachSaleNum
"
class=
"iconfont icon-weiwancheng rightIcon"
></text>
<text
v-else
class=
"iconfont icon-duihao2 rightIcon"
></text>
</view>
<view
class=
"num"
>
<text
>
{{
partnerStatistic
.
totalSaleNum
}}
元 /
{{
partnerStatistic
.
reachSaleNum
}}
元
</text>
<text
v-if=
"partnerStatistic.saleNum>0"
>
(相差
{{
partnerStatistic
.
saleNum
}}
元)
</text>
<text
>
{{
partnerStatistic
.
totalSaleNum
.
toFixed
(
2
)
}}
元 /
{{
partnerStatistic
.
reachSaleNum
.
toFixed
(
2
)
}}
元
</text>
<text
v-if=
"partnerStatistic.saleNum>0"
>
(相差
{{
partnerStatistic
.
saleNum
.
toFixed
(
2
)
}}
元)
</text>
</view>
</view>
...
...
@@ -311,7 +338,7 @@
for
(
let
key
in
this
.
partnerStatistic
)
{
if
(
key
!=
'peopleNum'
&&
key
!=
'reachPeopleNum'
&&
key
!=
'totalPeopleNum'
){
if
(
key
){
this
.
partnerStatistic
[
key
]
=
this
.
partnerStatistic
[
key
].
toFixed
(
2
)
this
.
partnerStatistic
[
key
]
=
Number
(
this
.
partnerStatistic
[
key
].
toFixed
(
2
)
)
}
}
}
...
...
pages/personalCenter/personalCenter.vue
View file @
0b7a8596
...
...
@@ -87,30 +87,57 @@
<view
class=
""
>
<text
class=
"iconfont icon-a-tuandui3 leftIcon"
></text>
<text>
团队有效人数
</text>
<text
class=
"iconfont icon-weiwancheng rightIcon"
></text>
<text
v-if=
"partnerStatistic.totalPeopleNum
<partnerStatistic
.
reachPeopleNum
"
class=
"iconfont icon-weiwancheng rightIcon"
></text>
<text
v-else
class=
"iconfont icon-duihao2 rightIcon"
></text>
</view>
<view
class=
"num"
>
<text
>
{{
partnerStatistic
.
totalPeopleNum
}}
/
{{
partnerStatistic
.
reachPeopleNum
}}
</text>
<text
v-if=
"partnerStatistic.peopleNum>0"
>
(相差
{{
partnerStatistic
.
peopleNum
}}
人)
</text>
</view>
</view>
<view
class=
""
>
<view
class=
""
v-if=
"partnerStatistic.reachSingeSaleNum>0"
>
<view
class=
""
>
<text
class=
"iconfont icon-xiaoshoue leftIcon"
></text>
<text>
个人标准销售累计金额
</text>
<text
class=
"iconfont icon-duihao2 rightIcon"
></text>
<!--
<text
class=
"iconfont icon-duihao2 rightIcon"
></text>
-->
<text
v-if=
"partnerStatistic.totalSingeSaleNum
<partnerStatistic
.
reachSingeSaleNum
"
class=
"iconfont icon-weiwancheng rightIcon"
></text>
<text
v-else
class=
"iconfont icon-duihao2 rightIcon"
></text>
</view>
<view
class=
"num"
>
<text
>
{{
partnerStatistic
.
totalSingeSaleNum
}}
元 /
{{
partnerStatistic
.
reachSingeSaleNum
}}
元
</text>
<text
>
{{
partnerStatistic
.
totalSingeSaleNum
.
toFixed
(
2
)
}}
元 /
{{
partnerStatistic
.
reachSingeSaleNum
.
toFixed
(
2
)
}}
元
</text>
</view>
</view>
<view
class=
""
v-if=
"partnerStatistic.reachSaleNum>0"
>
<view
class=
""
>
<text
class=
"iconfont icon-ddailirenshu leftIcon"
></text>
<text>
团队标准销售累计金额
</text>
<text
class=
"iconfont icon-weiwancheng rightIcon"
></text>
<!--
<text
class=
"iconfont icon-weiwancheng rightIcon"
></text>
-->
<text
v-if=
"partnerStatistic.totalSaleNum
<partnerStatistic
.
reachSaleNum
"
class=
"iconfont icon-weiwancheng rightIcon"
></text>
<text
v-else
class=
"iconfont icon-duihao2 rightIcon"
></text>
</view>
<view
class=
"num"
>
<text
>
{{
partnerStatistic
.
totalSaleNum
}}
元 /
{{
partnerStatistic
.
reachSaleNum
}}
元
</text>
<text
v-if=
"partnerStatistic.saleNum>0"
>
(相差
{{
partnerStatistic
.
saleNum
}}
元)
</text>
<text
>
{{
partnerStatistic
.
totalSaleNum
.
toFixed
(
2
)
}}
元 /
{{
partnerStatistic
.
reachSaleNum
.
toFixed
(
2
)
}}
元
</text>
<text
v-if=
"partnerStatistic.saleNum>0"
>
(相差
{{
partnerStatistic
.
saleNum
.
toFixed
(
2
)
}}
元)
</text>
</view>
</view>
...
...
@@ -231,11 +258,12 @@
for
(
let
key
in
this
.
partnerStatistic
)
{
if
(
key
!=
'peopleNum'
&&
key
!=
'reachPeopleNum'
&&
key
!=
'totalPeopleNum'
){
if
(
key
){
this
.
partnerStatistic
[
key
]
=
this
.
partnerStatistic
[
key
].
toFixed
(
2
)
this
.
partnerStatistic
[
key
]
=
Number
(
this
.
partnerStatistic
[
key
].
toFixed
(
2
)
)
}
}
}
this
.
$refs
.
applyPopup
.
open
()
}
else
{
uni
.
showToast
({
title
:
res
[
'message'
],
...
...
util/router.js
View file @
0b7a8596
...
...
@@ -28,7 +28,7 @@ export default function initApp(){
let
pages
=
getCurrentPages
()
let
pagesLength
=
pages
.
length
if
(
!
uni
.
getStorageSync
(
'loginType'
)){
if
(
whiteList
.
indexOf
(
e
.
url
)
==-
1
&&
!
uni
.
getStorageSync
(
'loginType'
)){
uni
.
clearStorageSync
();
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