فهرست منبع

加微记录统计数据展示优化

zyy 1 ماه پیش
والد
کامیت
ba8b4e0fe1
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      src/views/taskStatistics/wxClient/index.vue

+ 3 - 1
src/views/taskStatistics/wxClient/index.vue

@@ -32,7 +32,7 @@
           </div>
           <div v-if="count" class="content">
             <span class="content-number spBlock mb15">
-              <count-to :start-val="0" :end-val="count.toDayAddNum || 0" :duration="2600" class="card-panel-num" />
+              <count-to :start-val="0" :end-val="todayRecordCount || 0" :duration="2600" class="card-panel-num" />
             </span>
           </div>
         </el-card>
@@ -210,6 +210,7 @@ export default {
       count: {},
       totalRecordCount: 0,
       successRecordCount: 0,
+      todayRecordCount:0,
       queryParams: {
         pageNum: 1,
         pageSize: 10,
@@ -250,6 +251,7 @@ export default {
           this.total = response.total || 0
           this.successRecordCount = response.successRecordCount || 0
           this.totalRecordCount = response.totalRecordCount || 0
+          this.todayRecordCount = response.todayRecordCount || 0
         })
         .finally(() => {
           this.loading = false