Sfoglia il codice sorgente

用户详细更改

xialei 1 anno fa
parent
commit
2dbbddf5d2

+ 9 - 0
src/views/accounts/caiwutongji/contribute/index.vue

@@ -113,6 +113,12 @@ import cardsData from "@/components/cards/index";
113
 import {getZeroPointApi, getContributeCountApi} from "@/api/accounts";
113
 import {getZeroPointApi, getContributeCountApi} from "@/api/accounts";
114
 import {roterPre} from "@/settings";
114
 import {roterPre} from "@/settings";
115
 export default {
115
 export default {
116
+    props: {
117
+      phone: {
118
+        type: Number,
119
+        default: null
120
+      }
121
+    },
116
     components: {
122
     components: {
117
         cardsData,
123
         cardsData,
118
         fileList
124
         fileList
@@ -179,6 +185,9 @@ export default {
179
         };
185
         };
180
     },
186
     },
181
     mounted() {
187
     mounted() {
188
+        if (this.phone) {
189
+          this.tableFrom.phone = this.phone
190
+        }
182
         this.getList(1);
191
         this.getList(1);
183
 
192
 
184
         performanceDivvyLstApi({'page':1,'limit':100,'state':1}).then(res => {
193
         performanceDivvyLstApi({'page':1,'limit':100,'state':1}).then(res => {

+ 9 - 0
src/views/accounts/caiwutongji/fugou/index.vue

@@ -162,6 +162,12 @@ import cardsData from "@/components/cards/index";
162
 import {getZeroPointApi, getFugouCountApi} from "@/api/accounts";
162
 import {getZeroPointApi, getFugouCountApi} from "@/api/accounts";
163
 import {roterPre} from "@/settings";
163
 import {roterPre} from "@/settings";
164
 export default {
164
 export default {
165
+    props: {
166
+      phone: {
167
+        type: Number,
168
+        default: null
169
+      }
170
+    },
165
     components: {
171
     components: {
166
         cardsData,
172
         cardsData,
167
         fileList
173
         fileList
@@ -229,6 +235,9 @@ export default {
229
         };
235
         };
230
     },
236
     },
231
     mounted() {
237
     mounted() {
238
+        if (this.phone) {
239
+          this.tableFrom.phone = this.phone
240
+        }
232
         this.getList(1);
241
         this.getList(1);
233
 
242
 
234
         performanceDivvyLstApi({'page':1,'limit':100,'state':1}).then(res => {
243
         performanceDivvyLstApi({'page':1,'limit':100,'state':1}).then(res => {

+ 9 - 0
src/views/accounts/caiwutongji/hongbao/index.vue

@@ -115,6 +115,12 @@ import cardsData from "@/components/cards/index";
115
 import {getZeroPointApi, getHongbaoCountApi} from "@/api/accounts";
115
 import {getZeroPointApi, getHongbaoCountApi} from "@/api/accounts";
116
 import {roterPre} from "@/settings";
116
 import {roterPre} from "@/settings";
117
 export default {
117
 export default {
118
+    props: {
119
+      phone: {
120
+        type: Number,
121
+        default: null
122
+      }
123
+    },
118
     components: {
124
     components: {
119
         cardsData,
125
         cardsData,
120
         fileList
126
         fileList
@@ -181,6 +187,9 @@ export default {
181
         };
187
         };
182
     },
188
     },
183
     mounted() {
189
     mounted() {
190
+        if (this.phone) {
191
+          this.tableFrom.phone = this.phone
192
+        }
184
         this.getList(1);
193
         this.getList(1);
185
 
194
 
186
         performanceDivvyLstApi({'page':1,'limit':100,'state':1}).then(res => {
195
         performanceDivvyLstApi({'page':1,'limit':100,'state':1}).then(res => {

+ 9 - 0
src/views/accounts/caiwutongji/jingdou/index.vue

@@ -116,6 +116,12 @@ import cardsData from "@/components/cards/index";
116
 import {getZeroPointApi, getJingdouCountApi} from "@/api/accounts";
116
 import {getZeroPointApi, getJingdouCountApi} from "@/api/accounts";
117
 import {roterPre} from "@/settings";
117
 import {roterPre} from "@/settings";
118
 export default {
118
 export default {
119
+    props: {
120
+      phone: {
121
+        type: Number,
122
+        default: null
123
+      }
124
+    },
119
     components: {
125
     components: {
120
         cardsData,
126
         cardsData,
121
         fileList
127
         fileList
@@ -182,6 +188,9 @@ export default {
182
         };
188
         };
183
     },
189
     },
184
     mounted() {
190
     mounted() {
191
+        if (this.phone) {
192
+          this.tableFrom.phone = this.phone
193
+        }
185
         this.getList(1);
194
         this.getList(1);
186
 
195
 
187
         performanceDivvyLstApi({'page':1,'limit':100,'state':1}).then(res => {
196
         performanceDivvyLstApi({'page':1,'limit':100,'state':1}).then(res => {

+ 9 - 0
src/views/accounts/caiwutongji/vr/index.vue

@@ -113,6 +113,12 @@ import cardsData from "@/components/cards/index";
113
 import {getZeroPointApi, getVrCountApi} from "@/api/accounts";
113
 import {getZeroPointApi, getVrCountApi} from "@/api/accounts";
114
 import {roterPre} from "@/settings";
114
 import {roterPre} from "@/settings";
115
 export default {
115
 export default {
116
+    props: {
117
+      phone: {
118
+        type: Number,
119
+        default: null
120
+      }
121
+    },
116
     components: {
122
     components: {
117
         cardsData,
123
         cardsData,
118
         fileList
124
         fileList
@@ -179,6 +185,9 @@ export default {
179
         };
185
         };
180
     },
186
     },
181
     mounted() {
187
     mounted() {
188
+        if (this.phone) {
189
+          this.tableFrom.phone = this.phone
190
+        }
182
         this.getList(1);
191
         this.getList(1);
183
 
192
 
184
         performanceDivvyLstApi({'page':1,'limit':100,'state':1}).then(res => {
193
         performanceDivvyLstApi({'page':1,'limit':100,'state':1}).then(res => {

+ 21 - 8
src/views/user/list/userDetails.vue

@@ -6,7 +6,18 @@
6
         <p class="dashboard-workplace-header-tip-title" v-text="psInfo.nickname || '-'" />
6
         <p class="dashboard-workplace-header-tip-title" v-text="psInfo.nickname || '-'" />
7
         <p class="dashboard-workplace-header-tip-title" v-text="psInfo.phone || '-'" />
7
         <p class="dashboard-workplace-header-tip-title" v-text="psInfo.phone || '-'" />
8
         <div class="dashboard-workplace-header-tip-desc">
8
         <div class="dashboard-workplace-header-tip-desc">
9
-          <span class="dashboard-workplace-header-tip-desc-sp">收益余额: {{ psInfo.now_money }}</span>
9
+          <span class="dashboard-workplace-header-tip-desc-sp margin-top">养老金总额: {{ psInfo.annuity }}</span>
10
+          <span class="dashboard-workplace-header-tip-desc-sp margin-top">佣金余额: {{ psInfo.brokerage_price }}</span>
11
+          <span class="dashboard-workplace-header-tip-desc-sp margin-top">复购金余额: {{ psInfo.fugou }}</span>
12
+          <span class="dashboard-workplace-header-tip-desc-sp margin-top">红包余额: {{ psInfo.hongbao }}</span>
13
+          <span class="dashboard-workplace-header-tip-desc-sp margin-top">贡献值: {{ psInfo.contribute }}</span>
14
+          <span class="dashboard-workplace-header-tip-desc-sp margin-top">京豆: {{ psInfo.jingdou }}</span>
15
+          <span class="dashboard-workplace-header-tip-desc-sp margin-top">VR总额: {{ psInfo.vr }}</span>
16
+          <span class="dashboard-workplace-header-tip-desc-sp margin-top">积分余额: {{ psInfo.score }}</span>
17
+          <span class="dashboard-workplace-header-tip-desc-sp margin-top">订单总数: {{ psInfo.pay_count }}</span>
18
+          <span class="dashboard-workplace-header-tip-desc-sp margin-top">订单总额: {{ psInfo.pay_price }}</span>
19
+
20
+          <!-- <span class="dashboard-workplace-header-tip-desc-sp">收益余额: {{ psInfo.now_money }}</span>
10
           <span class="dashboard-workplace-header-tip-desc-sp">总计订单: {{ psInfo.pay_count }}</span>
21
           <span class="dashboard-workplace-header-tip-desc-sp">总计订单: {{ psInfo.pay_count }}</span>
11
           <span class="dashboard-workplace-header-tip-desc-sp">总消费金额: {{ psInfo.pay_price }}</span>
22
           <span class="dashboard-workplace-header-tip-desc-sp">总消费金额: {{ psInfo.pay_price }}</span>
12
           <span class="dashboard-workplace-header-tip-desc-sp">本月订单: {{ psInfo.total_pay_count }}</span>
23
           <span class="dashboard-workplace-header-tip-desc-sp">本月订单: {{ psInfo.total_pay_count }}</span>
@@ -14,7 +25,7 @@
14
           <span class="dashboard-workplace-header-tip-desc-sp margin-top">当前可支取: {{ pension.annuity }}</span>
25
           <span class="dashboard-workplace-header-tip-desc-sp margin-top">当前可支取: {{ pension.annuity }}</span>
15
           <span class="dashboard-workplace-header-tip-desc-sp margin-top">养老金总额: {{ pension.annuity_frozen }}</span>
26
           <span class="dashboard-workplace-header-tip-desc-sp margin-top">养老金总额: {{ pension.annuity_frozen }}</span>
16
           <span class="dashboard-workplace-header-tip-desc-sp margin-top">加入时间: {{ pension.create_time }}</span>
27
           <span class="dashboard-workplace-header-tip-desc-sp margin-top">加入时间: {{ pension.create_time }}</span>
17
-          <span class="dashboard-workplace-header-tip-desc-sp margin-top">法定提取时间: {{ pension.birthday60 }}</span>
28
+          <span class="dashboard-workplace-header-tip-desc-sp margin-top">法定提取时间: {{ pension.birthday60 }}</span> -->
18
         </div>
29
         </div>
19
       </div>
30
       </div>
20
     </div>
31
     </div>
@@ -59,23 +70,23 @@
59
       </el-col>
70
       </el-col>
60
 
71
 
61
       <el-col :span="20" v-if="type == '6'">
72
       <el-col :span="20" v-if="type == '6'">
62
-        <vrIndexInfo />
73
+        <vrIndexInfo :phone="psInfo.phone"/>
63
       </el-col>
74
       </el-col>
64
 
75
 
65
       <el-col :span="20" v-if="type == '7'">
76
       <el-col :span="20" v-if="type == '7'">
66
-        <jingdouIndexInfo />
77
+        <jingdouIndexInfo :phone="psInfo.phone" />
67
       </el-col>
78
       </el-col>
68
 
79
 
69
       <el-col :span="20" v-if="type == '8'">
80
       <el-col :span="20" v-if="type == '8'">
70
-        <contributeIndexInfo />
81
+        <contributeIndexInfo :phone="psInfo.phone" />
71
       </el-col>
82
       </el-col>
72
 
83
 
73
       <el-col :span="20" v-if="type == '9'">
84
       <el-col :span="20" v-if="type == '9'">
74
-        <hongbaoIndexInfo />
85
+        <hongbaoIndexInfo :phone="psInfo.phone" />
75
       </el-col>
86
       </el-col>
76
 
87
 
77
       <el-col :span="20" v-if="type == '10'">
88
       <el-col :span="20" v-if="type == '10'">
78
-        <fugouIndexInfo />
89
+        <fugouIndexInfo :phone="psInfo.phone"/>
79
       </el-col>
90
       </el-col>
80
 
91
 
81
     </el-row>
92
     </el-row>
@@ -391,6 +402,8 @@ export default {
391
     getHeader() {
402
     getHeader() {
392
       userDetailApi(this.uid).then(res => {
403
       userDetailApi(this.uid).then(res => {
393
         this.psInfo = res.data
404
         this.psInfo = res.data
405
+        console.log(res);
406
+        
394
       })
407
       })
395
       // 养老金信息
408
       // 养老金信息
396
       userPensionApi(this.uid).then(res => {
409
       userPensionApi(this.uid).then(res => {
@@ -436,7 +449,7 @@ export default {
436
 
449
 
437
         &-desc {
450
         &-desc {
438
           &-sp {
451
           &-sp {
439
-            width: 19%;
452
+            width: 15%;
440
             color: #17233D;
453
             color: #17233D;
441
             font-size: 13px;
454
             font-size: 13px;
442
             display: inline-block;
455
             display: inline-block;