diff --git a/pages/my/applySalesperson/index.vue b/pages/my/applySalesperson/index.vue
index 1826a18..8d3be4b 100644
--- a/pages/my/applySalesperson/index.vue
+++ b/pages/my/applySalesperson/index.vue
@@ -32,7 +32,7 @@
}
},
onLoad() {
- this.getChannel();
+ // this.getChannel();
},
methods: {
@@ -56,7 +56,7 @@
});
},
save() {
- if (this.userName === '') {
+ if (this.name === '') {
this.$queue.showToast('请输入姓名')
return;
}
@@ -67,17 +67,17 @@
let userId = this.$queue.getData('userId');
let data = {
- userId: userId,
- name: this.userName,
+ remarks: this.remarks,
+ name: this.name,
phone: this.phone,
}
- this.$Request.postJson('/app/artificer/insertAgency', data).then(res => {
+ this.$Request.get('/app/commission/jjr/apply', data).then(res => {
if (res.code == 0) {
uni.hideLoading();
- this.$queue.showToast('提交成功!');
- setTimeout(d => {
- uni.navigateBack();
- }, 1000);
+ this.$queue.showToast(res.msg);
+ // setTimeout(d => {
+ // uni.navigateBack();
+ // }, 1000);
} else {
uni.hideLoading();
this.$queue.showToast(res.msg);
diff --git a/pages/my/applySalesperson/mySalesperson.vue b/pages/my/applySalesperson/mySalesperson.vue
index fcdc623..281e167 100644
--- a/pages/my/applySalesperson/mySalesperson.vue
+++ b/pages/my/applySalesperson/mySalesperson.vue
@@ -8,31 +8,31 @@
- 方
- 提成比例:12%
+ {{listData.name}}
+
可提现(元)
- 0.00
+ {{listData.withdrawableAmount}}
- 0.00
+ {{listData.income}}
累计佣金(元)不含手续费
- 0.00
+ {{listData.withdrawal}}
已提现(元)
- 0.00
+ {{listData.notCredited}}
总成交金额(元)不含物料费
-
+
我要提现
@@ -45,32 +45,180 @@
我的渠道商
-
+
提现记录
-
+