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 0ce705fe
authored
Jun 28, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
人群描述为null处理,glFooter层级处理
1 parent
79e4a6bb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
17 deletions
src/views/clientDataOverview/grouping.vue
src/views/clientDataOverview/index.vue
src/views/clientDataOverview/marketingPeople.vue
src/views/clientDataOverview/grouping.vue
View file @
0ce705f
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
</div>
</div>
</div>
</div>
<add-or-edit
ref=
"addOrEditForm"
></add-or-edit>
<add-or-edit
ref=
"addOrEditForm"
></add-or-edit>
<GLFooter>
<GLFooter
class=
"GLFooter"
>
<el-button
type=
"primary"
@
click=
"goback"
>
<el-button
type=
"primary"
@
click=
"goback"
>
返回
返回
</el-button>
</el-button>
...
@@ -294,6 +294,9 @@ export default {
...
@@ -294,6 +294,9 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
@import
'@/styles/variables.scss'
;
@import
'@/styles/variables.scss'
;
@import
'@/styles/resetelement.scss'
;
@import
'@/styles/resetelement.scss'
;
.GLFooter
{
z-index
:
100
;
}
.header-button
{
.header-button
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
...
...
src/views/clientDataOverview/index.vue
View file @
0ce705f
...
@@ -166,8 +166,6 @@
...
@@ -166,8 +166,6 @@
占比:
占比:
<img
src=
"@/assets/clientDataOverview/upIcon.png"
/>
<img
src=
"@/assets/clientDataOverview/upIcon.png"
/>
{{ purposePercent }}%
{{ purposePercent }}%
<!-- <i class="triangle" :class="{ active: isBuyUp === 2 }" v-if="isBuyUp"></i>
<i v-else>--</i> -->
</span>
</span>
</div>
</div>
<el-divider></el-divider>
<el-divider></el-divider>
...
@@ -189,8 +187,7 @@
...
@@ -189,8 +187,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 && topDataObj.purposeCustomerAddPercent.toFixed(2)) || 0 }}%</span> -->
<span
class=
"numPro"
>
占比:{{ topDataObj.purposeCustomerAddPercent | percentagDeal }}%
</span>
<span
class=
"numPro"
>
占比:{{ topDataObj.purposeCustomerAddPercent | percentageDeal }}%
</span>
</p>
</p>
</div>
</div>
<div
@
click
.
stop=
"goto(6)"
fn=
"人群客户列表"
mode=
"div"
class=
"wid50"
>
<div
@
click
.
stop=
"goto(6)"
fn=
"人群客户列表"
mode=
"div"
class=
"wid50"
>
...
@@ -378,11 +375,9 @@
...
@@ -378,11 +375,9 @@
<
script
>
<
script
>
import
$
from
'jquery'
import
$
from
'jquery'
import
{
rwdImageMaps
}
from
'./jquery.rwdImageMaps.js'
import
{
getDataOverview
,
getDataOverviewBarMap
,
customerClusterListShow
}
from
'@/api/modules/clientDataOverview'
import
{
getDataOverview
,
getDataOverviewBarMap
,
customerClusterListShow
}
from
'@/api/modules/clientDataOverview'
import
{
getLoginCount
}
from
'@/api/modules/loginCount'
import
{
getLoginCount
}
from
'@/api/modules/loginCount'
import
pieEchart
from
'@/components/echarts/pieEchart'
import
pieEchart
from
'@/components/echarts/pieEchart'
// import pieEchartCopy from '@/components/echarts/pieEchartCopy'
import
multipleEchart
from
'@/components/echarts/multipleEchart'
import
multipleEchart
from
'@/components/echarts/multipleEchart'
import
noData
from
'@/components/noData/noData'
import
noData
from
'@/components/noData/noData'
import
{
formatDate
}
from
'@/utils'
import
{
formatDate
}
from
'@/utils'
...
@@ -391,9 +386,7 @@ export default {
...
@@ -391,9 +386,7 @@ export default {
components
:
{
components
:
{
pieEchart
,
pieEchart
,
multipleEchart
,
multipleEchart
,
// pictorialBar,
noData
noData
// pieEchartCopy
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -535,7 +528,6 @@ export default {
...
@@ -535,7 +528,6 @@ export default {
customerClusterListShow
(
param
).
then
(
res
=>
{
customerClusterListShow
(
param
).
then
(
res
=>
{
this
.
customerSegmentation
=
res
.
crowdGroupUnitList
this
.
customerSegmentation
=
res
.
crowdGroupUnitList
this
.
updateTime
=
formatDate
(
res
.
updateTime
)
this
.
updateTime
=
formatDate
(
res
.
updateTime
)
console
.
log
(
this
.
customerSegmentation
)
})
})
},
},
goToGroupOperating
(
item
)
{
goToGroupOperating
(
item
)
{
...
@@ -594,7 +586,6 @@ export default {
...
@@ -594,7 +586,6 @@ export default {
tipPanelEle
.
style
.
top
=
baseNavEleHeight
+
baseSubNavEleHeight
+
bannerWrapEle
.
offsetTop
+
bannerWrapEle
.
clientHeight
+
10
+
'px'
tipPanelEle
.
style
.
top
=
baseNavEleHeight
+
baseSubNavEleHeight
+
bannerWrapEle
.
offsetTop
+
bannerWrapEle
.
clientHeight
+
10
+
'px'
knewBtnEle
.
style
.
top
=
baseNavEleHeight
+
baseSubNavEleHeight
+
bannerWrapEle
.
offsetTop
+
bannerWrapEle
.
clientHeight
+
tipPanelEle
.
clientHeight
+
20
+
'px'
knewBtnEle
.
style
.
top
=
baseNavEleHeight
+
baseSubNavEleHeight
+
bannerWrapEle
.
offsetTop
+
bannerWrapEle
.
clientHeight
+
tipPanelEle
.
clientHeight
+
20
+
'px'
// }, 300)
// }, 300)
console
.
log
(
window
,
'子系统'
)
window
.
addEventListener
(
'resize'
,
()
=>
{
window
.
addEventListener
(
'resize'
,
()
=>
{
tipPanelEle
.
style
.
display
=
'block'
tipPanelEle
.
style
.
display
=
'block'
document
.
querySelector
(
'.modalLayer'
).
style
.
width
=
document
.
querySelector
(
'.bannerWrap'
).
clientWidth
+
'px'
document
.
querySelector
(
'.modalLayer'
).
style
.
width
=
document
.
querySelector
(
'.bannerWrap'
).
clientWidth
+
'px'
...
@@ -631,7 +622,6 @@ export default {
...
@@ -631,7 +622,6 @@ export default {
}
}
this
.
topDataObj
=
res
this
.
topDataObj
=
res
console
.
log
(
this
.
topDataObj
,
'this.topDataObj'
)
// this.titles[0].num = res.newCarCustomerCount
// this.titles[0].num = res.newCarCustomerCount
// this.titles[1].num = res.needRenewalCustomerCount
// this.titles[1].num = res.needRenewalCustomerCount
// this.titles[2].num = res.burseholderCustomerCount
// this.titles[2].num = res.burseholderCustomerCount
...
@@ -640,7 +630,6 @@ export default {
...
@@ -640,7 +630,6 @@ export default {
this
.
isBuyUp
=
res
.
purchaseUp
this
.
isBuyUp
=
res
.
purchaseUp
//先看登录次数,首次进来为true,不管客户总数是否为0,都显示banner;
//先看登录次数,首次进来为true,不管客户总数是否为0,都显示banner;
//不是首次进来,登录次数为2,客户总数大于0,不显示banner,小于等于0,继续显示banner;
//不是首次进来,登录次数为2,客户总数大于0,不显示banner,小于等于0,继续显示banner;
console
.
log
(
this
.
accountLevel
,
this
.
isShowModal
,
this
.
topDataObj
.
customerCount
,
'myData'
)
if
(
this
.
isShowModal
&&
this
.
accountLevel
!==
4
)
{
if
(
this
.
isShowModal
&&
this
.
accountLevel
!==
4
)
{
this
.
isShowModal
=
false
//关掉引导层
this
.
isShowModal
=
false
//关掉引导层
}
}
...
@@ -670,7 +659,6 @@ export default {
...
@@ -670,7 +659,6 @@ export default {
// $('img[usemap]').rwdImageMaps()
// $('img[usemap]').rwdImageMaps()
// })
// })
// }
// }
console
.
log
(
this
.
isHasCustomerCountBanner
,
'true/fasle'
)
// this.$set(this.titles[0], 'num', res.newCarCustomerCount)
// this.$set(this.titles[0], 'num', res.newCarCustomerCount)
// this.$set(this.titles[1], 'num', res.needRenewalCustomerCount)
// this.$set(this.titles[1], 'num', res.needRenewalCustomerCount)
// this.$set(this.titles[2], 'num', res.burseholderCustomerCount)
// this.$set(this.titles[2], 'num', res.burseholderCustomerCount)
...
@@ -686,7 +674,6 @@ export default {
...
@@ -686,7 +674,6 @@ export default {
if
(
!
res
)
{
if
(
!
res
)
{
return
return
}
}
console
.
log
(
'下方数据'
,
res
)
this
.
bottomDataObj
=
res
this
.
bottomDataObj
=
res
if
(
dayCount
==
7
)
{
if
(
dayCount
==
7
)
{
this
.
sevenDayStorage
=
res
this
.
sevenDayStorage
=
res
...
@@ -694,7 +681,6 @@ export default {
...
@@ -694,7 +681,6 @@ export default {
this
.
thirtyDayStorage
=
res
this
.
thirtyDayStorage
=
res
}
}
this
.
allMapList
=
res
.
customerGrowthTrends
this
.
allMapList
=
res
.
customerGrowthTrends
console
.
log
(
this
.
allMapList
,
'数组'
)
this
.
isShowBarMap
=
true
//第一次有数据进来,就让图表显示
this
.
isShowBarMap
=
true
//第一次有数据进来,就让图表显示
},
},
clickThirty
()
{
clickThirty
()
{
...
...
src/views/clientDataOverview/marketingPeople.vue
View file @
0ce705f
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<!-- 大标题 -->
<!-- 大标题 -->
<p
class=
"topTitle"
>
<p
class=
"topTitle"
>
<span
class=
"title"
>
{{
crowdGroupName
}}
</span>
<span
class=
"title"
>
{{
crowdGroupName
}}
</span>
<span
class=
"desc"
>
{{
crowdGroupDesc
}}
</span>
<span
class=
"desc"
>
{{
crowdGroupDesc
==
'null'
?
''
:
crowdGroupDesc
}}
</span>
</p>
</p>
<!-- 切换导航栏 -->
<!-- 切换导航栏 -->
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
...
...
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