|
|
@@ -104,11 +104,10 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="app__f_r app__al_c app__fs_14 app__mg_10 app__bd_g app__pt_10 app__pb_10" @click="viewRateDetail()">
|
|
|
- <p class="app__ml_10">您当前的综合接单率是:</p>
|
|
|
- <span class="app_f_g_1">100%</span>
|
|
|
- <span class="app__mr_10">查看详情</span>
|
|
|
- <img style="width:10px;height:15px" class="app__mr_10" src="@/assets/img/credit/rightIcon.png"/>
|
|
|
+ <div class="app__f_r app__al_c app__fs_15 app__mg_10 app__pt_10 app__pb_10 app__bg_w" @click="viewRateDetail()">
|
|
|
+ <p class="app__ml_10 app_f_g_1">会员数据:</p>
|
|
|
+ <span class="app__fc_999">优先派单:{{Number(vipInfo.jobCount || 0) + Number(vipInfo.projectCount || 0)}}</span>
|
|
|
+ <span class="app__fc_999 app__mr_5 app__ml_10">收益提升:{{vipInfo.vipFee || 0}}元</span>
|
|
|
</div>
|
|
|
|
|
|
<!-- <div class="list" v-show="active===0">
|
|
|
@@ -239,6 +238,7 @@
|
|
|
buyDialog: false,
|
|
|
type: "com", // com: 企业会员, dev: 开发者会员
|
|
|
currentType: 2,
|
|
|
+ vipInfo: {}
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
|
@@ -312,6 +312,7 @@
|
|
|
} else if (window.appBridge && this.active === 1 && this.current === 1) {
|
|
|
window.appBridge.setTitleBarColor("#00BF66");
|
|
|
}
|
|
|
+ this.getVipInfo();
|
|
|
},
|
|
|
methods: {
|
|
|
clickPay(type) {
|
|
|
@@ -383,7 +384,15 @@
|
|
|
},
|
|
|
viewRateDetail() {
|
|
|
location.href = "../vip/orderRateDetail";
|
|
|
- }
|
|
|
+ },
|
|
|
+ async getVipInfo() {
|
|
|
+ let _this = this;
|
|
|
+ let res = await this.$axios.$post(`/api/user/getUserVipInfo`);
|
|
|
+ if (Number(res.status) === 1) {
|
|
|
+ console.log("6666", res);
|
|
|
+ this.vipInfo = res.data;
|
|
|
+ }
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|