Переглянути джерело

用户详情增加返回总收益

sunxbiao 1 рік тому
батько
коміт
c987874fad
1 змінених файлів з 12 додано та 2 видалено
  1. 12 2
      src/views/user/list/userDetails.vue

+ 12 - 2
src/views/user/list/userDetails.vue

@@ -16,6 +16,7 @@
16 16
           <span class="dashboard-workplace-header-tip-desc-sp margin-top">积分余额: {{ psInfo.score }}</span>
17 17
           <span class="dashboard-workplace-header-tip-desc-sp margin-top">订单总数: {{ psInfo.pay_count }}</span>
18 18
           <span class="dashboard-workplace-header-tip-desc-sp margin-top">订单总额: {{ psInfo.pay_price }}</span>
19
+          <span class="dashboard-workplace-header-tip-desc-sp margin-top">总收益: {{ psInfo.revenue }}</span>
19 20
 
20 21
           <!-- <span class="dashboard-workplace-header-tip-desc-sp">收益余额: {{ psInfo.now_money }}</span>
21 22
           <span class="dashboard-workplace-header-tip-desc-sp">总计订单: {{ psInfo.pay_count }}</span>
@@ -94,7 +95,16 @@
94 95
 </template>
95 96
 
96 97
 <script>
97
-import { userOrderApi, userDetailApi, userCouponApi, userBillApi, userPensionApi,userPensionRecordsApi,enterpriseUserScoreApi, userIncomeRecordApi } from '@/api/user'
98
+import {
99
+  userOrderApi,
100
+  userDetailApi,
101
+  // userCouponApi,
102
+  userBillApi,
103
+  userPensionApi,
104
+  userPensionRecordsApi,
105
+  enterpriseUserScoreApi,
106
+  userIncomeRecordApi
107
+} from '@/api/user'
98 108
 import { getUserExtractListApi } from '@/api/accounts'
99 109
 import { roterPre } from '@/settings'
100 110
 import vrIndexInfo from "../../accounts/caiwutongji/vr/index.vue";
@@ -402,7 +412,7 @@ export default {
402 412
     getHeader() {
403 413
       userDetailApi(this.uid).then(res => {
404 414
         this.psInfo = res.data
405
-        console.log(res);
415
+        // console.log(res);
406 416
         
407 417
       })
408 418
       // 养老金信息