From 28c324e449791922f615a66330864b3d98ac1f5a Mon Sep 17 00:00:00 2001 From: ghusermoon <2673031505@qq.com> Date: Tue, 15 Sep 2020 16:07:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=BE=BE=E4=BA=BA=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=BA=AB=E4=BB=BD=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/api/user.js | 4 ++-- pageE/more/ApplyLive.vue | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/common/api/user.js b/common/api/user.js index 944b6cd..542b30a 100644 --- a/common/api/user.js +++ b/common/api/user.js @@ -475,9 +475,9 @@ export default { return vm.$u.post("Expertapply/hobbyList") }, // 达人申请 - applyExpert({ name, mobile, idCard, address, industry, hobby }) { + applyExpert({ name, mobile, idcard, address, industry, hobby }) { return vm.$u.post("Expertapply/expertApply", { - name, mobile, idCard, address, industry, hobby + name, mobile, idcard, address, industry, hobby }) }, getInvoiceList() { diff --git a/pageE/more/ApplyLive.vue b/pageE/more/ApplyLive.vue index 214b31b..14cddee 100644 --- a/pageE/more/ApplyLive.vue +++ b/pageE/more/ApplyLive.vue @@ -152,10 +152,10 @@ export default { this.$u.toast('身份证号不可为空'); return false; } - if(!this.$u.test.idCard(this.idCard)) { - this.$u.toast('请正确填写身份证号'); - return false; - } + // if(!this.$u.test.idCard(this.idCard)) { + // this.$u.toast('请正确填写身份证号'); + // return false; + // } // if(this.$u.test.isEmpty(this.address)) { // this.$u.toast('地址不能为空'); // return false; @@ -181,16 +181,16 @@ export default { this.$u.api.applyExpert({ name: this.name, mobile: this.phone, - idCard: this.idCard, + idcard: this.idCard, address: this.address + this.details, industry: this.checkedIndustryList, hobby: this.checkedHobbyList, }).then(res => { if(res.errCode == 0) { - this.$refs.uToast.show({ - title: res.message, - back: true, - }) + // this.$refs.uToast.show({ + // title: res.message, + // back: true, + // }) } else { this.isSubmit = true; this.$u.toast(res.message); From 06bc5651ae8f8998ba7668be129693ad4b5dc9b3 Mon Sep 17 00:00:00 2001 From: ghusermoon <2673031505@qq.com> Date: Tue, 15 Sep 2020 16:14:57 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=BE=BE=E4=BA=BA=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=BA=AB=E4=BB=BD=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pageE/more/ApplyLive.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pageE/more/ApplyLive.vue b/pageE/more/ApplyLive.vue index 14cddee..c0b5e5a 100644 --- a/pageE/more/ApplyLive.vue +++ b/pageE/more/ApplyLive.vue @@ -187,10 +187,10 @@ export default { hobby: this.checkedHobbyList, }).then(res => { if(res.errCode == 0) { - // this.$refs.uToast.show({ - // title: res.message, - // back: true, - // }) + this.$refs.uToast.show({ + title: res.message, + back: true, + }) } else { this.isSubmit = true; this.$u.toast(res.message);