Commit f8913951 by 前端

防止数据还没返回 dom渲染完成问题

1 parent e7034477
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<!-- <view-surface domId='noworriesChart' title='2.1车损无忧' :dataList='noworriesList' />--> <!-- <view-surface domId='noworriesChart' title='2.1车损无忧' :dataList='noworriesList' />-->
<!-- </div>--> <!-- </div>-->
</div> </div>
<div class='bottom'> <div class='bottom' v-if='boxList'>
<view-sub-title title='门店每月各业务展业情况' /> <view-sub-title title='门店每月各业务展业情况' />
<box-chart :boxList='boxList'></box-chart> <box-chart :boxList='boxList'></box-chart>
</div> </div>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<div class='tendency-wrap'> <div class='tendency-wrap'>
<div class='monthly-trend'> <div class='monthly-trend'>
<view-sub-title title='整体订单月度趋势' /> <view-sub-title title='整体订单月度趋势' />
<div class='line-bar-chart'> <div class='line-bar-chart' >
<LineBar domId='memberMonthlyTrend' :dataList='memberMonthlyTrend' boxHeight='46vh'></LineBar> <LineBar domId='memberMonthlyTrend' :dataList='memberMonthlyTrend' boxHeight='46vh'></LineBar>
</div> </div>
</div> </div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<span class='icon'></span> <span class='icon'></span>
<span>产品排名前10</span> <span>产品排名前10</span>
</div> </div>
<div class='container flex'> <div class='container flex' v-if='productData'>
<pie-chart height='12vh' :id="'glproduct'" :list='productData' :keys='chart.keys'></pie-chart> <pie-chart height='12vh' :id="'glproduct'" :list='productData' :keys='chart.keys'></pie-chart>
<Legend :list='productData' :showName="'product'"></Legend> <Legend :list='productData' :showName="'product'"></Legend>
<!-- <template v-if="showType=='gl'">--> <!-- <template v-if="showType=='gl'">-->
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<span class='icon'></span> <span class='icon'></span>
<span>今年订单量占比</span> <span>今年订单量占比</span>
</div> </div>
<div class='container flex'> <div class='container flex' v-if='thisYearData'>
<pie-chart height='12vh' :id="'thisYear'" :list='thisYearData' :keys='chart.keys'></pie-chart> <pie-chart height='12vh' :id="'thisYear'" :list='thisYearData' :keys='chart.keys'></pie-chart>
<Legend :list='thisYearData' :showName="'modelname'"></Legend> <Legend :list='thisYearData' :showName="'modelname'"></Legend>
</div> </div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<span class='icon'></span> <span class='icon'></span>
<span>总订单量占比</span> <span>总订单量占比</span>
</div> </div>
<div class='container flex'> <div class='container flex' v-if='totalNumData'>
<pie-chart height='12vh' :id="'totalNum'" :list='totalNumData' :keys='chart.keys'></pie-chart> <pie-chart height='12vh' :id="'totalNum'" :list='totalNumData' :keys='chart.keys'></pie-chart>
<Legend :list='totalNumData' :showName="'modelname'"></Legend> <Legend :list='totalNumData' :showName="'modelname'"></Legend>
</div> </div>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<span>车型排名前10</span> <span>车型排名前10</span>
</div> </div>
<div class='container flex'> <div class='container flex' v-if='vehicleData'>
<pie-chart height='14vh' :id="'vehicle'" :list='vehicleData' :keys='chart.keys'></pie-chart> <pie-chart height='14vh' :id="'vehicle'" :list='vehicleData' :keys='chart.keys'></pie-chart>
<Legend :list='vehicleData' :showName="'vehicleBrand'"></Legend> <Legend :list='vehicleData' :showName="'vehicleBrand'"></Legend>
<!-- <template v-if="showType=='gl'">--> <!-- <template v-if="showType=='gl'">-->
......
<template> <template>
<div class='category-distribution'> <div class='category-distribution' v-if='allGoodsDistribution'>
<view-sub-title :title='diffsTitle[bussinessType]' /> <view-sub-title :title='diffsTitle[bussinessType]' />
<bar-chart <bar-chart
class='barChartStyle' class='barChartStyle'
......
<template> <template>
<div class='conversion-left'> <div class='conversion-left'>
<view-sub-title :title='diffsTitle[copyBussinessType]' /> <view-sub-title :title='diffsTitle[copyBussinessType]' />
<div class='component'> <div class='component' v-if='boxList'>
<div class='titles'> <div class='titles'>
<span>订单月份</span> <span>订单月份</span>
<span>{{ copyBussinessType == 'expandedGold' ? '活动名称' : '商品名称' }}</span> <span>{{ copyBussinessType == 'expandedGold' ? '活动名称' : '商品名称' }}</span>
......
<template> <template>
<div class='monthly-trend'> <div class='monthly-trend'>
<view-sub-title title='订单月度趋势' /> <view-sub-title title='订单月度趋势' />
<div class='line-bar-chart'> <div class='line-bar-chart' v-if='monthlyTrend'>
<LineBar :domId='domId' :dataList='monthlyTrend' :boxHeight='boxHeight'></LineBar> <LineBar :domId='domId' :dataList='monthlyTrend' :boxHeight='boxHeight'></LineBar>
</div> </div>
</div> </div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!