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
4e7aaaaf
Commit
4e7aaaaf
authored
Dec 13, 2022
by
sunerhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修复团队显示数据
2.修复邀请加盟数据不正确 3.修复积分来源详情未传参
parent
7dd5c120
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
10 deletions
+15
-10
components/myteam/lazy-tree.vue
+5
-4
pages/dropLists/dropLists.vue
+5
-1
pages/inviteJoin/inviteJoin.vue
+5
-5
No files found.
components/myteam/lazy-tree.vue
View file @
4e7aaaaf
...
...
@@ -37,10 +37,10 @@
<text
style=
"color: black;"
>
{{
item
.
areaCenterName
}}
</text>
</view>
<view
class=
"content-box-title-b"
@
click=
"open(item, i)"
v-else-if=
"item.levelCode == 'C3'&& item.itemType == '1'"
:style=
"
{'margin-left':(item.level * 20)+'rpx'}">
<text
style=
"color:
black
;"
>
{{
item
.
areaCenterName
}}
</text>
<text
style=
"color:
#FFFFFF
;"
>
{{
item
.
areaCenterName
}}
</text>
</view>
<view
class=
"content-box-title-b"
@
click=
"open(item, i)"
v-else-if=
"item.levelCode == 'C2'&& item.itemType == '1'"
:style=
"
{'margin-left':(item.level * 20)+'rpx'}">
<text
style=
"color:
black
;"
>
{{
item
.
areaCenterName
}}
</text>
<text
style=
"color:
#FFFFFF
;"
>
{{
item
.
areaCenterName
}}
</text>
</view>
<view
@
click=
"open(item, i)"
style=
"flex: 1;"
v-else
>
<text>
{{
item
.
name
}}
</text>
...
...
@@ -187,6 +187,7 @@
},
checkLazy
(
id
)
{
console
.
log
(
id
,
1515515
)
console
.
log
(
this
.
lazyList
,
1515
)
return
~
this
.
lazyList
.
findIndex
(
o
=>
o
===
id
);
},
checkOpen
(
id
)
{
...
...
@@ -194,6 +195,7 @@
},
syncOpen
(
ids
)
{
console
.
log
(
ids
,
15155
)
const
list
=
[];
ids
.
forEach
(
o
=>
{
this
.
openList
.
forEach
(
o1
=>
{
...
...
@@ -203,8 +205,7 @@
this
.
openList
=
list
;
},
async
open
(
item
,
index
)
{
console
.
log
(
item
,
581515
)
if
(
index
==
0
||
item
.
itemType
==
'2'
){
if
(
item
.
itemType
==
'2'
){
return
false
}
try
{
...
...
pages/dropLists/dropLists.vue
View file @
4e7aaaaf
...
...
@@ -16,6 +16,10 @@
<text
@
click=
"viewDetail(item)"
class=
"dropStatus"
>
{{
item
.
orderStatus
}}
<i
class=
"iconfont icon-youjiantou"
style=
"margin-left: 5rpx;font-size: 26rpx;"
></i></text>
</view>
<view
class=
"ulBox"
>
<text>
积分来源:
</text>
<text>
{{
item
.
commissionTypeContent
}}
</text>
</view>
<view
class=
"ulBox"
>
<text>
退课积分:
</text>
<text>
{{
Math
.
abs
(
item
.
commissionAmount
)
}}
</text>
</view>
...
...
@@ -40,7 +44,7 @@
methods
:
{
viewDetail
(
item
){
uni
.
navigateTo
({
url
:
`/pages/orderDetail/orderDetail?id=
${
item
.
orderId
}
&type=drop`
url
:
`/pages/orderDetail/orderDetail?id=
${
item
.
orderId
}
&type=drop
&commissionType=
${
item
.
commissionType
}
`
})
},
queryDropCourseList
(){
...
...
pages/inviteJoin/inviteJoin.vue
View file @
4e7aaaaf
...
...
@@ -249,11 +249,11 @@
api
.
saveApplyInfo
(
this
.
dataForm
).
then
(
res
=>
{
if
(
res
[
'success'
])
{
this
.
shareId
=
res
.
data
.
id
//
this.$refs.share.open()
uni
.
navigateTo
({
url
:
'/pages/invitationRegister/invitationRegister?shareId='
+
this
.
shareId
+
'&invitationCode='
+
this
.
invitationCode
+
'&hasCrossDistrict='
+
this
.
dataForm
.
hasCrossDistrict
})
this
.
$refs
.
share
.
open
()
//
uni.navigateTo({
//
url: '/pages/invitationRegister/invitationRegister?shareId=' + this.shareId +
//
'&invitationCode=' + this.invitationCode + '&hasCrossDistrict=' + this.dataForm.hasCrossDistrict
//
})
}
uni
.
showToast
({
title
:
res
[
'message'
],
...
...
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