Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
f8c257ad
Commit
f8c257ad
authored
May 05, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
4523f0b1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
256 additions
and
163 deletions
+256
-163
empBonusDetail.vue
src/pages/financial/market/empBonusDetail.vue
+5
-0
marketStatistics.vue
src/pages/financial/market/marketStatistics.vue
+171
-155
performanceCommission.vue
src/pages/financial/reportform/performanceCommission.vue
+64
-6
returnpassbookStatistics.vue
...ges/financial/returnPassbook/returnpassbookStatistics.vue
+16
-2
No files found.
src/pages/financial/market/empBonusDetail.vue
View file @
f8c257ad
...
...
@@ -119,6 +119,11 @@
this
.
msg
.
PeriodId
=
this
.
$route
.
query
.
Id
;
this
.
getList
();
}
if
(
this
.
$route
.
query
.
UserId
){
this
.
msg
.
EmployeeId
=
this
.
$route
.
query
.
UserId
this
.
msg
.
YearNum
=
this
.
$route
.
query
.
Periods
.
slice
(
0
,
4
)
this
.
msg
.
MonthNum
=
this
.
$route
.
query
.
Periods
.
slice
(
5
,
7
)
}
},
methods
:
{
//获取分页列表
...
...
src/pages/financial/market/marketStatistics.vue
View file @
f8c257ad
...
...
@@ -33,7 +33,7 @@
</
style
>
<
template
>
<
template
>
<div
class=
"page-body cycleOrderList"
>
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
...
...
@@ -194,7 +194,7 @@
</template>
</div>
</template>
</template>
<
script
>
import
{
getSchoolDropdown
...
...
@@ -218,6 +218,7 @@
import
{
EduDownLoad
,
}
from
'../../../api/common/common'
;
import
{
number
}
from
'echarts'
export
default
{
meta
:
{
title
:
"业绩提成统计"
...
...
@@ -279,13 +280,21 @@
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
OrderId
){
this
.
msg
.
OrderId
=
this
.
$route
.
query
.
OrderId
}
// 从业绩表跳转带参
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
UserId
){
this
.
PersionList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
AllemployeeList
))
this
.
msg
.
UserId
=
this
.
$route
.
query
.
UserId
-
0
}
this
.
getList
()
this
.
setClass
()
this
.
getBranchList
()
this
.
getEmployee
();
//销售
this
.
getPeriodList
()
//周期
this
.
setClass
()
//班级
this
.
getBranchList
()
//校区
this
.
getDepartList
(
0
);
this
.
getEmployee
();
this
.
getPeriodList
()
},
...
...
@@ -295,6 +304,7 @@
this
.
getList
()
},
getList
(){
console
.
log
(
this
.
msg
,
'02222222222'
)
if
(
this
.
msg
)
this
.
loading
=
true
;
getSellAchievementsStatistics
(
this
.
msg
).
then
(
res
=>
{
...
...
@@ -428,8 +438,14 @@
Id
:
0
}
this
.
PeriodsList
.
unshift
(
obj
)
// 从业绩表跳转带参
if
(
this
.
$route
.
query
.
Periods
){
this
.
PeriodsList
.
forEach
(
item
=>
{
if
(
item
.
Periods
==
this
.
$route
.
query
.
Periods
){
this
.
msg
.
PeriodId
=
item
.
Id
}
})
}
}
})
},
...
...
src/pages/financial/reportform/performanceCommission.vue
View file @
f8c257ad
...
...
@@ -113,6 +113,14 @@
height
:
40px
;
background-color
:
rgb
(
238
,
238
,
239
);
}
.color_text
{
color
:
#2961fe
;
}
.color_text
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;
}
</
style
>
<
template
>
<div
class=
"page-body studentTracking"
>
...
...
@@ -223,22 +231,27 @@
>
<div
v-if=
"item.MonthList[x.index]"
>
<div
v-if=
"x.Id == 1"
>
<span>
{{ item.MonthList[x.index].Achievement }}
</span>
<span
:class=
"item.RoleName=='小计'? '' : 'color_text'"
@
click=
"item.RoleName=='小计'?'':clickDataDetails(item.EmpId,item.MonthList[x.index],'1')"
>
{{ item.MonthList[x.index].Achievement }}
</span>
</div>
<div
v-if=
"x.Id == 2"
style=
"padding: 7px;"
>
<span>
{{ item.MonthList[x.index].Rate }}
</span>
</div>
<div
v-if=
"x.Id == 3"
style=
"padding: 3px;"
>
<span>
{{ item.MonthList[x.index].Rebate }}
</span>
<span
:class=
"item.RoleName=='小计'? '' : 'color_text'"
@
click=
"item.RoleName=='小计'?'':clickDataDetails(item.EmpId,item.MonthList[x.index],'1')"
>
{{ item.MonthList[x.index].Rebate }}
</span>
</div>
<div
v-if=
"x.Id == 4"
style=
"padding: 3px;"
>
<span>
{{ item.MonthList[x.index].Commission }}
</span>
<span
:class=
"item.RoleName=='小计'? '' : 'color_text'"
@
click=
"item.RoleName=='小计'?'':clickDataDetails(item.EmpId,item.MonthList[x.index],'2')"
>
{{ item.MonthList[x.index].Commission }}
</span>
</div>
<div
v-if=
"x.Id == 5"
style=
"padding: 3px;"
>
<span>
{{ item.MonthList[x.index].Brokerage }}
</span>
<span
:class=
"item.RoleName=='小计'? '' : 'color_text'"
@
click=
"item.RoleName=='小计'?'':clickDataDetails(item.EmpId,item.MonthList[x.index],'3')"
>
{{ item.MonthList[x.index].Brokerage }}
</span>
</div>
<div
v-if=
"x.Id == 6"
style=
"padding: 3px;"
>
<span>
{{ item.MonthList[x.index].Bonus }}
</span>
<span
:class=
"item.RoleName=='小计'? '' : 'color_text'"
@
click=
"item.RoleName=='小计'?'':clickDataDetails(item.EmpId,item.MonthList[x.index],'4')"
>
{{ item.MonthList[x.index].Bonus }}
</span>
</div>
<div
v-if=
"x.Id == 7"
style=
"padding: 3px;"
>
<span>
{{ item.MonthList[x.index].Total }}
</span>
...
...
@@ -302,13 +315,58 @@ export default {
mounted
()
{
var
d
=
new
Date
();
var
currentY
=
d
.
getFullYear
();
var
currentM
=
d
.
getMonth
();
var
currentM
=
d
.
getMonth
()
-
1
;
var
month
=
d
.
getMonth
()
+
1
;
this
.
msg
.
StartMonth
=
currentY
+
"-"
+
currentM
;
this
.
msg
.
EndMonth
=
currentY
+
"-"
+
month
;
this
.
dateArray
.
push
(
this
.
msg
.
StartMonth
)
this
.
dateArray
.
push
(
this
.
msg
.
EndMonth
)
this
.
getList
();
//获取数据
},
methods
:
{
// 数据详情
clickDataDetails
(
UserId
,
item
,
type
){
if
(
type
==
2
){
//提现
const
routeData
=
this
.
$router
.
resolve
({
path
:
'/financial/market/marketStatistics'
,
query
:
{
UserId
:
UserId
,
Periods
:
item
.
Month
}
});
window
.
open
(
routeData
.
href
,
'_blank'
)
}
if
(
type
==
3
){
//返佣金额
const
routeData
=
this
.
$router
.
resolve
({
path
:
'/financial/returnPassbook/returnpassbookStatistics'
,
query
:
{
UserId
:
UserId
,
Periods
:
item
.
Month
}
});
window
.
open
(
routeData
.
href
,
'_blank'
)
}
if
(
type
==
4
){
//人头奖励
const
routeData
=
this
.
$router
.
resolve
({
path
:
'/financial/market/empBonusDetail'
,
query
:
{
UserId
:
UserId
,
Periods
:
item
.
Month
}
});
window
.
open
(
routeData
.
href
,
'_blank'
)
}
if
(
type
==
1
){
//业绩、订单返佣
const
routeData
=
this
.
$router
.
resolve
({
path
:
'/sale/orderStatistics'
,
query
:
{
UserId
:
UserId
,
Periods
:
item
.
Month
}
});
window
.
open
(
routeData
.
href
,
'_blank'
)
}
},
tcexport
(){
//导出
var
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
));
EduDownLoad
(
"/SellAchievements/GetSellAchievementsRankStatToExcel"
,
msg
,
"业绩提成排名.xls"
)
...
...
src/pages/financial/returnPassbook/returnpassbookStatistics.vue
View file @
f8c257ad
...
...
@@ -312,6 +312,7 @@
}
},
mounted
()
{
this
.
getPeriodList
()
//周期
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
OrderId
)
{
this
.
msg
.
OrderId
=
this
.
$route
.
query
.
OrderId
}
...
...
@@ -340,10 +341,14 @@
this
.
isNormal
=
false
;
this
.
msg
.
Q_SelectNormal
=
'-1'
}
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
UserId
)
{
this
.
msg
.
OrderSourceId
=
this
.
$route
.
query
.
UserId
-
0
;
this
.
msg
.
OrderSourceType
=
1
}
this
.
getList
()
this
.
setClass
()
this
.
getBranchList
()
this
.
getPeriodList
()
this
.
getCustomFrom
()
//来源
this
.
getEmployeeList
()
this
.
getStudentDorpDown
()
...
...
@@ -539,6 +544,15 @@
Id
:
'0'
}
this
.
PeriodsList
.
unshift
(
obj
)
// 从业绩表跳转带参
if
(
this
.
$route
.
query
.
Periods
){
let
dataTime
=
this
.
$route
.
query
.
Periods
.
slice
(
0
,
4
)
+
this
.
$route
.
query
.
Periods
.
slice
(
5
,
7
)
this
.
PeriodsList
.
forEach
(
item
=>
{
if
(
item
.
BatchName
.
slice
(
0
,
6
)
==
dataTime
){
this
.
msg
.
BatchId
=
item
.
Id
}
})
}
}
})
},
...
...
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