Commit 0ce705fe by xuyl

人群描述为null处理,glFooter层级处理

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