Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1f07a8e0
authored
May 19, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据概览页面修改&广汇字段替换
1 parent
79037a75
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
9 deletions
src/views/clientDataOverview/group.vue
src/views/clientDataOverview/index.vue
src/views/clientDataOverview/group.vue
View file @
1f07a8e
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<el-button
size=
"small"
@
click=
"handleExport"
class=
"export"
>
导出
</el-button>
<el-button
size=
"small"
@
click=
"handleExport"
class=
"export"
>
导出
</el-button>
</div>
</div>
<GLTable
ref=
"groupRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:noDataImg=
"url"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"groupRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:noDataImg=
"url"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<span
slot=
"customerName"
slot-scope=
"scope"
style=
"display:
flex;align-items:
center"
>
<span
slot=
"customerName"
slot-scope=
"scope"
style=
"display:
flex; align-items:
center"
>
<el-tooltip
effect=
"dark"
:content=
"scope.scope.customerName"
placement=
"top"
>
<el-tooltip
effect=
"dark"
:content=
"scope.scope.customerName"
placement=
"top"
>
<span
class=
"ellipsis-1"
style=
"display: inline-block; max-width: 70px; text-align: left"
>
{{ scope.scope.customerName }}
</span>
<span
class=
"ellipsis-1"
style=
"display: inline-block; max-width: 70px; text-align: left"
>
{{ scope.scope.customerName }}
</span>
</el-tooltip>
</el-tooltip>
...
@@ -153,7 +153,7 @@ export default {
...
@@ -153,7 +153,7 @@ export default {
label
:
'车架号'
,
label
:
'车架号'
,
prop
:
'carVin'
,
prop
:
'carVin'
,
minWidth
:
140
,
minWidth
:
140
,
line
:
1
line
:
1
},
},
{
{
label
:
'车系'
,
label
:
'车系'
,
...
@@ -197,6 +197,28 @@ export default {
...
@@ -197,6 +197,28 @@ export default {
created
()
{
created
()
{
let
{
id
}
=
this
let
{
id
}
=
this
this
.
init
(
id
)
this
.
init
(
id
)
// 针对广汇替换字段
// if (this.id == 1 && location.host == 'scrm.cgacar.com') {
// this.tableParams.tableColumns.splice(
// 3,
// 3,
// {
// type: 'input',
// name: '',
// label: '线索时间'
// },
// {
// type: 'input',
// name: '',
// label: '意向车型'
// },
// {
// type: 'input',
// name: '',
// label: '线索来源'
// }
// )
// }
},
},
mounted
()
{
mounted
()
{
this
.
getStaffList
()
this
.
getStaffList
()
...
...
src/views/clientDataOverview/index.vue
View file @
1f07a8e
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
<p
class=
"clientNum"
>
<p
class=
"clientNum"
>
{{ (topDataObj.purchaseCustomerAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purchaseCustomerAddCount || 0) | overThousandFilter }}
<span
class=
"personText"
>
人
</span>
<span
class=
"personText"
>
人
</span>
<span
class=
"numPro"
>
占比:{{
topDataObj.purchaseCustomerAddPercent }}
</span>
<span
class=
"numPro"
>
占比:{{
(topDataObj.purchaseCustomerAddPercent
&&
topDataObj.purchaseCustomerAddPercent.toFixed(2) || 0) }}%
</span>
</p>
</p>
<!-- <div class="marketingBtn">
<!-- <div class="marketingBtn">
<el-dropdown>
<el-dropdown>
...
@@ -124,7 +124,7 @@
...
@@ -124,7 +124,7 @@
<p
class=
"clientNum"
>
<p
class=
"clientNum"
>
{{ (topDataObj.purchaseCustomerNAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purchaseCustomerNAddCount || 0) | overThousandFilter }}
<span
class=
"personText"
>
人
</span>
<span
class=
"personText"
>
人
</span>
<span
class=
"numPro"
>
占比:{{
topDataObj.purchaseCustomerNAddPercent }}
</span>
<span
class=
"numPro"
>
占比:{{
(topDataObj.purchaseCustomerNAddPercent
&&
topDataObj.purchaseCustomerNAddPercent.toFixed(2) || 0)}}%
</span>
</p>
</p>
<!-- <div class="marketingBtn">
<!-- <div class="marketingBtn">
智能营销
智能营销
...
@@ -179,7 +179,7 @@
...
@@ -179,7 +179,7 @@
<p
class=
"clientNum"
>
<p
class=
"clientNum"
>
{{ (topDataObj.purposeCustomerAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purposeCustomerAddCount || 0) | overThousandFilter }}
<span
class=
"personText"
>
人
</span>
<span
class=
"personText"
>
人
</span>
<span
class=
"numPro"
>
占比:{{
topDataObj.purposeCustomerAddPercent }}
</span>
<span
class=
"numPro"
>
占比:{{
(topDataObj.purposeCustomerAddPercent
&&
topDataObj.purposeCustomerAddPercent.toFixed(2) || 0) }}%
</span>
</p>
</p>
<!-- <div class="marketingBtn">
<!-- <div class="marketingBtn">
<el-dropdown>
<el-dropdown>
...
@@ -205,7 +205,7 @@
...
@@ -205,7 +205,7 @@
<p
class=
"clientNum"
>
<p
class=
"clientNum"
>
{{ (topDataObj.purposeCustomerNAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purposeCustomerNAddCount || 0) | overThousandFilter }}
<span
class=
"personText"
>
人
</span>
<span
class=
"personText"
>
人
</span>
<span
class=
"numPro"
>
占比:{{
topDataObj.purposeCustomerNAddPercent }}
</span>
<span
class=
"numPro"
>
占比:{{
(topDataObj.purposeCustomerNAddPercent
&&
topDataObj.purposeCustomerNAddPercent.toFixed(2) || 0) }}%
</span>
</p>
</p>
<!-- <div class="marketingBtn">
<!-- <div class="marketingBtn">
智能营销
智能营销
...
@@ -1016,7 +1016,7 @@ export default {
...
@@ -1016,7 +1016,7 @@ export default {
.no-buy
,
.no-buy
,
.buy
{
.buy
{
display
:
flex
;
display
:
flex
;
margin-left
:
1
0
px
;
margin-left
:
1
6
px
;
width
:
50%
;
width
:
50%
;
background-color
:
#f9f9fc
;
background-color
:
#f9f9fc
;
padding-bottom
:
20px
;
padding-bottom
:
20px
;
...
@@ -1108,7 +1108,7 @@ export default {
...
@@ -1108,7 +1108,7 @@ export default {
//
height
:
110px
;
//
height
:
110px
;
width
:
50%
;
width
:
50%
;
background
:
#f9f9fc
;
background
:
#f9f9fc
;
margin-left
:
1
0
px
;
margin-left
:
1
6
px
;
padding
:
16px
32px
20px
16px
;
padding
:
16px
32px
20px
16px
;
cursor
:
pointer
;
cursor
:
pointer
;
.intend-name
{
.intend-name
{
...
@@ -1168,8 +1168,12 @@ export default {
...
@@ -1168,8 +1168,12 @@ export default {
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
.item
{
.item
{
width
:
2
4
%
;
width
:
2
5
%
;
cursor
:
pointer
;
cursor
:
pointer
;
margin-right
:
16px
;
&:last-child{
margin-right
:
0
;
}
.itemTitle
{
.itemTitle
{
height
:
54px
;
height
:
54px
;
background
:
#f4f6fc
;
background
:
#f4f6fc
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment