Browse Source

Merge branch 'price' of http://106.52.242.177:3000/askqvn/crm-app into price

zhangxin 1 week ago
parent
commit
2f84329c28
2 changed files with 3 additions and 3 deletions
  1. 1 1
      mock/mockData.js
  2. 2 2
      pages/person/cards/index.vue

+ 1 - 1
mock/mockData.js

@@ -14,7 +14,7 @@ const mockDataList = {
14
         todayConsume: 1234.56,//今日消耗
14
         todayConsume: 1234.56,//今日消耗
15
         todayConsumeDy: 234.56,//抖音今日消耗
15
         todayConsumeDy: 234.56,//抖音今日消耗
16
         todayConsumeGdt: 1000.00,//广点通今日消耗
16
         todayConsumeGdt: 1000.00,//广点通今日消耗
17
-        todayPerformance: 56789.01,//今日业绩
17
+        performance: 56789.01,//业绩(元,按 time:today/week/month)
18
         countTypeA: 25,//条数统计A类
18
         countTypeA: 25,//条数统计A类
19
         countTypeB: 12,//条数统计B类
19
         countTypeB: 12,//条数统计B类
20
         countTypeC: 8,//条数统计C类
20
         countTypeC: 8,//条数统计C类

+ 2 - 2
pages/person/cards/index.vue

@@ -26,7 +26,7 @@
26
                         <text class="card_title">业绩(元)</text>
26
                         <text class="card_title">业绩(元)</text>
27
                     </view>
27
                     </view>
28
                     <view class="card_content">
28
                     <view class="card_content">
29
-                        <text class="card_value">{{ cardData.todayPerformance }}</text>
29
+                        <text class="card_value">{{ formatMoney(cardData.performance) }}</text>
30
                     </view>
30
                     </view>
31
                 </view>
31
                 </view>
32
             </view>
32
             </view>
@@ -152,7 +152,7 @@ export default {
152
                 todayConsume: '-',
152
                 todayConsume: '-',
153
                 todayConsumeDy: '-',
153
                 todayConsumeDy: '-',
154
                 todayConsumeGdt: '-',
154
                 todayConsumeGdt: '-',
155
-                todayPerformance: '-',
155
+                performance: '-',
156
                 countTypeA: '-',
156
                 countTypeA: '-',
157
                 countTypeB: '-',
157
                 countTypeB: '-',
158
                 countTypeC: '-',
158
                 countTypeC: '-',