From fbbfdbb25ffa2c76bf9380c8329e483d4df2ba35 Mon Sep 17 00:00:00 2001 From: "Mr.jiang" <714156421@qq.com> Date: Thu, 22 Aug 2024 09:57:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=AF=B7=E4=B8=9A=E5=8A=A1=E5=91=98?= =?UTF-8?q?=20=E6=88=91=E6=98=AF=E4=B8=9A=E5=8A=A1=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/my/applySalesperson/index.vue | 18 +-- pages/my/applySalesperson/mySalesperson.vue | 166 ++++++++++++++++++-- pages/my/index.vue | 14 +- 3 files changed, 173 insertions(+), 25 deletions(-) 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 @@ 我的渠道商 - + 提现记录 - + + + + + + + + + +