|
@@ -10,6 +10,7 @@
|
|
|
<y-d-v-over-view style="width: 220px" title="本年已签约" :typeId="4" :ico="require('@/assets/statics/pg9.png')" :data="[{text:marketStaticsInfo.yearSaleDone,value:'元'}]" @click.native="toItemPage()"></y-d-v-over-view>
|
|
|
<y-d-v-over-view style="width: 220px" title="本年已回款" :typeId="5" :ico="require('@/assets/statics/pg9.png')" :data="[{text:marketStaticsInfo.yearPaymentDone,value:'元'}]" @click.native="toPaymentPage('year')"></y-d-v-over-view>
|
|
|
<y-d-v-over-view style="width: 220px" title="本月已回款" :typeId="6" :ico="require('@/assets/statics/pg9.png')" :data="[{text:marketStaticsInfo.monthPaymentDone,value:'元'}]" @click.native="toPaymentPage('month')"></y-d-v-over-view>
|
|
|
+ <el-progress style=" margin-left:12px ;width: 91%" :text-inside="true" :stroke-width="24" :percentage="percentage" status="success" />
|
|
|
</div>
|
|
|
</y-data-view-module>
|
|
|
<div class="calendar-class">
|
|
@@ -195,6 +196,14 @@
|
|
|
title(){
|
|
|
return this.currentDate +" 工作计划";
|
|
|
},
|
|
|
+ percentage(){
|
|
|
+ const date = new Date();
|
|
|
+ const month = date.getMonth() + 1;
|
|
|
+ const target = this.marketStaticsInfo.yearPaymentTarget;
|
|
|
+ const paymentDone = this.marketStaticsInfo.yearPaymentDone;
|
|
|
+ const currentTarget = target/10 * month===0?1:target/10 * month;
|
|
|
+ return Math.round((paymentDone/currentTarget) * 100);
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
editNote(item){
|