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
2c1a0e19
Commit
2c1a0e19
authored
May 24, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ccf7236d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
79 additions
and
5 deletions
+79
-5
ImpressionTicketDetails.vue
...ialModule/ImpressionTicketing/ImpressionTicketDetails.vue
+1
-0
ImpressionTicketUserDetails.vue
...odule/ImpressionTicketing/ImpressionTicketUserDetails.vue
+78
-5
No files found.
src/components/FinancialModule/ImpressionTicketing/ImpressionTicketDetails.vue
View file @
2c1a0e19
...
...
@@ -124,6 +124,7 @@
EmpId
:
-
1
,
PeriodsId
:
-
1
,
EmpType
:
'-1'
,
OrderId
:
''
},
loading
:
false
,
//数据源
...
...
src/components/FinancialModule/ImpressionTicketing/ImpressionTicketUserDetails.vue
View file @
2c1a0e19
...
...
@@ -117,6 +117,10 @@
background-color
:
#FF7262
!important
;
color
:
#FFFFFF
!important
;
}
.clickCp
{
cursor
:
pointer
;
color
:
#FF7262
;
}
</
style
>
<
template
>
<div
class=
"flexOne domesticCommissionUser"
>
...
...
@@ -165,7 +169,6 @@
<th>
当月利润
</th>
<th>
引流数量
</th>
<th>
成交订单
</th>
<th>
当月工资
</th>
<th>
依据类型
</th>
<th>
提成
</th>
...
...
@@ -182,7 +185,10 @@
<td>
{{
item
.
PostName
?
item
.
PostName
:
'-'
}}
</td>
<td>
{{
item
.
EmName
}}
</td>
<td>
{{
item
.
ProfitMoney
}}
</td>
<td>
{{
item
.
EmpType
!=
1
?
item
.
LureNum
:
'-'
}}
</td>
<td>
{{
item
.
EmpType
!=
1
?
item
.
LureNum
:
'-'
}}
<!--
<span
@
click=
"item.LureNum>0?clickUrl(item,2):''"
:class=
"item.LureNum>0?'clickCp':''"
>
{{
item
.
EmpType
!=
1
?
item
.
LureNum
:
'-'
}}
</span>
-->
</td>
<td>
{{
item
.
EmpType
!=
1
?
item
.
OrderNum
:
'-'
}}
</td>
<td>
{{
item
.
WageMoney
}}
</td>
<td
@
click=
"GenerateScale(item)"
>
...
...
@@ -261,10 +267,14 @@
<div
class=
"progress-box"
>
<div
v-for=
"(item,index) in commissionratioList.WageRateList"
:key=
"index"
class=
"relative-position"
>
<!-- -->
<el-progress
:text-inside=
"true"
:stroke-width=
"20"
:percentage=
"setItemProgress(item)"
:status=
"setItemStatus(item)"
:format=
"setItemTextW(item)"
>
:format=
"setItemTextW(item)"
:color=
"commissionratioList.AvgLureNum>item.StartValue&&
commissionratioList.AvfOrderNum>item.EndValue?colorlists[Math.floor(Math.random()*10)]
:colors[Math.floor(Math.random()*10)]"
>
</el-progress>
<div
class=
"rate-box"
v-if=
"commissionratioList.AvgLureNum>item.StartValue&&
commissionratioList.AvfOrderNum>item.EndValue"
>
...
...
@@ -288,7 +298,10 @@
<el-progress
:text-inside=
"true"
:stroke-width=
"20"
:percentage=
"setItemProgress(item)"
:status=
"setItemStatus(item)"
:format=
"setItemText(item)"
>
:format=
"setItemText(item)"
:color=
"
commissionratioList.AvgLureNum>item.StartValue&&
commissionratioList.AvfOrderNum>item.EndValue?colorlists[Math.floor(Math.random()*10)]:colors[Math.floor(Math.random()*10)]"
>
</el-progress>
<div
class=
"rate-box"
v-if=
"commissionratioList.AvgLureNum>item.StartValue&&
commissionratioList.AvfOrderNum>item.EndValue"
>
...
...
@@ -350,6 +363,44 @@
{
name
:
'引流'
,
id
:
'2'
},
{
name
:
'销售'
,
id
:
'1'
}
],
colors
:
[
'rgba(42, 48, 54,.2)'
,
'rgba(138, 24, 48,.2)'
,
'rgba(200, 138, 131,.2)'
,
'rgba(84, 221, 226,.2)'
,
'rgba(178, 199, 168,.2)'
,
'rgba(16, 195, 195,.2)'
,
'rgba(0, 21, 68,.2)'
,
'rgba(226, 166, 198,.2)'
,
'rgba(278,17,66,.2)'
,
'rgba(153, 199, 235,.2)'
,
'rgba(34,184,221,.2)'
,
'rgba(221,72,34,.2)'
,
'rgba(204,51,204,.23)'
,
'rgba(255,204,0,.2)'
,
'rgba(77,179,179,.2)'
,
'rgba(196,60,141,.2)'
,
'rgba(195,90,141,.2)'
,
],
colorlists
:
[
'rgba(42, 48, 54, 1)'
,
'rgba(138, 24, 48, 1)'
,
'rgba(200, 138, 131, 1)'
,
'rgba(84, 221, 226, 1)'
,
'rgba(178, 199, 168, 1)'
,
'rgba(16, 195, 195, 1)'
,
'rgba(0, 21, 68, 1)'
,
'rgba(226, 166, 198, 1)'
,
'rgba(278,17,66, 1)'
,
'rgba(153, 199, 235,1)'
,
'rgba(34,184,221,1)'
,
'rgba(221,72,34,1)'
,
'rgba(204,51,204,1)'
,
'rgba(255,204,0,1)'
,
'rgba(77,179,179,1)'
,
'rgba(196,60,141,1)'
,
'rgba(195,90,141,1)'
,
],
}
},
mounted
()
{
...
...
@@ -366,6 +417,28 @@
this
.
GetCommissionPeroidsList
()
//期数
},
methods
:
{
clickUrl
(
item
,
type
){
if
(
type
==
2
){
this
.
clueManagement
(
item
)
}
},
// crm线索
clueManagement
(
item
){
let
data
=
[
{
path
:
"clueManagement"
,
EmpType
:
item
.
EmpType
,
PeriodsId
:
item
.
Month
,
EmpId
:
item
.
EmpId
},
];
let
href
=
this
.
domainManager
().
crmRoutingUrl
+
"automaticLogin?token="
+
this
.
getLocalStorage
().
token
+
"&data="
+
JSON
.
stringify
(
data
);
window
.
open
(
href
);
},
// 自定义进度条文字
setItemTextW
(
row
)
{
return
()
=>
{
...
...
@@ -377,7 +450,7 @@
if
(
this
.
commissionratioList
.
AvgLureNum
>=
data
.
StartValue
&&
this
.
commissionratioList
.
AvfOrderNum
>=
data
.
EndValue
){
return
100
}
else
{
return
0
return
10
0
}
},
// 自定义进度条文字
...
...
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