Commit 63a47012 by 前端

Merge branch 'xuyl_dev_v2.3.0' into 'v2.3.0'

Xuyl dev v2.3.0

See merge request !80
2 parents 6e79392a 2a1e98b5
......@@ -104,8 +104,15 @@ export default {
// show: true,
// color: '#fff'
// formatter: "{b}:\n{c}人({d}%)",
formatter: '{b}\n{d}%',
// fontWeight: "bold",
color: '#666666'
color: '#666666',
textStyle: {
fontWeight: 'normal',
fontSize: 14,
lineHeight: 21
}
// color: ["#1296db", "#d42378"],
},
labelLine: { show: true }
......
......@@ -19,7 +19,7 @@
<div class="leftPieEcharts">
<div class="leftIntro">
<span class="title">客户总数</span>
<el-popover placement="top" width="400" trigger="hover" content="门店的所有客户数,包括企微客户,导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重">
<el-popover placement="top" width="400" trigger="hover" content="门店的所有客户数,包括企微客户、导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重">
<span class="dataOverPopover">门店的所有客户数,包括企微客户,导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重</span>
<img class="questionImg" v-if="accountLevel == 4" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
</el-popover>
......@@ -52,7 +52,7 @@
<!-- 引入echart组件 -->
<pie-echart width="100%" height="300px" :topDataObj="topDataObj"></pie-echart>
<pie-echart-copy class="pieCopy" width="100%" height="300px" :topDataObj="topDataObj"></pie-echart-copy>
<!-- <pie-echart-copy class="pieCopy" width="100%" height="300px" :topDataObj="topDataObj"></pie-echart-copy> -->
<div class="personsMap" v-if="topDataObj.entmicroAddCustomerCount > 0">
<!-- <pictorial-bar width="100%" height="500px" :entmicroAddCustomerCount="topDataObj.entmicroAddCustomerCount" :entmicroNotAddCustomerCount="topDataObj.entmicroNotAddCustomerCount"></pictorial-bar> -->
</div>
......@@ -367,7 +367,7 @@ import { rwdImageMaps } from './jquery.rwdImageMaps.js'
import { getDataOverview, getDataOverviewBarMap } from '@/api/modules/clientDataOverview'
import { getLoginCount } from '@/api/modules/loginCount'
import pieEchart from '@/components/echarts/pieEchart'
import pieEchartCopy from '@/components/echarts/pieEchartCopy'
// import pieEchartCopy from '@/components/echarts/pieEchartCopy'
import multipleEchart from '@/components/echarts/multipleEchart'
import noData from '@/components/noData/noData'
export default {
......@@ -377,7 +377,7 @@ export default {
multipleEchart,
// pictorialBar,
noData,
pieEchartCopy
// pieEchartCopy
},
data() {
return {
......
......@@ -223,32 +223,29 @@ export default {
placeholder: '请选择性别',
optionList: this.$Constants.GENDER_OPTION
},
// {
// type: 'datePicker',
// // prop: 'daterange',
// name: '',
// label: '购车时间',
// valueFormat: 'yyyy-MM-dd',
// pickerOptions: {
// disabledDate(time) {
// return time.getTime() > Date.now() || time.getTime() < new Date('2017-12-31').getTime()
// }
// }
// },
// {
// type: 'input',
// inputType: 'text',
// // prop: 'nickName',
// name: '',
// label: '车架号'
// },
// {
// type: 'input',
// inputType: 'text',
// // prop: 'nickName',
// name: '',
// label: '车牌号'
// }
{
type: 'datePicker',
name: 'purchaseCar',
label: '购车时间',
valueFormat: 'yyyy-MM-dd',
pickerOptions: {
disabledDate(time) {
return time.getTime() > Date.now() || time.getTime() < new Date('2017-12-31').getTime()
}
}
},
{
type: 'input',
inputType: 'text',
name: 'carVin',
label: '车架号'
},
{
type: 'input',
inputType: 'text',
name: 'carNumber',
label: '车牌号'
}
],
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'count' },
......@@ -309,7 +306,7 @@ export default {
label: '所属渠道',
prop: 'sourceChannel',
width: 140,
line:1
line: 1
},
{
label: '添加来源',
......@@ -414,7 +411,14 @@ export default {
} else {
if (params.beginTime) delete params.beginTime && delete params.endTime
}
if (params.purchaseCar) {
params.beginCarBuyDate = this.searchForm.purchaseCar[0]
params.endCarBuyDate = this.searchForm.purchaseCar[1]
} else {
if (params.beginCarBuyDate) delete params.beginCarBuyDate && delete params.endCarBuyDate
}
delete params.daterange
delete params.purchaseCar
return params
},
beforeSearchFn() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!