|
@@ -72,17 +72,10 @@
|
|
</chart-card>
|
|
</chart-card>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :sm="24" :md="12" :xl="6">
|
|
<a-col :sm="24" :md="12" :xl="6">
|
|
- <chart-card title="在投素材数" :total="totalData.validCount + ''">
|
|
|
|
- <a-tooltip title="此项目的在投素材数总数" slot="action">
|
|
|
|
|
|
+ <chart-card title="在投素材数" :total="totalData.yesterdayValidCount + ''">
|
|
|
|
+ <a-tooltip title="此项目昨日在投素材总数" slot="action">
|
|
<a-icon type="info-circle-o" />
|
|
<a-icon type="info-circle-o" />
|
|
</a-tooltip>
|
|
</a-tooltip>
|
|
- <div slot="percentage">
|
|
|
|
- <trend :flag="totalData.validCount >= totalData.yesterdayValidCount > 0 ? 'up' : 'down'">
|
|
|
|
- <!-- <span slot="term">环比</span> -->
|
|
|
|
- {{ totalData.validCount - totalData.yesterdayValidCount === 0 ? '0' : ((totalData.validCount - totalData.yesterdayValidCount)/totalData.yesterdayValidCount).toFixed(2) }}%
|
|
|
|
- </trend>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
</chart-card>
|
|
</chart-card>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :sm="24" :md="12" :xl="6">
|
|
<a-col :sm="24" :md="12" :xl="6">
|
|
@@ -91,12 +84,11 @@
|
|
<a-icon type="info-circle-o" />
|
|
<a-icon type="info-circle-o" />
|
|
</a-tooltip>
|
|
</a-tooltip>
|
|
|
|
|
|
- <div slot="percentage">
|
|
|
|
|
|
+ <!-- <div slot="percentage">
|
|
<trend :flag="totalData.todayUpCount >= totalData.yesterdayUpCount > 0 ? 'up' : 'down'">
|
|
<trend :flag="totalData.todayUpCount >= totalData.yesterdayUpCount > 0 ? 'up' : 'down'">
|
|
- <!-- <span slot="term">环比</span> -->
|
|
|
|
{{ totalData.todayUpCount - totalData.yesterdayUpCount === 0 ? '0' : ((totalData.todayUpCount - totalData.yesterdayUpCount)/totalData.yesterdayUpCount).toFixed(2) }}%
|
|
{{ totalData.todayUpCount - totalData.yesterdayUpCount === 0 ? '0' : ((totalData.todayUpCount - totalData.yesterdayUpCount)/totalData.yesterdayUpCount).toFixed(2) }}%
|
|
</trend>
|
|
</trend>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
</chart-card>
|
|
</chart-card>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :sm="24" :md="12" :xl="6">
|
|
<a-col :sm="24" :md="12" :xl="6">
|
|
@@ -107,7 +99,7 @@
|
|
<div slot="percentage">
|
|
<div slot="percentage">
|
|
<trend :flag="totalData.thisWeekCount >= totalData.lastWeekCount > 0 ? 'up' : 'down'">
|
|
<trend :flag="totalData.thisWeekCount >= totalData.lastWeekCount > 0 ? 'up' : 'down'">
|
|
<!-- <span slot="term">环比</span> -->
|
|
<!-- <span slot="term">环比</span> -->
|
|
- {{ totalData.thisWeekCount - totalData.lastWeekCount === 0 ? '0' : ((totalData.thisWeekCount - totalData.lastWeekCount)/totalData.lastWeekCount).toFixed(2) }}%
|
|
|
|
|
|
+ {{ totalData.thisWeekCount - totalData.lastWeekCount === 0 ? '0' : (((totalData.thisWeekCount - totalData.lastWeekCount)/totalData.lastWeekCount)*100).toFixed(2) }}%
|
|
</trend>
|
|
</trend>
|
|
</div>
|
|
</div>
|
|
</chart-card>
|
|
</chart-card>
|