达人申请添加身份证
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user