Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
2deb4908
Commit
2deb4908
authored
May 24, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
8b1c2d35
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
16 deletions
+40
-16
salesVolumeRank.vue
src/components/rank/salesVolumeRank.vue
+7
-3
sale.vue
src/components/sale/sale.vue
+33
-13
No files found.
src/components/rank/salesVolumeRank.vue
View file @
2deb4908
...
...
@@ -529,9 +529,13 @@ export default {
);
},
settStartDates
()
{
if
(
this
.
$route
.
query
.
tStartDates
){
this
.
msg
.
tStartDates
=
this
.
$route
.
query
.
tStartDates
}
else
{
let
date
=
moment
().
format
(
'yyyy-MM-DD'
)
let
start
=
moment
().
subtract
(
1
,
'months'
).
format
(
'yyyy-MM-DD'
)
this
.
msg
.
tStartDates
=
[
start
,
date
]
}
},
handleClick
(
tab
,
event
)
{
this
.
msg
.
EnterID
=
0
;
...
...
src/components/sale/sale.vue
View file @
2deb4908
...
...
@@ -60,8 +60,11 @@
<div
class=
"p_name"
>
<span>
{{
data
.
emName
}}
</span>
<span>
{{
data
.
postName
}}
</span>
<div
style=
"padding: 5px 0 0 0;font-size: 14px;color: #333333;"
v-if=
"rankingNum"
>
第
<a
style=
"color: #FF8C00;margin-left: 3px;margin-right: 3px;font-size: 18px;font-weight: bold;"
>
{{
rankingNum
}}
</a>
名
<div
style=
"padding: 5px 0 0 0;font-size: 14px;color: #333333;cursor: pointer;"
v-if=
"rankingNum"
@
click=
"goAnticipate(5)"
>
第
<a
style=
"color: #FF8C00;margin-left: 3px;margin-right: 3px;
font-size: 18px;font-weight: bold;"
>
{{
rankingNum
}}
</a
>
名
<a
style=
"color: #666666;"
>
(
{{
SumPreferPrice
}}
)
</a>
</div>
</div>
<div
style=
"display: flex;justify-content: space-between;"
>
...
...
@@ -75,7 +78,7 @@
<p
style=
"margin-bottom: 3px;"
>
<el-tag
v-if=
"data.peopelBonus"
size=
"mini"
type=
"danger"
effect=
"dark"
style=
"color: #ffff;position: absolute;right: -10px;bottom: 2
2
px;"
>
奖+
{{
data
.
peopelBonus
}}
</el-tag>
effect=
"dark"
style=
"color: #ffff;position: absolute;right: -10px;bottom: 2
3
px;"
>
奖+
{{
data
.
peopelBonus
}}
</el-tag>
<span
style=
"color: #BDBDBD;font-size: 13px;
padding: 0 0 5px 0;font-weight: 100;"
>
{{
data
.
periodsName
}}
期
</span>
</p>
...
...
@@ -658,8 +661,12 @@
},
methods
:
{
settStartDates
()
{
let
date
=
moment
().
format
(
'yyyy-MM-DD'
)
let
start
=
moment
().
subtract
(
1
,
'months'
).
format
(
'yyyy-MM-DD'
)
let
nowdays
=
new
Date
()
let
Year
=
new
Date
().
getFullYear
()
let
MonthTime
=
new
Date
().
getMonth
()
+
1
let
MonthDayNum
=
new
Date
(
Year
,
12
,
0
).
getDate
();
let
date
=
Year
+
'-12-'
+
(
MonthDayNum
>
10
?
MonthDayNum
:
'0'
+
MonthDayNum
)
let
start
=
Year
+
'-01-01'
this
.
PMMsg
.
tStartDates
=
[
start
,
date
]
},
initData
()
{
...
...
@@ -702,6 +709,7 @@
tableData
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
EnterID
==
Number
(
userInfo
.
EmployeeId
)){
this
.
rankingNum
=
index
+
1
this
.
SumPreferPrice
=
item
.
SumPreferPrice
}
})
});
...
...
@@ -719,7 +727,17 @@
name
=
'ServiceCommissionUser'
}
else
if
(
type
==
4
){
name
=
'saleExpectedCommission'
}
else
if
(
type
==
5
){
name
=
'salesVolumeRank'
this
.
$router
.
push
({
name
:
name
,
query
:
{
tStartDates
:
this
.
PMMsg
.
tStartDates
,
blank
:
'y'
}
});
}
if
(
type
!=
5
){
this
.
$router
.
push
({
name
:
name
,
query
:
{
...
...
@@ -728,6 +746,8 @@
blank
:
'y'
}
});
}
},
iWorkbench
()
{
this
.
apipost
(
'customerIndex_post_GetMySelfSellInfo'
,
{},
res
=>
{
...
...
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