Commit 2a1e98b5 by xuyl

修改文字解释和饼状图显示

1 parent bfb0f41d
...@@ -104,8 +104,15 @@ export default { ...@@ -104,8 +104,15 @@ export default {
// show: true, // show: true,
// color: '#fff' // color: '#fff'
// formatter: "{b}:\n{c}人({d}%)", // formatter: "{b}:\n{c}人({d}%)",
formatter: '{b}\n{d}%',
// fontWeight: "bold", // fontWeight: "bold",
color: '#666666' color: '#666666',
textStyle: {
fontWeight: 'normal',
fontSize: 14,
lineHeight: 21
}
// color: ["#1296db", "#d42378"], // color: ["#1296db", "#d42378"],
}, },
labelLine: { show: true } labelLine: { show: true }
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<div class="leftPieEcharts"> <div class="leftPieEcharts">
<div class="leftIntro"> <div class="leftIntro">
<span class="title">客户总数</span> <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> <span class="dataOverPopover">门店的所有客户数,包括企微客户,导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重</span>
<img class="questionImg" v-if="accountLevel == 4" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" /> <img class="questionImg" v-if="accountLevel == 4" src="@/assets/clientDataOverview/grayquestion.png" slot="reference" />
</el-popover> </el-popover>
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<!-- 引入echart组件 --> <!-- 引入echart组件 -->
<pie-echart width="100%" height="300px" :topDataObj="topDataObj"></pie-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"> <div class="personsMap" v-if="topDataObj.entmicroAddCustomerCount > 0">
<!-- <pictorial-bar width="100%" height="500px" :entmicroAddCustomerCount="topDataObj.entmicroAddCustomerCount" :entmicroNotAddCustomerCount="topDataObj.entmicroNotAddCustomerCount"></pictorial-bar> --> <!-- <pictorial-bar width="100%" height="500px" :entmicroAddCustomerCount="topDataObj.entmicroAddCustomerCount" :entmicroNotAddCustomerCount="topDataObj.entmicroNotAddCustomerCount"></pictorial-bar> -->
</div> </div>
...@@ -367,7 +367,7 @@ import { rwdImageMaps } from './jquery.rwdImageMaps.js' ...@@ -367,7 +367,7 @@ import { rwdImageMaps } from './jquery.rwdImageMaps.js'
import { getDataOverview, getDataOverviewBarMap } from '@/api/modules/clientDataOverview' import { getDataOverview, getDataOverviewBarMap } 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 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'
export default { export default {
...@@ -377,7 +377,7 @@ export default { ...@@ -377,7 +377,7 @@ export default {
multipleEchart, multipleEchart,
// pictorialBar, // pictorialBar,
noData, noData,
pieEchartCopy // pieEchartCopy
}, },
data() { data() {
return { return {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!