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
fa1cc160
Commit
fa1cc160
authored
Dec 02, 2022
by
kyle
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://139.224.139.2:9091/chaosun/CFFP
into dev
parents
96418549
eab5f212
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
118 additions
and
87 deletions
+118
-87
components/myteam/myteam-table.vue
+38
-49
components/myteam/time-picker.vue
+4
-1
pages/personalCenter/teamPerformance/teamPerformance.vue
+76
-37
No files found.
components/myteam/myteam-table.vue
View file @
fa1cc160
...
...
@@ -8,24 +8,26 @@
<!-- // 一级循环 -->
<view
class=
"content-sam-box"
>
<view
class=
""
v-for=
"(pointItem,index) in dataList"
:key=
"index"
>
<view
class=
"
"
style=
"display: flex;border-bottom: 1px solid #F2F2F2;
"
v-if=
"felTyle == 'achievement'"
>
<view
class=
"content-box-title"
>
<view
:class=
"index == 0 ?'cornermarker': index == 1 ? 'cornermarkertwo' : index == 2 ? 'cornermarkerthree' : 'cornermarkerother'"
>
<text
style=
"font-size: 8px;"
>
{{
index
+
1
}}
</text>
<view
class=
"
content-sa"
style=
"
"
v-if=
"felTyle == 'achievement'"
>
<view
class=
"content-box-title"
style=
"display: flex;align-items: center;"
>
<view
style=
""
:class=
"index == 0 ?'cornermarker': index == 1 ? 'cornermarkertwo' : index == 2 ? 'cornermarkerthree' : 'cornermarkerother'"
>
<text
style=
"font-size: 8
rpx;line-height: 20r
px;"
>
{{
index
+
1
}}
</text>
</view>
<
span>
{{
pointItem
.
name
}}
</span
>
<
view>
{{
pointItem
.
name
}}
</view
>
</view>
<view
class=
"content-box-title"
style=
"margin-top: 10px;"
>
<span>
{{
pointItem
.
areaCenterName
}}
</span>
<view
class=
"content-box-title"
>
<span
style=
"text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;"
>
{{
pointItem
.
areaCenterName
}}
</span>
</view>
<view
class=
"content-box-title"
style=
"margin-top: 10px;"
>
<span>
{{
pointItem
.
orderNum
}}
</span>
<view
class=
"content-box-title"
>
<span
style=
"color:#FF0000;"
>
{{
pointItem
.
orderNum
}}
</span>
</view>
<view
class=
"content-box-title"
style=
"margin-top: 10px;"
>
<span
>
{{
pointItem
.
coursePrice
}}
</span>
<view
class=
"content-box-title"
>
<span
style=
"color:#FF0000;"
>
¥
{{
pointItem
.
coursePrice
}}
</span>
</view>
<view
class=
"content-box-title"
style=
"margin-top: 10px;"
>
<span
>
{{
pointItem
.
courseIncome
}}
</span>
<view
class=
"content-box-title"
>
<span
style=
"color:#FF0000;"
>
¥
{{
pointItem
.
courseIncome
}}
</span>
</view>
</view>
</view>
...
...
@@ -168,95 +170,82 @@
align-items
:
center
;
justify-content
:
space-between
;
}
.content-sa
{
display
:
flex
;
}
.content-box-title
{
padding
:
5px
0
;
padding
:
5
r
px
0
;
flex
:
1
;
justify-content
:
space-between
;
align-items
:
center
;
text-align
:
center
;
}
.content-box-title-two
{
padding
:
5px
0
;
flex
:
1
;
}
.content-sam-box
{
/* background-color: #fff;
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 0;
padding: 10
r
px 0;
color: #333333;
border-bottom: 1px solid #F2F2F2;; */
font-size
:
13px
;
border-bottom: 1
r
px solid #F2F2F2;; */
font-size
:
13
r
px
;
}
.cornermarker
{
width
:
10
px
;
width
:
30
rpx
;
height
:
30
r
px
;
color
:
#FFFFFF
;
height
:
10px
;
background
:
#C50021
;
margin
:
0
10
rpx
0
auto
;
text-align
:
center
;
line-height
:
10px
;
border-radius
:
50%
;
}
.cornermarkertwo
{
width
:
10px
;
height
:
10px
;
width
:
30
rpx
;
height
:
30
rpx
;
color
:
#FFFFFF
;
background
:
#FBB03B
;
margin
:
0
10
rpx
0
auto
;
text-align
:
center
;
line-height
:
10px
;
border-radius
:
50%
;
}
.cornermarkerthree
{
width
:
10
px
;
width
:
30
rpx
;
height
:
30
r
px
;
color
:
#FFFFFF
;
height
:
10px
;
background
:
#3161A8
;
margin
:
0
10
rpx
0
auto
;
text-align
:
center
;
line-height
:
10px
;
border-radius
:
50%
;
}
.cornermarkerother
{
width
:
10px
;
width
:
10
r
px
;
color
:
#FFFFFF
;
height
:
10px
;
height
:
10
r
px
;
background
:
#D5DDE9
;
margin
:
0
10
rpx
0
auto
;
margin
:
0
10
r
r
px
0
auto
;
text-align
:
center
;
line-height
:
10px
;
line-height
:
10
r
px
;
border-radius
:
50%
;
}
.concent-footer
{
margin
:
0
5px
;
margin
:
0
5
r
px
;
}
.content-box-title-a
{
/* padding: 5px 0; */
/* padding: 5
r
px 0; */
flex
:
1
;
color
:
#FFFFFF
;
/* margin: 0 10px; */
/* margin: 0 10
r
px; */
background
:
#3F52B7
;
background
:
url('../../static/myteam/Group1660.png')
;
background-size
:
100%
;
border-radius
:
5px
;
border
:
1px
solid
#fff
;
border-radius
:
5
r
px
;
border
:
1
r
px
solid
#fff
;
}
/* .content-box-title-b{
padding: 5px 0;
padding: 5
r
px 0;
flex: 1;
margin: 0 10px;
margin: 0 10
r
px;
background: url('../../static/myteam/Group1662.png');
background-size: auto 100%;
border-radius: 5px;
border: 1px solid #fff;
border-radius: 5
r
px;
border: 1
r
px solid #fff;
} */
</
style
>
components/myteam/time-picker.vue
View file @
fa1cc160
...
...
@@ -4,7 +4,7 @@
<picker
mode=
"date"
:value=
"queryDate"
:end=
"maxDate"
:fields=
"fields"
@
change=
"bindDateChange"
>
<view
class=
"uni-input"
>
{{
queryDate
}}
</view>
</picker>
<i
class=
"iconfont icon-youjiantou"
></i>
<i
v-if=
"icon == true"
class=
"iconfont icon-youjiantou"
></i>
</view>
</view>
</
template
>
...
...
@@ -14,6 +14,9 @@
props
:{
fields
:{
type
:
String
,
},
icon
:
{
type
:
Boolean
}
},
name
:
"time-picker"
,
...
...
pages/personalCenter/teamPerformance/teamPerformance.vue
View file @
fa1cc160
<
template
>
<view
class=
"content"
>
<view
class=
"header"
>
<view>
<time-picker
@
change=
"change"
fields=
"month"
icon=
"false"
>
</time-picker>
</view>
<view
class=
"timeSelectContent"
>
<time-picker
@
change=
"change"
fields=
"month"
>
<text>
至
</text>
</view>
<view>
<time-picker
@
change=
"changetimeend"
fields=
"month"
icon=
"false"
>
</time-picker>
</view>
<!--
<view
class=
"timeSelectContent"
>
...
...
@@ -101,7 +108,8 @@
],
CffpOrgInfoReqVO
:
{
userId
:
'1'
,
queryDate
:
`
${
new
Date
().
getFullYear
()}
-
${
new
Date
().
getMonth
()
+
1
}
`
,
startDate
:
`
${
new
Date
().
getFullYear
()}
-
${
new
Date
().
getMonth
()
+
1
}
`
,
endDate
:
`
${
new
Date
().
getFullYear
()}
-
${
new
Date
().
getMonth
()
+
1
}
`
,
queryType
:
''
,
courseOrPolicy
:
'1'
},
...
...
@@ -134,6 +142,14 @@
// 获取列表数据
getqueryTeamAchievement
()
{
if
(
this
.
CffpOrgInfoReqVO
.
endDate
<
this
.
CffpOrgInfoReqVO
.
startDate
)
{
uni
.
showToast
({
title
:
'截止日期不能小于起始日期'
,
duration
:
1000
,
icon
:
'none'
});
return
}
this
.
CffpOrgInfoReqVO
.
queryType
=
this
.
teamtype
+
1
api
.
queryTeamAchievement
(
this
.
CffpOrgInfoReqVO
).
then
(
res
=>
{
if
(
res
)
{
...
...
@@ -171,8 +187,14 @@
},
// 这个是时间组件返回的时间值
change
(
time
)
{
this
.
queryDate
=
time
console
.
log
(
time
,
88
)
this
.
CffpOrgInfoReqVO
.
startDate
=
time
this
.
getqueryTeamAchievement
()
},
changetimeend
(
timeend
)
{
this
.
CffpOrgInfoReqVO
.
endDate
=
timeend
this
.
getqueryTeamAchievement
()
}
}
}
</
script
>
...
...
@@ -185,21 +207,24 @@
.header
{
display
:
flex
;
justify-content
:
space-between
;
margin
:
0
20px
;
//
justify-content
:
space-between
;
margin
:
0
40
rpx
;
.timeSelectContent{
margin
:
0
40
rpx
;
}
}
.content-btn
{
display
:
flex
;
justify-content
:
space-between
;
margin
:
20
px
;
margin
:
40
r
px
;
}
.content-btn_under-Check
{
width
:
100
px
;
height
:
40
px
;
width
:
200
r
px
;
height
:
80
r
px
;
background
:
#20279B
;
border-radius
:
5px
5px
5px
5
px
;
border-radius
:
10
r
px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
...
...
@@ -207,93 +232,107 @@
}
.content-btn_under
{
width
:
100
px
;
height
:
40
px
;
border-radius
:
5px
5px
5px
5
px
;
width
:
200
r
px
;
height
:
80
r
px
;
border-radius
:
10
r
px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
border
:
1
px
solid
#20279B
;
border
:
2
r
px
solid
#20279B
;
opacity
:
1
;
}
.content-btn_under-text-Check
{
text-align
:
center
;
width
:
64
px
;
height
:
24
px
;
font-size
:
16
px
;
width
:
128
r
px
;
height
:
48
r
px
;
font-size
:
32
r
px
;
font-weight
:
500
;
color
:
#FFFFFF
;
line-height
:
19
px
;
line-height
:
48
r
px
;
}
.content-btn_under-text
{
text-align
:
center
;
width
:
64
px
;
height
:
24
px
;
font-size
:
16
px
;
width
:
128
r
px
;
height
:
48
r
px
;
font-size
:
32
r
px
;
font-weight
:
500
;
color
:
#20279B
;
line-height
:
19
px
;
line-height
:
48
r
px
;
}
.classtotal
{
height
:
80
px
;
height
:
160
r
px
;
display
:
flex
;
justify-content
:
space-between
;
}
.classtotal-box
{
flex
:
1
;
padding-top
:
20
px
;
padding-top
:
40
r
px
;
text-align
:
center
;
//
border
:
1px
solid
#20279B
;
//
border
:
1
r
px
solid
#20279B
;
p
{
margin-top
:
8
px
;
margin-top
:
16
r
px
;
color
:
#666666
;
}
}
.totalsingular
{
width
:
35
px
;
height
:
30
px
;
font-size
:
20
px
;
width
:
70
r
px
;
height
:
60
r
px
;
font-size
:
40
r
px
;
font-weight
:
500
;
line-height
:
23
px
;
line-height
:
46
r
px
;
}
.team
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
margin
:
20px
10
px
;
margin
:
40
rpx
20
r
px
;
}
.team-a
{
width
:
2
px
;
margin-right
:
5
px
;
width
:
4
r
px
;
margin-right
:
10
r
px
;
background
:
#FA882F
;
border-radius
:
2px
2px
2px
2
px
;
border-radius
:
4
r
px
;
opacity
:
1
;
}
.team-b
{
background
:
#FBFBFB
;
border-radius
:
0
px
0px
0px
0
px
;
border-radius
:
0
rpx
0
rpx
0
rpx
0
r
px
;
}
.team-c
{
height
:
20
px
;
font-size
:
14
px
;
height
:
40
r
px
;
font-size
:
28
r
px
;
text-align
:
center
;
color
:
#FFFFFF
;
background
:
#20269B
;
border-radius
:
5
px
5px
5px
5
px
;
border-radius
:
5
r
px
;
opacity
:
1
;
}
.title
{
margin
:
auto
;
}
.box-title
{
display
:
flex
;
justify-content
:
space-between
;
text-align
:
center
;
}
.box-content
{
display
:
flex
;
justify-content
:
space-between
;
text-align
:
center
;
}
.box-title-flex
{
flex
:
1
;
font-size
:
26
rpx
;
}
</
style
>
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